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
source/library/iTin.Export.Core/Helpers/FileHelper.cs
iAJTin/iExportEngine
40
7065690
<reponame>iAJTin/iExportEngine<gh_stars>10-100  namespace iTin.Export.Helpers { using System; using System.Globalization; using System.IO; using System.Linq; /// <summary> /// Static class than contains methods for manipulating files. /// </summary> public static class FileHelper ...
Provider/PostGresProvider/NDO.Postgre/Generator.cs
mirkomaty/NDO
0
7065691
// // Copyright (c) 2002-2016 <NAME> // (www.netdataobjects.de) // // Author: <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 restriction, including without limita...
DotNet/DotNet/32_Object/01_ClassAndObject/ClassAndObject.cs
VisualAcademy/DotNet
9
7065692
using System; //[1] ClassCode 이름의 클래스(Class) 만들기 public class ClassCode { // Empty } class ClassAndObject { static void Main() { //[2] 특정 클래스로부터 objectCode1, objectCode2 이름의 개체(Object) 만들기 ClassCode objectCode1 = new ClassCode(); Console.WriteLine(objectCode1.GetHashCode()); ...
Solutions/CustomControlShowcase/0-1/CommonLibrary/Util/MathHelpers.cs
dctdct/WPF-UI-Development-Best-Practices
19
7065693
<filename>Solutions/CustomControlShowcase/0-1/CommonLibrary/Util/MathHelpers.cs using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Windows; using System.Windows.Media; /* * This file has been created by ERGOSIGN GmbH - All rights reserved - http...
Assets/Examples/Panels/PanelTabControl.cs
SixGodZhang/WinformUnity
442
7065694
<filename>Assets/Examples/Panels/PanelTabControl.cs<gh_stars>100-1000 namespace UnityWinForms.Examples.Panels { using System.Drawing; using System.Windows.Forms; public class PanelTabControl : BaseExamplePanel { public override void Initialize() { this.Create<Label>("Empty"...
WarOfEmpires.Commands/Security/ConfirmUserEmailChangeCommand.cs
maikelbos0/WarOfEmpires
0
7065695
<gh_stars>0 namespace WarOfEmpires.Commands.Security { public sealed class ConfirmUserEmailChangeCommand : ICommand { public string Email { get; } public string ConfirmationCode { get; } public ConfirmUserEmailChangeCommand(string email, string confirmationCode) { Email = email;...
OpenTracker.Utils/ViewModelCollection.cs
Baertierchen/OpenTracker
37
7065696
<filename>OpenTracker.Utils/ViewModelCollection.cs using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; namespace OpenTracker.Utils { public abstract class ViewModelCollection<TViewModel, TModel> : IObservableCollection<TViewModel> where TVie...
Source/OMX/OMX.Web/Views/SubCategories/Create.cshtml
ASP-MVC/OMX-System
0
7065698
<reponame>ASP-MVC/OMX-System<gh_stars>0 @model OMX.Web.Models.BindingModels.CreateSubCategoryBindingModel @{ ViewBag.Title = "Create"; } @using (Html.BeginForm("Create", "SubCategories", FormMethod.Post)) { @Html.AntiForgeryToken() @Html.EditorFor(s => s.Title) @Html.EditorFor(s => s.CategoryId, new {...
SHENSHAN/RPGModule/Crafting/CraftButton.cs
zfy1045056938/THDN_Script
0
7065699
<reponame>zfy1045056938/THDN_Script using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using TMPro; using PixelCrushers.DialogueSystem; //List Items public class CraftButton : MonoBehaviour,IPointerClickHandler,IPointerEnterHandler { ...
Sample Games/Qubi/Assets/Scripts/Player.cs
Fizzyo/Games
5
7065700
using UnityEngine; public class Player : MonoBehaviour { //public public float maxHeight = 5f; public GameObject missilePrefab; //private float destXSpeed = 0.02f; public float maxFizzyoPressure = 0.5f; //calibrated on start screen public float smoothing = 0.1f; private float xSpeed ...
Defining Classes - Exercise/07.SpeedRacing/Car.cs
genadi60/C--OOP-Basic
0
7065701
<reponame>genadi60/C--OOP-Basic<gh_stars>0 using System; public class Car { private string model; private decimal fuelAmount; private decimal fuelConsumption; private int traveledDistance; public Car(string model, decimal fuelAmount, decimal fuelConsumption) { this.model = model; ...
src/SIM.Adapters/MongoDb/MongoDbDatabaseImport.cs
sc-spl/Sitecore-Instance-Manager
119
7065702
<reponame>sc-spl/Sitecore-Instance-Manager namespace SIM.Adapters.MongoDb { using System.IO; using JetBrains.Annotations; public class MongoDbDatabaseImport { [NotNull] public string DirectoryPath { get; } [NotNull] public string OriginalName { get; } [NotNull] public string FinalNam...
StarryEyes/Views/Notifications/NormalNotificatorView.xaml.cs
ktoku89/StarryEyes
0
7065703
<reponame>ktoku89/StarryEyes using System.Windows; using StarryEyes.ViewModels.Notifications; namespace StarryEyes.Views.Notifications { /// <summary> /// NormalNotificatorView.xaml の相互作用ロジック /// </summary> public partial class NormalNotificatorView : Window { public NormalNotificatorView(...
ToolsProject/Assets/Packages/LWFramework/Runtime/_UI/UIViewDataAttribute.cs
chen0123bin/MyToolsProject
0
7065704
<reponame>chen0123bin/MyToolsProject<filename>ToolsProject/Assets/Packages/LWFramework/Runtime/_UI/UIViewDataAttribute.cs<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace LWFramework.UI { public enum UILayer { bottom, normal, top, //基础三层...
Assets/__MAIN__/Scripts/GameEvent/PlayerDieEventArgs.cs
GarfieldJiang/SMB_ECS
2
7065706
using COL.UnityGameWheels.Core; public class PlayerDieEventArgs : BaseEventArgs { public static readonly int TheEventId = EventIdToTypeMap.Generate<PlayerDieEventArgs>(); public override int EventId => TheEventId; }
Assets/VRCORP/FSM/States.cs
vrcorpru/FSM
0
7065707
using System; using UnityEngine; public class Idle : AbstractState { public override void Update() { Debug.Log("Idle Update"); } } public class Move : AbstractState { public override void Update() { Debug.Log("Move Update"); } } public class Attack : AbstractState { publi...
01. Introduction to DB Apps/Minions.Data/Infrastructure/Validator.cs
thelad43/Databases-Advanced-Entity-Framework-SoftUni
0
7065708
<filename>01. Introduction to DB Apps/Minions.Data/Infrastructure/Validator.cs namespace Minions.Data.Infrastructure { using System; public static class Validator { public static void ThrowExceptionIfNullOrWhitespace(string text) { if (string.IsNullOrWhiteSpace(text)) ...
src/Sirius.Common/Id.cs
siriusch/Sirius.Common
0
7065709
using System; using System.ComponentModel; using System.Diagnostics.Contracts; using System.Reflection; using System.Runtime.CompilerServices; namespace Sirius { /// <summary>A generic, type-safe identifier structure.</summary> /// <typeparam name="T">Generic type parameter.</typeparam> public struct Id<T>...
src/Alyio.AspNetCore.Orchid/Models/ApiDescriptionModel.cs
qqbuby/Orchid
0
7065710
using System; using System.Runtime.Serialization; using Microsoft.AspNetCore.Mvc.ApiExplorer; namespace Alyio.AspNetCore.Orchid.Models { /// <summary> /// Represents an API exposed by this application. /// </summary> [DataContract] public class ApiDescriptionModel { /// <summary> ...
Src/TivoAhoy.Common/ViewModels/SettingsPageViewModel.cs
swythan/showlist-tivo
0
7065711
//----------------------------------------------------------------------- // <copyright file="SettingsPageViewModel.cs" company="<NAME>"> // Copyright (c) 2012-2013 <NAME>. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using System....
Unity/Animation/AnimationManager1.cs
skeyll/BlogSample
0
7065712
<gh_stars>0 using UnityEngine; using System.Collections; public class AnimationManager1 : MonoBehaviour{ [SerializeField] Animator animator; bool isContinuous;  //Call this method at an inputing key.  public void PlayAnimation(int state) { if(isContinuous){ //The way to overwrite the input by new one....
Libraries/Hotcakes.Commerce/Utilities/ImageInfo.cs
puresystems/hotcakes-commerce-core
29
7065714
<filename>Libraries/Hotcakes.Commerce/Utilities/ImageInfo.cs #region License // Distributed under the MIT License // ============================================================ // Copyright (c) 2019 Hotcakes Commerce, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of this soft...
PageGroup/PageGroupPreferences.cs
Schwapo/PageGroup
2
7065715
<gh_stars>1-10 using Sirenix.OdinInspector; using Sirenix.Utilities; using System; using System.Collections.Generic; using UnityEngine; [GlobalConfig("Assets")] public class PageGroupPreferences : GlobalConfig<PageGroupPreferences> { public Color HeaderColor; public Color PageColor; public PageG...
NBattleshipCodingContest.Logic/IReadOnlyBoard.cs
rstropek/NBattleshipCodingContest
3
7065716
namespace NBattleshipCodingContest.Logic { using System.Collections.Generic; /// <summary> /// Enables read-only access to battleship board content /// </summary> public interface IReadOnlyBoard : IEnumerable<SquareContent>, IReadOnlyList<SquareContent> { /// <summary> /// Gets...
OfficeToPDF/VisioConverter.cs
tk-net-eng/OfficeToPDF
472
7065717
<filename>OfficeToPDF/VisioConverter.cs /** * OfficeToPDF command line PDF conversion for Office 2007/2010/2013/2016 * Copyright (C) 2011-2018 Cognidox Ltd * https://www.cognidox.com/opensource/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
Gotrue/User.cs
supabase-community/gotrue-csharp
9
7065718
using System; using System.Collections.Generic; using Newtonsoft.Json; #nullable enable namespace Supabase.Gotrue { /// <summary> /// Represents a Gotrue User /// Ref: https://supabase.github.io/gotrue-js/interfaces/User.html /// </summary> public class User { [JsonProperty("action_lin...
Tech Module/Extended-Programming-Fundamentals/ExtendedListsExercises/p05TearListInHalf/TearListInHalf.cs
vesy53/SoftUni
0
7065719
using System; using System.Collections.Generic; using System.Linq; class TearListInHalf { static void Main(string[] args) { List<int> numbers = Console.ReadLine() .Split() .Select(int.Parse) .ToList(); List<int> rightSide = new List<int>(); List<int...
Unity_Scripts/Current/ScriptableObjects/SignalGame.cs
vid277/Computer-Game-and-Simulation
4
7065720
<reponame>vid277/Computer-Game-and-Simulation<filename>Unity_Scripts/Current/ScriptableObjects/SignalGame.cs /* @Author <NAME> @Version 2/21/2022 */ using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu] public class SignalGame : ScriptableObject { public List<SignalList...
LimExpTIMSDisp/MainPage.xaml.cs
TetsuOtter/LimExpTIMSPI
2
7065721
<gh_stars>1-10 using System; using System.IO; using System.Reflection; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml; using System.Threading.Tasks; using System.Threading; // 空白ページの項目テンプレートについては、https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x411 を参照してください namespace TR.LimExpTIMSDisp { /// <summary> ...
Xmpp Library Source Files/protocol/extensions/pubsub/Configure.cs
bilelmnasser/Unity-3D-Xmpp-Protocol-
6
7065722
<reponame>bilelmnasser/Unity-3D-Xmpp-Protocol-<gh_stars>1-10 using System; using Xmpp.protocol.x.data; using Xmpp.Xml.Dom; namespace Xmpp.protocol.extensions.pubsub { public class Configure : PubSubAction { #region << Constructors >> public Configure() : base() { this.TagN...
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/entity/repository/CaseDefinitionQueryImpl.cs
luizfbicalho/Camunda.NET
6
7065723
<filename>camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/entity/repository/CaseDefinitionQueryImpl.cs using System; using System.Collections.Generic; /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See ...
Matcher/Matcher/Cases/OfTypeMatchCase.cs
impworks/matcher
2
7065724
<filename>Matcher/Matcher/Cases/OfTypeMatchCase.cs using System; namespace Matcher.Cases { /// <summary> /// Checks if the value if of a specified type. /// </summary> public class OfTypeMatchCase<TNewType, TValue, TResult>: IMatchCase<TValue, TResult> { public OfTypeMatchCase(bool strict,...
IntralismToolBox/Src/Forms/PlayerListForm.cs
Ludeo/intralism-tool-collection
1
7065725
<filename>IntralismToolBox/Src/Forms/PlayerListForm.cs<gh_stars>1-10 using System; using System.IO; using System.Text; using IntralismScoreChecker; namespace IntralismToolBox.Forms { /// <summary> /// <see cref="ThemedForm"/> that gets shown when <see cref="MainForm.PlayerListButton"/> was pressed. //...
Claro/Models/Parametros.cs
jealuna/DemoUWP
0
7065726
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Claro.Models { public class Parametros { [JsonProperty] public const string device_id = "web"; [JsonProperty] public const string...
GenericEngines/Logic/TankType.cs
PatPL/Generic-Engines
5
7065727
namespace GenericEngines { /// <summary> /// Enum with RF tank types /// </summary> public enum TankType { Default, Cryogenic, ServiceModule, Structural, Fuselage, ElectricPropulsion, Choosable, All } }
QueryEntryForm.Designer.cs
rocket-boi/ShortcutApp
0
7065728
<gh_stars>0  namespace Shortcut_App { partial class QueryEntryForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
Assets/Scripts/SceneChange/DontDestroyOnLoad.cs
NFPN/WGJProject
1
7065729
using UnityEngine; using UnityEngine.SceneManagement; public class DontDestroyOnLoad : MonoBehaviour { private void Awake () { DontDestroyOnLoad(gameObject); } private void Update() { if (SceneManager.GetActiveScene().name == "GameOver") { Destroy(gameObject); } ...
i4o.Silverlight/Extensions.cs
ericksoa/i4o
34
7065730
<filename>i4o.Silverlight/Extensions.cs using System.IO; using System.Runtime.Serialization; #if SILVERLIGHT namespace System { // internal interface ICloneable // { // object Clone(); // } public static class CloningExtension { public static T Clone<T>(this T source) ...
Astrarium.Plugins.Novae/NovaeCalculator.cs
AlexanderKrutov/Astrarium
1
7065731
<filename>Astrarium.Plugins.Novae/NovaeCalculator.cs using Astrarium.Types; using Astrarium.Algorithms; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Linq; using System; namespace Astrarium.Plugins.Novae { public class NovaeCalculator : BaseCalc, ICelestialObjectCalc<Nov...
src/prod/src/managed/ClusterAnalysis/TraceAccessLayer/StoreReaders/TraceStoreReader.cs
gridgentoo/ServiceFabricAzure
2,542
7065732
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace ClusterAnalysis.Tra...
Server/classes/Interfaces/IRapConfig.cs
asebak/rapbattleonline
1
7065733
<filename>Server/classes/Interfaces/IRapConfig.cs namespace FreestyleOnline.classes.Interfaces { /// <summary> /// Interface for config /// </summary> internal interface IRapConfigFactory<out TOut, in TIn> { #region Methods TOut Build(TIn config); #endregion } }
src/Extensions/Senparc.Xscf.Terminal/Functions/Terminal.cs
bluewatercg/ScfPackageSources
16
7065734
using Senparc.CO2NET.Extensions; using Senparc.Scf.XscfBase; using Senparc.Scf.XscfBase.Functions; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Diagnostics; using System.IO; using System.Text; namespace Senparc.Xscf.Terminal.Fun...
LiveLisp.Core/Compiler/DefaultASTCompiler.cs
deadtrickster/LiveLisp
0
7065735
using System; using System.Collections.Generic; using System.Linq; using System.Text; using LiveLisp.Core.AST; using System.Reflection.Emit; using LiveLisp.Core.AST.Expressions; using LiveLisp.Core.AST.Expressions.CLR; using LiveLisp.Core.CLOS; using LiveLisp.Core.Types; using LiveLisp.Core.Runtime; using System.Refle...
Tests/FormsPinView.Core.Tests/PinViewTests.cs
FuNT/XamarinFormsPinView
87
7065736
<reponame>FuNT/XamarinFormsPinView using System; using System.Collections.Generic; using System.Linq; using Xamarin.Forms; using Xunit; namespace FormsPinView.Core.Tests { /// <summary> /// <see cref="PinView"/> tests. /// </summary> public class PinViewTests { public PinViewTests() ...
src/CryptoCurrency.Core/Symbol/Enum.cs
smnplicity/cryptocurrency
6
7065737
namespace CryptoCurrency.Core.Symbol { public enum SymbolCodeEnum { BTCAUD = 2, BTCUSD = 3, BTCUSDLONGS = 4, BTCUSDSHORTS = 5, BTCUSDT = 6, ETCAUD = 7, ETHAUD = 8, ETHBTC = 9, ETHBTCLONGS = 10, ETHBTCSHORTS = 11, ETHUSD = 1...
Module 1/[02] CSharp Advanced/[performance improvement versions] C# Advanced/C# Advanced v0.1/Strings-And-Text-Processing/ReverseString/ReverseString.cs
VProfirov/Telerik-Academy-BetaRun
0
7065738
<filename>Module 1/[02] CSharp Advanced/[performance improvement versions] C# Advanced/C# Advanced v0.1/Strings-And-Text-Processing/ReverseString/ReverseString.cs<gh_stars>0 //Write a program that reads a string, reverses it and prints the result at the console. namespace ReverseString { using System; class R...
to-integrate/libcs_staaflutil/Business/Structs/Printing_Data.cs
staafl/dotnet-bclext
4
7065739
<reponame>staafl/dotnet-bclext namespace Common { using System.Diagnostics; using DTA; [DebuggerStepThrough] public abstract class Printing_Data { readonly Printing_Helper m_helper; public Printing_Helper Helper { get { return m_helper; } } ...
FreeTypeSharp.Shared/Native/FT_Glyph_Format.cs
JTOne123/FreeTypeSharp
28
7065741
using System; namespace FreeTypeSharp.Native { #pragma warning disable 1591 public enum FT_Glyph_Format : uint { FT_GLYPH_FORMAT_NONE = 0, FT_GLYPH_FORMAT_COMPOSITE = ((UInt32)'c' << 24) | ((UInt32)'o' << 16) | ((UInt32)'m' << 8) | 'p', FT_GLYPH_FORMAT_BITMAP = ((UInt32)'b' << 24) | (...
revisao/questao6.cs
brunau1/lists-of-activities
0
7065742
using System; namespace Application { class Program { static void Main(string[] args) { int[] v1, v2, resultante; int pos = 0, cont = 0; v1 = new int[10]; v2 = new int[10]; resultante = new int[20]; for (int i = 0; i < 10;...
Assets/GameAssets/Scripts/Roomsetup/RoomDetectionHelper.cs
JanQuintus/ARI-AR-Studienarbeit
0
7065743
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(ParticleSystem))] public class RoomDetectionHelper : MonoBehaviour { #region Private Variables private ParticleSystem _ps; private float _progress = 0; private Transform _cameraTrans; #endregio...
src/client/YetAnotherNoteTaker.Client.Common/Data/INotebooksRepository.cs
NatanaelLemos/yet-another-note-taker
0
7065744
using System.Collections.Generic; using System.Threading.Tasks; using YetAnotherNoteTaker.Common.Dtos; namespace YetAnotherNoteTaker.Client.Common.Data { public interface INotebooksRepository { Task<List<NotebookDto>> GetAll(string email, string token); Task<NotebookDto> Get(string ...
src/Orchard.Web/Modules/Orchard.Reporting/ViewModels/ReportGroupByFieldCollectionViewModel.cs
siyamandayubi/Orchardcollaboration
47
7065745
<gh_stars>10-100 using Orchard.Localization; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Web; namespace Orchard.Reporting.ViewModels { public class ReportGroupByFieldCollectionViewModel { private Collection<ReportGroupByFieldVie...
WizardFighter/Assets/Scripts/UIElements/Resources/UIBattleResource.cs
NeoremFf/Wizard-Fighter
0
7065746
using BattleLogic.BattleResources; namespace UIElements.Resources { public class UIBattleResource : UIResource<BattleResourceType> { private void Awake() { image.sprite = type.Image(); } } }
Source/SafetyChecking/MarkovDecisionProcess/Traditional/MdpToPrism.cs
isse-augsburg/ssharp
7
7065747
// The MIT License (MIT) // // Copyright (c) 2014-2017, Institute for Software & Systems Engineering // // 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 wi...
src/Library/BatchPolicy.cs
ndrwrbgs/Batching
1
7065748
<filename>src/Library/BatchPolicy.cs namespace Batch { using System; public sealed class BatchPolicy { public BatchPolicy(TimeSpan maxAge, int maxBatchSize) { this.MaxAge = maxAge; this.MaxBatchSize = maxBatchSize; } public TimeSpan MaxAge { get; se...
src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Input/ProcessKeyboardAcceleratorEven.cs
ljcollins25/Codeground
0
7065749
using System; using Uno; using Windows.Foundation.Metadata; using Windows.System; namespace Windows.UI.Xaml.Input; [NotImplemented] public class ProcessKeyboardAcceleratorEventArgs { [NotImplemented(new string[] { "__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__" })] pu...
Segundo Parcial/ejercicio2.singleton/ejercicio2.singleton/Numeros.cs
antoanio/programacionIIIaap
0
7065750
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ejercicio2.singleton { class Numeros { int numero; int factorial; int sumatoria; public Numeros(int numero, int factorial, int sumatoria) ...
Assets/Scripts/Mlf/InventorySystem/Base/IInvetory.cs
mlflabs/unity-test
0
7065751
using Mlf.InventorySystem.Items; using UnityEngine; namespace Mlf.InventorySystem.Base { public interface IInventory { void AddItem(BaseItem slot); BaseItem removeRandomItem(); void removeOneItemAmountByIndex(int index); bool hasMoreItems(); } }
src/Tests/Framework/ManagedElasticsearch/Tasks/BeforeStartNodeTasks/CreateEasyRunClusterBatFile.cs
jslicer/elasticsearch-net
0
7065752
<filename>src/Tests/Framework/ManagedElasticsearch/Tasks/BeforeStartNodeTasks/CreateEasyRunClusterBatFile.cs<gh_stars>0 using System.IO; using System.Linq; using Tests.Framework.Configuration; using Tests.Framework.Integration; using Tests.Framework.ManagedElasticsearch.Nodes; namespace Tests.Framework.ManagedElastics...
MsMq/MsgMq.cs
caihexin/openSellerPos
1
7065753
using System; using System.Collections.Generic; using System.Text; using System.Messaging; using System.Threading; using mySql; namespace MsMq { public class MsgMq { private MessageQueue _messageQueue = null; //最大并发线程数 private static int MAX_WORKER_THREADS = Convert.ToInt32...
src/CaptainLogger/CaptainLogger/Imports.cs
ceccomil/captain-logger
0
7065755
<gh_stars>0 global using System.Collections.Generic; global using System.Text; global using Microsoft.Extensions.Logging; global using Microsoft.Extensions.Options; global using CaptainLogger.Options; global using CaptainLogger.Logic; global using CaptainLogger.Helper; global using CaptainLogger.Contracts; global usin...
src/PostCore/PostCore.MainApp/StartupDependecies.cs
illia-okonskyi/PostCore
0
7065756
using System.Collections.Generic; using System.Reflection; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ApplicationParts; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; namespace PostCore.MainApp { static class Star...
AppFactory/BusinessLogic/D365App.cs
M1ndw0rx/MS-Access-Migration-Factory
0
7065757
<reponame>M1ndw0rx/MS-Access-Migration-Factory using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AppFactory.BusinessLogic { // test comment public class D365App { private string _schemaname; private s...
Instance.cs
flew-software/PraySim
1
7065758
<filename>Instance.cs using System; using System.Collections.Generic; using System.Text; namespace praysim { internal class Instance { public readonly Creature[,] World; public readonly uint XSize; public readonly uint YSize; public uint MaxTicksToDeath; public uint Dup...
TheSquareAdventure/Assets/Script/Player/PlayerMovement.cs
chrisc26fr/TheSquareAdventure
0
7065759
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityStandardAssets.CrossPlatformInput; using UnityEngine.UI; public class PlayerMovement : MonoBehaviour { public float speed; public float jumpPower; public int extraJump; [SerializeField] LayerMask groundLayer; ...
ExtensionMethods/ConfigurationExtensions.cs
Supertext/SuperScript.ExternalFile
0
7065760
<reponame>Supertext/SuperScript.ExternalFile using System; using SuperScript.Configuration; using SuperScript.ExtensionMethods; using SuperScript.ExternalFile.Configuration; using SuperScript.ExternalFile.Storage; namespace SuperScript.ExternalFile.ExtensionMethods { /// <summary> /// Contains extension metho...
OOPWSTests/01-TelerikAcademy-Skeleton/Academy/Models/Student.cs
Kassomats/TelerikAcademy
0
7065761
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Academy.Models.Contracts; using Academy.Models.Enums; using Academy.Models.Utils.Contracts; namespace Academy.Models { public class Student : IStudent { private string username; private Trac...
GeoGrafija/GeoGrafija/ViewModels/LocationTypeViewModels/ExploreLocaitonTypeViewModel.cs
emir01/GeoGrafija
0
7065762
<filename>GeoGrafija/GeoGrafija/ViewModels/LocationTypeViewModels/ExploreLocaitonTypeViewModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace GeoGrafija.ViewModels.LocationTypeViewModels { public class ExploreLocaitonTypeViewModel { public string Name...
Nfh.Editor/Adorners/SelectedItemAdorner.cs
NfhModding/NfhLevelEditor
2
7065763
using System.Windows; using System.Windows.Documents; using System.Windows.Media; namespace Nfh.Editor.Adorners { public class SelectedItemAdorner : Adorner { private Pen renderPen = new Pen(new SolidColorBrush(Colors.Red), 1.0); public SelectedItemAdorner(UIElement adornedElement) ...
UKHO.ExchangeSetService.API/UKHO.ExchangeSetService.API.FunctionalTests/FunctionalTests/ExchangeSetAfterSpecifiedDateTime.cs
UKHO/exchange-set-service
0
7065764
using NUnit.Framework; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using UKHO.ExchangeSetService.API.FunctionalTests.Helper; using UKHO.ExchangeSetService.API.FunctionalTests.Models; namespace UKHO.ExchangeSetService.API.FunctionalTests....
MusicPickerApp/MusicPickerApp/Views/DevicePage.xaml.cs
hutopi/MusicPickerApp
2
7065765
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MusicPickerApp.ViewModels; using MusicPickerApp.Views.TabbedViews; using Xamarin.Forms; namespace MusicPickerApp.Views { public partial class DevicePage : TabbedPage { public DevicePag...
samples/Corpo.Skeleton/tests/Corpo.Skeleton.Tests/Domain/TeamTest.cs
MiruFx/Miru
11
7065766
namespace Corpo.Skeleton.Tests.Domain; public class TeamTest : DomainTest { [Test] public void Test() { // arrange // act // assert } }
xFunc.Tests/Analyzers/TypeAnalyzerTests/AddTests.cs
sys27/xFunc
35
7065767
// Copyright 2012-2021 <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 License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Lawn_Shared/Lawn/Projectile/ProjectileType.cs
MeWnoJinsei/PlantsVsZombies.NET
3
7065768
using System; namespace Lawn { public enum ProjectileType { Pea, Snowpea, Cabbage, Melon, Puff, Wintermelon, Fireball, Star, Spike, Basketball, Kernel, Cobbig, Butter, ZombiePea, ZombiePeaMi...
TTSSLib/Models/Data/Passage.cs
domints/TTSSWeb
0
7065769
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TTSSLib.Models.Enums; namespace TTSSLib.Models.Data { public class Passage { public string Line { get; set; } public string Direction { get; set; } public TimeSpan ...
net-mappers-benchmarks/Benchmarks/FromToN0.cs
florin-rotaru/net-mappers-benchmarks
0
7065770
<filename>net-mappers-benchmarks/Benchmarks/FromToN0.cs using AutoFixture; using AutoMapper; using BenchmarkDotNet.Attributes; using Mapster; using Models; using System.Linq; namespace NetMappers.Benchmarks { [InProcess] public class FromToN0<S, D> where D : new() { private readonly S _source; ...
XenAdmin/Wizards/NewVMWizard/Page_CpuMem.Designer.cs
ChrisH4rding/xenadmin
1
7065771
namespace XenAdmin.Wizards.NewVMWizard { partial class Page_CpuMem { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
Supply_Manager/Supply_Manager/Controllers/CompanyController.cs
odeladetunji/Supply_Chain_Manager
0
7065772
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web; using System.Web.Mvc; using System.Data.SqlClient; using System.Web.Http.Cors; using Supply_Manager.Cors; using System.Net.Http.Formatting; namespace Supply_Manager.Controllers { ...
src/Orc.Controls/Controls/TextInputWindow/Services/Interfaces/ITextInputWindowService.cs
Orcomp/Orc.Controls
171
7065773
<filename>src/Orc.Controls/Controls/TextInputWindow/Services/Interfaces/ITextInputWindowService.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="ITextInputWindowService.cs" company="WildGums"> // Copyright (c) 2008 - 2020 W...
TreeCrud.GraphQL/ModelsQL/UnitatSchema.cs
ctrl-alt-d/TreeCrud
16
7065774
using System; using GraphQL; using GraphQL.Types; namespace TreeCrud.DataLayer.Models.GraphQL { public class UnitatSchema : Schema { public UnitatSchema(IDependencyResolver resolver) : base(resolver) { Query = resolver.Resolve<UnitatQuery>(); } } }
src/TeaTime.Slack/Models/Requests/SlashCommand.cs
MrSmoke/TeaTime
9
7065775
<reponame>MrSmoke/TeaTime<filename>src/TeaTime.Slack/Models/Requests/SlashCommand.cs<gh_stars>1-10 namespace TeaTime.Slack.Models.Requests { using Microsoft.AspNetCore.Mvc; /* token=<KEY> team_id=T0001 team_domain=example enterprise_id=E0001 enterprise_name=Globular%20Construct%20Inc ch...
src/Arduino.Firmata/Protocol/Serial/SerialReply.cs
mccj/Arduino.Firmata
2
7065776
<filename>src/Arduino.Firmata/Protocol/Serial/SerialReply.cs namespace Arduino.Firmata.Protocol.Serial { public struct SerialReply { public HW_SERIAL Serial { get; set; } public byte[] Data { get; set; } } }
Source/Libraries/YpsilonAsm/Assembler/Parser.Params.cs
ZaneDubya/YCPU
29
7065777
<reponame>ZaneDubya/YCPU<gh_stars>10-100 /* ================================================================= * YCPUAssembler * Copyright (c) 2014 ZaneDubya * Based on DCPU-16 ASM.NET * Copyright (c) 2012 Tim "DensitY" Hancock (<EMAIL>) * This code is licensed under the MIT License * ============================...
src/BayesianClassifier/NaiveClassifier.cs
sunsided/bayes-classification
4
7065778
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Linq; using JetBrains.Annotations; namespace BayesianClassifier { /// <summary> /// Class NaiveClassifier. This class cannot be inherited. ...
Mntone.Nico2/Mntone.Nico2.Shared/Live/PlayerStatus/User.cs
mntone/OpenNiconico2
16
7065779
using System.Linq; #if WINDOWS_APP using Windows.Data.Xml.Dom; #else using System.Xml.Linq; #endif namespace Mntone.Nico2.Live.PlayerStatus { /// <summary> /// ユーザー情報を格納するクラス /// </summary> public sealed class User { #if WINDOWS_APP internal User( IXmlNode streamXml, IXmlNode userXml ) #else internal User( ...
AgilityConfig.Tool/MainForm.Designer.cs
WangLangJing/AgilityConfig
0
7065780
<filename>AgilityConfig.Tool/MainForm.Designer.cs namespace AgilityConfig.Tool { partial class MainForm { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary>...
src/Batch/Client/Src/GeneratedProtocol/Models/NetworkConfiguration.cs
dnelly/azure-sdk-for-net
0
7065781
<reponame>dnelly/azure-sdk-for-net<filename>src/Batch/Client/Src/GeneratedProtocol/Models/NetworkConfiguration.cs // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. ...
Shapes.Tests/ModelTests/CircleTests.cs
loewymalkov/rectangles-csharp
0
7065782
using Microsoft.VisualStudio.TestTools.UnitTesting; using Shapes.Models; using System; namespace Shapes.Tests { [TestClass] public class CircleTests { [TestMethod] public void Circle_GetCircumference_CicumferenceOfCircle() { Circle newCircle = new Circle(4); double result = newCircle.Get...
backend/KnowledgeShell.Api/Models/Position.cs
mishhan/knowledge-shell
0
7065783
<reponame>mishhan/knowledge-shell namespace KnowledgeShell.Api.Models { using System; using JsonApiDotNetCore.Resources; using JsonApiDotNetCore.Resources.Annotations; public class Position : Identifiable<Guid> { [Attr(PublicName = "x")] public double X { get; set; } [Attr(...
BrontosaurusTests/TestAssertVectorGH.cs
paireks/Brontosaurus
8
7065784
<reponame>paireks/Brontosaurus using System; using Grasshopper.Kernel; using Brontosaurus; using Xunit; namespace BrontosaurusTests { public class TestAssertVectorGhHelper { public static AssertVectorGH TestObject { get { AssertVectorGH testObject = new ...
Source/SodiumSecretAeadXChaCha20Poly1305IETFLibrary.cs
Chewhern/LibsodiumBinding
0
7065785
using System; using System.Runtime.InteropServices; namespace ASodium { public static partial class SodiumSecretAeadXChaCha20Poly1305IETFLibrary { #if IOS const string DllName = "__Internal"; #else const string DllName = "libsodium"; #endif ...
src/BinaryMesh.OpenXml/Internal/OpenXmlTheme.cs
niklaskarl/BinaryMesh.OpenXml
1
7065786
using System; using DocumentFormat.OpenXml.Packaging; namespace BinaryMesh.OpenXml.Internal { internal sealed class OpenXmlTheme : IOpenXmlTheme { private readonly IOpenXmlDocument document; private readonly ThemePart themePart; public OpenXmlTheme(IOpenXmlDocument document, ThemePart...
Applications/Editor/Main/Sources/Interactions/OtherBehaviors.cs
hisa-lab/Cube.Pdf
0
7065787
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either versi...
Assets/Scripts/Management/SpawnPlayers.cs
Whalics/Cube-Dudes
0
7065788
<filename>Assets/Scripts/Management/SpawnPlayers.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnPlayers : MonoBehaviour { public GameObject[] spawnEmpties; public GameObject blankPlayerPrefab; //public GameObject[] players; TurnManager turnm...
Samples/XLabs.Sample/4.Pages/Monitor/Trace.xaml.cs
islandof/XLabsforMyself
1
7065789
<filename>Samples/XLabs.Sample/4.Pages/Monitor/Trace.xaml.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace XLabs.Sample.Pages.Monitor { public partial class Trace : ContentPage { public Trace(string i...
src/Common/Net/DownloadFile.cs
nano-byte/common
7
7065790
// Copyright <NAME> // Licensed under the MIT License using System.Net; using NanoByte.Common.Info; using NanoByte.Common.Streams; using NanoByte.Common.Tasks; using NanoByte.Common.Threading; #pragma warning disable 618 namespace NanoByte.Common.Net; /// <summary> /// Downloads a file from a specific i...
Backup/Model/OrderInfo.cs
ilovejs/PetShopv4
1
7065791
using System; namespace PetShop.Model { /// <summary> /// Business entity used to model an order /// </summary> [Serializable] public class OrderInfo { // Internal member variables private int orderId; private DateTime date; private string userId; private C...
TSVD/Radical/src/netcore45/Radical.Windows.Presentation.Puzzle/Boot/Installers/ServicesDescriptor.cs
uditagarwal97/nekara-artifact
2
7065792
<filename>TSVD/Radical/src/netcore45/Radical.Windows.Presentation.Puzzle/Boot/Installers/ServicesDescriptor.cs using System; using System.Linq; using System.Collections.Generic; using System.Composition; using System.Reflection; using System.Threading.Tasks; using Topics.Radical.ComponentModel; using Topics.Radical.Li...
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/ACCMS/Reports/ParameterForms/frmACCMSReportFixedAssets.Designer.cs
atiq-shumon/DotNetProjects
0
7065793
namespace AH.ModuleController.UI.ACCMS.Reports.ParameterForms { partial class frmACCMSReportFixedAssets { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any reso...
DiO_CS_BTConf/DiO_CS_BTConf/Bluetooth/Communication/Communicator.cs
orlin369/BlueDream
3
7065794
<reponame>orlin369/BlueDream using System; using System.IO.Ports; using System.Threading; namespace DiO_CS_BTConf.Bluetooth.Communication { public class Communicator : IDisposable { #region Variables /// <summary> /// Comunication port. /// </summary> protected Serial...