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
NWaves/Operations/Modulator.cs
artemiusgreat/Waves
243
7069485
<reponame>artemiusgreat/Waves<gh_stars>100-1000 using System; using System.Linq; using NWaves.Signals; using NWaves.Transforms; using NWaves.Utils; namespace NWaves.Operations { /// <summary> /// Provides various modulation methods: /// <list type="bullet"> /// <item>ring</item> /// <item>...
MSTestHacks.Tests/RuntimeDataSource/ComplexObjects.cs
JaCoB1123/MSTestHacks
40
7069486
<filename>MSTestHacks.Tests/RuntimeDataSource/ComplexObjects.cs using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace MSTestHacks.Tests.RuntimeDataSource { [TestClass] public class ComplexObjects : TestBase { const string PREFIX = "MSTestHack...
ninja/Views/Invoice/Index.cshtml
pablozetas/apply-4-net-ninja
0
7069487
<reponame>pablozetas/apply-4-net-ninja<gh_stars>0 @model IEnumerable<ninja.Models.InvoiceViewModel> @{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <nav aria-label="breadcrumb" class="mt-2"> <ol class="breadcrumb ml-auto"> <li class="breadcrumb-item"><a href="/">Home</a>...
SPE/src/SPE.Domain/Products/Events/ProductItem/ProductItemEventHandler.cs
laurolnunes/sistema-de-producao-e-estoque
0
7069488
using SPE.Domain.Core.Events; namespace SPE.Domain.Products.Events.ProductItem { public class ProductItemEventHandler : IHandler<CreatedProductItemEvent>, IHandler<UpdatedProductItemEvent>, IHandler<DeletedProductItemEvent> { public void Handle(CreatedProductItemEvent message) ...
zwg-china.backstage.framework/Service References/LotteryService/Reference.cs
returnanapple/zwg-china-iworld
1
7069489
<gh_stars>1-10 //------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.34003 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //--------------------------------------------------------------------...
ReMi.Api/DataAccess/ReMi.DataAccess/Exceptions/RoleNotFoundException.cs
vishalishere/remi
1
7069490
using System; namespace ReMi.DataAccess.Exceptions { public class RoleNotFoundException : EntityNotFoundException { public RoleNotFoundException(Guid roleExternalId) : base("Command", roleExternalId) { } public RoleNotFoundException(Guid roleExternalId, Exception in...
Assets/Scripts/Global/LayerManager.cs
Deus0/Zeltexium
4
7069491
using System.Collections; using System.Collections.Generic; using UnityEngine; using Zeltex.Util; namespace Zeltex { /// <summary> /// Manages games layers /// Various scripts connect to this /// </summary> public class LayerManager : ManagerBase<LayerManager> { [Header("Layers")] ...
ScriptConverter/Parser/Parselets/Statements/TryParselet.cs
Rohansi/SWG-ScriptConverter
2
7069492
using System.Collections.Generic; using ScriptConverter.Ast; using ScriptConverter.Ast.Statements; namespace ScriptConverter.Parser.Parselets.Statements { class TryParselet : IStatementParselet { public Statement Parse(ScriptParser parser, ScriptToken token, out bool trailingSemicolon) { ...
mcs/class/System.Web.Mvc/System.Web.Mvc/ViewContext.cs
DavidKarlas/mono
4
7069493
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is subject to the Microsoft Public License (Ms-PL). * A copy of the license can be found in the license.htm file included * in this distribution....
LcmLoader/FwStubs/NullLcmDirectories.cs
sillsdev/pcpatrflex
1
7069495
// Copyright (c) 2003-2018 SIL International // This software is licensed under the LGPL, version 2.1 or later // (http://www.gnu.org/licenses/lgpl-2.1.html) using SIL.LCModel; namespace SI.LcmLoader { internal class NullLcmDirectories : ILcmDirectories { public string ProjectsDirectory => null; public string...
src/AcceptanceTesting/SpecByExample/SFA.DAS.Payments.AcceptanceTests/Assertions/PaymentsAndEarningsRules/EmployersLevyAccountDebitedForUlnViaTransferRule.cs
SkillsFundingAgency/das-providerpayments
0
7069496
<filename>src/AcceptanceTesting/SpecByExample/SFA.DAS.Payments.AcceptanceTests/Assertions/PaymentsAndEarningsRules/EmployersLevyAccountDebitedForUlnViaTransferRule.cs using System.Linq; using SFA.DAS.Payments.AcceptanceTests.Contexts; using SFA.DAS.Payments.AcceptanceTests.ReferenceDataModels; namespace SFA.DAS.Payme...
SERVER/SERVER/Point.cs
melharfi/Nova
3
7069497
using System; namespace SERVER { public class Point { public int X,Y; public Point () { } public Point (int x, int y) { X = x; Y = y; } public static Point Zero () { return new Point(0, 0); } } }
RottenReviews/RottenReviewsWeb/Controllers/RestaurantsController.cs
1804-Apr-USFdotnet/john-dominguez-project1
0
7069498
using RottenReviewsWeb.DAL; using RottenReviewsWeb.Models; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Net; using System.Web.Mvc; using RottenReviewsLibrary; namespace RottenReviewsWeb.Controllers { public class RestaurantsController : Controller { priva...
Assets/GoogleARCore/SDK/Scripts/DepthMode.cs
whitehnd/arcore-unity-sdk
1,521
7069499
//----------------------------------------------------------------------- // <copyright file="DepthMode.cs" company="Google LLC"> // // Copyright 2020 Google LLC // // 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 ...
src/FuelWerx.Application/Administrative/Contacts/Dto/ContactListDto.cs
zberg007/project
0
7069500
<reponame>zberg007/project<gh_stars>0 using Abp.Application.Services.Dto; using Abp.AutoMapper; using FuelWerx.Administrative; using System; using System.Runtime.CompilerServices; namespace FuelWerx.Administrative.Contacts.Dto { [AutoMapFrom(new Type[] { typeof(Contact) })] public class ContactListDto : FullAuditedE...
Packages/BitsNBobs.Utilities/Runtime/Events/ISwitch.cs
psarras/BitsNBobs.Utilities
0
7069501
using System; namespace BitsNBobs.Utilities.Events { public interface ISwitch { void FlickOn(); } public interface IState { bool State { get; set; } event Action<bool> ChangedState; void Reset(); void ResetWithoutNotification(); } public interface ...
source/CroquetAustralia.Library/Authentication/Identity/UserLoginInfoExtensions.cs
croquet-australia/croquet-australia.com.au
0
7069502
using Microsoft.AspNet.Identity; namespace CroquetAustralia.Library.Authentication.Identity { public static class UserLoginInfoExtensions { public static bool IsEqual(this UserLoginInfo a, UserLoginInfo b) { return a.LoginProvider == b.LoginProvider && a.ProviderKey == b.ProviderKe...
Demo/FrmMain.cs
NoyWasTaken/OpenOrm
0
7069503
<gh_stars>0 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; using Demo.Sql; using OpenOrm.SQLite; namespace Demo { public partial class FrmMain : Fo...
Physics2D/CSharp/Resources/Components/PhysicsSpawner.cs
AtomicGameEngine/AtomicPrototypes
122
7069505
<reponame>AtomicGameEngine/AtomicPrototypes using System; using AtomicEngine; public class PhysicsSpawner : CSComponent { public void Start() { viewport = AtomicNET.GetSubsystem<Renderer>().GetViewport(0); var cache = GetSubsystem<ResourceCache>(); boxSprite = cache.GetResource<Sprite...
ex1051/ex1051/Program.cs
silviafrigatto/csharp-exercises
0
7069506
<filename>ex1051/ex1051/Program.cs<gh_stars>0 //Exercise available on https://www.urionlinejudge.com.br/judge/en/problems/view/1051 using System; using System.Globalization; namespace ex1051 { class Program { static void Main(string[] args) { double salary, taxes = 0; ...
ImageViewer/DesktopServices/Automation/TestClient/Web References/StudyLocatorAsp/Reference.cs
SNBnani/Xian
1
7069507
<gh_stars>1-10 //------------------------------------------------------------------------------ // <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. // </...
Rabbit.Kernel/Environment/IShim.cs
doujia/RabbitHub
65
7069508
namespace Rabbit.Kernel.Environment { /// <summary> /// 一个抽象的垫片。 /// </summary> public interface IShim { /// <summary> /// 主机容器。 /// </summary> IHostContainer HostContainer { get; set; } } }
SideStream/User.cs
karashiiro/SideStream
0
7069509
using System; namespace SideStream { public class User { public string Name { get; } public uint Color { get; } public User(string username) { Name = username; var colors = Enum.GetNames(typeof(TwitchUsernameColors)); var index = new Random...
test/WebJobs.Script.Tests.Integration/Storage/AzureStorageProviderTests.cs
qsdfplkj/azure-functions-host
0
7069510
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Azure.Storage.Blobs; using Microsoft.Ext...
Src/MoneyFox/ViewModels/Categories/ModifyCategoryViewModel.cs
feokuma/MoneyFox
199
7069511
<filename>Src/MoneyFox/ViewModels/Categories/ModifyCategoryViewModel.cs using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using MediatR; using MoneyFox.Application.Categories.Queries.GetIfCategoryWithNameExists; using MoneyFox.Application.Common.Interfaces; using MoneyFox.Application.Common.Messages; using M...
src/Pickles.Test/WhenDeterminingRelevantFilesToConsider.cs
SpocWeb/pickles
366
7069512
<filename>src/Pickles.Test/WhenDeterminingRelevantFilesToConsider.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="WhenDeterminingRelevantFilesToConsider.cs" company="PicklesDoc"> // Copyright 2011 <NAME> // Copyright 201...
src/GShark/Core/Serializable.cs
sonomirco/G-Shark
0
7069513
<gh_stars>0 using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GShark.Core { public abstract class Serializable<T> { public abstract T FromJson(string s); publ...
Views/Schedule/Celltemplate.cshtml
syncfusion/aspnet-mvc-ej1-demos
3
7069514
<reponame>syncfusion/aspnet-mvc-ej1-demos<gh_stars>1-10 @section MetaTags{ <meta name="description" content="This example shows how the ASP.NET MVC Scheduler cells can be customized with templates."> } @section SampleHeading{<span class="sampleName">Schedule-Cell-ASP.NET MVC-SYNCFUSION</span>} @using Syncfusion.Ja...
src/Sharp.Redux.Visualizer/Core/TypeMetadata.cs
JTOne123/sharp-redux
5
7069515
using Righthand.Immutable; using System.Reflection; namespace Sharp.Redux.Visualizer.Core { public class TypeMetadata { public bool IsState { get; } public bool IsPrimitive { get; } public PropertyInfo[] Properties { get; } public PropertyInfo KeyProperty { get; } publi...
Helpers/OptionsHelper.cs
sokooltools/VSTools
0
7069516
<reponame>sokooltools/VSTools using System; using System.IO; using Microsoft.Win32; namespace SokoolTools.VsTools { //-------------------------------------------------------------------------------------------------------- /// <summary> /// Provides helper methods for accessing the properties (stored in the Window...
Assets/SlipperAnimation.cs
VirtualRealityManoa/debuggerPlusPlus
0
7069517
<filename>Assets/SlipperAnimation.cs using UnityEngine; using System.Collections; public class SlipperAnimation : MonoBehaviour { private Animator animator; // Use this for initialization void Start () { animator = GetComponent<Animator>(); } // Update is called once per frame void Update () { if (Input....
ClubPenguin.Performance/ResponderTypeToStrategyMap.cs
smdx24/CPI-Source-Code
8
7069518
// ResponderTypeToStrategyMap using ClubPenguin.Performance; using System; using System.Collections.Generic; public static class ResponderTypeToStrategyMap { private static Dictionary<PerformanceResponderType, ResponderStrategy> map = new Dictionary<PerformanceResponderType, ResponderStrategy> { { PerformanceRe...
dotNET/PFProSDK/src/PayPal/Payments/Transactions/ITransaction.cs
Autoafterdarkphx/payflow-gateway
48
7069519
#region "Imports" #endregion namespace PayPal.Payments.Transactions { /// <summary> /// Base Interface for all the transaction objects. /// </summary> /// <remarks>This interface cane be implemented to create a new /// transaction type.</remarks> public interface ITransaction { /// <summary> /// Submits t...
Injecticus/InstanceBuilders/IParameterResolver.cs
StrannikX/Injectikus
0
7069520
<filename>Injecticus/InstanceBuilders/IParameterResolver.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace Injectikus.InstanceBuilders { internal interface IParameterResolver { bool CanResolve(ParameterInfo parameter, IContainer contain...
01 - Testes de Unidade/Features.Tests/02 - Fixtures/ClienteTestsFixture.cs
YuriSiman/software-testing
0
7069521
<gh_stars>0 using Features.Clientes; using System; namespace Features.Tests { public class ClienteTestsFixture : IDisposable { public Cliente GerarClienteValido() { var cliente = new Cliente( Guid.NewGuid(), "Yuri", "Siman", ...
ManagedAudioEngineUniversal/Model/SoundPlayerBase.cs
AKiepfer/StepSequencer
0
7069522
<reponame>AKiepfer/StepSequencer using System.Threading.Tasks; using ManagedAudioEngineUniversal.Core; using SharpDX.Multimedia; using SharpDX.XAudio2; namespace ManagedAudioEngineUniversal.Model { public abstract class SoundPlayerBase<T> : ISoundPlayerBuilder<T> { protected XAudio2 XAudio { get; set;...
src/Compact.Functions/RouteProcessor.cs
tommcclean/functions.cmpct.io
0
7069523
using Compact.Functions.Services; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace Compact.Functions { public static class RouteProcessor { private static ILogger _logger; private static...
Source/Source/Tools/GameDesignerEditor/Controls/luaEditor/fireball_src/Fireball.Cairo/Fireball.Cairo/SystemColors.cs
uvbs/FullSource
2
7069524
// SystemColors.cs // // Authors: // <NAME> // // Copyright (C) 2006 DotNetFireball (http://www.dotnetfireball.net) // // 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 re...
eIVOGo/Published/GetInvoicePDF_B2B.ashx.cs
uxb2bralph/IFS-EIVO03
0
7069525
<filename>eIVOGo/Published/GetInvoicePDF_B2B.ashx.cs using Model.DataEntity; using Model.InvoiceManagement; using Model.Schema.TXN; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Xml; using Utility; using Uxnet.Com.Security.UseCrypto; using System.Net...
Tools/MigrationTools/BVSoftware.Commerce.MigrationWindows/OptionsForm.Designer.cs
mmcconnell1618/BV-Commerce-Community
0
7069526
<gh_stars>0 namespace BVSoftware.Commerce.MigrationWindows { partial class OptionsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources b...
client/MAVN.Service.CrossChainWalletLinker.Client/Models/ConfigurationItemUpdateError.cs
LykkeBusiness/MAVN.Service.CrossChainWalletLinker
0
7069527
<reponame>LykkeBusiness/MAVN.Service.CrossChainWalletLinker using JetBrains.Annotations; namespace MAVN.Service.CrossChainWalletLinker.Client.Models { /// <summary> /// The configuration item update error /// </summary> [PublicAPI] public enum ConfigurationItemUpdateError { /// <summary...
src/Yali/Attributes/TypeExtensions.cs
GerardSmit/Yali
10
7069528
using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Yali.Attributes { internal static class TypeExtensions { public static IEnumerable<T> GetCustomAttributesDeep<T>(this MemberInfo memberInfo) { var attributeType = typeof(T); var attr...
HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodyValidity.cs
Keyfactor/hydrantid-cagateway
0
7069529
using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; namespace Keyfactor.HydrantId.Client.Models { public class CertRequestBodyValidity : ICertRequestBodyValidity { [JsonProperty("years", NullValueHandling = NullValueHandling.Ignore)] public int? Years { get; set; } [JsonProper...
MyApp/MyApp/Wrappers/MyContextWrapper.cs
SDolha/MockingEntityFramework
0
7069531
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyApp.Wrappers { /// <summary> /// Wrapper over MyDatabaseEntities (DbContext), extracting interface for testability reasons. /// </summary> class MyContextWrapper : IMyContext...
src/Arborescence.Primitives/Primitives/SR.cs
qbit86/ubiquitous-graphs
1
7069532
<filename>src/Arborescence.Primitives/Primitives/SR.cs namespace Arborescence.Primitives { // https://github.com/dotnet/corert/blob/master/src/System.Private.CoreLib/src/Resources/Strings.resx internal static class SR { internal const string Argument_DestinationTooShort = "Destination is too short."...
src/Plugins/Christofel.Api/Startup.cs
ctu-fee-group/Christofel
2
7069533
<filename>src/Plugins/Christofel.Api/Startup.cs // // Startup.cs // // Copyright (c) Christofel authors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Christofel.Api.Ctu; using Christofel.Api.Ctu.Auth.Tasks.Options; ...
Source/ContractsWindow.Unity/Unity/CW_Toolbar.cs
DMagic1/KSP_Contract_Window
12
7069534
#region license /*The MIT License (MIT) CW_Toolbar - Controls the toolbar options popup Copyright (c) 2016 DMagic 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 w...
src/ExpectedObjects/Strategies/IComparisonStrategy.cs
derekgreer/expectedObjects
67
7069535
namespace ExpectedObjects.Strategies { public interface IComparisonStrategy { bool CanCompare(object expected, object actual); bool AreEqual(object expected, object actual, IComparisonContext comparisonContext); } }
AlphaVantage.Core/TimeSeries/IntraDay/AvIntraDayTimeSeriesProcess.cs
arman-tech/AlphaVantageLib
0
7069536
<gh_stars>0 using AlphaVantage.Common; using AlphaVantage.Common.Models.TimeSeries.IntraDay; using AlphaVantage.Core.Interfaces; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; namespace AlphaVantage.Core.TimeSeries.IntraDay { public class AvIntraDayTimeSeriesProcess : IMapResource<AvI...
Assets/MarkLight/Source/Plugins/Views/UI/InteractableRegion.cs
Agilefreaks/licenta-vr
49
7069537
<reponame>Agilefreaks/licenta-vr #region Using Statements using MarkLight.ValueConverters; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using Uni...
CSharp/Class/ObjectInitialization.cs
piovezan/SOpt
148
7069538
<filename>CSharp/Class/ObjectInitialization.cs<gh_stars>100-1000 using System.Collections.Generic; public class Program { public static void Main() { Arquivo arquivo = new Arquivo(); ArquivoVersao versao = new ArquivoVersao(); versao.XNOME = "teste"; var list = new List<ArquivoVersao>(); list.Add(versao); ...
card game/Assets/Scripts/DropDownController.cs
Ryan-Paul-Burdus/card-game
0
7069539
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; [RequireComponent(typeof(Dropdown))] [DisallowMultipleComponent] public class DropDownController : MonoBehaviour, IPointerClickHandler { public GameObject DeckManager; public Te...
src/Microsoft.Health.Fhir.Core/Features/Search/Converters/CodeableReferenceToTokenSearchValueConverter.cs
brianpos/fhir-server
677
7069540
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
src/BlueBoard.Module.Trip/Commands/CreateTripListHandler.cs
stenvix/blueboard-api-
0
7069542
using System.Threading; using System.Threading.Tasks; using AutoMapper; using BlueBoard.Contract.Trip.Commands; using BlueBoard.Contract.Trip.Models; using BlueBoard.Module.Common; using BlueBoard.Module.Trip.Repositories; using BlueBoard.Module.Trip.Repositories.Entities; using BlueBoard.Persistence.Abstractions; usi...
DFBSimulatorWrapper/GraphViz/OutputMode.cs
paphillips/DFB
9
7069543
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DFBSimulatorWrapper.GraphViz { public enum OutputMode { breadthfirst, nodesfirst, edgesfirst } }
source/KyoobLibrary/Graphics/BlockRenderEffect.cs
xoarinn/kyoob
12
7069544
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Kyoob.Entities; namespace Kyoob.Graphics { /// <summary> /// The wrapper for block rendering. /// </summary> public sealed class BlockRenderEffect : CustomEffect { private Vector3 _fogColor; ...
youtube-play/Player.cs
mryanmurphy/youtube-play
42
7069545
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; namespace youtube_play { public class Player { private readonly Queue<LinkResolver.Video> _playQueue = new Queue<LinkResolver.Video>(); public Task StartPlaying(int volume = 20) { ...
SharpData/Database.cs
JTOne123/sharpdata
10
7069546
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Data; namespace SharpData { public class Database : DefaultDatabase, IDatabase { public Database(IDataProvider provider, string connectionString) : base(provider, connectionString) { Timeout = -1; }...
GVFS/GVFS.Common/Physical/FileSystem/PhysicalFileSystem.cs
bbodenmiller/GVFS
1
7069547
<reponame>bbodenmiller/GVFS<filename>GVFS/GVFS.Common/Physical/FileSystem/PhysicalFileSystem.cs<gh_stars>1-10 using Microsoft.Win32.SafeHandles; using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; namespace GVFS.Common.Physical.FileSystem { public class P...
LifeGame.App/Stafford.cs
shenlei149/lifegame
0
7069548
using System.Collections.Generic; using System.Diagnostics; using System; namespace LifeGame { static class TripletLookup { public static Triplet[] lookup; public static bool[] changed; static TripletLookup() { // Some of these are impossible, but who cares? ...
client/framework/UnityCsReference-master/Runtime/Export/Lumin/UsesLuminPlatformLevel.cs
HelloWindows/AccountBook-
1
7069549
// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using System; namespace UnityEngine.Lumin { [System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple = false)] public sealed class UsesLuminPlat...
src/Workspaces/Core/Portable/Workspace/Host/Status/IWorkspaceStatusService.cs
jcagme/roslyn
2
7069550
<gh_stars>1-10 // 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.Threading; using System.Threading.Tasks; namespace Microsoft.CodeAnalysis.Host { /// <summary> /// Provide...
C#/src/Samples/Shop/Radix.Shop.Catalog.Crawling.Jumbo/Crawler.cs
MCGPPeters/Radix
4
7069551
<gh_stars>1-10 using System; using System.Text; using System.Threading.Tasks; using System.Web; using Azure.Search.Documents; using Azure.Search.Documents.Models; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using Microsoft.Playwright; using Radix.Data; using Radix.Shop.Catalog.Domain; using Radix...
NPOI.XSSF.UserModel.Charts/XSSFChartLegend.cs
iNeverSleeeeep/NPOI-For-Unity
1
7069552
<gh_stars>1-10 using NPOI.OpenXmlFormats.Dml.Chart; using NPOI.SS.UserModel.Charts; using System; namespace NPOI.XSSF.UserModel.Charts { /// Represents a SpreadsheetML chart legend /// @author <NAME> public class XSSFChartLegend : IChartLegend, ManuallyPositionable { /// Underlaying CTLagend bean private CT_Le...
src/Chronicle/ISagaContext.cs
paolofulgoni/Chronicle
282
7069553
using System.Collections.Generic; namespace Chronicle { public interface ISagaContext { SagaId SagaId { get; } string Originator { get; } IReadOnlyCollection<ISagaContextMetadata> Metadata { get; } ISagaContextMetadata GetMetadata(string key); bool TryGetMetada...
src/SimpleAuth.Contracts/Business/ILockAccountBusiness.cs
hakdag/SimpleAuth
1
7069554
<reponame>hakdag/SimpleAuth using SimpleAuth.Common; using System.Threading.Tasks; namespace SimpleAuth.Contracts.Business { public interface ILockAccountBusiness { Task<ResponseResult> LockAccount(long userId); Task<ResponseResult> UnLockAccount(long userId); Task<ResponseResult> Chec...
MedabotsRandomizer/Randomizer.cs
STulling/Medabots-Randomizer
8
7069555
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MedabotsRandomizer { public class Randomizer { List<BattleWrapper> battles; List<EncountersWrapper> encounters; List<PartWrapper> parts; Random rng; public Ra...
MoneyArchiveDb/DbLoader.cs
trevorprinn/MoneyArchive
0
7069556
using MoneyArchiveDb.Database; using MoneyArchiveDb.QifImport; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MoneyArchiveDb { public static class DbLoader { public static ArchiveDb Load(params QifFile[] qifs)...
dotnet/DxDiag.Elements/DxDiagDiagnostics.cs
UsmanMohammad/DxDiagLib
0
7069557
<gh_stars>0 namespace DxDiag.Elements { /// <remarks/> [System.SerializableAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] public partial class DxDiagDiagnostics { private DxDiagDiagnosticsWindowsE...
src/Google.Analytics.SDK.Core/Hits/EventHitBase.cs
LindaLawton/google-analytics-dotnet-sdk
25
7069558
<filename>src/Google.Analytics.SDK.Core/Hits/EventHitBase.cs // Copyright (c) <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using Google.Analytics.SDK.Core.Helper; namespace Google.Analytics.SDK.Core.Hits { p...
WWI_Trenches_Prototypes/Assets/SpCrsVrPrototypes/Singletons/ObjAnimationSoCache.cs
martin-obert/WWI_Trenches
0
7069559
using UnityEngine; namespace Assets.SpCrsVrPrototypes.Singletons { public class ObjAnimationSoCache { public Mesh[] Meshes { get; set; } public int FrameCount { get; set; } public int FrameRate { get; set; } } }
Models/User.cs
rizquha/cobasaja
0
7069560
<gh_stars>0 namespace HR_App.Models { public class User { public int Id {get;set;} public string Username {get;set;} public string Password {get;set;} } }
Reflection/Reflection-Exercise/InfernoInfinty/Enums/LevelOfRarity.cs
NaskoVasilev/CSharp-OOP-Advanced
1
7069561
namespace InfernoInfinty.Enums { public enum LevelOfRarity { Common = 1, Uncommonge = 2, Rare = 3, Epic = 5 } }
voicemodel/src/GoogleAssistant/ActionSDK/UserProfile.cs
voicebridge/most
3
7069562
using Newtonsoft.Json; namespace VoiceBridge.Most.VoiceModel.GoogleAssistant.ActionSDK { public class UserProfile { [JsonProperty("displayName")] public string DisplayName { get; set; } [JsonProperty("givenName")] public string FirstName { get; set; } [...
src/ScriptCs.Core/IScriptExecutor.cs
7sharp9/scriptcs
2
7069563
<gh_stars>1-10 using ScriptCs.Contracts; using System.Collections.Generic; namespace ScriptCs { public interface IScriptExecutor { void Initialize(IEnumerable<string> paths, IEnumerable<IScriptPack> scriptPacks); ScriptResult Execute(string script, string[] scriptArgs); ScriptResult Ex...
Pomelo.Data.MyCat-master/src/Pomelo.Data.MyCat/SystemPerformanceMonitor.cs
18965824402/mycattest
42
7069564
// Copyright (c) Pomelo Foundation. All rights reserved. // Licensed under the MIT. See LICENSE in the project root for license information. #if NET451 using System; using System.Diagnostics; namespace Pomelo.Data.MyCat { internal class SystemPerformanceMonitor : PerformanceMonitor { private static Performan...
SilverlightPlayerForAMSPlayReadyTokenAuth/Source Code/Plugins.Diagnostics/Config/DiagnosticsConfig.cs
mayurav/azure-media-services-samples
0
7069565
<filename>SilverlightPlayerForAMSPlayReadyTokenAuth/Source Code/Plugins.Diagnostics/Config/DiagnosticsConfig.cs using System; using System.Collections.Generic; using System.Xml; using System.Xml.Linq; namespace Microsoft.SilverlightMediaFramework.Diagnostics { /// <summary> /// This is the main config...
sdk/dotnet/Run/V1Alpha1/Inputs/InstanceAttemptResultArgs.cs
AaronFriel/pulumi-google-native
44
7069566
<reponame>AaronFriel/pulumi-google-native // *** 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 System.Threading.Tasks; using Pu...
sdk/dotnet/Ml/V1/Outputs/GoogleCloudMlV1__ParameterSpecResponse.cs
AaronFriel/pulumi-google-native
44
7069567
// *** 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 System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Goog...
src/OpenIddict.Ats/Stores/OpenIddictAtsAuthorizationStore.cs
ledgerscope/openiddict-core
0
7069568
<reponame>ledgerscope/openiddict-core<filename>src/OpenIddict.Ats/Stores/OpenIddictAtsAuthorizationStore.cs /* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contr...
src/Modules/Identity/src/OnlineStore.Modules.Identity.Infrastructure/Aggregates/Users/ApplicationUserEntityTypeConfiguration.cs
mehdihadeli/Modular-Monolith-Template
5
7069569
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Metadata.Builders; using OnlineStore.Modules.Identity.Infrastructure.Aggregates.Users.Models; namespace OnlineStore.Modules.Identity.Infrastructure.Aggregates.Users { public class ApplicationUser...
nanoFramework.WebServer/CallbackRoutes.cs
TiagoCasas/nanoFramework.WebServer
8
7069570
<reponame>TiagoCasas/nanoFramework.WebServer // // Copyright (c) 2020 <NAME> and the project contributors // See LICENSE file in the project root for full license information. // using System.Reflection; namespace nanoFramework.WebServer { /// <summary> /// Callback function for the various routes /// </...
core/src/Directives/AskForValueDirective.cs
voicebridge/most
3
7069571
<reponame>voicebridge/most namespace VoiceBridge.Most.Directives { internal class AskForValueDirective : IVirtualDirective { public string ParameterName { get; set; } public Prompt Prompt { get; set; } public string ExpectedIntentName { get; set; } } }
source/ProvisionData.Common/Extensions/TypeExtensions.cs
provisiondata/ProvisionData.Common
0
7069572
<reponame>provisiondata/ProvisionData.Common /******************************************************************************* * MIT License * * Copyright 2020 Provision Data Systems Inc. https://provisiondata.com * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this s...
Assets/Scripts/Entities/Connection.cs
jcaspick/mindmend
0
7069573
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Connection : MonoBehaviour { public Node a; public Node b; private int health; private int maxHealth; public GameColor color; public ConnectionVisualBase visual; void OnDestroy() {...
Unity/Assets/Hotfix/Module/Config/ConfigHelper.cs
passiony/ETFramework
7
7069574
using System; using ETModel; using UnityEngine; namespace ETHotfix { public static class ConfigHelper { public static string GetText(string key) { try { string path = string.Format("Config/{0}.txt", key); TextAsset config = ResourcesComponent.Load(path, typeof(TextAsset)).a...
01_ProgrammingFundamentals/Homeworks/10_Regex-Ex/02_Extract Sentences By Keyword/ExtractSentencesByKeyword.cs
akkirilov/ProgrammingFundamentalsHomeworks
0
7069576
<reponame>akkirilov/ProgrammingFundamentalsHomeworks<filename>01_ProgrammingFundamentals/Homeworks/10_Regex-Ex/02_Extract Sentences By Keyword/ExtractSentencesByKeyword.cs using System; using System.Text.RegularExpressions; namespace _02_Extract_Sentences_By_Keyword { public class ExtractSentencesByKeyword { ...
zero/Maruko.Zero/Internal/Controllers/SysUtilsController.cs
SkipperGuo/Maruko
25
7069577
using System; using System.Collections.Generic; using System.IO; using Maruko.Core.Application; using Maruko.Core.Web; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Hosting; using Newtonsoft.Json; namespace Maruko.Zero { [ApiController] [EnableCors("cors")] [R...
Sleek/Models/Project.cs
PCDMZ/Sleek
0
7069578
#region "Usings" using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; #endregion namespace Sleek.Models { public partial class Project { #region "Table Attributes" [Key] [Display(Name = "ID")] ...
lib/Ephemerality.Unpack/Exceptions/UnpackException.cs
codito/xray-builder.gui
48
7069579
using System; namespace Ephemerality.Unpack.Exceptions { public sealed class UnpackException : Exception { public UnpackException(string message) : base(message) { } public UnpackException(string message, Exception e) : base(message, e) { } } }
GTAdhocToolchain.Core/AdhocSymbol.cs
Nenkai/GTAdhocCompiler
9
7069581
<reponame>Nenkai/GTAdhocCompiler using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTAdhocToolchain.Core { public class AdhocSymbol { public int Id { get; set; } public string Name { get; set; } public bool Has...
Assets/Scripts/CameraMovement.cs
jeknom/Junction2019
0
7069582
<reponame>jeknom/Junction2019 using UnityEngine; public class CameraMovement : MonoBehaviour { [Header("Basics")] [SerializeField] Transform followTarget; [SerializeField] float xOffset = 0f; [SerializeField] float yOffset = 0f; [SerializeField] float cameraZ = -10f; [Header("Follow...
csharp/src/Enums/Classification.cs
ttiyemba/CMS-System
0
7069583
using System; using System.Collections.Generic; namespace src.Enums { public class Classification { public readonly Dictionary<string, Dictionary<string, string>> EClassification; public Classification() { EClassification = new Dictionary<string, Dictionary<string, string>...
src/IdentityServer4.MongoDB/MonogDBContext/MongoContext.cs
fredrikstrandin/Miniblog.Core
0
7069584
<reponame>fredrikstrandin/Miniblog.Core using IdentityServer4.MongoDB.Model; using IdentityServer4.MongoDB.Model.Setting; using IdentityServer4.MongoDB.Service; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using MongoDB.Driver; namespace IdentityServer4.MongoDB.MonogDBContext { public c...
Libraries/editor/ITextEditorAdaptorFactory.cs
mungojam/dotnetrdf-fork
8
7069585
/* dotNetRDF is free and open source software licensed under the MIT License ----------------------------------------------------------------------------- Copyright (c) 2009-2012 dotNetRDF Project (<EMAIL>) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
src/BungieNetPlatform/Model/DestinyMilestonesDestinyPublicMilestoneActivity.cs
xlxCLUxlx/BungieNetPlatform
3
7069586
<reponame>xlxCLUxlx/BungieNetPlatform /* * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.1.1 * Contact: <EMAIL> * Gener...
SeleniumAdvansed/InteractionTests/InteractionTests/Pages/DroppablePagePreventPropagation/DroppablePagePreventPropagation.cs
PlamenMI81/QA-AUTOMATION
0
7069587
<reponame>PlamenMI81/QA-AUTOMATION<filename>SeleniumAdvansed/InteractionTests/InteractionTests/Pages/DroppablePagePreventPropagation/DroppablePagePreventPropagation.cs using System; using System.Collections.Generic; using System.Text; using OpenQA.Selenium; using OpenQA.Selenium.Interactions; namespace InteractionTes...
Cachetwo.Tests/ReflectionUtils.cs
JTOne123/Cachetwo.NET
0
7069588
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Cachetwo { internal static class ReflectionUtils { public static MethodInfo GetMethodInfo(Expression<Action>...
NCR.Sample/Startup.cs
yanghongjie/NCR
4
7069589
using System; using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.StaticFiles.Infrastructure; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProvider...
ProdavnicaNaocara/ProdavnicaNaocara.Data/ProdavnicaNaocaraDbContext.cs
SuknovicMilena/.Net-App-ProdavnicaNaocara
0
7069590
<reponame>SuknovicMilena/.Net-App-ProdavnicaNaocara using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using ProdavnicaNaocara.Data.Entities; using System; using System.Collections.Generic; using System.Text; namespace ProdavnicaNaocara.Data { public class ProdavnicaNaocar...