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
Il2Cpp-Modding-Codegen/Data/DumpHandling/DumpProperty.cs
cal117/Il2Cpp-Modding-Codegen
18
7046130
using Il2CppModdingCodegen.Parsers; using System; using System.Collections.Generic; namespace Il2CppModdingCodegen.Data.DumpHandling { internal class DumpProperty : IProperty { public List<IAttribute> Attributes { get; } = new List<IAttribute>(); public List<ISpecifier> Specifiers { get; } = n...
Portal/Client/Head/src/Application.Bootstrapper/AppBootstrapper.cs
jackobo/jackobs-code
0
7046131
<reponame>jackobo/jackobs-code using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Interop; using System.Windows.Media.Imaging; using GamesPortal.Client.Views.Wpf; using Spark.Infra.Logging; using Prism.Modularity; using Prism.Unity; using S...
CnGalWebSite/CnGalWebSite.APIServer/Application/Files/FileService.cs
CharacterRevolution/CnGalWebSite
0
7046132
<filename>CnGalWebSite/CnGalWebSite.APIServer/Application/Files/FileService.cs<gh_stars>0 using BootstrapBlazor.Components; using Microsoft.EntityFrameworkCore; using CnGalWebSite.APIServer.Application.Helper; using CnGalWebSite.APIServer.DataReositories; using CnGalWebSite.DataModel.Application.Dtos; using CnGalWebSi...
backend/DTOs/Output/Response/SaveQuestionResponseDTO.cs
ES2-UFPI/QuizMania
0
7046133
namespace QuizMania.WebAPI.DTOs.Output { public class SaveQuestionResponseDTO { public enum RequestResult { BadRequest, Success, EmptyAtribute, QuestionWithoutCorrectAnswer, CharacterNotOwner, QuizNotFound } ...
Counters+/UI/SettingGroups/HUDsSettingsGroup.cs
rakkyo150/CountersPlus
1
7046134
using BeatSaberMarkupLanguage.Components; using CountersPlus.UI.FlowCoordinators; using CountersPlus.UI.ViewControllers; using HMUI; using Zenject; namespace CountersPlus.UI.SettingGroups { public class HUDsSettingsGroup : SettingsGroup { [Inject] private LazyInject<CountersPlusSettingsFlowCoordinator...
Assets/Plugins/StansAssets/NativePlugins/IOSNativePro/Runtime/API/UserNotifications/Internal/Communication/ISN_UNNotifications.cs
Alnirel/com.stansassets.running-dinosaur-clone
2
7046135
using System; using System.Collections.Generic; using UnityEngine; namespace SA.iOS.UserNotifications { [Serializable] class ISN_UNNotifications { [SerializeField] List<ISN_UNNotification> m_Notifications = new List<ISN_UNNotification>(); public List<ISN_UNNotification> Notificatio...
PetrpkuWeb.Server/Controllers/DepartmentsController.cs
kaanlab/PetrpkuWeb
0
7046136
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using PetrpkuWeb.Server.Data; using PetrpkuWeb.Shared.Extensions; using Petrpk...
src/Common/MessageQueueManager.cs
kane-armstrong/studious-lamp
0
7046137
using Microsoft.ServiceBus; using Microsoft.ServiceBus.Messaging; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Armsoft.Sandbox.InteractiveMessageBroker.Common { public class MessageQueueManager : IMessageQueueManager { private readonly NamespaceManager _...
Assets/Content/game/Scripts/Goal.cs
MrRomo/Super-Extreme-Roll-Ball-Game-Rally
0
7046139
<reponame>MrRomo/Super-Extreme-Roll-Ball-Game-Rally<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; namespace GameBall { public class Goal : MonoBehaviour { public UnityEvent OnWin; public GameObject celebrationGameObject; public...
SqlServerWebAdmin/Modules/Security/EditServerRole.aspx.cs
witiokz/SqlServerWebAdmin
11
7046140
<reponame>witiokz/SqlServerWebAdmin using Microsoft.SqlServer.Management.Smo; using SqlServerWebAdmin.Models; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace SqlServerWebAdmin { public pa...
GFD-Studio/GFDLibrary.Rendering.OpenGL/GLMaterial.cs
D3fau4/image2gnf
2
7046141
using System; using GFDLibrary.Materials; using OpenTK; using OpenTK.Graphics.OpenGL; namespace GFDLibrary.Rendering.OpenGL { public interface IGLMaterial : IDisposable { void Bind( GLShaderProgram shaderProgram ); } public delegate GLTexture MaterialTextureCreator( Material material, string ...
src/crossql.sqlite/DbProvider.cs
crossql/crossql
2
7046142
<reponame>crossql/crossql using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Threading.Tasks; using crossql.Config; using crossql.Extensions; using crossql.Helpers; using Microsoft.Data.Sqlite; // ReSharper disable AccessToDisposedClosure namespace crossql.sql...
Data/OSA.Data.Models/CashBook.cs
krasizorbov/OSA
1
7046143
<filename>Data/OSA.Data.Models/CashBook.cs namespace OSA.Data.Models { using System; using System.ComponentModel.DataAnnotations; using OSA.Common; using OSA.Data.Common.Models; public class CashBook : BaseDeletableModel<int> { public DateTime Date { get; set; } [Range(Global...
Exceptions/Exceptions/Uses.cs
JasonBock/ExceptionalDevelopment
2
7046144
<filename>Exceptions/Exceptions/Uses.cs namespace Exceptions { public static class Uses { public static void CreateAndUse() { using var resource = new DisposableResource(); resource.Use(); } } }
Code/Sif3FrameworkDemo/Sif.Framework.Demo.Uk.Provider/Global.asax.cs
MVanderkley/sif3-framework-dotnet
9
7046145
using Sif.Framework.Demo.Uk.Provider.Models; using Sif.Framework.Service.Registration; using Sif.Framework.Service.Serialisation; using Sif.Framework.Utils; using Sif.Framework.WebApi; using System; using System.Collections.Generic; using System.Net.Http.Formatting; using System.Web; using System.Web.Http; using Syste...
DigitRecognizer/DigitRecognizer.Core/IO/NnSerializationContext.cs
thelanmi/digit-recognizer
1
7046146
<reponame>thelanmi/digit-recognizer namespace DigitRecognizer.Core.IO { /// <summary> /// Model for neural netowrk serialization. /// </summary> public class NnSerializationContext { private readonly NnSerializationContextInfo _serializationContextInfo; private readonly double[] _da...
pdu-dotnet-api/_idlc_gen/dotnet/Com/Raritan/Idl/serial/AnalogModem.cs
gregoa/raritan-pdu-json-rpc-sdk
1
7046147
// SPDX-License-Identifier: BSD-3-Clause // // Copyright 2020 Raritan Inc. All rights reserved. // // This file was generated by IdlC from AnalogModem.idl. using System; using System.Linq; using LightJson; using Com.Raritan.Idl; using Com.Raritan.JsonRpc; using Com.Raritan.Util; #pragma warning disable 0108, 0219, 04...
src/GR.Web/Controllers/LoginController.cs
swimhigher/Customer_Framework
0
7046148
<gh_stars>0 using GR.Core.Identity; using GR.Entity.Dto; using GR.IServices; using GR.Web.Filter; using GR.Web.Helper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Linq; // For more information on enabling MVC for empty projects,...
src/web-apis/LetPortal.Portal/Mappers/CSharpMapper.cs
phucan1108/letportal
31
7046149
using System; namespace LetPortal.Portal.Mappers { public class CSharpMapper : ICSharpMapper { public object GetCSharpObjectByType(string value, string type) { switch (type) { case "decimal": if (decimal.TryParse(value, out var tempDe...
src/IBE.WindowsClient/RecognizeChapterContentForm.Designer.cs
krzysztof-radzimski/Usfm
0
7046150
namespace IBE.WindowsClient { partial class RecognizeChapterContentForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summ...
03. CSharp OOP Advanced - 00. My Exam/Skeleton (.NET Core)/TheTankGame/TheTankGame/Entities/Parts/Factories/PartFactory.cs
bobo4aces/04.SoftUni-CSharpFundamentals
2
7046152
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using TheTankGame.Entities.Parts.Contracts; using TheTankGame.Entities.Parts.Factories.Contracts; namespace TheTankGame.Entities.Parts.Factories { public class PartFactory : IPartFactory { pu...
src/Unit Tests/DecodersTests.cs
JoannaMadNat/ARMSim
0
7046153
using Microsoft.VisualStudio.TestTools.UnitTesting; using armsim.Model.Decoders; using armsim.Model; using System; /// <summary> /// File: DecoderTests.cs /// Unit tests for Decoders sub-folder classes /// </summary> namespace armsim.Unit_Tests { [TestClass] public class DecodersTests { int regsi...
g5/PizzaApp - EntityFramework/PizzaApp/Services/Interfaces/IOrderService.cs
sedc-codecademy/skwd8-08-aspnetmvc
0
7046154
using ViewModels; namespace Services.Interfaces { public interface IOrderService { OrderViewModel GetById(int id); void Delete(int id); void AddOrderForCustomer(int customerId); } }
XUnitTest/EmployeeDatabaseExample.cs
sergey-shandar/aliq-dotnet
1
7046155
using Aliq; using System.Linq; using System; using Xunit; using Aliq.Linq; using Aliq.Adapters; using Aliq.Bags; namespace XUnitTest { public class AzureAliqAdapterTest { [Fact] public void EmployeeTest() { // ExternalInput allows for late binding var msftEmploye...
UpdatesClient/UpdatesClient/Modules/GameManager/GameVerification.cs
clayne/skymp5-launcher
1
7046156
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Windows; using UpdatesClient.Modules.Configs; using UpdatesClient.Modules.Debugger; using UpdatesClient.Modules.GameManager.Enums; using UpdatesClient.Modules.GameManager.Model; using Res = UpdatesClient.Properties....
internal/Calculator.UIAutomationLibrary/Components/Shared/NumberPadPom.cs
RaySajuuk/calculator
240
7046157
<filename>internal/Calculator.UIAutomationLibrary/Components/Shared/NumberPadPom.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using MS.Internal.Mita.Foundation; using MS.Internal.Mita.Foundation.Controls; namespace Calculator.UIAutomationLibrary.Components { ...
src/SoulMemory/DarkSouls1/CheatType.cs
FrankvdStam/SoulSplitter
6
7046158
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoulMemory.DarkSouls1 { public enum CheatType { PlayerNoDead = 0x0, PlayerExterminate = 0x1, AllNoStaminaConsume = 0x2, AllNoMpConsume = 0x3, Al...
source/Src/SemanticLogging/SinkSubscription.cs
EnterpriseLibrary/semantic-logging
0
7046159
<filename>source/Src/SemanticLogging/SinkSubscription.cs // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; namespace EnterpriseLibrary.SemanticLogging { /// <summary> /// This map or container class holds a reference to an ...
samples/InAction.ManyArguments/Program.cs
icalvo/Cocona
1,372
7046160
<reponame>icalvo/Cocona using System; using Cocona; namespace CoconaSample.InAction.ManyArguments { class Program { static void Main(string[] args) { CoconaApp.Run<Program>(args); } // Example: // $ ./copy file1 file2 file3 /path/to/dest/ // Sour...
Assets/Frameworks/ServiceProvider.Contracts/Interfaces/IServiceContainer.cs
VisualStudioEX3/Artemis
0
7046161
using System; namespace VisualStudioEX3.Artemis.Framework.ServiceProvider.Contracts.Interfaces { /// <summary> /// A container class to store services. /// </summary> /// <remarks>Use this class to register and store a group of related classes using their interfaces.</remarks> public interface ISe...
CSharpPartOne/ConditionalStatements/8.ReadDifferentTypeVariable/ReadDifferentTypeVariable.cs
madbadPi/TelerikAcademy
0
7046162
<reponame>madbadPi/TelerikAcademy using System; class ReadDifferentTypeVariable { static void Main() { Console.WriteLine("Enter type int, double or string of the variable "); string typeVariable = Console.ReadLine(); switch (typeVariable) { case "int": Console.Write...
lib/Logger.cs
WildernessLabs/Meadow.Logging
0
7046163
namespace Meadow.Logging { /// <summary> /// Class encapsulating logging providers and functions /// </summary> public class Logger { private LogProviderCollection _providers = new LogProviderCollection(); /// <summary> /// Gets or sets the current log level /// </s...
src/XrmFramework/Definitions/SystemUserDefinition.partial.cs
PeteGuy/XrmFramework
2
7046164
<filename>src/XrmFramework/Definitions/SystemUserDefinition.partial.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XrmFramework.Definitions { partial class SystemUserDefinition { public const String TeamMembershipRelatio...
src/Typin/Typin.Tests/Data/Commands/Valid/WithNullableEnumCollectionArgumentsCommand.cs
wayneyaoo/Typin
0
7046165
namespace Typin.Tests.Data.Commands.Valid { using System.Collections.Generic; using System.Threading.Tasks; using Typin.Attributes; using Typin.Console; [Command] public class WithNullableEnumCollectionArgumentsCommand : ICommand { public enum CustomEnum1 { Value1, Value2, Value3 }...
Assets/App/Scripts/UI/GameOver/GameOver.cs
Software-Developers-Association/whack-a-mole
0
7046166
using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class GameOver : MonoBehaviour { public Text score; void OnEnable() { this.score.text = "You Scored: " + GameManager.Instance.Score; } public void OnRestart() { GameManager.Instance.Restart...
OpenSim/Grid/AssetInventoryServer/Plugins/InventoryArchivePlugin.cs
WhiteCoreSim/WhiteCore-Merger
2
7046167
<filename>OpenSim/Grid/AssetInventoryServer/Plugins/InventoryArchivePlugin.cs /* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
Smart City Dashboard/Assets/Scripts/Grid/Tile.cs
Jaren-Taylor/Smart-City-Dashboard
0
7046168
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using UnityEngine; [DataContract] public abstract class Tile { public Action<Tile> OnTileDestroyed; public enum Facing { Left = 0, Right = 1, Top = 2, ...
src/AWS.Logger.Core/Core/IAWSLoggerCore.cs
ourobouros/aws-logging-dotnet
0
7046169
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AWS.Logger.Core { public interface IAWSLoggerCore { void Close(); void AddMessage(string message); void StartMonitor(); } }
Kleinware.LikeType.Tests/LikeEnumerableTypeTests.cs
kleinwareio/LikeType
3
7046170
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Kleinware.LikeType { [TestClass] public class LikeEnumerableTypeTests { private Foo _foo1; private Foo _foo2; private FooE...
mcs/tools/monodoc/Lucene.Net/Test/Search/TestCachingWrapperFilter.cs
nataren/mono
1
7046171
/* * Copyright 2004 The Apache Software Foundation * * 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 a...
DamienTheUnbeliever.System.Linq/AsyncEnumerable.OrderBy.cs
Damien-The-Unbeliever/Linq.AsyncEnumerable
1
7046172
<gh_stars>1-10 using DamienTheUnbeliever.System.Linq.Internals; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace DamienTheUnbeliever.System.Linq { public static partial class AsyncEnumerable { #region API /// <summary> /// Sort a sequence in as...
Sniper.Tests/CRUD/Read/Common/Cultures/ReadCultureTests.cs
darayman/sniper
0
7046173
<filename>Sniper.Tests/CRUD/Read/Common/Cultures/ReadCultureTests.cs using Sniper.Common; using Sniper.Http; using Sniper.TargetProcess.Routes; using Xunit; namespace Sniper.Tests.CRUD.Read.Common.Cultures { public class ReadCultureTests { [Fact] public void CultureThrowsError() { ...
Assets/Scenes/FollowThePath.cs
arufonsekun/borisr-rabiscatus-game
4
7046174
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowThePath : MonoBehaviour { // Array of waypoints to walk from one to the next one [SerializeField] private Transform[] waypoints; // Walk speed that can be set in Inspector ...
csharp/Jason5Lee.TaggedUnionPatterns/Case2/Shape.cs
Jason5Lee/tagged-union-benchmark
0
7046175
<reponame>Jason5Lee/tagged-union-benchmark namespace Jason5Lee.TaggedUnionPatterns.Case2 { public abstract partial class Shape { internal Shape() {} } public partial class Circle : Shape { public double Radius { get; } } public partial class Rectangle : Shape { p...
Xtzp.Linq.BatchEnumerable/Aggregate/BatchEnumerableAggregate.cs
xatzipe/BatchEnumerable
1
7046176
<reponame>xatzipe/BatchEnumerable using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Xtzp.Linq.BatchEnumerable.Aggregate { /// <summary> /// implementation of IBatchEnumerableAggregate{TModel} /// </summar...
src/Our.ModelsBuilder.Tests/BuilderTests.cs
jvtroyen/Our.ModelsBuilder
1
7046177
using System; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; using NUnit.Framework; using Our.ModelsBuilder.Building; using Our.ModelsBuilder.Options; using Our.ModelsBuilder.Tests.Testing; using Umbraco.Core.Models; namespace Our.ModelsBuilder.Tests { [TestFixture] public ...
Src/XData.Compiler/TypeNodes.cs
knat/XData
1
7046178
using System.Collections.Generic; using XData.IO.Text; namespace XData.Compiler { internal sealed class SystemTypeNode : TypeNode { private SystemTypeNode() : base(null) { } private static readonly Dictionary<string, SystemTypeNode> _dict; static SystemTypeNode() { _dict = new ...
src/OpenNETCF.Web/HttpApplication.cs
cpboyd/padarn-v2
0
7046179
// // Copyright ©2018 <NAME> // using System; using System.ComponentModel; using System.Linq; using OpenNETCF.Web.Logging; namespace OpenNETCF.Web { /// <summary> /// Defines the methods, properties, and events that are common to all application objects in an ASP.NET application. /// </summary> public...
src/Bugfree.Spo.Cqrs.Core/Queries/RecursiveNativeFolderVisitor.cs
ronnieholm/Bugfree.Spo.Cqrs
0
7046180
using System; using System.IO; using System.Linq; namespace Bugfree.Spo.Cqrs.Core.Queries { public class RecursiveNativeFolderVisitor : Query { public RecursiveNativeFolderVisitor(ILogger l) : base(l) { } public void Execute(string path, Action<FileSystemInfo> visit) { ...
VisualKeyboard.Control/Keys/InstantaneousModifierKey.cs
Donald-Scott/VisualKeyBoard
1
7046181
<gh_stars>1-10 using WindowsInput; namespace VisualKeyboard.Control { internal class InstantaneousModifierKey : ModifierKeyBase { public InstantaneousModifierKey(IInputSimulator inputSimulator, VirtualKeyCode key) : base(inputSimulator, key) { } internal override void ScreenKe...
PreFork/Orb.cs
Baavgai/Wizards-Castle-40th-Anniversary-CSharp-Edition
0
7046182
using System; using System.Collections.Generic; namespace The_Wizard_s_Castle { class Orb { public static string OrbEvent(ref Player player, ref string[,,] theMap) { Random rand = new Random(); string orbEvent; int[] goldLocation = Map.FindGold(theMap); ...
tprest/DocumentFieldDefinition.cs
thinkprojectgroup/tpsharp
1
7046183
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace thinkproject { /// <summary> /// DocumentFieldDefinition /// </summary> public class DocumentFieldDefinition { /// <summary> /// Url /// </summary> ...
GameServer/GameServer/EnemySpawner.cs
DhrumanBerlm/Bushido
1
7046184
<filename>GameServer/GameServer/EnemySpawner.cs using System; using System.Numerics; using System.Timers; namespace GameServer { public class EnemySpawner { private static Timer timer1; private static Random random; private static int spawnTime = 3500; public static void InitTi...
FinalEngine.Tests/Platform/Desktop/OpenTK/OpenTKMouseDeviceTests.cs
softwareantics/FinalEngine
1
7046185
// <copyright file="OpenTKMouseDeviceTests.cs" company="Software Antics"> // Copyright (c) Software Antics. All rights reserved. // </copyright> namespace FinalEngine.Tests.Platform.Desktop.OpenTK { using System; using System.Diagnostics.CodeAnalysis; using System.Drawing; using FinalEngine.Input....
src/AsyncQueryableAdapter/Utils/ExpressionTranslator.cs
CatoLeanTruetschel/AsyncQueryableAdapterPrototype
1
7046186
// License // -------------------------------------------------------------------------------------------------------------------- // (C) Copyright 2021 <NAME> and contributors // (github.com/CatoLeanTruetschel/AsyncQueryableAdapterPrototype) // // Licensed under the Apache License, Version 2.0 (the "License") /...
sdk/core/Azure.Core/src/GeoJson/GeoPolygon.cs
gjy5885/azure-sdk-for-net
3,268
7046187
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; namespace Azure.Core.GeoJson { /// <summary> /// Represents a polygon consisting of outer ring and optional inner rings. ...
src/Data/SessionService.cs
PascalS86/game-vault
0
7046188
<filename>src/Data/SessionService.cs using System; using System.Collections.Generic; using System.Net.Http; using System.Linq; using System.Threading.Tasks; using Microsoft.JSInterop; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Csandra.game_vault.wasm.App.Data{ public class SessionService{ ...
source/dotnet/Library/AdaptiveCards/StrictIntConverter.cs
chienjchienj/AdaptiveCards
1
7046189
using System; using Newtonsoft.Json; namespace AdaptiveCards { public class StrictIntConverter : JsonConverter { readonly JsonSerializer defaultSerializer = new JsonSerializer(); public override bool CanConvert(Type objectType) { // Only use this converter for Integer types...
eIVOGo/Published/eInvoiceService.asmx.cs
uxb2bralph/IFS-EIVO03
0
7046190
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Net; using System.Net.Mail; using System.Net.Mime; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading; using System.Web; using System.Web.Services; using Syste...
Sources/Beacon/Program.cs
avivasolutionsnl/Beacon
5
7046191
using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using Beacon.Core; using Beacon.Lights; using Beacon.Lights.Shelly; using CommandLine; using CommandLine.Text; namespace Beacon { [Flags] internal enum ExitCodes { Success = 0, Error = 1 ...
DotNet/WPF/Src/SharedResources/Panuon.UI.Silver.Internal/Converters/IsItemSeparatorShallVisibleControlConverter.cs
Panuon/Panuon.UI.Silver
193
7046192
<reponame>Panuon/Panuon.UI.Silver<gh_stars>100-1000 using Panuon.UI.Core; using System; using System.Globalization; using System.Windows; using System.Windows.Controls; namespace Panuon.UI.Silver.Internal.Converters { class IsItemSeparatorShallVisibleControlConverter : MultiValueConverterBase { public...
src/TwitterStreamApi/TweetStreamProducer.cs
bassman365/twitter-stream-aggregator
0
7046193
<reponame>bassman365/twitter-stream-aggregator using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using System.IO; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; using TwitterStreamApi.Clients; using TwitterStreamApi.Models.TweetModels...
Services/Db/Patches/Patch2UpdateWtExpTable.cs
Varunda/carl-wt
4
7046194
using Npgsql; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace watchtower.Services.Db.Patches { [Patch] public class Patch2UpdateWtExpTable : IDbPatch { public int MinVersion => 2; public string Name => "Add source_team_id to wt_exp";...
src/Essensoft.Paylink.Alipay/Response/AlipayDataAiserviceCloudbusTotalodQueryResponse.cs
essensoft/paymen
522
7046196
<gh_stars>100-1000 using System.Text.Json.Serialization; using Essensoft.Paylink.Alipay.Domain; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayDataAiserviceCloudbusTotalodQueryResponse. /// </summary> public class AlipayDataAiserviceCloudbusTotalodQueryResponse : AlipayResponse ...
HSDRaw/Common/Animation/HSD_ShapeAnimJoint.cs
Virtual-World-RE/HSDLib
31
7046197
namespace HSDRaw.Common.Animation { public class HSD_ShapeAnimJoint : HSDTreeAccessor<HSD_ShapeAnimJoint> { public override int TrimmedSize => 0xC; public override HSD_ShapeAnimJoint Child { get => _s.GetReference<HSD_ShapeAnimJoint>(0x00); set => _s.SetReference(0x00, value); } publi...
ResolveTest/INumberService.cs
qtbui159/ResolveTest
0
7046198
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ResolveTest { interface INumberService { string Combine(int a, int b, int c, int d); } class NumberService : INumberService { public string Combine(int a, ...
Movies/Movies.Persistence.Data/Migrations/201805221706526_UpdatedPerson.cs
SimeonGerginov/Movies
0
7046199
<filename>Movies/Movies.Persistence.Data/Migrations/201805221706526_UpdatedPerson.cs namespace Movies.Persistence.Data.Migrations { using System.Data.Entity.Migrations; public partial class UpdatedPerson : DbMigration { public override void Up() { this.AddColumn("dbo.People", "F...
Assets/dotnow/Scripts/Core/Reflection/CLRParameter.cs
SkutteOleg/dotnow-interpreter
23
7046200
<gh_stars>10-100 using System; using System.Reflection; using Mono.Cecil; using ParameterAttributes = System.Reflection.ParameterAttributes; namespace dotnow.Reflection { public sealed class CLRParameter : ParameterInfo { // Private private AppDomain domain = null; private CLRConstruct...
Competitive.Library/DataStructure/BIT/FenwickTreeExtension.cs
naminodarie/AtCoderProject
2
7046201
<reponame>naminodarie/AtCoderProject using AtCoder.Operators; using Kzrnm.Competitive; namespace AtCoder.Extension { public static class FenwickTreeExtension { /// <summary> /// <paramref name="fw"/>.Sum(0, i) の値が <paramref name="v"/> 以上となる最小のインデックス i を取得します。 /// </summary> ///...
Fq/Fq.Application/Game/IInventoryService.cs
ztfuqing/ABPMYSQL
0
7046202
<filename>Fq/Fq.Application/Game/IInventoryService.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Abp.Application.Services; using Abp.Application.Services.Dto; using Fq.Game.Dto; namespace Fq.Game { public interface IInventoryService : ...
FluentObjectValidator.Tests/Functional/TestDataGenerators/UserDTOTestDataGenerator.cs
wolf8196/FluentObjectValidator
4
7046203
using System.Collections.Generic; using FluentObjectValidator.Tests.Functional.DTOs; namespace FluentObjectValidator.Tests.Functional.TestDataGenerators { public class UserDTOTestDataGenerator : BaseTestDataGenerator<UserDTO> { public UserDTOTestDataGenerator() { Data = new List<ob...
Stefmde.Tools.File.MovieInfoReader/Helper/JsonParser.cs
stefmde/Tools
0
7046204
// // MIT License // // Copyright(c) 2017 - 2017 // <NAME>, Stefm, https://Stefm.de, https://github.com/stefmde/Tools // // 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 restric...
src/Indice.Psd2.Cryptography/X509Certificates/DerAsnTypes/OctetStringSequence.cs
dkarkanas/Indice.Psd2
4
7046205
<filename>src/Indice.Psd2.Cryptography/X509Certificates/DerAsnTypes/OctetStringSequence.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using DerConverter.Asn; namespace Indice.Psd2.Cryptography.X509Certificates.DerAsnTypes { internal class OctetStringSequenc...
tests/Agent/UnitTests/Core.UnitTest/NewRelic.Agent.Core.FromLegacy/AgentLoggerTest.cs
williamdenton/newrelic-dotnet-agent
0
7046206
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 using System.Reflection; using System.Linq; using NewRelic.Agent.Core.Config; using NewRelic.Core.Logging; using NUnit.Framework; using log4net.Appender; using log4net.Core; namespace NewRelic.Agent.Core { [TestFixture]...
LumbricusShared/IrcCommand.cs
BenjaminNolan/lumbricus
1
7046207
<filename>LumbricusShared/IrcCommand.cs<gh_stars>1-10 namespace TwoWholeWorms.Lumbricus.Shared { public enum IrcCommand { UNKNOWN, PRIVMSG, JOIN, PART, QUIT, NICK, MODE, KICK, NOTICE, ERROR, } }
DofusProtocol/D2Parser/Utils/Config/ConfigEntry.cs
ImNotARobot742/DofusProtocol
0
7046208
using AmaknaProxy.API.IO; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AmaknaProxy.Engine.Utils.Config { public class ConfigEntry { #region Variables public object Value; public ConfigType Type; ...
Source/MathKernel/LinearAlgebra/BandMatrix.cs
GordenOu/MathKernel
1
7046209
using System; using System.Diagnostics; using Core.Diagnostics; using MathKernel.Resources; using static System.Math; namespace MathKernel.LinearAlgebra { public class BandMatrix<T> where T : struct { public BandMatrixDescriptor Descriptor { get; private set; } public T[] Storage { ge...
tests/ExcelMapper/Mappings/Mappers/ConvertUsingMapperTests.cs
CallumVass/excel-mapper
0
7046210
using System; using Xunit; namespace ExcelMapper.Mappings.Mappers.Tests { public class ConvertUsingMapperTests { [Fact] public void Ctor_Converter() { ConvertUsingMapperDelegate converter = (ReadCellValueResult readResult, ref object value) => PropertyMapperResultType.Succe...
src/RestEaseUnitTests/ImplementationBuilderTests/ImplementationBuilderTests.cs
jinseoung-lee/RestEase
1
7046211
<filename>src/RestEaseUnitTests/ImplementationBuilderTests/ImplementationBuilderTests.cs using RestEase.Implementation; using Xunit; namespace RestEaseUnitTests.ImplementationBuilderTests { public class ImplementationBuilderTests { [Fact] public void ImplementationBuildInstanceMustBeAS...
src/IxMilia.Converters.Test/TestBase.cs
sampletext32/converters
5
7046212
<filename>src/IxMilia.Converters.Test/TestBase.cs using System; using Xunit; namespace IxMilia.Converters.Test { public abstract class TestBase { private const double Epsilon = 1.0e-10; public static bool AreClose(double expected, double actual) { var delta = Math.Abs(expe...
ChessServer/Chess.Entity/EStore.cs
liuhaili/Chess
10
7046213
<filename>ChessServer/Chess.Entity/EStore.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace Chess.Entity { public class EStore { public int ID { get; set; } public string Type { get; set; } public string Icon { get; set; } pub...
sources/Interop/Windows/um/d3d12/D3D12_FEATURE_DATA_QUERY_META_COMMAND.cs
manju-summoner/terrafx.interop.windows
0
7046214
<gh_stars>0 // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; namespace TerraFX.Int...
Samples/Artesian.COMSample/Ex.cs
JaneReilly/Artesian.SDK
0
7046215
using Artesian.SDK.Dto; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Artesian.COMSample { public static class Ex { public static ActualTimeSerieRow ConvertToOutput(this TimeSerieRow.Actual input) { var res = new ActualTimeSerieR...
specflowselenium/Bindings/SpecflowBindings.cs
NishaHaridas/specflowselenium
0
7046216
namespace specflowselenium.Bindings { using FluentAssertions; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using specflowselenium.Extensions; using TechTalk.SpecFlow; [Binding] class SpecflowBindings { private IWebDriver Driver; [When(@"I start the browser")] ...
src/BizTalk.Dsl/Dsl/Binding/CodeDom/CodeNamespaceExtensions.cs
icraftsoftware/BizTalk.Factory
4
7046217
<gh_stars>1-10 #region Copyright & License // Copyright © 2012 - 2018 <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 // // Un...
OSCADSharp/OSCADSharp/Utility/StatementBuilder.cs
Exolun/OSCADSharp
15
7046218
<filename>OSCADSharp/OSCADSharp/Utility/StatementBuilder.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OSCADSharp.Utility { /// <summary> /// Extends the capabilities of StringBuilder with domain-specific behavior /// aimed...
osu.Game/Beatmaps/Drawables/BeatmapSetDownloader.cs
SparticKnight/osu
3
7046219
// Copyright (c) 2007-2018 ppy Pty Ltd <<EMAIL>>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; namespace osu.Game.Beatmaps.Drawables { /// ...
Serenity.Services/RequestHandlers/IntegratedFeatures/Localization/LocalizationHandler.cs
kingajay007/SeeSharper-Master
0
7046220
<filename>Serenity.Services/RequestHandlers/IntegratedFeatures/Localization/LocalizationHandler.cs using Serenity.Services; using System; using System.Collections.Generic; using System.Data; using System.Reflection; namespace Serenity.Data { public interface ILocalizationRowHandler { bool IsLocalized(...
PanoramicDataWin8/utils/Blueprints2/Util/Wrappers/Event/Listener/EventContract.cs
ezg/PanoramicDataWin8
2
7046221
<filename>PanoramicDataWin8/utils/Blueprints2/Util/Wrappers/Event/Listener/EventContract.cs using System.Collections.Generic; using System.Diagnostics.Contracts; namespace Frontenac.Blueprints.Util.Wrappers.Event.Listener { [ContractClassFor(typeof (IEvent))] public abstract class EventContract : IEvent {...
src/CalbucciLib.ExtensionsGalore/StringExtensions.cs
calbucci/CalbucciLib.ExtensionsGalore
173
7046222
using System; using System.Collections.Generic; using System.Drawing; using System.Globalization; using System.Linq; using System.Runtime.InteropServices; using System.Security.Policy; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Web; using...
sources/Graphics/D3D12/Graphics/D3D12GraphicsComputeContext.cs
tannergooding/terrafx
4
7046223
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. using TerraFX.Graphics.Advanced; using TerraFX.Interop.DirectX; using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_FLAGS; using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TY...
Eto.Parse/Ast/IBuilder.cs
Tiplu/Eto.Parse
112
7046224
using System; using System.Collections.Generic; using System.Reflection; using System.Linq.Expressions; using System.Text; namespace Eto.Parse.Ast { public interface IBuilder { string Name { get; } bool Visit(VisitArgs args); void Initialize(); IEnumerable<IBuilder> Builders { get; } } }
TLCGen.Dependencies/TLCGen.Dependencies/Models/Models/Controller/ControllerDataModel.cs
LexTrafico/TLCGen
0
7046225
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; using TLCGen.Models.Enumerations; namespace TLCGen.Models { [Serializable] public cla...
Xamarin.Forms.Core/Shell/PresentationMode.cs
activa/Xamarin.Forms
6,451
7046226
<gh_stars>1000+ using System; using System.Collections.Generic; using System.Text; namespace Xamarin.Forms { [Flags] public enum PresentationMode { NotAnimated = 1, Animated = 1 << 1, Modal = 1 << 2, ModalAnimated = PresentationMode.Animated | PresentationMode.Modal, ModalNotAnimated = PresentationMode.N...
Commerce.Web/MyAccount.aspx.cs
lanekp/LovRubWeb
0
7046227
#region dCPL Version 1.1.1 /* The contents of this file are subject to the dashCommerce Public License Version 1.1.1 (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.dashcommerce.org Software distributed under the License is distribute...
1.3/Source/MorrowRim/MorrowRim/Kwama/KwamaLordToil_DefendAndExpandHive.cs
SirMashedPotato/MorrowRim
0
7046228
using System; using Verse.AI; using RimWorld; using Verse; namespace MorrowRim.Kwama { class KwamaLordToil_DefendAndExpandHive : KwamaLordToil_HiveRelated { // Token: 0x060031E4 RID: 12772 RVA: 0x0011525C File Offset: 0x0011345C public override void UpdateAllDuties() { base.FilterOutUnspawnedHives();...
GitterSharp/GitterSharp.IntegrationTests/ReactiveWebhookTests.cs
warrenbuckley/gitter-api-pcl
12
7046229
<gh_stars>10-100 using GitterSharp.Model.Webhook; using GitterSharp.Services; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Threading.Tasks; namespace GitterSharp.IntegrationTests { [TestClass] public class ReactiveWebhookTests { [TestMethod] public async T...
src/EFCore.Relational/Query/ExpressionTranslators/Internal/StringCompareTranslator.cs
tonysneed/Forks.EntityFrameworkCore
1
7046230
// 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.Generic; using System.Linq.Expressions; using System.Reflection; using Microsoft.EntityFrameworkCore.Query.Expres...
Linguini.Bundle/Resolver/Scope.cs
space-wizards/Linguini
3
7046231
#nullable enable using System; using System.Collections.Generic; using System.IO; using Linguini.Bundle.Errors; using Linguini.Shared.Types; using Linguini.Shared.Types.Bundle; using Linguini.Syntax.Ast; namespace Linguini.Bundle.Resolver { public class Scope : IScope { public readonly FluentBundle Bu...
WePay.NET/Risk/Request/LookupRequest.cs
leosdibella/WePay.NET
2
7046232
<gh_stars>1-10 using WePay.Shared; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; using WePay.Risk.Response; namespace WePay.Risk.Request { public class LookupRequest : WePayRequest<LookupResponse> { [JsonIgnore] private const string Identifier = "WePay.Risk.Request.Lookup...