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
III semester/development-of-software-solutions/2017-2018/NMK_17993/NMK_17993/Entiteti/Osoba.cs
ksaracevic1/etf-alles-1
14
7039713
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NMK_17993.Entiteti { public abstract class Osoba { public enum Spol { M, Z }; public enum bracnoStanje { uBraku, nijeUBraku }; private string ime, prezime, mati...
Depths/Assets/Scripts/ImageEffect.cs
maftkd/DepthsOfDespair
0
7039714
<filename>Depths/Assets/Scripts/ImageEffect.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class ImageEffect : MonoBehaviour { Monolith _m; void Start(){ _m = FindObjectOfType<Monolith>(); _mat.SetFloat("_Vignette",0); _mat.SetFloat("_Fade",1); GetCompone...
PCAxis.Sql/Parser_23/ISqlItem.cs
stefguggisberg/PxWeb
0
7039715
<reponame>stefguggisberg/PxWeb<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace PCAxis.Sql.Parser_23 { public interface ISqlItem { string Name { get; set; } } }
Day8/Boot.cs
SovereignStrike/AoC_2020
2
7039716
using System; using System.Collections.Generic; using System.Text; using ChristmasUtils; namespace Day8 { public class Boot { public Dictionary<int, Instruction> instructions; Dictionary<int, int> visited_instructions; public (int current_line, int accumulator) state; public Li...
Animatroller/src/Simulator/Extensions.cs
HakanL/animatroller
8
7039717
<reponame>HakanL/animatroller using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace Animatroller.Simulator.Extensions { public static class FormExtensions { public static void UIThread(this System.Windows.Forms.Control form, MethodI...
DefendMeSquireGame/Assets/Scripts/Knight/TriggeredEventStateMachineBehaviour.cs
bpar476/DefendMeSquire
0
7039718
<gh_stars>0 using UnityEngine; public class TriggeredEventStateMachineBehaviour : MyStateMachineBehaviour { [SerializeField] private AbstractTrigger trigger; private bool hasBeenTriggered = false; private void Start() { trigger.OnTrigger += () => hasBeenTriggered = true; } publi...
Interactipy/Interactipy/MainWindow.xaml.cs
Tekiter/Interactipy
0
7039719
<reponame>Tekiter/Interactipy using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using...
UIEvo/Models/EmailMessageModel.cs
volodymyr-karpenko/UIEvoSPA
0
7039720
using Microsoft.AspNetCore.Http; using System.ComponentModel.DataAnnotations; namespace UIEvo.Models { public class EmailMessageModel { [Required] [StringLength(40, MinimumLength = 1)] public string Name { get; set; } [Required] [EmailAddress] [StringLength(40,...
Assets/UnitBehaviour.cs
pvutov/Mirror-OnNetworkDestroy
0
7039721
using System.Collections; using System.Collections.Generic; using UnityEngine; using Mirror; public class UnitBehaviour : NetworkBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } ...
LD40/Assets/Scripts/4 Adventure/PlayerMovement.cs
PeaKend/In-The-Beginning
0
7039722
<filename>LD40/Assets/Scripts/4 Adventure/PlayerMovement.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { public AudioClip movementSound; AudioSource audioSource; public GameObject Camera2; public GameObject Camera3; bool soundbeingP...
Assets/Drive/Helpers/AudioTools/Scripts/Example/AudioBehaviorExample.cs
aornelas/Drive
2
7039723
// --------------------------------------------------------------------- // // Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved. // Use of this file is governed by the Creator Agreement, located // here: https://id.magicleap.com/creator-terms // // ----------------------------------------------------------...
Languages/Ruby/ironruby/Builtins/MutableStringStream.cs
calbonaler/DLR_Japanese
1
7039724
<filename>Languages/Ruby/ironruby/Builtins/MutableStringStream.cs /* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Microsoft Public License. A * copy of the license can be found ...
TennisTableWPF/bin/Debug/A_Classements.cs
jdidderen/TennisTableWPF
0
7039725
<reponame>jdidderen/TennisTableWPF using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using TennisTable.Classes; namespace TennisTable.Acces { /// <summary> /// Couche d'accès aux données (Data Access Layer) /// </summary> public class AClassements : ABase { p...
Demos/src/Aspose.Page.Live.Demos.UI/Config/Configuration.cs
aspose-page/Aspose.Page-for-.NET
2
7039726
<gh_stars>1-10 using System; using System.Data; using System.Configuration; using System.Web; /// <summary> /// Summary description for Configuration /// </summary> namespace Aspose.Page.Live.Demos.UI.Config { public static class Configuration { private static string _appName = ConfigurationManager.AppSettings["...
TechDemoTest/Assets/Project/Scripts/GameFoundation/RewardSystem/GameReward.cs
KDahir247/UnityTechDemo
0
7039727
using System; using System.Collections; using System.Collections.Generic; using JetBrains.Annotations; using Microsoft.Extensions.Logging; using UniRx; using UnityEngine.GameFoundation; using ZLogger; public sealed class GameReward : DataFoundation { private readonly CompositeDisposable _disposable = new ...
PokemonPRNG/SFMT.cs
yatsuna827/PokemonPRNG
2
7039728
<reponame>yatsuna827/PokemonPRNG<filename>PokemonPRNG/SFMT.cs using System.Linq; namespace PokemonPRNG.SFMT { /// <summary> /// SFMTの擬似乱数ジェネレータークラス。 /// </summary> public class SFMT { /// <summary> /// 周期を表す指数。 /// </summary> public const int MEXP = 19937;...
MeTLMeeting/SandRibbonObjects/CanvasState.cs
ChrisHagan/metl2011
1
7039729
<reponame>ChrisHagan/metl2011 using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Ink; namespace SandRibbonObjects { public static class UIElementCollectionExtensions { public static List<UIElement> ToList(this UIElem...
NBi.Xml/Items/ResultSet/KeyXml.cs
TheAutomatingMrLynch/NBi
0
7039730
<gh_stars>0 using System.Xml.Serialization; namespace NBi.Xml.Items.ResultSet { public class KeyXml { [XmlAttribute("index")] public int Index { get; set; } } }
CountStringFromWeb.WPF/MainViewModel.cs
kienboec/CountStringFromWeb
0
7039731
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Windows; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; namespace CountStringFromWeb.WPF { public cl...
src/Completion/TaskCompletionProvider.cs
SpotLabsNET/psake-vs
0
7039732
<gh_stars>0 namespace PSake.TaskRunner.Completion { using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using System.Linq; using Microsoft.JSON.Core.Parser; using Microsoft.JSON.Core.Parser.TreeItems; using Microsoft.JSON.Editor.Com...
Code/Src/Libs/DigitalRune-TextEditor-1.3.1/DigitalRune.Windows.TextEditor/GUI/TextEditorControl_Update.cs
sparql-studio/sparql-studio
8
7039733
using System; using System.ComponentModel; using System.Diagnostics; namespace DigitalRune.Windows.TextEditor { partial class TextEditorControl { private int _updateLevel; /// <summary> /// Gets a value indicating whether this instance is in currently in an update. /// </summary> /// <value>...
Core.Audit/Configuration/AuditConfig.cs
cdotyone/Core.Audit
0
7039734
<reponame>cdotyone/Core.Audit using System; using System.Collections.Concurrent; using System.Collections.Generic; using Core.Audit.Providers; using Core.Configuration; namespace Core.Audit.Configuration { public class AuditConfig : NamedConfigurationElement { protected const string USE_LOCA...
Assets/SpaceCombatKit/Scripts/AllVehicles/AI/PIDControllers/PIDController.cs
RisulKarimWG/GameX
1
7039735
<filename>Assets/SpaceCombatKit/Scripts/AllVehicles/AI/PIDControllers/PIDController.cs using System.Collections; using System.Collections.Generic; using UnityEngine; namespace VSX.UniversalVehicleCombat { [System.Serializable] public class PIDController { public float proportionalCoefficient = 0.0...
Assets/Scripts/CharacterSelection/AvailableCharactersPanel.cs
damogi/rpg_client-practicafinal
0
7039736
using System.Collections.Generic; using Characters; using Services; using UnityEngine; using UnityRest; namespace CharacterSelection { public class AvailableCharactersPanel: MonoBehaviour { [SerializeField] private AddCharacterButton prefab; [SerializeField] private Transform pa...
src/ConsumerWorker/Worker.cs
gabrielsadaka/dotnet-kafka-sample
18
7039737
using System; using System.Threading; using System.Threading.Tasks; using Common.Kafka.Consumer; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace ConsumerWorker { public class Worker : BackgroundService { private readonly IKafkaMessageConsumerManager _kafkaMessageConsum...
ClientOrder.Service/Services/Refiend/RepoBaseService.cs
danielbrezoi/EFC
0
7039738
using ClientOrder.Data.Context; using ClientOrder.Domain.Tools; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.ChangeTracking; namespace ClientOrder.Service.ClientServicies { public abstract class RepoBaseService { protected readonly ClientOrderContext Context; protec...
EIDSS v6/eidss.openapi.bll/Converters/BaseConverter.cs
EIDSS/EIDSS-Legacy
2
7039739
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; using AutoMapper; using bv.model.BLToolkit; using eidss.openapi.bll.Exceptions; using bv.model.Model.Core; namespace eidss.openapi.bll.Converters { internal class BaseConverter<C, M> : ...
src/CyPhyComplexity/Properties/Resources.Designer.cs
lefevre-fraser/openmeta-mms
0
7039740
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.269 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
EntityFrameworkCore/ExtensibleMarkupLanguageXML/ProductShop/ProductShop/Data/DbContextConfiguration.cs
kkaraivanov/CCharpDB
0
7039741
namespace ProductShop.Data { public static class DbContextConfiguration { public static string DatabaseName => "ProductShop"; public static string ConnectionString => $"Server=.\\SQLKARAIVANOV;Database={DatabaseName};Integrated Security=True;"; } }
LmpClient/Network/NetworkReceiver.cs
Lekashi/LunaMultiplayer
316
7039742
<reponame>Lekashi/LunaMultiplayer using Lidgren.Network; using LmpClient.Systems.Admin; using LmpClient.Systems.Chat; using LmpClient.Systems.CraftLibrary; using LmpClient.Systems.Facility; using LmpClient.Systems.Flag; using LmpClient.Systems.Groups; using LmpClient.Systems.Handshake; using LmpClient.Systems.KerbalSy...
src/Senparc.NeuChar.App/AppStore/Entities/AppResult/AppResult.cs
mc7246/NeuChar
0
7039743
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2019 <NAME> & Suzhou Senparc Network Technology Co.,Ltd. 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 co...
KLL.Net/KeyboardLayout.cs
TheLastRar/KLL.Net
0
7039744
<gh_stars>0 using System; using System.Collections.Generic; namespace KLLNet { /// <summary> /// An enum of Keys that can be used as modifers /// </summary> [Flags] public enum ModiferKeys { None = 0, Shift = 0x1, Control = 0x2, Alt = 0x4, Kanna = 0x8, ...
FindSimilarServices/Fingerprinting/ShortSamplesFingerprintConfiguration.cs
JunkiEDM/FindSimilarCore
1
7039745
<reponame>JunkiEDM/FindSimilarCore<gh_stars>1-10 using System.Linq; using SoundFingerprinting.Strides; using SoundFingerprinting.Windows; namespace SoundFingerprinting.Configuration { public class ShortSamplesFingerprintConfiguration : FingerprintConfiguration { public ShortSamplesFingerprintConfigurat...
Runtime/Scripts/Application/Scenes/SceneLoadManager.cs
hexthedev/HexUN
1
7039746
using System.Collections; using System.Collections.Generic; using HexUN.Events; using HexUN.Behaviour; using UnityEngine; namespace HexUN.App { /// <summary> /// Scene tracker is a singleton that tracks the loaded scenes and knows what needs unloading /// between scenes /// </summary> public class...
trunk/Marss.TasksGenerator/Marss.TasksGenerator.BLL/TFS/TfsDataProvider.cs
marss19/bulk-task-generation-in-tfs
2
7039747
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.TeamFoundation.WorkItemTracking.Client; using Marss.TasksGenerator.BLL.TaskTemplates; using System.Data; using System.Web; namespace Marss.TasksGenerator.BLL.TFS { public class TfsDataProvider { ...
RazzleServer.Game/Maple/Life/Summon.cs
razfriman/RazzleServer
25
7039748
using System; using RazzleServer.Common.Constants; using RazzleServer.Common.Util; using RazzleServer.Game.Maple.Characters; using RazzleServer.Game.Maple.Maps; using RazzleServer.Game.Maple.Skills; using RazzleServer.Game.Maple.Util; using RazzleServer.Net.Packet; namespace RazzleServer.Game.Maple.Life { public ...
src/GraphQL/Types/Fields/FieldType.cs
SebastianStehle/graphql-dotnet
1
7039749
<gh_stars>1-10 using System; using System.Diagnostics; using GraphQL.Language.AST; using GraphQL.Resolvers; using GraphQL.Utilities; namespace GraphQL.Types { /// <summary> /// Represents a field of a graph type. /// </summary> [DebuggerDisplay("{Name,nq}: {ResolvedType,nq}")] public class FieldTyp...
src/GovUk.Education.ExploreEducationStatistics.Content.Model/Methodology.cs
dfe-analytical-services/explore-education-statistics
8
7039750
#nullable enable using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using GovUk.Education.ExploreEducationStatistics.Common.Extensions; namespace GovUk.Education.ExploreEducationStatistics.Content.Model { public class Methodology { public Gu...
Promise.Examples/Program.cs
AlexeyPerov/C-Sharp-Cancellable-Promise
2
7039751
using System; namespace Promise.Examples { internal class Program { public static void Main(string[] args) { var running = true; while (running) { Console.WriteLine("Input an example id [1..6] to run or type 'q' to quit"); v...
UENP/Exemplo1/Program.cs
wellingtondellamura/SITe2016
0
7039752
<reponame>wellingtondellamura/SITe2016 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exemplo1 { class Program { static void Main(string[] args) { //ListaProduto lista = new ListaProduto()...
src/Service/Frontend/App_Start/RouteConfig.cs
Bhaskers-Blu-Org2/FetchClimate
10
7039753
<filename>src/Service/Frontend/App_Start/RouteConfig.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Routing; namespace Frontend { public class RouteConfig { public static void RegisterRoutes(RouteCol...
RealNumber/RealNumber/RealNumberTest.cs
dnovhorodov/CSharp.Playground
0
7039754
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace RealNumberApp.Tests { [TestClass] public class RealNumberTest { [DataTestMethod] [DataRow("0")] [DataRow("1")] [DataRow("0.5")] [DataRow(".5")] [DataRow("123")] [DataRow("-2")] [Da...
src/Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/AKVTests.cs
Xtrimmer/SqlClient
0
7039755
<reponame>Xtrimmer/SqlClient // 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.Linq; using Microsoft.Data.SqlClient.ManualTesting.Tests.Al...
coderush/Models/PruebaContext.cs
choquidownn25/MaestroDetalle
0
7039756
using System; using Prueba.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace Prueba.Models { public partial class PruebaContext : DbContext { public PruebaContext() { } public PruebaContext(DbContextOptions<PruebaContext> opti...
HrSystem/HREntity/FeedType.cs
AbhayVel/vmhr
0
7039757
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace HREntity { [Table("FeedType")] public class FeedType { [Key] public int? Id { get; set; } [MaxLength(20, E...
Entities/CustomizableGlassBlockController.cs
swoolcock/MaxHelpingHand
0
7039758
<gh_stars>0 using Celeste.Mod.Entities; using Celeste.Mod.MaxHelpingHand.Module; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Monocle; using System.Collections.Generic; using System.Linq; namespace Celeste.Mod.MaxHelpingHand.Entities { /// <summary> /// A non-global and customi...
src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Utilities/AsyncSymbolVisitor`1.cs
ffMathy/roslyn
17,923
7039759
<reponame>ffMathy/roslyn // 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.Threading.Tasks; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis { ...
IssueManagementSystem/IssueManagementSystem.ApplicationService.Web/Services/HomeApplicationService.cs
nodashin/DDD-OnionArchitecture-Traning
1
7039760
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IssueManagementSystem.ApplicationService.Web.ViewModels.Home; using IssueManagementSystem.DomainService.Auth; namespace IssueManagementSystem.ApplicationService.Web.Services { /// <summary> ...
revecs/Extensions/Buffers/UnsafeUtility.cs
guerro323/revecs
0
7039761
using System.Runtime.CompilerServices; namespace revecs.Extensions.Buffers; public static unsafe class UnsafeUtility { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static bool SameData<T>(ref T left, ref T right) { var size = Unsafe.SizeOf<T>(); var leftPtr = (byte*) Unsafe.As...
OMS.Core/Collections/PageList.cs
yezhaocan/OMS
0
7039762
using System; using System.Collections.Generic; using System.Linq; namespace OMS.Core { public class PageList<T> : List<T>, IPageList<T> { public PageList(IQueryable<T> source, int pageIndex = 1, int pageSize=10 ) { Init(source.Skip((pageIndex - 1) * pageSize).Take(pageSize), pageI...
ReplayEditor2/MetadataEditor/ModCheckBox.cs
silvio0497/OsuReplayEditorV2
3
7039763
<gh_stars>1-10 using System; using System.Windows.Forms; namespace ReplayEditor2.MetadataEditor { public class ModCheckBox : CheckBox { public ReplayAPI.Mods ModValue { get; set; } public ModCheckBox(int x, int y, string text, int index) { this.Left = x; this.T...
library/ICalculator.cs
ThiagoMontezano/first-solution
0
7039764
<filename>library/ICalculator.cs namespace library { public interface ICalculator { float sum(float firstValue, float secondValue); float div(float firstValue, float secondValue); } }
Plugin/CSharp/IgnitePlugin/IgniteExtensions.cs
shadower01/igniteV2.7-net-examples
0
7039765
<reponame>shadower01/igniteV2.7-net-examples using Apache.Ignite.Core; namespace IgnitePlugin { internal static class IgniteExtensions { public static Semaphore GetOrCreateSemaphore(this IIgnite ignite, string name, int count) { return ignite.GetPlugin<SemaphorePlugin>("semaphorePl...
Polygon/Models/Error.cs
brandonseydel/Polygon
3
7039766
<filename>Polygon/Models/Error.cs using System.Text.Json.Serialization; namespace Polygon.Models { public class Error { /// <summary> /// Gets or Sets Code /// </summary> [JsonPropertyName("code")] public int? Code { get; set; } /// <summary> /// Gets or Sets Message /// </summary> [JsonPropert...
Visual Studio Product Team/Visual Studio 2010 SDK Samples/[C++]-Visual Studio 2010 SDK Samples/IronPython Studio VS Shell Isolated/C#,C++/studioisolated/IronPython/src/IronPython.EditorExtensions/PyContentTypeDefinition.cs
zzgchina888/msdn-code-gallery-microsoft
2
7039767
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.Composition; using Microsoft.VisualStudio.Utilities; namespace IronPython.EditorExtensions { /// <summary> /// Exports the iron python content type and file extension /// </summ...
ImageCompression-Xamarin/ImageCompression-Xamarin/ImageFactory.cs
MehmetAliAlpergun/ImageCompression
0
7039768
<reponame>MehmetAliAlpergun/ImageCompression<filename>ImageCompression-Xamarin/ImageCompression-Xamarin/ImageFactory.cs<gh_stars>0 using System; using System.Collections.Generic; using Android.Content; using Android.Graphics; using System.IO; using Android.Database; using Android.Provider; using Android.Media; namesp...
Src/Application/Collecting/Collections/GetCollectionByOwner/GetCollectionByOwnerOutput.cs
CarloMicieli/dotnetcore-clean-architecture
1
7039769
<reponame>CarloMicieli/dotnetcore-clean-architecture<gh_stars>1-10 using TreniniDotNet.Common.UseCases.Boundaries.Outputs; using TreniniDotNet.Domain.Collecting.Collections; namespace TreniniDotNet.Application.Collecting.Collections.GetCollectionByOwner { public sealed class GetCollectionByOwnerOutput : IUseCaseO...
FastRngTests/Double/MathToolsTests.cs
SommerEngineering/FastRng
1
7039770
<reponame>SommerEngineering/FastRng using System; using System.Diagnostics.CodeAnalysis; using FastRng.Double; using NUnit.Framework; namespace FastRngTests.Double { [ExcludeFromCodeCoverage] public class MathToolsTests { #region Gamma [Test] [Category(TestCategories.COVER)] ...
Connectors/SpecFlow.VisualStudio.SpecFlowConnector.V1/Discovery/DiscoveryProcessor.cs
SpecFlowOSS/SpecFlow.VS
8
7039771
using SpecFlow.VisualStudio.SpecFlowConnector.AppDomainHelper; namespace SpecFlow.VisualStudio.SpecFlowConnector.Discovery; public class DiscoveryProcessor { private readonly DiscoveryOptions _options; public DiscoveryProcessor(DiscoveryOptions options) { _options = options; } public st...
Unity_Labs/Projects/Unity_Labs_5_and_6/Assets/Scripts/MoveToClick.cs
elGuille-info/fourth-edition
472
7039773
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public class MoveToClick : MonoBehaviour { private NavMeshAgent agent; void Awake() { agent = GetComponent<NavMeshAgent>(); } void Update() { if (Input.GetMouseButtonDown(0)) ...
Ifp.Validation.TestProxy.Tests/Documentation/CausesValidationToStopExample.cs
ifpanalytics/Ifp.Validation
1
7039774
<reponame>ifpanalytics/Ifp.Validation using FluentAssertions; using System; using System.Linq; using System.Security.Principal; using Xunit; namespace Ifp.Validation.TestProxy.Tests.Documentation { class ArgumentCantBeNullRule<T> : ValidationRule<T> where T : class { public override ValidationOutcome ...
src/Mvc/SearchControl.xaml.cs
ricaun/Onboxframework
36
7039775
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace Onbox.Mvc.VDev { /// <summary> /// Interaction logic for SearchControl.xaml /// </summary> public partial class SearchControl : UserControl { public string SearchText { ...
src/FluentBuild/ApplicationProperties/CommandLineProperties.cs
GotWoods/Fluent-Build
8
7039776
using System.Collections.Specialized; using System.ComponentModel; namespace FluentBuild.ApplicationProperties { ///<summary> /// Gets items around the command line properties ///</summary> public interface ICommandLineProperties { ///<summary> /// Gets a property from the command ...
Assets/LDtkUnity/Editor/Utility/LDtkAssetMovedDialog.cs
Cammin/LDtkToUnity
87
7039777
<reponame>Cammin/LDtkToUnity<gh_stars>10-100 using System; using System.IO; using UnityEditor; using UnityEngine; using UnityEngine.Internal; namespace LDtkUnity.Editor { [ExcludeFromDocs] public class LDtkAssetMovedDialog : UnityEditor.AssetModificationProcessor { private const string DIALOGUE_KE...
bots/employee-finder/src/SSW.SophieBot.HttpClientComponents.PersonQuery/Clients/GravatarManager.cs
tiagov8/SSW.SophieBot
5
7039778
<reponame>tiagov8/SSW.SophieBot using SSW.SophieBot.HttpClientAction.Models; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace SSW.SophieBot.HttpClientComponents.PersonQuery.Clients { public class Grava...
CodeSmith.Entity/Entity/TaskWxmsg.cs
lxkbest/SexyColor.Net
2
7039779
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MySqlSugar; using SexyColor.Infrastructure; namespace SexyColor.BusinessComponents { /// <summary> /// Author:梁雄开 /// CreatDate:2017-04-05 /// Description:微信消息任务 /// </summary> [SugarMapping(TableName = "s...
src/AoC_2021/Day_14.cs
eduherminio/AoC2021
0
7039780
<reponame>eduherminio/AoC2021<gh_stars>0 using System.Text; using SheepTools; using SheepTools.Model; namespace AoC_2021; public class Day_14 : BaseDay { private readonly (string Template, List<(string pattern, string Value)> Instructions) _input; public Day_14() { _input = ParseInput(); } ...
tests/CommandQuery.Tests/AspNetCore/ShouldExtensions.cs
NanoFabricFX/CommandQuery
0
7039781
<filename>tests/CommandQuery.Tests/AspNetCore/ShouldExtensions.cs #if NETCOREAPP2_0 using FluentAssertions; using Microsoft.AspNetCore.Mvc; namespace CommandQuery.Tests.AspNetCore { public static class ShouldExtensions { public static void ShouldBeError(this ObjectResult result, string message) ...
ClientLib/Unity/Assets/F.T/FileServer/Script/File.cs
frank12001/FT-SocketServer
1
7039782
<reponame>frank12001/FT-SocketServer using System; using System.IO; using System.Net; namespace FTServer.FileServer { public static class File { //private const string DevServerIP = @"http://172.16.17.32:5000/fileupload"; //private const string TaiwanServerIP = @"http://192.168.3.11:5002/fileu...
MasterChefInfo/MasterChefInfo/Model/Kitchen/CleanningRoom.cs
Logan06250/C--project
0
7039783
<gh_stars>0 using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MasterChefInfo { /// <summary> /// Classe de l'espace de nétoyage (plonge) /// </summary> class CleanningRoom { public List<...
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/ProjectRevenueSalesPrice.cs
NathanClouseAX/AAXDataEntityPerfTest
1
7039784
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
Content.Shared/GameObjects/EntitySystems/ActionBlocker/ActionBlockerExtensions.cs
Rember/space-station-14
0
7039785
<filename>Content.Shared/GameObjects/EntitySystems/ActionBlocker/ActionBlockerExtensions.cs<gh_stars>0 using Robust.Shared.Interfaces.GameObjects; namespace Content.Shared.GameObjects.EntitySystems.ActionBlocker { public static class ActionBlockerExtensions { public static bool CanMove(this IEntity en...
Alloy.Api/Services/AlloyBackgroundService.cs
cmu-sei/Alloy.Api
0
7039786
// Copyright 2021 <NAME>. All Rights Reserved. // Released under a MIT (SEI)-style license. See LICENSE.md in the project root for license information. using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Alloy...
CommandCanExecute/CommandCanExecute/SpeichernCommand.cs
LernMoment/csharp-fortgeschrittene
10
7039787
<reponame>LernMoment/csharp-fortgeschrittene using System; using System.Windows; using System.Windows.Input; namespace CommandCanExecute { class SpeichernCommand : ICommand { private bool istSpeichernAktiv = false; public bool CanExecute(object parameter) { // ...
src/JetBrains.Space.Common/Types/IUrlParameter.cs
automation555/space-dotnet-sdk
17
7039788
<reponame>automation555/space-dotnet-sdk using JetBrains.Annotations; namespace JetBrains.Space.Common.Types; /// <summary> /// Marker interface for URL parameters. /// </summary> [PublicAPI] public interface IUrlParameter { }
Assets/Scripts/Shared/ResourcePack.cs
KonH/UniRxGameSample
0
7039789
<reponame>KonH/UniRxGameSample using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; // ReSharper disable NonReadonlyMemberInGetHashCode namespace Game.Shared { [Serializable] public sealed class ResourcePack : IEquatable<ResourcePack> { public List<ResourceModel> Content...
Sources/Imaging/Microsoft.Psi.Imaging.Linux/ImageFromBitmapStreamDecoder.cs
Microsoft/psi
51
7039790
<reponame>Microsoft/psi<filename>Sources/Imaging/Microsoft.Psi.Imaging.Linux/ImageFromBitmapStreamDecoder.cs<gh_stars>10-100 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Imaging { using System.IO; using System.Runtime.InteropServices; ...
GarLoader.Engine/Helpers.cs
obratim/GarLoader
1
7039791
using System; using System.Collections.Generic; using System.Linq; namespace GarLoader.Engine { static class Helpers { public static DateTime GetUpdateDate(this FiasReference.DownloadFileInfo downloadFileInfo) { return DateTime.ParseExact(downloadFileInfo.TextVersion.Substring(11), "dd.MM.yyy...
test/CoreApi/DhtApiTest.cs
benschop-it/net-ipfs-engine
1
7039792
<gh_stars>1-10 using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Ipfs.Engine { [TestClass] public class DhtApiTest { [TestMethod] public async Task Local_Info() { var ipf...
modules/Volo.CmsKit/src/Volo.CmsKit.Common.Web/CmsKitCommonWebModule.cs
daridakr/ProgGuru
1
7039793
<gh_stars>1-10 using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared; using Volo.Abp.AutoMapper; using Volo.Abp.Http.ProxyScripting.Generators.JQuery; using Volo.Abp.Modularity; using Volo.Abp.VirtualFileSystem; using Volo.CmsKit.Reactions; using Volo.CmsKit.Web.Icons; namespace Volo.CmsKit.Web; [DependsOn( typeof(AbpAs...
Entity Framework/JavaScript Object Notation - JSON/Import Users.cs
vasil-mitov/CSharp-Databases-Basics-Practice
0
7039794
<filename>Entity Framework/JavaScript Object Notation - JSON/Import Users.cs public static string ImportUsers(ProductShopContext context, string inputJson) { var users = JsonConvert.DeserializeObject<User[]>(inputJson); context.AddRange(users); context.SaveChanges(); return $"Successfully imported {users.Length}"...
JDS.OrgManager/JDS.OrgManager.Application.UnitTests/Common/Employees/EmployeeDomainToDbEntityMapperTests.cs
KubingYayanu/OrgManager
0
7039795
<filename>JDS.OrgManager/JDS.OrgManager.Application.UnitTests/Common/Employees/EmployeeDomainToDbEntityMapperTests.cs<gh_stars>0 // Copyright ©2020 <NAME> // 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 //...
ArchPM.NetCore.Tests/TestModels/SampleDataClass.cs
tugbayatilla/ArchPM.NetCore
0
7039796
<filename>ArchPM.NetCore.Tests/TestModels/SampleDataClass.cs using System; using System.Collections.Generic; // ReSharper disable All namespace ArchPM.NetCore.Tests.TestModels { internal class SampleDataClass { public List<SampleDataSimpleSubClass> SampleDataSimpleSubClassList { get; set; } pu...
Repository/Repos/UsersEventRepo.cs
03012021-dotnet-uta/P2_EventHookUpGroup
0
7039798
using System; using System.Linq; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Repository.Contexts; using Repository.Interfaces; using Domain.Models; using System.Threading.Tasks; namespace Repository.Repos { /// <summary> /// This is the Repo class for UsersEvent ...
EAExport/Model/EATree.cs
jcurl/EAExport
1
7039799
namespace EAExport.Model { using System; using System.Collections.Generic; using System.Diagnostics; /// <summary> /// A structure describing a single Requirement object in Enterprise Architect. /// </summary> [DebuggerDisplay("{Id} ({ParentId}): {Heading}")] public class EATree { ...
module3/HeritageProperties.iOS/HeritagePropertyMapViewDelegate.cs
lj710/proyectoXamarin
0
7039800
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.MapKit; namespace HeritageProperties.iOS { class HeritagePropertyMapViewDelegate : MKMapViewDelegate { string pId = "PinAnnotation"; ...
Process Times/Windows/Enter Data Window/EnterDataWindow.xaml.cs
pzharkov/Process-Times
2
7039801
<filename>Process Times/Windows/Enter Data Window/EnterDataWindow.xaml.cs using System.Windows; namespace Process_Times { public partial class EnterDataWindow : WindowBase { public EnterDataWindow() { InitializeComponent(); } private void ManualEntryClick(object sen...
IronLeveldb/DB/InternalKey.cs
tg123/IronLeveldb
26
7039802
<reponame>tg123/IronLeveldb using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace IronLeveldb.DB { internal class InternalKey { public enum ValueType { Deletion = 0x0, Value = 0x1 } public const ulong MaxS...
UiPath.PowerShell/Cmdlets/GetRole.cs
UiPath/orchestrator-powershell
81
7039803
using System.Linq; using System.Management.Automation; using UiPath.PowerShell.Models; using UiPath.PowerShell.Util; using UiPath.Web.Client20194; namespace UiPath.PowerShell.Cmdlets { [Cmdlet(VerbsCommon.Get, Nouns.Role)] public class GetRole : FilteredBaseCmdlet { [Filter] [Parameter] ...
SharpTibiaProxy/Domain/Outfit.cs
dobakat/SharpMapTracker
3
7039804
using System; namespace SharpTibiaProxy.Domain { public class Outfit { private ushort lookType; private ushort lookItem; private byte head; private byte body; private byte legs; private byte feet; private byte addons; private ushort ...
src/Nullable.Extended.Extension/Nullable.Extended.Extension/AnalyzerFramework/ExtensionMethods.cs
kbabiy/Nullable.Extended
0
7039805
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using TomsToolbox.Essentials; namespace Nullable.Extended.Extension.AnalyzerFramework { public static class ExtensionMethods { private static readonly ...
Server/HttpHeaderResponder.cs
BryanApellanes/bam.net.shared
0
7039806
/* Copyright © <NAME> 2015 */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Bam.Net.Logging; using Bam.Net.ServiceProxy; using Bam.Net.Web; namespace Bam.Net.Server { /// <summary> /// A responder that checks the value of the X-Bam-...
MinecraftMappings.NET/Minecraft/Java/Textures/Block/Carrots_Stage1.cs
null511/MinecraftMappings.NET
0
7039807
using MinecraftMappings.Internal; using MinecraftMappings.Internal.Textures.Block; namespace MinecraftMappings.Minecraft.Java.Textures.Block { public class Carrots_Stage1 : JavaBlockTexture { public Carrots_Stage1() : base("Carrots, Stage 1") { BlendMode = BlendModes.Cutout; ...
ThumbService/ThumbService/lib/MindTouch_Core_10.0.1_Source/src/services/mindtouch.deki.util/DekiLicense.cs
ChrisHagan/metl2011
1
7039808
<reponame>ChrisHagan/metl2011 /* * MindTouch Core - open source enterprise collaborative networking * Copyright (c) 2006-2010 MindTouch Inc. * www.mindtouch.com <EMAIL> * * For community documentation and downloads visit wiki.developer.mindtouch.com; * please review the licensing section. * * Licensed ...
Assistant/Bots/Assistant.Bot.Core/Chat/IChatRequest.cs
pBouillon/CommuterAssistant
0
7039809
<filename>Assistant/Bots/Assistant.Bot.Core/Chat/IChatRequest.cs namespace Assistant.Bot.Core.Chat; /// <summary> /// MediatR request emitted due to a user message /// </summary> /// <typeparam name="TContext"> /// The associated <see cref="IChatContext"/>, given the messaging application used /// </typeparam> public...
src/Assets/Plugins/UIWidgets/Standart Assets/Spinner/Spinner.cs
yy1985710/ecsrx
11
7039810
<filename>src/Assets/Plugins/UIWidgets/Standart Assets/Spinner/Spinner.cs using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using UnityEngine.UI; using System; using System.Collections; namespace UIWidgets { /// <summary> /// On change event. /// </summary> [Serializable] public class ...
Assets/XLua/Gen/emoLuaManagerWrap.cs
slove3000/emo
10
7039811
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Gene...
DailyCodingProblem.Solutions/100-199/140-159/Problem159/Solution.cs
mahmud97/DailyCodingProblem
131
7039812
<reponame>mahmud97/DailyCodingProblem namespace DailyCodingProblem.Solutions.Problem159 { public class Solution { public static char? FindFirstRecurringCharacter(string input) { if (input.Length < 2) { return null; } var previous = input[0]; for (var i = 1; i < input.Length; i++) { var...
Android/ActionComponentExplorer/ActionComponents/ActionTray/ACTrayGestureListener.cs
Appracatappra/ActionComponents
0
7039813
<filename>Android/ActionComponentExplorer/ActionComponents/ActionTray/ACTrayGestureListener.cs<gh_stars>0 using System; using Android.App; using Android.Content; using Android.OS; using Android.Util; using Android.Runtime; using Android.Views; using Android.Widget; namespace ActionComponents { internal partial class...
Octopus-Cmdlets.Tests/AddLibraryVariableTests.cs
Swoogan/Octopus-Cmdlets
51
7039814
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using Xunit; using Moq; using Octopus.Client.Model; namespace Octopus_Cmdlets.Tests { public class AddLibraryVariableTests { private const string CmdletName = "Add-OctoLibraryVariabl...