max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
Pieces/Display/CameraStare.cs | Yuozas/Chess-Unity-Csharp | 0 | 7061904 | <reponame>Yuozas/Chess-Unity-Csharp<filename>Pieces/Display/CameraStare.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraStare : MonoBehaviour
{
private Camera cam;
private void Awake() => cam = Camera.main;
void Update() => transform.rotation = cam.trans... |
Character/Scripts/Runtime/Actor/Behaviours/AbstractAIBehaviour.cs | TheWizardsCode/Character-Unity-Package | 0 | 7061905 | <reponame>TheWizardsCode/Character-Unity-Package<gh_stars>0
using UnityEngine;
using System.Collections.Generic;
using WizardsCode.Stats;
using System;
using Random = UnityEngine.Random;
using static WizardsCode.Character.StateSO;
using System.Text;
using WizardsCode.Character.WorldState;
using WizardsCode.Character.A... |
src/CsvDivNet/CsvDivNet/View/ValidationRules.cs | samatsu/CsvDivNet | 2 | 7061906 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
namespace CsvDivNet.View
{
public class NumericValidation : ValidationRule
{
private bool _allowEmpty = false;
public bool AllowEmpty
{
get { return _allowEm... |
MessageQueueNET/Models/Authentication/ApiClient.cs | jugstalt/MessageQueueNET | 0 | 7061907 | <reponame>jugstalt/MessageQueueNET
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MessageQueueNET.Models.Authentication
{
public class ApiClient
{
public string Id { get; set; }
public string Secret { get; set; }
}
}
|
Assets/ResourceManager.cs | ZZYW/TTT2 | 0 | 7061908 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResourceManager : MonoBehaviour
{
public static ResourceManager main;
public MeshFilter cubeMesh;
public GameObject sparkPSPrefab;
public AudioClip sound;
private void Awake()
{
main = t... |
_no_namespace/TeleportAreaManager.WorldStreamerRangeMode.cs | SinsofSloth/RF5-global-metadata | 1 | 7061909 | public enum TeleportAreaManager.WorldStreamerRangeMode // TypeDefIndex: 7499
{
// Fields
public int value__; // 0x0
public const TeleportAreaManager.WorldStreamerRangeMode Normal = 0;
public const TeleportAreaManager.WorldStreamerRangeMode Narrow = 1;
}
|
src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/CppMethodCodeNode.cs | OceanYan/corert | 0 | 7061910 | <filename>src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/CppMethodCodeNode.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Di... |
Services/SettingsService/SettingsService.cs | hihain/Unigram.Infrastructure | 1 | 7061911 | <filename>Services/SettingsService/SettingsService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Storage;
namespace Template10.Services.SettingsService
{
// https://git... |
scripts/Component/AttackIntentComponent.cs | firebelley/GameFeel | 41 | 7061912 | <filename>scripts/Component/AttackIntentComponent.cs
using Godot;
namespace GameFeel.Component
{
public class AttackIntentComponent : Node2D
{
private Particles2D _particles;
public override void _Ready()
{
_particles = GetNode<Particles2D>("Particles2D");
}
... |
Test-SDL2-CS/Test-SDL2-CS.cs | trsoluti/SDL2-CS-COP | 1 | 7061913 | <filename>Test-SDL2-CS/Test-SDL2-CS.cs
using System;
using SDL2;
/// \page Test-SDL2-CS
///
/// <summary>
/// Test-SDL2-CS is a test program to check that SDL2# (a.k.a. SDL2-CS)
/// has been installed and configured enough to be usable.
///
/// It is not a comprehensive test suite.
/// </summary>
///
/// <remarks>... |
Remasterizado/FrbaOfertas2/FrbaOfertas2/Clases/BaseDeDato.cs | brianlider/s_QUERY-TP-GDD | 0 | 7061914 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FrbaOfertas2.Clases
{
class BaseDeDato
{
#region Atributos
SqlComm... |
SmartStoreNET-3.x/src/Libraries/SmartStore.Core/Search/IndexField.cs | jonmcquade/csharp-snippets | 2 | 7061915 | using System;
namespace SmartStore.Core.Search
{
public class IndexField
{
public IndexField(string name, bool value)
: this(name, value, IndexTypeCode.Boolean)
{
}
public IndexField(string name, int value)
: this(name, value, IndexTypeCode.Int32)
{
}
public IndexField(string name, double valu... |
ProductInjectionsProcessors/CurrencyProcessor.cs | mjsztainbok/code-exercise-services | 0 | 7061916 | <reponame>mjsztainbok/code-exercise-services
// <copyright file="CurrencyProcessor.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
namespace ProductIngestion.Processors
{
using... |
Chapter06/Exercises/Exercise04/GlobalFactoryService.cs | PacktWorkshops/The-C-Sharp-Workshop | 3 | 7061917 | <reponame>PacktWorkshops/The-C-Sharp-Workshop
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Chapter06.Examples;
using Chapter06.Examples.TalkingWithDb.Orm;
using Microsoft.EntityFrameworkCore;
namespace Chapter06.Exercises.Exercise04
{
public class GlobalFactoryServic... |
Sources/Services/Catalog/Catalog.Api/DataContext/CatalogContext.cs | myexplore/mycart | 0 | 7061918 | using Catalog.Api.Entities;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
namespace Catalog.Api.DataContext
{
public class CatalogContext:ICatalogContext
{
public CatalogContext(IConfiguration configuration)
{
var client = new MongoClient(configuration.GetValue<st... |
src/AccountGoWeb/Views/Purchasing/PurchaseOrders.cshtml | Monaqo/accountgo | 310 | 7061919 | @model string
<div>
<a href="~/purchasing/addpurchaseorder" class="btn">
<i class="fa fa-plus"></i>
New Order
</a>
<a href="~/purchasing/purchaseorder" id="linkViewOrder" class="btn inactiveLink">
<i class="fa fa-edit"></i>
View
</a>
<a href="~/purchasing/addpurchas... |
Assets/PVZ/Scripts/Zombies/Zombie.cs | wdmatthews/pvz | 0 | 7061920 | <gh_stars>0
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using PVZ.Combat;
namespace PVZ.Zombies
{
[AddComponentMenu("PVZ/Zombies/Zombie")]
[DisallowMultipleComponent]
public class Zombie : Damageable
{
private ZombieSO _zombieData = null;
prot... |
Business/ValidationRules/FluentValidation/BrandValidator.cs | canozyigiit/RentACar-ReCapProject | 6 | 7061921 | using Core.Constants;
using Entities.Concrete;
using FluentValidation;
namespace Business.ValidationRules.FluentValidation
{
public class BrandValidator :AbstractValidator<Brand>
{
public BrandValidator()
{
RuleFor(b => b.BrandName).NotEmpty().WithMessage(AspectMessages.CanNotBeBla... |
GTuner.UnitTests/Audio/WavResourceHandler_Should.cs | danieldutton/GTune | 1 | 7061922 | <filename>GTuner.UnitTests/Audio/WavResourceHandler_Should.cs
using GTuner.Audio;
using GTuner.Audio.Interfaces;
using NUnit.Framework;
using System;
namespace GTuner.UnitTests.Audio
{
[TestFixture]
public class WavResourceHandler_Should
{
[Test]
[ExpectedException(typeof(ArgumentException... |
DynamicMVC.DynamicEntityMetadataLibrary/Models/DynamicMethod.cs | cornelha/DynamicMVC | 17 | 7061923 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using DynamicMVC.Annotations.Enums;
using DynamicMVC.DynamicEntityMetadataLibrary.Interfaces;
namespace DynamicMVC.DynamicEntityMetadataLibrary.Models
{
public class DynamicMethod
{
public string Meth... |
test/Solitons.Azure.Referencelmpl/TransientAzureBlobContainerStorage.cs | AlexeyEvlampiev/Solitons.Core | 0 | 7061924 | <gh_stars>0
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Specialized;
using Azure.Storage.Sas;
using Solitons.Blobs.Common;
namespace Solitons.Azure.Refe... |
src/UnitTest02/UnitTest014/UnitTest1.cs | moonmile/TestPro | 3 | 7061925 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
namespace UnitTest014
{
/// <summary>
/// 問14
/// バイナリデータのアクセスを応用して構造体を保存する、以下のメソッドを実装せよ
/// </summary>
[TestClass]
public class UnitTest1
{
[TestInitialize]
public void Setup()
{
... |
WpfMtvUk/WpfMtvUk/Injections.cs | tohoff82/MtvUkParsingWPF | 0 | 7061926 | <gh_stars>0
using System;
using Microsoft.Extensions.DependencyInjection;
using MtvCoUkParser;
namespace WpfMtvUk
{
public static class Injections
{
public static IServiceProvider Provider { get; private set; }
public static void Startup()
=> Provider = new ServiceCollection()
... |
Legacy/ICollider.cs | k76-0G/0G | 0 | 7061927 | using UnityEngine;
namespace _0G.Legacy
{
public interface ICollider
{
void OnTriggerEnter(MonoBehaviour source, int sourceID, Collider other);
void OnTriggerExit(MonoBehaviour source, int sourceID, Collider other);
}
} |
NetVampiro/java/io/ByteArrayOutputStream.cs | bastie/NetVampire | 2 | 7061928 | <gh_stars>1-10
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,... |
src/EPPlus/EPPlus/FormulaParsing/Excel/Functions/ExcelDoubleCellValue.cs | Afonsof91/Magicodes.IE | 1,472 | 7061929 | <gh_stars>1000+
using System;
namespace OfficeOpenXml.FormulaParsing.Excel.Functions
{
public struct ExcelDoubleCellValue : IComparable<ExcelDoubleCellValue>, IComparable
{
public ExcelDoubleCellValue(double val)
{
Value = val;
CellRow = default(int?);
}
... |
source/MetroRadiance.Core/Interop/Win32/SHCore.cs | mika-f/MetroRadiance | 334 | 7061930 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace MetroRadiance.Interop.Win32
{
// ReSharper disable once InconsistentNaming
public static class SHCore
{
[DllImport("SHCore.dll", CharSet = CharSet.Unicode, PreserveSig = false)]
public ... |
sample/Assets/TestPlugin.cs | profelis/unityserial | 1 | 7061931 | <reponame>profelis/unityserial
/*
* For more information visit https://github.com/profelis/unityserial
*
* Copyright (c) 2018 <NAME>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without... |
UI/Authorization/UserStateExtractorMiddleware.cs | alegaio7/JwtInsideCookie | 0 | 7061932 | <reponame>alegaio7/JwtInsideCookie
using Api.Common;
using Api.Common.Authorization;
using Api.Model;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Http;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text.Json;
using System... |
src/Skybrud.Social.MailChimp/Endpoints/Raw/MailchimpUsersRawEndpoint.cs | abjerner/Skybrud.Social.MailChimp | 0 | 7061933 | using Skybrud.Essentials.Http;
using Skybrud.Social.Mailchimp.OAuth;
namespace Skybrud.Social.Mailchimp.Endpoints.Raw {
/// <summary>
/// Class representing the raw users endpoint.
/// </summary>
public class MailchimpUsersRawEndpoint {
#region Properties
/// <summary>
/// G... |
examples/WebServer/WebServer/Program.cs | PandaWood/NetCode.Template | 0 | 7061934 | <filename>examples/WebServer/WebServer/Program.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using TextTemplate;
using WebServer.Properties;
namespace WebServer
{
internal class Program
{
priva... |
src/Database/Migrations/20190218141038_InitialCreate.cs | mwgriffith/graphql-builddb | 0 | 7061935 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Database.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Ensu... |
CloudOps/Generated/LookoutMetrics/ListMetricSetsOperation.cs | austindimmer/AWSRetriever | 0 | 7061936 | using Amazon;
using Amazon.LookoutMetrics;
using Amazon.LookoutMetrics.Model;
using Amazon.Runtime;
namespace CloudOps.LookoutMetrics
{
public class ListMetricSetsOperation : Operation
{
public override string Name => "ListMetricSets";
public override string Description => "Lists the datasets ... |
MarketAnalyzer.Core/Extensions/DateTimeExtensions.cs | falcevor/market-analyzer | 0 | 7061937 | using MarketAnalyzer.Core.Model;
namespace MarketAnalyzer.Core.Extensions
{
public static class DateTimeExtensions
{
public static bool IsWeekInPastFrom(this DateTime lastDate, DateTime current)
{
if (lastDate >= DateTime.Now) return false;
return (lastDate.Day - 1) / ... |
ServiceLayer/Interfaces/IEmailService.cs | joshisachin675/SocialMediaBroadcast | 0 | 7061938 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceLayer.Interfaces
{
public interface IEmailService
{
//void SendPasswordResetEmail(string token, string toAddress);
void SendRegistrationEmail(string fullname, st... |
Meteor.Database.Dapper/Operations/Db/DbOperationExtensions.cs | hatami57/meteor | 2 | 7061939 | <filename>Meteor.Database.Dapper/Operations/Db/DbOperationExtensions.cs
using Meteor.Database.Sql.SqlDialect;
using Microsoft.Extensions.DependencyInjection;
namespace Meteor.Database.Dapper.Operations.Db
{
public static class DbOperationExtensions
{
public static IServiceCollection AddDbOperation<TDbC... |
Assets/Scripts/Weapons/Melee.cs | Promethaes/RunanBlade | 0 | 7061940 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static UnityEngine.InputSystem.InputAction;
public class Melee : Weapon
{
[SerializeField] float attackSpeed = 1.0f;
[SerializeField] int comboLimit = 3;
[SerializeField] float comboCooldown = 1.0f;
[Header("Reference... |
Projects/Server/Sys/SF.Sys.Plans.Implements/CallPlans/Runtime/ExceptionFactory.cs | etechi/ServiceFramework | 2 | 7061941 | <gh_stars>1-10
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 <NAME> (<EMAIL>)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
... |
src/Skoruba.IdentityServer4.STS.Identity/Helpers/ADUtilities/ADUtilities.cs | sourabhtewari/IdentityServer4.Admin | 0 | 7061942 | using Microsoft.Win32.SafeHandles;
using Skoruba.IdentityServer4.STS.Identity.Configuration;
using System;
using System.Collections.Generic;
using System.DirectoryServices;
using System.DirectoryServices.ActiveDirectory;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Principal;
using Sy... |
buildingworlds_week4/Assets/scripts/Flyer.cs | radiatoryang/buildingworlds_spring2013 | 3 | 7061943 | using UnityEngine;
using System.Collections;
public class Flyer : MonoBehaviour {
public float speed = 5f; // if speed is negative, then flyers will just zoom off into space forever; can you figure out why?
Vector3 target;
public float targetRange = 10f;
// Update is called once per frame
void Update () {
/... |
tests/TgBotFramework.Tests/CommandHandling/ShouldHandleFromCaption.cs | Fedorus/TgBotFramework | 10 | 7061944 | <gh_stars>1-10
using System;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using Xunit;
namespace TgBotFramework.Tests.CommandHandling
{
public class ShouldHandleFromCaption
{
private BaseBot bot = new BaseBot("123123:AKSJDLKJALKSDJASKJDJLAA", "Test_Bot");
[Theory(DisplayNa... |
sources/UnitTest/xUnit2.Demo.Tests/xUnit.Demo/MatrixTheoryData.cs | AtwindYu/DotNet.Test.Demo | 0 | 7061945 | using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using Xunit;
namespace xUnit2.Demo.Tests.xUnit.Demo
{
/// <summary>
/// 注意,该类中不能放测试方式,否则会出错的
/// </summary>
/// <typeparam name="T1"></typeparam>
/// <typeparam name="T2"></typeparam>
public class MatrixT... |
ExercisesDataTypesAndVariables/15.FastPrimeChecker-Refactor/Program.cs | fastline32/TechModule | 1 | 7061946 | using System;
namespace _15.FastPrimeChecker_Refactor
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
for (int number = 2; number <= n; number++)
{
bool isPrime = true;
for (int devid... |
PivotIt.Core/Events/UserMessagePosted.cs | mitsoshxc/pivotit | 0 | 7061947 | <filename>PivotIt.Core/Events/UserMessagePosted.cs
using PivotIt.Core.Entities;
namespace PivotIt.Core.Events
{
public class UserMessagePosted : BaseDomainEvent
{
public UserMessagePosted(UserMessage userMessage)
{
UserMessage = userMessage;
}
public UserMessage Us... |
src/BuildIt.General/BuildIt.General/Logging/Filters/MinimumLogLevelLogFilter.cs | builttoroam/BuildIt | 38 | 7061948 | <filename>src/BuildIt.General/BuildIt.General/Logging/Filters/MinimumLogLevelLogFilter.cs
using System;
using System.Threading.Tasks;
namespace BuildIt.Logging.Filters
{
/// <summary>
/// Filter that requires a minimum log level.
/// </summary>
public class MinimumLogLevelLogFilter : BaseLogFilter
... |
SDK/Samples/Units/CS/FormatForm.cs | xin1627/RevitSdkSamples | 1 | 7061949 | //
// (C) Copyright 2003-2019 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited wa... |
iOS/TappedImageRenderer.cs | chrispellett/Xamarin-Forms-TappedImage | 0 | 7061950 | <filename>iOS/TappedImageRenderer.cs<gh_stars>0
using System;
using Xamarin.Forms.Platform.iOS;
using Xamarin.Forms;
using ImageGesture;
using ImageGesture.iOS;
using UIKit;
[assembly:ExportRenderer(typeof(TappedImage),typeof(TappedImageRenderer))]
namespace ImageGesture.iOS
{
public class TappedImageRenderer : Imag... |
Assets/ResourceFromLITGM/Scripts/Guns/View/MagneticConfiguration.cs | luisplata/PruebaTecnicaLitgm | 0 | 7061952 | using UnityEngine;
[CreateAssetMenu(menuName = "Custom/Magnetic configuration")]
public class MagneticConfiguration : ScriptableObject
{
[SerializeField]private float radius;
[SerializeField] private float timeToEffect;
[SerializeField] private float timeToActivateEffect;
public float Radius => radius... |
src/Remap.Sdk/src/Api/InvoiceOutApi.cs | holydk/moysklad-sdk | 2 | 7061953 | using Confiti.MoySklad.Remap.Client;
using Confiti.MoySklad.Remap.Entities;
using Confiti.MoySklad.Remap.Models;
using RestSharp;
using System;
using System.Threading.Tasks;
namespace Confiti.MoySklad.Remap.Api
{
/// <summary>
/// Represents the API to interact with the invoice out endpoint.
/// </summary... |
src/TechTalk.GraphQl/GraphQl/Types/ZombieBreedTypesEnum.cs | ohalay/TechTalk.GraphQl | 1 | 7061954 | using GraphQL.Types;
using TechTalk.GraphQl.Store.Models;
namespace TechTalk.GraphQl.GraphQl.Types
{
public class ZombieBreedTypesEnum : EnumerationGraphType<ZombieBreedTypes>
{
public ZombieBreedTypesEnum()
{
Name = nameof(ZombieBreedTypesEnum);
}
}
} |
Packages/UGF.Serialize.JsonNet/Runtime/SerializerJsonNetAsset.cs | unity-game-framework/ugf-serialize-jsonnet | 0 | 7061955 | <reponame>unity-game-framework/ugf-serialize-jsonnet
using Newtonsoft.Json;
using UGF.JsonNet.Runtime;
using UGF.Serialize.Runtime;
using UnityEngine;
namespace UGF.Serialize.JsonNet.Runtime
{
[CreateAssetMenu(menuName = "Unity Game Framework/Serialize/Serializer JsonNet", order = 2000)]
public class Serializ... |
Controllers/AccountController.cs | MatijaNovosel/fin-app-backend | 1 | 7061956 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using fin_app_backend.Services.Interfaces;
using fin_app_backend.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authenticati... |
Backend/Controllers/OrderController.cs | raphabraga/TrimaniaBackend | 2 | 7061957 | <filename>Backend/Controllers/OrderController.cs
using System.Security.Claims;
using System.Linq;
using Backend.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Backend.Interfaces.Services;
using System.Collections.Generic;
using Backend.ViewModels;
using Backend.Dtos;
using Syste... |
src/TriggersTools.Windows.Resources/StringTable/StringResource.cs | trigger-death/TriggersTools.Windows.Resources | 0 | 7061958 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using TriggersTools.SharpUtils.Exceptions;
using TriggersTools.SharpUtils.IO;
namespace TriggersTools.Windows.Resources.StringTable {
/// <summary>
/// A string, RT_STRING resource.<para/>
/// Each strin... |
Assets/CommonCoreGame/RPGGame/UI/JournalPanelController.cs | XCVG/glow_public | 6 | 7061959 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using CommonCore.RpgGame.Rpg;
using CommonCore.State;
using CommonCore.StringSub;
using CommonCore.UI;
namespace CommonCore.RpgGame.UI
{
public class JournalPanelController : PanelController
{
public ... |
XmppBot.GetParsedText/RoomInfo.cs | rupeshtech/hipchatBot | 0 | 7061960 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XmppBot.GoogleApi;
using static XmppBot.GoogleApi.DeptResource;
namespace XmppBot.GetParsedText
{
public class RoomInfo
{
Dictionary<int, string> QuestionsList;
public RoomInfo()
{
Q... |
River.Orqa.Editor/XmlSyntaxSettingsInfo.cs | stevencohn/Orqa | 2 | 7061961 | namespace River.Orqa.Editor
{
using River.Orqa.Editor.Dialogs;
using River.Orqa.Editor.Syntax;
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Xml.Serialization;
public class XmlSyntaxSettingsInfo
{
// Methods
public XmlSyntaxSettingsInfo()
... |
TEAMModelOS.SDK/Helper/Common/ValidateHelper/ValidateHelper.cs | cdhabook/TEAMModelOS | 4 | 7061962 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
namespace TEAMModelOS.SDK.Helper.Common.ValidateHelper
{
public static class ValidateHelper
{
public static string AllowCountry { get; set; }
/// <summary>
... |
Runtime/MaterialConverter.cs | yoship1639/UniToon | 31 | 7061963 | <reponame>yoship1639/UniToon<filename>Runtime/MaterialConverter.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
namespace UniToon
{
public enum UniToonVersion
{
Unknown = 0,
URP_2021_2 = 1212,
URP_2021_1 = 1211,
URP_... |
src/QA.Tools.Postgres/Config/DefaultStoreConfig.cs | cyberdot/QA.Tools | 0 | 7061964 | <filename>src/QA.Tools.Postgres/Config/DefaultStoreConfig.cs
using System;
using System.IO;
using QA.Tools.Postgres.Resolver;
namespace QA.Tools.Postgres.Config
{
public class DefaultStoreConfig : IStoreConfig
{
private const string PackagesCacheDirectory = "packages";
private const string Dis... |
Server/NetCore/MyWalletApi/DataAccess/MyWalletApi.Data.MongoDB/Repository/TransactionRepository.cs | trololog/MyWallet | 0 | 7061965 | using MyWalletApi.Data.Interface.Repository;
using MyWalletApi.Data.MongoDB.Settings;
using MyWalletApi.Data.MongoDB.DTO;
using MongoDB.Driver;
using System;
using System.Linq;
using System.Collections.Generic;
using MyWalletApi.Model.Interface;
using System.Threading.Tasks;
using MyWalletApi.Data.MongoDB.Converter;
n... |
Security/AspNetIdentityDeepDive/AspNetIdentityDeepDive/Stores/MyIdentityUserStore.cs | Jac21/CSharpMenagerie | 1 | 7061966 | <reponame>Jac21/CSharpMenagerie<filename>Security/AspNetIdentityDeepDive/AspNetIdentityDeepDive/Stores/MyIdentityUserStore.cs
using System;
using System.Data.Common;
using System.Data.SqlClient;
using System.Threading;
using System.Threading.Tasks;
using AspNetIdentityDeepDive.Models;
using Dapper;
using Microsoft.Asp... |
Defs/Html/custom/modules/indexeddb/IDBIndex.cs | SharpKit/SharpKit-SDK | 12 | 7061967 | using System;
namespace SharpKit.Html.indexeddb
{
using SharpKit.JavaScript;
[JsType(JsMode.Prototype, Export = false, PropertiesAsFields = true, NativeCasts = true, Name = "IDBIndex")]
public partial class IDBIndex<IndexKey,Value>
{
public JsString name { get; set; }
public IDBObj... |
LiteDB.Benchmarks/Program.cs | yaozhong-OMEC/LiteDB | 1 | 7061968 | <reponame>yaozhong-OMEC/LiteDB<gh_stars>1-10
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.CsProj;
namespace LiteDB.Benchmarks
{
class... |
src/PixelFarm/PixelFarm.Painter_Layer2_SH/CpuBlit/MemBitmapExt.cs | danieloff/PixelFarm | 304 | 7061969 | //BSD, 2014-present, WinterDev
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 <NAME> (http://www.antigrain.com)
//
// C# Port port by: <NAME>
// <EMAIL>
// Copyright (C) 2007
//
// Permission to copy, use, ... |
ags-client-tests/AgsClientTests.cs | nef001/ags-client | 1 | 7061970 | using ags_client;
using ags_client.Requests;
using ags_client.Requests.MapService;
using ags_client.Types.Geometry;
using ags_client_tests.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace ags_client_tests
{
[TestClass]
public class AgsClientTests
{
[TestMethod]
... |
src/Package/Impl/Feedback/SendSmileCommand.cs | skeptycal/RTVS | 429 | 7061971 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.Common.Core.Services;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.R;
namespace Micro... |
tutorial-ai-enrichment/v11/DemoIndex.cs | thulz24/azure-search-dotnet-samples | 0 | 7061972 | <gh_stars>0
using Azure.Search.Documents.Indexes;
using System.Text.Json.Serialization;
namespace EnrichwithAI
{
// The SerializePropertyNamesAsCamelCase has not been ported into sdk yet in the time write the sample.
// Replace it with JsonPropertyName
public class DemoIndex
{
[SearchableField... |
Assets/UnityX/Scripts/Components/UI/CanvasGroupOpacityInteractionEnabler.cs | tomkail/UnityX | 16 | 7061973 | <gh_stars>10-100
using UnityEngine;
using UnityEngine.EventSystems;
using System.Collections;
/// <summary>
/// Toggles properties of a CanvasGroup based on its alpha.
/// Useful for allowing raycasts to automatically pass through an invisible CanvasGroup.
/// </summary>
[RequireComponent(typeof(CanvasGroup))]
[Exec... |
src/RaynMaker.Modules.Import.Tests/Spec/Extraction/CsvDescriptorTests.cs | Tball40/RaynMaker | 1 | 7061974 | using System.ComponentModel.DataAnnotations;
using NUnit.Framework;
using Plainion.Validation;
using RaynMaker.Modules.Import.Spec.v2.Extraction;
using RaynMaker.SDK;
namespace RaynMaker.Modules.Import.Tests.Spec.Extraction
{
[TestFixture]
public class CsvDescriptorTests
{
[Test]
... |
DiligentEngine/Enums/RESOURCE_STATE.cs | AnomalousMedical/Adventure | 0 | 7061975 | <filename>DiligentEngine/Enums/RESOURCE_STATE.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Uint8 = System.Byte;
using Int8 = System.SByte;
using Bool = System.Boolean;
using Uint32 = System.UInt32;
using Uint64 = System.UInt64;
using Float... |
JXB_WEB/JXB/Areas/SystemSet/Controllers/DictController.cs | loyung/JXB | 0 | 7061976 | /*
* 创建时间:2016-05-26
* 创建人:刘自洋
* 说明:该模块用于管理系统设置——字典管理模块
*/
using JXB.DBModels;
using JXB.PublicMethod;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace JXB.Areas.SystemSet.Controllers
{
/// <summary>
/// 字典管理
/// </summary>
public... |
Source/RemoveModernStuff/CompMedievalRottable.cs | lbmaian/Lord-of-the-Rims---The-Third-Age | 6 | 7061977 | using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using UnityEngine;
using Verse;
namespace TheThirdAge
{
public class CompMedievalRottable : CompRottable
{
public override string CompInspectStringExtra()
{
StringBuilder sb = new StringBuilder... |
cards/BATTLEGROUNDS/BGS/Sim_BGS_039.cs | chi-rei-den/Silverfish | 1 | 7061979 |
/* _BEGIN_TEMPLATE_
{
"id": "BGS_039",
"name": [
"龙人军官",
"<NAME>"
],
"text": [
"<b>嘲讽</b>",
"<b>Taunt</b>"
],
"CardClass": "NEUTRAL",
"type": "MINION",
"cost": 2,
"rarity": null,
"set": "BATTLEGROUNDS",
"collectible": null,
"dbfId": 60628
}
_END_TEMPLATE_ */
namespace HREngine.... |
src/Main/Base/Project/Src/Services/AmbienceService/AmbienceService.cs | galich/SharpDevelop | 2 | 7061980 | // Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, co... |
Cog.Application/ViewModels/ExportGlobalCorrespondencesChartViewModel.cs | sillsdev/cog | 15 | 7061981 | <filename>Cog.Application/ViewModels/ExportGlobalCorrespondencesChartViewModel.cs<gh_stars>10-100
using GalaSoft.MvvmLight;
namespace SIL.Cog.Application.ViewModels
{
public class ExportGlobalCorrespondencesChartViewModel : ViewModelBase
{
private SyllablePosition _syllablePosition;
private int _frequencyThresh... |
NetControl4BioMed/Data/Models/Analysis.cs | angelcnx/NetControl4BioMed | 0 | 7061982 | <reponame>angelcnx/NetControl4BioMed<gh_stars>0
using NetControl4BioMed.Data.Enumerations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NetControl4BioMed.Data.Models
{
/// <summary>
/// Represents the database model of an analysis.
/// </summar... |
CleanArchitectureExample.Persistence/Repositories/BookLoanRepository.cs | andresantarosa/CleanArchitectureExample | 66 | 7061983 | using CleanArchitectureExample.Domain.Entities;
using CleanArchitectureExample.Domain.Interfaces.Persistence.Repositories;
using CleanArchitectureExample.Persistence.Context;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace CleanArchitectureExample.Persiste... |
Script/CommonClass/VectorSystem.cs | zkwokleung/MyLib_Unity | 1 | 7061984 | <reponame>zkwokleung/MyLib_Unity<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VectorSystem : MonoBehaviour
{
public static Vector2 AtoB(Vector2 a, Vector2 b)
{
return b - a;
}
}
|
RadzenBlazorDemos/obj/Debug/net5.0/Razor/Pages/TreePage.razor.g.cs | longvutam/vtl-nvp | 0 | 7061985 | <gh_stars>0
#pragma checksum "D:\c#\blazor\vtl-nvp\RadzenBlazorDemos\Pages\TreePage.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8c0139366e43b5e20706f33e29afd86ddab0fa5b"
// <auto-generated/>
#pragma warning disable 1591
namespace RadzenBlazorDemos.Pages
{
#line hidden
using System;
using System.Collect... |
Assets/LevelController.cs | The-Bestest/MED5 | 0 | 7061986 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelController : MonoBehaviour
{
public GameObject Human;
public GameObject Walls;
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.S))
{
... |
ZombieWard/Assets/Scripts/Health/PlayerHealth.cs | player2point0/ZombieWard | 0 | 7061987 | <filename>ZombieWard/Assets/Scripts/Health/PlayerHealth.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerHealth : Health
{
private void OnCollisionStay2D(Collision2D collision)
{
if (collision.gameObject.tag == "Zombie") RemoveHealth(0.1f, true); ... |
DogSpeak/Services/SoundPlayer.cs | Mortens4444/DogSpeak | 0 | 7061988 | using System;
using System.IO;
using NetCoreAudio;
namespace DogSpeak.Services
{
public class SoundPlayer
{
public void Play(string filename)
{
var fullPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Sounds", filename);
var player = new Player();
player.Play(fullPath);
}
}
... |
Examples/NodeManager Example/Assets/ForgeAndUnity/Forge/1_RPCs/RPCQuaternion.cs | k77torpedo/TorpedoTools | 30 | 7061989 | using System;
using UnityEngine;
namespace ForgeAndUnity.Forge {
/// <summary>
/// Lightweight container for serializing and deserializing <see cref="Quaternion"/> over RPCs.
/// </summary>
[Serializable]
public struct RPCQuaternion : IEquatable<RPCQuaternion> {
//Fields
public fl... |
src/Microsoft.DotNet.XHarness.Apple/ILogger.cs | jkoritzinsky/xharness | 0 | 7061990 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.DotNet.XHarness.Apple;
/// <summary>
/// Simple interface that can be implemented either via M... |
Controllers/AlchemicalSubstancesController.cs | mpiskunov/WitcherTRPG-API | 0 | 7061991 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using WitcherTRPGWebApplication.Data;
using WitcherTRPGWebApplication.Models;
namespace WitcherTRPG_API.Con... |
AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Skills/SkillEditCommandHandlerAsync.cs | mikesigs/allReady | 0 | 7061992 | <filename>AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Skills/SkillEditCommandHandlerAsync.cs
using System.Threading.Tasks;
using AllReady.Models;
using MediatR;
using Microsoft.Data.Entity;
namespace AllReady.Areas.Admin.Features.Skills
{
public class SkillEditCommandHandlerAsync : IAsyncRequestHandler<Skil... |
Src/AutoNSubstituteUnitTest/SubstituteAttributeRelayTest.cs | cmannix/AutoFixture | 0 | 7061994 | <gh_stars>0
using System;
using System.Reflection;
using NSubstitute;
using Ploeh.AutoFixture.Kernel;
using Ploeh.TestTypeFoundation;
using Xunit;
namespace Ploeh.AutoFixture.AutoNSubstitute.UnitTest
{
public class SubstituteAttributeRelayTest
{
[Fact]
public void SutIsSpecimenBuil... |
DomainValues/Command/SingleFileGenerator.cs | dannyquinn/domainvalues | 9 | 7061996 | <reponame>dannyquinn/domainvalues
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using DomainValues.Command.SingleFileBaseGenerator;
using DomainValues.Model;
using D... |
src/CodeEditor.Text.Data/Implementation/TextBuffer.cs | LaudateCorpus1/CodeEditor | 30 | 7061997 | using System;
using CodeEditor.Collections;
using CodeEditor.ContentTypes;
namespace CodeEditor.Text.Data.Implementation
{
public class TextBuffer : ITextBuffer
{
private TextSnapshot _currentSnapshot;
public TextBuffer(string text, IContentType contentType)
: this(Piece.ForString(NormalizeLineTerminators(te... |
src/Uno.UI/UI/Xaml/Controls/Button/CheckBox.cs | olirobert/uno | 5,973 | 7061998 | <reponame>olirobert/uno<gh_stars>1000+
using Windows.UI.Xaml.Controls.Primitives;
namespace Windows.UI.Xaml.Controls
{
public partial class CheckBox : ToggleButton
{
public CheckBox()
{
DefaultStyleKey = typeof(CheckBox);
}
}
}
|
Enterprise/Enterprise.Web/Modules/Administration/User/Membership/Account/ForgotPassword/AccountForgotPassword.cshtml | neurral/enterprise | 2 | 7061999 | <reponame>neurral/enterprise
@{
ViewData["Title"] = Texts.Forms.Membership.ForgotPassword.FormTitle;
ViewData["PageId"] = "ForgotPassword";
Layout = MVC.Views.Shared._LayoutNoNavigation;
}
<script id="Template_Membership_ForgotPasswordPanel" type="text/template">
<div class="flex-layout">
<div... |
Daenet.DurableTaskMicroservices.Common/Daenet.Microservice.Common.Test/CounterOrchestration/CounterOrchestration.cs | ddobric/DurableTaskMicroservices | 13 | 7062000 | <filename>Daenet.DurableTaskMicroservices.Common/Daenet.Microservice.Common.Test/CounterOrchestration/CounterOrchestration.cs
// ----------------------------------------------------------------------------------
// Copyright daenet Gesellschaft für Informationstechnologie mbH
// Licensed under the Apache License, V... |
src/BitCoinChallange/BitCoinChallange.Infra.CrossCutting/MapperConfigs/Profiles/ViewModelToDomainMappingProfile.cs | Jeffsmoraes/Challenge-Backend-Developer | 0 | 7062001 | using AutoMapper;
using BitCoinChallange.Application.ViewModels;
using BitCoinChallange.Domain.Queries;
namespace BitCoinChallange.Infra.CrossCutting.MapperConfigs.Profiles
{
public class ViewModelToDomainMappingProfile : Profile
{
public ViewModelToDomainMappingProfile()
{
CreateMap<SpecificationViewModel, ... |
IntegradorLantek/Classes/CustomUltraGridOptions.cs | BIEMAX/integrador-lantek | 0 | 7062003 | /***********************************************************************************************************
*
*
* UltraGridOptions - Classe com objetos e controles para atuar junto com um ultragrid
*
*
* Developer: <NAME>
* Function: Habilitar comandos com o botão direito do mouse ... |
SemanticTypes/SemanticTypes/PaxId.cs | MartinJohns/SemanticTypes | 5 | 7062004 | <reponame>MartinJohns/SemanticTypes
using System;
namespace SemanticTypes
{
[Serializable]
public class PaxId
{
public static readonly PaxId None = default(PaxId);
public int Value => _value ?? -1;
public PaxId(int paxId)
{
if (paxId < 0)
throw... |
Components/Items/Shooter.cs | MHDante/OrbitVR | 0 | 7062005 | using System;
using System.Collections.Generic;
using OrbitVR.Components.Drawers;
using OrbitVR.Components.Essential;
using OrbitVR.Components.Meta;
using OrbitVR.Components.Tracers;
using OrbitVR.Framework;
using OrbitVR.UI;
using SharpDX;
using Collision = OrbitVR.Components.Essential.Collision;
namespac... |
CRealize/Convert.cs | gurudennis/CRealize | 1 | 7062006 | <reponame>gurudennis/CRealize<gh_stars>1-10
namespace CRealize
{
using System;
using System.Linq;
using System.Reflection;
public static class Convert
{
public static string ToJSON(object obj, bool pretty = false)
{
return GetJSONSerializer().SerializeToString(obj, pret... |
RenderScripts/Mpdn.Presets.cs | zachsaw/RenderScripts | 12 | 7062007 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Mpdn.RenderScript.Config;
using Mpdn.PlayerExtensions.GitHub;
using YAXLib;
namespace Mpdn.RenderScript
{
namespace Mpdn.Presets
{
public abstract class PresetRenderScriptBase : IRenderScriptUi
... |
src/CodeMash.Core.Tests/DatabaseTests/Entities/TranslatableEntity.cs | codemash-io/CodeMash.Net | 0 | 7062008 | <gh_stars>0
using System.Collections.Generic;
using CodeMash.Models;
namespace CodeMash.Core.Tests
{
[Collection("sdk-translatable")]
public class TranslatableEntity : Entity
{
public string NonTranslatable { get; set; }
public Dictionary<string, string> Translatable { get; set; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.