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
ServerClassLib/ServerAsync.cs
Dzemoro/Project_TIP
0
7048544
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ServerClassLib { public class ServerAsync : AbstractServer { HashSet<Message> messages; HashSet<User...
Game/Assets/Malbers Animations/Common/Scripts/Animal Controller/AI Brain/Decisions/CheckStatDecision.cs
Philipp-sama123/AnimalsParadise
0
7048545
<gh_stars>0 using MalbersAnimations.Scriptables; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MalbersAnimations.Controller.AI { [CreateAssetMenu(menuName = "Malbers Animations/Pluggable AI/Decision/Check Stat", order = 3)] public class CheckStatDecision : MAIDecisi...
Kemel/Base/Dal.cs
lvendrame/kemel-orm
0
7048546
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Kemel.Entity; using Kemel.DataProvider; using Kemel.Data; using Kemel.Schema; namespace Kemel.Base { public class Dal<TEtt>: ITransactable where TEtt: EntityBase, new() { private IDataProvider prvCurrent...
ClemBot.Api/ClemBot.Api.Common/Utilities/QueryResult.cs
makayla-moster/ClemBot
121
7048547
<reponame>makayla-moster/ClemBot namespace ClemBot.Api.Common.Utilities; public class QueryResult<T> : IQueryResult<T> { public T? Value { get; } public QueryStatus Status { get; } public QueryResult(QueryStatus status) { Status = status; } private QueryResult(T? val, QueryStatus stat...
KenticoCloud.ContentManagement.Tests/Modules/Extensions/HttpRequestHeadersExtensionsTests.cs
Haaxor1689/content-management-sdk-net
0
7048548
using System.Collections.Generic; using System.Diagnostics; using System.Net.Http; using KenticoCloud.ContentManagement.Modules.HttpClient; using KenticoCloud.ContentManagement.Modules.Extensions; using Xunit; namespace KenticoCloud.ContentManagement.Tests { public class HttpRequestHeadersExtensionsTests { ...
Deserto/Controllers/UserViewController.cs
Yusoi/LI4
0
7048549
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading; using System.Threading.Tasks; using Deserto.Models; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft....
src/BingoX/BingoX.Domain/CanTruncateAttribute.cs
BingoRoom/BingoX
0
7048550
<gh_stars>0 using System; namespace BingoX.Domain { /// <summary> /// 表示一个可以清除表数据的数据库实体 /// </summary> [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] public sealed class CanTruncateAttribute : Attribute { /// <summary> /// 构造函数 /// </...
WoTStat/ClanBaseInformation.cs
negri/wotclans
11
7048551
<gh_stars>10-100 namespace Negri.Wot { public class ClanBaseInformation { public ClanBaseInformation(long clanId, string clanTag) { ClanTag = clanTag; ClanId = clanId; } public Platform Platform { get; set; } = Platform.Console; public string Cla...
WindowsFormsApplication1/Receive.cs
farhin00farhin/CarRentalSystem
0
7048552
<filename>WindowsFormsApplication1/Receive.cs<gh_stars>0 using QualityVehicleCars; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace QualityVehi...
CrowdedMod/Patches/VitalsPatches.cs
amsyarasyiq/CrowdedMod
1
7048553
<reponame>amsyarasyiq/CrowdedMod<gh_stars>1-10 using System.Linq; using HarmonyLib; using UnityEngine; namespace CrowdedMod.Patches; internal static class VitalsPatches { private const int maxPerPage = 15; private static int currentPage; private static int maxPages => (int) Mathf.Ceil((float) PlayerContr...
Game/Assets/Script/GUI/CloseUI.cs
tvu100/Wreckage
0
7048554
using UnityEngine; using System.Collections; using UnityEngine.UI; using UnityEngine.EventSystems; public class CloseUI : MonoBehaviour, IPointerDownHandler { public GameObject objToClose; public void OnPointerDown(PointerEventData eventData) { objToClose.SetActive (false); } }
src/Remora/Core/Serialization/SerializableResponse.cs
julienblin/Remora
1
7048555
<filename>src/Remora/Core/Serialization/SerializableResponse.cs #region Licence // The MIT License // // Copyright (c) 2011 <NAME>, <EMAIL> // // 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 So...
Sockets/Sockets.Implementation.NET/UdpSocketReceiver.cs
ChristophvanderFecht/sockets-for-pcl
261
7048556
using System; using System.Net; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using Sockets.Plugin.Abstractions; using PlatformSocketException = System.Net.Sockets.SocketException; using PclSocketException = Sockets.Plugin.Abstractions.SocketException; // ReSharper disable once Check...
src/IqOptionApi.NET/Wss/Request/SubscribeMessages/UnSubscribeMessageRequest.cs
kqtqk88/IqOption.Net
111
7048558
<filename>src/IqOptionApi.NET/Wss/Request/SubscribeMessages/UnSubscribeMessageRequest.cs<gh_stars>100-1000 using IqOptionApi.Models; using IqOptionApi.Ws.Base; namespace IqOptionApi.Ws.Request { internal class UnSubscribeMessageRequest : SubscribeMessageRequest { public UnSubscribeMessageRequest(Activ...
src/IronFoundry.Ui.Controls/ViewModel/Push/AddApplicationServiceViewModel.cs
ironfoundry-attic/ironfoundry
4
7048559
<reponame>ironfoundry-attic/ironfoundry<filename>src/IronFoundry.Ui.Controls/ViewModel/Push/AddApplicationServiceViewModel.cs<gh_stars>1-10 namespace IronFoundry.Ui.Controls.ViewModel.Push { using System.ComponentModel; using Extensions; using GalaSoft.MvvmLight.Messaging; using Models; using Mvvm;...
HierarchicalData/Form1.Designer.cs
akshays2112/HierarchicalData
0
7048560
namespace Treeview { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name...
src/Reminiscence/IO/MemoryMap.cs
juliusfriedman/reminiscence
7
7048561
// The MIT License (MIT) // Copyright (c) 2015 <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 limitation the rights // to use, copy, modif...
src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/UpToDate/BuildUpToDateCheck.cs
nguerrera/project-system
0
7048562
<gh_stars>0 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.ComponentModel.Composition; using System.D...
client/Assets/Source/Views/Gem.cs
thurn/swapdrop
0
7048563
<filename>client/Assets/Source/Views/Gem.cs using UnityEngine; using System.Collections; using strange.extensions.mediation.impl; using SwapDrop.Models; namespace SwapDrop.Views { public class Gem : View { public static GameObject Instantiate(Transform parent, GemType gemType) { var gameObject = new GameO...
Udemy Project Part3/FruitList/FruitList/Controllers/HomeController.cs
Amphibian007/MyDotnetProjects-2021
0
7048564
<gh_stars>0 using FruitList.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; namespace FruitList.Controllers { public class Hom...
CharacterGen.Domain/Generators/Combats/ICombatGenerator.cs
cidthecoatrack/CharacterGen
0
7048565
<filename>CharacterGen.Domain/Generators/Combats/ICombatGenerator.cs using CharacterGen.Abilities; using CharacterGen.CharacterClasses; using CharacterGen.Combats; using CharacterGen.Feats; using CharacterGen.Items; using CharacterGen.Races; using System.Collections.Generic; namespace CharacterGen.Domain.Generators.C...
src/Floren.Domain/DTO/PlantaoDTO.cs
diegodario88/FlorenProject
0
7048566
using Floren.Domain.Entities; namespace Floren.Domain.DTO { public class PlantaoDTO { public string Grupo { get; set; } public FarmaciaDTO Principal { get; set; } public FarmaciaDTO Secundaria { get; set; } } }
Tsl.AsciiProtocol/Tsl.AsciiProtocol.Pcl/AsciiResponseLine.cs
CosmicVoyageur/Tsl.AsciiProtocol.Pcl
0
7048567
// Decompiled with JetBrains decompiler // Type: TechnologySolutions.Rfid.AsciiProtocol.AsciiResponseLine // Assembly: TechnologySolutions.Rfid.AsciiProtocol.FX35, Version=1.1.5423.27429, Culture=neutral, PublicKeyToken=null // MVID: 9C1072D5-BA32-4CFB-BB8E-6AC565EFDF12 // Assembly location: F:\Visual Studio\Repositor...
Horderns/Hordens/MainForm.Designer.cs
wangming124/ediary
0
7048568
namespace Hordens { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param n...
C#OOP/01. Abstraction/CarsSalesman/Car.cs
DIMITRINALU/SoftUni-Projects
0
7048569
namespace CarsSalesman { using System; using System.Text; class Car { public Car(string model, Engine engine) { this.Model = model; this.Engine = engine; } public Car(string model, Engine engine, int? weight) : this...
MainWin.cs
Myp3a/GenshinConfigurator
2
7048570
using System; using System.Collections.Generic; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Windows.Forms; using static GenshinConfigurator.Enums; namespace GenshinConfigurator { public partial class MainWin : Form { SettingsContainer Settings; Res...
news-analyzer/Api/Services/ConfigureMongodbService.cs
TomasJani/news-analyzer
0
7048571
using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using MongoDB.Driver; using SharedModels.Models; using Tag = SharedModels.Models.Tag; namespace Api.Services { public class ConfigureMongodbService : IHostedService { private re...
src/OPCAIC.Application/Infrastructure/NotificationLogger.cs
opcaic/server
0
7048572
<filename>src/OPCAIC.Application/Infrastructure/NotificationLogger.cs using System; using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.Logging; using OPCAIC.Common; namespace OPCAIC.Application.Infrastructure { public class NotificationLogger<TNotification> : INotificatio...
src/Unify.Core/Net/IO/ProtoEventStream.cs
sbarrac1/Unify
7
7048573
using System.Buffers.Binary; using System.Net; using Nerdbank.Streams; using ProtoBuf; using Unify.Core.Events; using Unify.Core.Net.Formatting; namespace Unify.Core.Net.IO; /// <summary> /// IEventStream implementation using protobuf-net for serialization /// </summary> public sealed class ProtoEventStream : IEvent...
src/com.jarvisniu/ButtonAnimator.cs
jarvisniu/niv
3
7048574
<reponame>jarvisniu/niv /** * ButtonAnimation - Easily add background easing transform effect to you buttons. * <NAME>(牛俊为) - http://jarvisniu.com/ * MIT Licence * * ## Usage * 1. Create a instance of ButtonAnimator * private ButtonAnimator buttonAnimator = new ButtonAnimator(); * 2. Apply it ...
src/BaliLib/BaleLibTest/WebhookTest.cs
saiedkia/BaleBotApi
0
7048575
<gh_stars>0 using BaleLib; using BaleLib.Models; using FluentAssertions; using Xunit; namespace BaleLibTest { public class WebhookTest : BaseTest { [Fact] public void Should_set_webHook_successfully() { BaleClient client = new BaleClient(Token); string sampleHoo...
zadania/Lesson2/Program1/Car.cs
zw1nc3k/OOP2019-1
0
7048576
using System; using System.Collections.Generic; using System.Text; namespace Lesson2 { class Car { private string marka; private int rok; // private string model; // private int iloscDrzwi; // private double pojemnoscSilnika; public double srednieSpala...
mdlObservacoes/mdlObservacoes/InstrucoesEmbarque/clsInstrucoesEmbarqueNotificar1.cs
silvath/siscobras
0
7048577
using System; namespace mdlObservacoes.InstrucoesEmbarque { /// <summary> /// Summary description for clsInstrucoesEmbarqueNotificar1. /// </summary> public class clsInstrucoesEmbarqueNotificar1 : clsObservacoes { #region Atributos private string m_strIdPE = ""; private mdlDataBaseAccess.Tabelas.XsdTbInstr...
src/Runtime/Runtime/System.Windows.Controls.Primitives/WORKINPROGRESS/IScrollInfo.cs
fangeles02/CSHTML5
476
7048578
<reponame>fangeles02/CSHTML5 #if !MIGRATION using Windows.Foundation; #endif #if MIGRATION namespace System.Windows.Controls.Primitives #else namespace Windows.UI.Xaml.Controls.Primitives #endif { public partial interface IScrollInfo { Rect MakeVisible(UIElement visual, Rect rectangle); } }
FailBrick/Program.cs
GitTorre/FailBrick
0
7048579
using Microsoft.ServiceFabric.Services.Runtime; using System; using System.Diagnostics; using System.Fabric; using System.Threading; namespace FailBrick { internal static class Program { private static CrashMode runningCrashMode; private static ConfigHandler configHandler; private st...
OBeautifulCode.Serialization/CustomSerializers/DateTime/ObcNullableDateTimeStringSerializer.cs
OBeautifulCode/OBeautifulCode.Serialization
0
7048580
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ObcNullableDateTimeStringSerializer.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // ---------------------------------...
sdk/dotnet/DNS/V1Beta2/Outputs/ResourceRecordSetResponse.cs
AaronFriel/pulumi-google-native
44
7048582
<filename>sdk/dotnet/DNS/V1Beta2/Outputs/ResourceRecordSetResponse.cs // *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using Syst...
src/Microsoft.EntityFrameworkCore.Tools.Core/Scaffolding/Internal/ScaffoldingUtilities.cs
davidroth/EntityFrameworkCore
0
7048583
<filename>src/Microsoft.EntityFrameworkCore.Tools.Core/Scaffolding/Internal/ScaffoldingUtilities.cs<gh_stars>0 // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Ge...
External Projects/FileTyper/FileTypeChecker.cs
FergTechnologies/RansomNote
0
7048584
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FileTyper { //Taken from https://codereview.stackexchange.com/questions/85054/guessing-a-file-type-based-on-its-content public class FileTypeChecker { priv...
Splicer/Renderer/CallbackHandler.cs
bittercoder/Splicer
9
7048585
<reponame>bittercoder/Splicer // Copyright 2006-2008 Splicer Project - http://www.codeplex.com/splicer/ // // 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...
src/Eve-O-Mock/MainWindow.xaml.cs
Shegox/eve-o-preview
251
7048586
using System; using System.Windows; using System.Windows.Media; namespace EveOMock { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Random random = new Random(); this.Title += random.Next().ToString("X"); this.grid.Background = new SolidColorBrus...
CdIts.Caffoa.Cli/Model/ParameterObject.cs
jabruehl/caffoa.net
0
7048588
namespace CdIts.Caffoa.Cli.Model; public class ParameterObject { public string Name { get; } public string TypeName { get; set; } public string Description { get; } public ParameterObject(string name, string typeName, string description) { Name = name; TypeName = typeName; ...
RadixSort/RadixSortImplementation.cs
KallynGowdy/SortingAlgorithms
1
7048589
<reponame>KallynGowdy/SortingAlgorithms<filename>RadixSort/RadixSortImplementation.cs using CountingArray; using System; using System.Collections.Generic; using System.Linq; using System.Net.Configuration; using System.Text; using System.Threading.Tasks; namespace RadixSort { /// <summary> /// Defines a static clas...
Noise.Infrastructure/Configuration/UserInterfacePreferences.cs
bswanson58/NoiseMusicSystem
1
7048590
<filename>Noise.Infrastructure/Configuration/UserInterfacePreferences.cs<gh_stars>1-10 using System; namespace Noise.Infrastructure.Configuration { public class UserInterfacePreferences { public string ArtistListSortOrder { get; set; } public string AlbumListSortOrder { get; set; } public bool EnableGlobal...
Assets/Scripts/Tutorial/Old/TurnSmoothly.cs
Pillowdrift/StellarSwingClassic
2
7048591
<reponame>Pillowdrift/StellarSwingClassic<gh_stars>1-10 using UnityEngine; using System.Collections; public class TurnSmoothly : MonoBehaviour { void EnableTutorial() { GUIController.ShowText("Tutorial", "Turn smoothly to avoid losing speed"); } void DisableTutorial() { GUIController.HideText("Tutorial"); ...
src/biz.dfch.CS.Unity.IPATesting/Assets/PlayModeTests/AutoMapper/AutoMapperTest.cs
FynnKaeser/biz.dfch.CS.Unity.Examples
0
7048592
<filename>src/biz.dfch.CS.Unity.IPATesting/Assets/PlayModeTests/AutoMapper/AutoMapperTest.cs<gh_stars>0 /** * Copyright 2021 d-fens GmbH * * 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 ...
pkr/holdem/gamedef/trunk/src/test/net/ai.pkr.holdem.gamedef.nunit/HoldemGameRules_Test.cs
ivan-alles/poker-acpc
0
7048593
/* Copyright 2010-2012 <NAME>. Licensed under the MIT License (see file LICENSE). */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using ai.lib.utils; using ai.pkr.metagame; using ai.lib.algorithms; using ai.lib.algorithms.random; using ai.pkr.stdpoker...
CowSpeak-master/Functions.cs
CowNation/cpp-CowSpeak
2
7048594
<filename>CowSpeak-master/Functions.cs using CowSpeak.Exceptions; using System.Collections.Generic; namespace CowSpeak { public class Functions : Dictionary<string, BaseFunction> { public Functions() : base() { } // parses a potential key so it can be directly used as a key (this[key]) priva...
csharp/test/Microsoft.ML.OnnxRuntime.Tests.Droid/MainActivity.cs
lchang20/onnxruntime
669
7048595
<reponame>lchang20/onnxruntime using System; using System.Reflection; using System.Threading.Tasks; using Android.App; using Android.OS; using Java.Interop; using Microsoft.ML.OnnxRuntime.Tests.Devices; using Xunit.Runners; using Xunit.Runners.UI; using Xunit.Sdk; namespace Microsoft.ML.OnnxRuntime.Tests.Droid { [...
src/Auth0.ManagementApi/Clients/TenantSettingsClient.cs
SebaAnhalt/auth0.net
0
7048596
<gh_stars>0 using System.Collections.Generic; using System.Threading.Tasks; using Auth0.Core.Http; using Auth0.ManagementApi.Models; namespace Auth0.ManagementApi.Clients { /// <summary> /// Contains all the methods to call the /tenants/settings endpoints. /// </summary> public class TenantSettingsCli...
samples/cdm-folders/dotnet/SerializationHelpers/StringEnumCamelCaseConverter.cs
SpillChek2/CDM
76
7048597
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.CdmFolders.SampleLibraries.SerializationHelpers { using Newtonsoft.Json.Converters; /// <summary> /// StringEnumCamelCaseConverter /// </summary> public class StringEnumCamelCaseCon...
Bot/Extensions/HttpRequestExtensions.cs
RightpointLabs/conference-room
3
7048598
using System; using Microsoft.AspNetCore.Http; using Microsoft.Bot.Builder.Dialogs; using Newtonsoft.Json.Linq; using RightpointLabs.BotLib; using RightpointLabs.ConferenceRoom.Bot.Dialogs; using RightpointLabs.ConferenceRoom.Bot.Models; using RightpointLabs.ConferenceRoom.Bot.Services; namespace RightpointLabs.Confe...
Squidex.Assets.FTP/FTPAssetStore.cs
Squidex/assets
3
7048599
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
src/Essensoft.AspNetCore.Payment.Alipay/Domain/ActivityQueryInfo.cs
lotosbin/payment
1
7048600
using System; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// ActivityQueryInfo Data Structure. /// </summary> [Serializable] public class ActivityQueryInfo : AlipayObject { /// <summary> /// 新用户活动模版 /// </summary> ...
src/SFA.DAS.EmployerCommitmentsV2.Web/Mappers/Cohort/ConfirmProviderViewModelMapper.cs
uk-gov-mirror/SkillsFundingAgency.das-employercommitments-v2
3
7048601
using System.Threading.Tasks; using SFA.DAS.CommitmentsV2.Api.Client; using SFA.DAS.CommitmentsV2.Shared.Interfaces; using SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort; namespace SFA.DAS.EmployerCommitmentsV2.Web.Mappers.Cohort { public class ConfirmProviderViewModelMapper : IMapper<ConfirmProviderRequest, Con...
Task-2/EmployeeRegister/Program.cs
KrimReaper/L0002B
0
7048602
/* EmployeeRegister * * This program is a single file program that manages a register for sellers. The program can recieve * new sellers and will sort the list of sellers according to their amount of sold articles. The * Program stores the information in a text file that acts as a rudimentary database. * * A...
src/Cli/Glacie.Cli.Core/Logging/ConsoleLogger.cs
Lixiss/Glacie
1
7048604
<reponame>Lixiss/Glacie<gh_stars>1-10 using System; using Glacie.CommandLine; using Glacie.CommandLine.IO; using Glacie.Logging; namespace Glacie.Cli.Logging { public sealed class ConsoleLogger : Logger { private readonly IConsole _console; public ConsoleLogger(IConsole console, LogLevel lev...
APPBASE/BL/STOK/Mutasi/PROCESSING/Mutasi_kasir/Calculation/calcDETAIL.cs
arinsuga/posup
1
7048605
using System; using System.Collections.Generic; using System.Linq; using System.Web; using APPBASE.Helpers; using APPBASE.Models; using APPBASE.Svcbiz; namespace APPBASE.Models { public partial class Mutasi_kasirBL : MutasiBL { protected Boolean calcDETAIL() { //reset items this._...
Assets/Sources/Generated/Sync/Utility/UnpackEntityUtility.cs
yidayoung/Entitas-Sync-Framework
2
7048606
using System.Text; using NetStack.Serialization; using Sources.Tools; public static class UnpackEntityUtility { public static void CreateEntities(GameContext game, BitBuffer buffer, ushort entityCount) { for (int i = 0; i < entityCount; i++) { var e = game.CreateEntity(); ...
backend/Notes.Logic/Migrations/20200313054247_Change-Delete-Behaviour.Designer.cs
w7rus/Notes
0
7048607
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Notes.Logic.Data; namespace Notes.Logic.Migrat...
WebUniversidade/Controllers/EstudanteController.cs
silvioantonio/web-universidade
0
7048608
<reponame>silvioantonio/web-universidade<gh_stars>0 using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; using WebUniversidade.Data; using WebUniversidade.Models; namespace WebUniversidade.Controllers { public class EstudanteController : Controller ...
aspnet-core/src/HealthCare.EntityFrameworkCore/EntityFrameworkCore/HealthCareDbContextFactory.cs
pickituup/HealthCare_collaboration
0
7048609
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; using HealthCare.Configuration; using HealthCare.Web; namespace HealthCare.EntityFrameworkCore { /* This class is needed to run "dotnet ef ..." commands from command line on development. Not ...
Libraries/DodaiNET/Panels/PanelPresenter.cs
kenny-nelson/GomiBako
0
7048610
<filename>Libraries/DodaiNET/Panels/PanelPresenter.cs //----------------------------------------------------------------------- // <copyright file="PanelPresenter.cs" company="none"> // Copyright (c) kenny-nelson All Rights Reserved. // </copyright> //-------------------------------------------------------------------...
src/Service/Mailing/Users/PasswordResetMailTypeDefinition.cs
adams85/aspnetskeleton2
2
7048611
using System.Threading; using System.Threading.Tasks; namespace WebApp.Service.Mailing.Users { internal sealed class PasswordResetMailTypeDefinition : MailTypeDefinition<PasswordResetMailModel, PasswordResetMailMessageProducer> { public override string MailType => PasswordResetMailModel.AssociatedMail...
Models/Model.cs
digitalinteraction/OpenMovement-AxLE-Service
1
7048612
namespace OpenMovement.AxLE.Service.Models { public abstract class Model { public string Id { get; set; } public override int GetHashCode() { return Id.GetHashCode(); } public override bool Equals(object obj) { return obj.GetHashCode() =...
Devexpress/MVVM/MIF/MIFRestoreState/ViewModels/NavigationItem.cs
yacper/WpfLearning
0
7048613
using DevExpress.Mvvm; using System; using DevExpress.Xpf.Core; namespace RestoreState.ViewModels { [Serializable] public class NavigationItem : MifCommon.Common.INavigationItem, ISupportState<NavigationItem> { public string Caption { get; set; } public NavigationItem() { } public N...
src/Mine.Commerce.Application/Features/Categories/Queries/Handler/RequestHandler.cs
phuocquach/ms-service
0
7048614
using Mapster; using MediatR; using Mine.Commerce.Domain; using Mine.Commerce.Domain.Core; using Mine.Commerce.Domain.Core.Handler; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Mine.Commerce.Application.Categories.Queries.Handler { public class RequestHandler : ...
source/Calamari.Shared/Integration/ConfigurationTransforms/ITransformFileLocator.cs
WS-QA/Calamari
0
7048615
<reponame>WS-QA/Calamari using System.Collections.Generic; using Calamari.Deployment; namespace Calamari.Integration.ConfigurationTransforms { public interface ITransformFileLocator { IEnumerable<string> DetermineTransformFileNames(string sourceFile, XmlConfigTransformDefinition transformation, bool di...
src/Take.Elephant.Tests/Memory/MemoryItemOrderedQueryableStorageFacts.cs
luizjoli/elephant
44
7048617
<filename>src/Take.Elephant.Tests/Memory/MemoryItemOrderedQueryableStorageFacts.cs using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using Take.Elephant.Memory; using Xunit; namespace Take.Elephant.Tests.Memory { [Tra...
_no_namespace/YadokariBehaviorController.YadokariActionScriptNo.cs
SinsofSloth/RF5-global-metadata
1
7048618
<gh_stars>1-10 protected enum YadokariBehaviorController.YadokariActionScriptNo // TypeDefIndex: 7989 { // Fields public int value__; // 0x0 public const YadokariBehaviorController.YadokariActionScriptNo ShellPickup = 101; public const YadokariBehaviorController.YadokariActionScriptNo e_Count = 102; }
UnitTestTGC.SceneLoader/Model/ParserStrategy/CreateFaceStrategyTest.cs
tgc-utn/tgc-scene-loader
0
7048619
using NUnit.Framework; using System.Linq; using TGC.SceneLoader.Model; using TGC.SceneLoader.Model.ParserStrategy; namespace UnitTestTGC.SceneLoader.Model.ParserStrategy { [TestFixture] public class CreateFaceStrategyTest { private readonly CreateFaceStrategy _createFaceStrategy = new Cr...
src/Repos/Interface/IProcessRepo.cs
arsanjani/url-shortener
2
7048620
<filename>src/Repos/Interface/IProcessRepo.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using akhr.ir.Models; namespace akhr.ir.Repos.Interface { public interface IProcessRepo { Task<DtoShortLink> Get(string token); Task<bool> Save(DtoShor...
save-points/06-authentication-and-authorization/BlazingPizza.Shared/Services/IAuthenticationViewComponentTypeProvider.cs
egil/blazor-workshop
19
7048621
<reponame>egil/blazor-workshop using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlazingPizza.Services { public interface IAuthenticationViewComponentTypeProvider { public Type GetAuthenticationViewComponentTy...
SHFB/Source/SandcastleBuilderWPF/PropertyPages/VisibilityPropertiesPageContent.xaml.cs
Mu-L/SHFB
0
7048622
//=============================================================================================================== // System : Sandcastle Help File Builder WPF Controls // File : VisibilityPropertiesPageContent.xaml.cs // Author : <NAME> // Updated : 10/05/2021 // Note : Copyright 2017-2021, <NAME>, All rights ...
BetterEntityFramework/StoreData/ProductBundle.cs
JoshFieldstad/BetterEntityFramework
129
7048623
using System; namespace BetterEntityFramework.StoreData { public partial class ProductBundle { public int BundleId { get; set; } public Guid RootProduct { get; set; } public string RootSku { get; set; } public Guid AssociatedProduct { get; set; } public string Associate...
Assets/Scripts/DropBomb.cs
BjoernGit/TopDownArmy
0
7048624
<reponame>BjoernGit/TopDownArmy using System.Collections; using System.Collections.Generic; using UnityEngine; public class DropBomb : MonoBehaviour { public GameObject bombPrefab; public AudioClip bombSoundClip; private AudioSource audioSource; public GameObject targetIndicator; public LayerMas...
DatabaseImporter.WPF/Infrastructure/Database/Connection/AppSettingsDatabaseConfigurator.cs
NickPolyder/DatabaseImporter
0
7048625
using System.Threading.Tasks; using DatabaseImporter.Common.Database.Connection; using DatabaseImporter.WPF.Properties; namespace DatabaseImporter.WPF.Infastructure.Database.Connection { public class AppSettingsDatabaseConfigurator : IDbConnectionConfigurator { public Task<bool> ConnectionStringExists...
sdk/digitaltwins/Azure.DigitalTwins.Core/src/Models/RelationshipCollection.cs
gjy5885/azure-sdk-for-net
3,268
7048626
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.IO; using System.Text.Json; using Azure.Core; using Azure.Core.Serialization; namespace Azure.DigitalTwins.Core { /// <summary> /// A collection of relationships whic...
WorkPortal/Views/AnnualLeave/_AnnualLeaveFormPartial.cshtml
TsonevD/Work-Portal
1
7048627
@model AnnualLeaveInputModel <div id="content" class="pmd-content admin section-container"> <h1 class="text-center mb-3">Annual Leave</h1> <div class="page-content"> <div class="card pmd-card"> <form name="myForm" id="myForm" method="post" action="" novalidate="novalidate"> ...
CreateDbFile/UnitOfWork/ClientDocumentUnitOfWork.cs
rk5486/efcore.sqlite.demo
0
7048628
using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; namespace DataAccess.UnitOfWork; public sealed class ClientDocumentUnitOfWork : IUnitOfWork { private readonly ClientDocumentContext _dbContext; private readonly SqliteConnection _connection; private readonly string _dbPath; public...
src/Bing.MockData/Internals/Generators/RandomStringFromListGenerator.cs
bing-framework/Bing.MockData
53
7048629
using System; using System.Collections.Generic; namespace Bing.MockData.Internals.Generators { /// <summary> /// 随机字符串项生成器 /// </summary> internal class RandomStringFromListGenerator:RandomItemFromListGenerator<string> { /// <summary> /// 初始化一个<see cref="RandomStringFromListGenerat...
Legend of Devslopes Lighting/Assets/Scripts/AnimationManager.cs
MylesWritesCode/Unity3D
0
7048630
using UnityEngine; using System.Collections; using System.Collections.Generic; public class AnimationManager : MonoBehaviour { [SerializeField] private List<GameObject> cameras = new List<GameObject>(); public static AnimationManager instance = null; // Use this for initialization void Start () { if (instanc...
Web/ACIPL.Template.Core/ACIPL.EncryptionDecryption.Tool/Form1.Designer.cs
praveenkumargupta1989/ProjectTemplate
0
7048631
namespace ACIPL.EncryptionDecryption.Tool { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ///...
source/soap-to-json-adapter/source/Energinet.DataHub.SoapAdapter.Application/Parsers/XmlReaderExtensions.cs
mhejle/geh-market-roles
0
7048632
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // 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 a...
src/SFA.DAS.EmployerIncentives.Infrastructure/Configuration/PaymentProfile.cs
uk-gov-mirror/SkillsFundingAgency.das-employer-incentives
0
7048633
namespace SFA.DAS.EmployerIncentives.Infrastructure.Configuration { public class PaymentProfile { public int DaysAfterApprenticeshipStart { get; set; } public decimal AmountPayable { get; set; } } }
Source/Samples/Application/Models/HomeViewModel.cs
RegionOrebroLan/.NET-Web-Authentication-Extensions
0
7048634
<filename>Source/Samples/Application/Models/HomeViewModel.cs using System.Collections.Generic; using RegionOrebroLan.Web.Authentication; namespace Application.Models { public class HomeViewModel { #region Properties public virtual IDictionary<IAuthenticationScheme, string> AuthenticationSchemes { get; } = new D...
csharp/add-two-numbers/src/ListNode.cs
miRoox/Leetcode
1
7048635
using System; using System.Linq; namespace AddTwoNumbers { public class ListNode : IEquatable<ListNode> { public int val; public ListNode next; public ListNode(int x) { val = x; } public bool Equals(ListNode other) { return other != null && val == othe...
Nitric.Sdk/Queue/FailedTask.cs
nitrictech/dotnet-sdk
2
7048636
// Copyright 2021, Nitric Technologies Pty 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 copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
Kudu.Core/Deployment/DeploymentInfo.cs
RyanHill-MSFT/kudu
2,376
7048637
using Kudu.Core.SourceControl; using Kudu.Contracts.SourceControl; namespace Kudu.Core.Deployment { public class DeploymentInfo : DeploymentInfoBase { private readonly IRepositoryFactory _repositoryFactory; public DeploymentInfo(IRepositoryFactory repositoryFactory) { _rep...
Assets/Graphy - Ultimate Stats Monitor/Editor/GraphyEditorStyle.cs
Joseram0n/OnubaWaters
3
7048638
<reponame>Joseram0n/OnubaWaters /* --------------------------------------- * Author: <NAME> (<EMAIL>) (@tayx94) * Contributors: https://github.com/Tayx94/graphy/graphs/contributors * Project: Graphy - Ultimate Stats Monitor * Date: 02-Jan-18 * Studio: Tayx * * Git ...
Assets/GUI/Scripts/CoordinatesIndicator.cs
Omid-Veisi/ur-scape
13
7048639
// Copyright (C) 2019 Singapore ETH Centre, Future Cities Laboratory // All rights reserved. // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // // Author: <NAME> (<EMAIL>) using System; using UnityEngine; using UnityEngine.UI; public clas...
UwpMasterDetailViewSample/UwpMasterDetailViewSample/Controls/MasterDetailView.cs
h82258652/UwpMasterDetailViewSample
1
7048640
using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace UwpMasterDetailViewSample.Controls { [TemplateVisualState(GroupName = AdaptiveStatesGroupName, Name = BothStateName)] [TemplateVisualState(GroupName = AdaptiveStatesGroupName, Name = MasterStateName)] [TemplateVisualState(Group...
Common/DnsProxy.Common/Models/Context/IDnsCtx.cs
BLun78/DnsProxy
2
7048641
#region Apache License-2.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 License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
RadioLog/RadioLog.Decoding/DSP/Filter/Filters.cs
JoeGilkey/RadioLog
2
7048642
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RadioLog.Decoding.DSP.Filter { public enum FilterType { FIRHP_LTR_DCBLOCK_750FS_50FC, FIRLP_LTR_1500FS, FIRBP_1200FSK_24000FS, FIRLP_3K, FIRLP_8K, FIRL...
wd-soapgen/Code/ClientParser.cs
uwwebservices/wd-soapgen
1
7048643
<gh_stars>1-10 using System; using System.Collections.Generic; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.IO; using System.Linq; using System.Text; using WD.SoapGen.Ext; namespace WD.SoapGen.Code { public class ClientParser { ...
TerrainGenerator.Services/Contracts/TimedAction.cs
alvaromongon/Terrain
0
7048644
using System; namespace TerrainGenerator.Services.Contracts { public class TimedAction : Action { public TimedAction() { } public TimedAction(DateTime initialTime, Action action) : base(action) { this.InitialTime = initialTime.ToUniversalTime()...
Domain/Interface/Service/ITurmaDisciplinaService.cs
LeonardoQueres/Web-api-with-DDD
0
7048645
<filename>Domain/Interface/Service/ITurmaDisciplinaService.cs using Domain.Entidade; using Shared.Interface.Service; using Shared.Validator; using System.Collections.Generic; namespace Domain.Interface.Service { public interface ITurmaDisciplinaService : IBaseService<TurmaDisciplina, string> { Resulta...
tree/master/cloud/src/solution/Microsoft.Legal.MatterCenter.SharePointAppWeb/App_GlobalResources/Constants.Designer.cs
nirmalpavan/MatterTest
0
7048646
//------------------------------------------------------------------------------ // <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> //--...
Aries.Business/ImageBusiness.cs
robertzml/Aries
0
7048647
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using Aries.Data; using Aries.Model; namespace Aries.Business { /// <summary> /// 图片业务类 /// </summary> public class ImageBusiness { #region Field /...
CRP.Tests/Controllers/ItemControllerTests.cs
ucdavis/CRP
0
7048648
using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Web; using System.Web.Mvc; using CRP.Controllers; using CRP.Controllers.Helpers; using CRP.Controllers.ViewModels; using CRP.Core.Abstractions; using CRP.Core.Domain; using CRP.Tests.Core.Extensi...