max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
Source/Infrastructure/EtAlii.Ubigia.Infrastructure.Logical/_Scaffolding/IdentifierScaffolding.cs
vrenken/EtAlii.Ubigia
2
7067360
<reponame>vrenken/EtAlii.Ubigia // Copyright (c) <NAME>. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia.Infrastructure.Logical { using EtAlii.xTechnology.MicroContainer; internal class IdentifierScaffolding : IScaffolding { public ...
TeamBuilder/Data/TeamBuilder.Data.Common/Implementations/Repository.cs
Gesh4o/TeamBuilder
0
7067361
<filename>TeamBuilder/Data/TeamBuilder.Data.Common/Implementations/Repository.cs namespace TeamBuilder.Data.Common.Implementations { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Data.Entity; using System.Linq; using System.Linq.Expres...
Src/iFramework.Plugins/Blueshift.EntityFrameworkCore.MongoDB/Query/MongoDbQueryContext.cs
JTOne123/IFramework
57
7067362
using System; using Blueshift.EntityFrameworkCore.MongoDB.Storage; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Query; using Microsoft.EntityFrameworkCore.Query.Internal; using Microsoft.EntityFrameworkCore.Utilities; namespace Blueshift.EntityFrameworkCore.MongoDB.Query { /// <inheritdoc /> ...
src/Blazor.LibraryExample/Shared/Entities/Photo.cs
kastwey/Blazor.LibraryExample
0
7067363
<filename>src/Blazor.LibraryExample/Shared/Entities/Photo.cs using System; using System.Collections.Generic; using System.Text; namespace Blazor.LibraryExample.Shared.Entities { public class Photo { public string FileName { get; set; } public string Label { get; set; } public DateTime? TakenDate { get; set...
src/IdentityServer4.SSO/Views/Account/LoggedOut.cshtml
dotnetcore-group/IdentityServer4.Admin
13
7067364
@{ Layout = "~/Views/Shared/_BlankLayout.cshtml"; ViewBag.Title = "Log Out"; } @section Styles{ <link href="~/lib/jquery-nice-select/css/nice-select.css" rel="stylesheet" /> <link href="~/css/account.css" rel="stylesheet" /> } <div class="container-fluid"> <div class="row loggedout-container"> <di...
resharper/resharper-unity/src/Yaml/Psi/DeferredCaches/AssetHierarchy/Elements/Prefabs/PrefabsUtil.cs
PotterDai/resharper-unity
0
7067365
using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.References; namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.Elements.Prefabs { public static class PrefabsUtil { public static LocalReference GetImportedReference(this LocalReference localR...
City Rise/Assets/Scenes/Scripts/Canvas/BuildingsWithTransmitterCanvas.cs
eliosar/City-Rise
0
7067366
<reponame>eliosar/City-Rise using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BuildingsWithTransmitterCanvas : MonoBehaviour { private GameObject Buildingsplaced; private void Start() { Buildingsplaced = transform.parent.parent.gameOb...
Application/Areas/Shopping/Views/Products/Create.cshtml
Ivanov-Stiliqn/OnlineShop
0
7067367
@model CreateProductViewModel @{ ViewData["Title"] = "Create Product"; } <section class="banner_area"> <div class="banner_inner d-flex align-items-center"> <div class="container"> <div class="banner_content text-center"> <h2>Create Product</h2> <...
Robinhood/Authentication.cs
Christopher876/RobinhoodSharp
5
7067368
<reponame>Christopher876/RobinhoodSharp using System; using System.Collections.Generic; using System.Net; using System.IO; using System.Text; using System.Net.Http; using System.Threading.Tasks; namespace Robinhood { public class Authentication { public string CheckRefreshToken(Login login) { //If expired, w...
src/XamarinReactorUI/RxContentView.cs
adospace/reactorui-xamarin
53
7067369
using System; using Xamarin.Forms; namespace XamarinReactorUI { public interface IRxContentView : IRxLayout { } public abstract class RxContentView<T> : RxLayout<T>, IRxContentView where T : ContentView, new() { public RxContentView() { } protected RxContentView(Action<T>...
Cogito.MassTransit.Scheduler/ScheduleMessageConsumer.cs
alethic/Cogito.MassTransit
0
7067370
<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Xml.Linq; using Cogito.MassTransit.Scheduling; using MassTransit; using MassTransit.Serialization; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.J...
msfw/MSFirewall.cs
caesarshift/msfw
12
7067371
using System; //default using System.Collections.Generic; //lists using System.ServiceProcess; //service state using NetFwTypeLib; //firewall library using Microsoft.Win32; //registry access using Microsoft.WindowsAPICodePack.Net...
Assets/ExplosionScript.cs
ZackXevious/MegamanMakeshift
1
7067372
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExplosionScript : MonoBehaviour { public string target; public int damage; // Start is called before the first frame update void Start() { } // Update is called once per frame void Upd...
Library/Installers/MvcInstaller.cs
efirpo/lil-free-library-with-react
0
7067373
<reponame>efirpo/lil-free-library-with-react<filename>Library/Installers/MvcInstaller.cs<gh_stars>0 using System.Collections.Generic; using System.Text; using FluentValidation.AspNetCore; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; usin...
Assets/Scripts/FSM.cs
Rennan24/Game-Off-2019
0
7067375
<reponame>Rennan24/Game-Off-2019 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class MonoFSM : MonoBehaviour { protected IState CurState; private float timer; private Dictionary<Type, IState> states; private Coroutine changeStateRoutine...
BBGamelib/lib/cocos2d/action/CCFollow.cs
BigWoodGames/cocos2d-unity
9
7067376
using UnityEngine; using System.Collections; namespace BBGamelib{ /** CCFollow is an action that "follows" a node. Eg: [layer runAction: [CCFollow actionWithTarget:hero]]; Instead of using CCCamera as a "follower", use this action instead. @since v0.99.2 */ public class CCFollow : CCAction { /* node t...
UserServices/UserServices.Mailing/JobFetcher.cs
BOONRewardsInc/rewards
13
7067377
<reponame>BOONRewardsInc/rewards // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. // // <summary> // Fetches and executes the Email Jobs // </summary> // ------------------------------------------...
sources/App.UI.Mvc5/Areas/Management/Views/Logs/Index.cshtml
akasarto/skeleton-netfx-mvc5
36
7067378
<filename>sources/App.UI.Mvc5/Areas/Management/Views/Logs/Index.cshtml<gh_stars>10-100 @using App.UI.Mvc5.Areas.Management @using App.UI.Mvc5.Areas.Management.Models @model LogsIndexViewModel <!-- Meta --> @{ /**/ var dateTimeFormat = User.Culture.DateTimeFormat; var logDatePattern = $"{dateTimeFormat.ShortDate...
MainWindow.xaml.cs
zerox-v/sm4tool
0
7067379
using SM4.Encrypt; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Win...
ControlLib/Components/Theme/SystemTheme.cs
rayfalling/SpaceTree
0
7067380
using System; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace ControlLib.Components.Theme { public class SystemTheme : ThemeHandler { #region Const private const int WmWinIniChange = 0x001A; private const int WmSettingCha...
dnMisp/Objects/RequestObjects/AddShadowAttributeRequest.cs
airbus-cert/dnMisp
0
7067381
<filename>dnMisp/Objects/RequestObjects/AddShadowAttributeRequest.cs<gh_stars>0 using Newtonsoft.Json; namespace dnMisp.Objects { public class ShadowAttributeRequest : JsonMispObject { [JsonProperty("ShadowAttribute")] public Attribute ShadowAttribute { get; set; } } }
Nordril.Functional.Tests/FuncComparerTests.cs
nordril/functional
0
7067382
using System; using System.Collections.Generic; using System.Text; using Xunit; namespace Nordril.Functional.Tests { public sealed class FuncComparerTests { [Fact] public void CompareTest() { var comp = FuncComparer.Make<int>(); Assert.True(comp.Compare(4, 4) =...
src/OrchardCore.Modules/OrchardCore.Autoroute/Services/AutorouteAliasProvider.cs
tanriverdim/OrchardCore
6
7067383
<gh_stars>1-10 using System.Threading.Tasks; using OrchardCore.ContentManagement; using OrchardCore.ContentManagement.Routing; namespace OrchardCore.Autoroute.Services { public class AutorouteAliasProvider : IContentAliasProvider { private readonly IAutorouteEntries _autorouteEntries; public A...
MPL.Common.Web.Mvc/Web/Mvc/EnumExtensions.cs
memiamap/MPL.Common
0
7067384
<gh_stars>0 using System; using System.ComponentModel.DataAnnotations; using System.Reflection; namespace MPL.Common.Web.Mvc { /// <summary> /// A class that provides additional extensions to enumerations in support of MVC. /// </summary> public static class EnumExtensions { #region Method...
runtime/CSharp/GeneralizedTime.cs
ASN1-A2C-Compiler/A2C
6
7067385
using System; using System.Collections.Generic; using System.Text; namespace A2C { public class GeneralizedTime : ASN { private String m_str; static readonly Tag m_Tag = new Tag (TagClass.Universal, 28, TagType.Implicit); // // Various initializers // public ...
LSG.GenericCrud.Extensions/Middlewares/AuthorizationMiddleware.cs
yden063/LSG.GenericCrud
0
7067386
<reponame>yden063/LSG.GenericCrud using System; using System.Linq; using System.Net; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace LSG.GenericCrud.Extensions.Middlewares { /// <summary> /// /// </summary> public class AuthorizationMiddleware ...
SupersonicSound/Exceptions/FmodTruncatedException.cs
minimalism/SupersonicSound
27
7067387
<gh_stars>10-100 using FMOD; namespace SupersonicSound.Exceptions { public class FmodTruncatedException : FmodException { public FmodTruncatedException() : base(RESULT.ERR_TRUNCATED) { } } }
Jcd.Formatting/CustomFormatterBase.cs
jason-c-daniels/Jcd.Formatting
0
7067388
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Jcd.Validations; namespace Jcd.Formatting { /// <inheritdoc cref="IFormatProvider" /> /// <inheritdoc cref="ICustomFormatter" /> /// <summary> /// A base class to simplify custom formatter ...
DDD.Base/DomainModelLayer/Events/IDomainEventPublisher.cs
JakGor/CarRentalDDD
0
7067389
namespace DDD.Base.DomainModelLayer.Events { public interface IDomainEventPublisher { void Publish<T>(T domainEvent) where T : IDomainEvent; void Subscribe<T>(IEventListener<T> listener) where T : IDomainEvent; void Unsubscribe<T>(IEventListener<T> listener) where T : IDomainEvent...
backend-api/Hstar.PM.Core/Models/BusinessException.cs
hstarorg/pm
1
7067390
using System; using System.Collections.Generic; using System.Text; namespace Hstar.PM.Core.Models { public class BusinessException : Exception { public BusinessException(string message, int statusCode = 400, Exception ex = null) : base(message, ex) { this.StatusCode = statusCode; ...
FilterPolishZ/Util/EventGridFacade.cs
KOSAdm684/FilterPolishZ
16
7067391
using FilterPolishUtil.Interfaces; using FilterPolishUtil.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FilterPolishZ.Util { public class EventGridFacade : ICleanable { private static EventGridFacade instance; ...
papiro.Negocio/Usuario.cs
rmarinpa/PapiroWeb
0
7067392
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using papiro.DALC; namespace papiro.Negocio { public class Usuario { PapiroWebEntities db = new PapiroWebEntities(); private string _username; public string UserName ...
sdk/applicationinsights/Microsoft.Azure.Management.ApplicationInsights/src/Generated/ExportConfigurationsOperationsExtensions.cs
gjy5885/azure-sdk-for-net
3,268
7067393
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
API/Controllers/InicializarDadosController.cs
Biguod/ProvaDevSoftwareVisual2B
0
7067394
<reponame>Biguod/ProvaDevSoftwareVisual2B using API.Data; using API.Models; using Microsoft.AspNetCore.Mvc; namespace API.Controllers { [ApiController] [Route("api/inicializar")] public class InicializarDadosController : ControllerBase { private readonly DataContext _context; public Ini...
source/R5T.Emden.Base/Code/Services/Definitions/IEmailSender.cs
SafetyCone/R5T.Emden.Base
0
7067395
using System; using System.Net.Mail; using System.Threading.Tasks; using R5T.T0064; namespace R5T.Emden { /// <summary> /// A service that sends emails. /// </summary> [ServiceDefinitionMarker] public interface IEmailSender : IServiceDefinition { //HACK: Will fill in the "From" addre...
src/Editor/Core/Def/BaseUtility/BaseDefinitionAttribute.cs
AmadeusW/vs-editor-api
77
7067396
<filename>src/Editor/Core/Def/BaseUtility/BaseDefinitionAttribute.cs<gh_stars>10-100 // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // using System; namespace Microsoft.VisualStudio.Utilities { /// <s...
beagrepd/Shutdown.cs
baohaojun/beagrep
71
7067397
<gh_stars>10-100 // // Shutdown.cs // // Copyright (C) 2004 Novell, Inc. // // // 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 rig...
src/Tools.Net.Mongo.Core/MongoDbContext.cs
ndichiaro/dotnet-mongo
1
7067398
<gh_stars>1-10 using MongoDB.Driver; using System; namespace Tools.Net.Mongo.Core { /// <summary> /// A MongoDB database connection /// </summary> public abstract class MongoDbContext { private readonly IMongoClient _client; private readonly string _databaseName; /// <summ...
test/Unit/DependencyManagement/PowerShellModuleSnapshotComparerTests.cs
jamelachahbar/azure-functions-powershell-worker
169
7067399
<gh_stars>100-1000 // // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.Azure.Functions.PowerShellWorker.Test.DependencyManagement { using System.Collections.Generic; using System.IO; ...
Packages/InputSystem/Editor/Drawers/Events/PlayerInputEventDrawer.cs
RichLogan/unity-atoms
461
7067400
#if UNITY_2019_1_OR_NEWER using UnityEditor; using UnityAtoms.Editor; namespace UnityAtoms.InputSystem.Editor { /// <summary> /// Event property drawer of type `PlayerInput`. Inherits from `AtomDrawer&lt;PlayerInputEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`. /// </summary> [CustomPropertyDraw...
Brsar/Sound/Collection/CollectionEntry.cs
Khitiara/BinaryGroosenator
1
7067401
<filename>Brsar/Sound/Collection/CollectionEntry.cs using System.Runtime.InteropServices; using NxCore; namespace Brsar.Sound.Collection { [StructLayout(LayoutKind.Explicit, Size = 0x1C, Pack = 4)] public struct CollectionEntry : IEndianAwareUnmanagedType { [FieldOffset(0x0)] public uint F...
src/PI.OnPay/Models/RequestWithData.cs
PI-Applications/pi.onpay
3
7067402
<reponame>PI-Applications/pi.onpay<gh_stars>1-10 namespace PI.OnPay.Models { public class RequestWithData<T> where T : class { public T data { get; set; } } }
CommonLibrary/Model/SharedObjectUtils.cs
azwjp/AkaneFacialOSC
1
7067403
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Azw.FacialOsc.Common { public class SharedObjectUtils { public const string AppName = "AZW_AkaneFacialOSC";...
src/Kentico.Kontent.ModelGenerator/ArgumentParser.cs
jrkd/kontent-generators-net
8
7067404
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Kentico.Kontent.ModelGenerator { /// <summary> /// Donet argument parsing is currently not working correctly when using backslash at the end of the path argument value. /// This class is fixing the bug. ...
ECQRSFramrework/Samples/UsersManager/UserManager.Commons/CommandHandlers/UserRightsHandler.cs
kendarorg/ECQRSFramrework
0
7067405
<reponame>kendarorg/ECQRSFramrework<gh_stars>0 // =========================================================== // Copyright (c) 2014-2015, <NAME> Ros/kendar.org // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following con...
app/iSukces.DrawingPanel.Paths/_utils/TinyExpr.cs
isukces/iSukces.DrawingPanel
0
7067406
<gh_stars>0 #if DEBUG namespace iSukces.DrawingPanel.Paths { internal class TinyExpr { public TinyExpr(double value) { _code = value.CsCode(); } public TinyExpr(string code) { _code = code; } public static TinyExpr operator +(Tin...
src/LionFire.Persistence.Handles/Persisters/Handles/PersisterReadHandle.cs
jaredthirsk/LionFire.Core
0
7067407
<filename>src/LionFire.Persistence.Handles/Persisters/Handles/PersisterReadHandle.cs #nullable enable using LionFire; using LionFire.Persistence.Handles; using LionFire.Referencing; using LionFire.Resolves; using MorseCode.ITask; using System; using System.Threading.Tasks; namespace LionFire.Persistence.Persisters { ...
CRR/Gui.Menu.cs
sveco/cfeed
6
7067408
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CRR.Gui { public class MenuEx { public ScreenEx Parent; IList<MenuItem> Items = new List<MenuItem>(); Action<List<IUpdatable>> BackgroundLoad = null; L...
Jint.Tests.Ecma/Ecma/15.5.4.11.cs
enklu/jint
21
7067409
using Xunit; namespace Jint.Tests.Ecma { public class Test_15_5_4_11 : EcmaTest { [Fact] [Trait("Category", "192.168.3.11")] public void ThisObjectUsedByTheReplacevalueFunctionOfAStringPrototypeReplaceInvocation() { RunTest(@"TestCases/ch15/15.5/15.5.4/15.5.4.11/15.5.4.11-1.j...
RnD2.0/LISMessageProcessor/LISWebMessageProcessor.Test/Code/Helpers.cs
csharplang/SocketProgramming
0
7067410
<filename>RnD2.0/LISMessageProcessor/LISWebMessageProcessor.Test/Code/Helpers.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace LISMessageProcessor.Test { public static class Helpers { ...
test/ServiceBusCopyValidation/ServiceBusCopyTest.cs
sa1nt/azure-messaging-replication-dotnet
8
7067411
<reponame>sa1nt/azure-messaging-replication-dotnet using System; using System.Collections.Generic; using System.Text; namespace ServiceBusCopyValidation { using System.Collections.Concurrent; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; usi...
Telegram.Bot.CovidPoll/Services/HostedServices/BotPollSenderHostedService.cs
kkiwior/Telegram.Bot.CovidPoll
0
7067412
<gh_stars>0 using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Options; using System; using System.Threading; using System.Threading.Tasks; using Telegram.Bot.CovidPoll.Config; using Telegram.Bot.CovidPoll.Services.Interfaces; using Telegram.Bot.CovidPoll.Helpers.Interfaces; using Telegram.Bot.CovidPoll.Ex...
Assets/RenderDocPlugins/Editor/Utils.cs
RadioBear/RenderDocForUnityPlugins
3
7067413
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; namespace RenderDocPlugins { public class Utils { private static int GetByteSize(VertexAttributeFormat format) { switch (format) { c...
Settings.cs
wbminera1/SDE_GUI
0
7067414
<filename>Settings.cs<gh_stars>0 using System; using Newtonsoft.Json; namespace SDE_GUI { public class Settings { const string FileName = @"\SDE_GUI.txt"; [JsonProperty] public string SDEPath { get; set; } [JsonProperty] public string GDBServerPath { get; set; } ...
SimpleWebApiDBTemplate/SimpleTemplateDB/Common/Repository/Repository.cs
Kertimir/Templates
0
7067415
<gh_stars>0 using Common.UOW; using NHibernate; using NHibernate.Linq; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Common.Repository { public class Repository<T> : IRepository<T> where T : cl...
src/MdDocs.Common/Templates/ITemplate.cs
ap0llo/mddocs
6
7067416
using Grynwald.MarkdownGenerator; namespace Grynwald.MdDocs.Common.Templates { /// <summary> /// Represents a template for converting a model of type <typeparamref name="T"/> to a set of documents /// </summary> public interface ITemplate<T> { /// <summary> /// Gets the output ...
Jint/LogUtils.cs
oujunke/jint
0
7067417
<reponame>oujunke/jint<filename>Jint/LogUtils.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Jint { public class LogUtils { static StreamWriter Writer; static LogUtils() { Writ...
msbuild-artifactory-plugin/Model/Build.cs
JFrogDev/msbuild-artifactory-plugin
9
7067418
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace JFrog.Artifactory.Model { /// <summary> /// Artifactory MsBuild info model /// </summary> public class Build { public readonly sta...
src/Mix.Tests/UpperCaseFixture.cs
rh/mix
1
7067419
<reponame>rh/mix using Mix.Tasks; using NUnit.Framework; namespace Mix.Tests { [TestFixture] public class UpperCaseFixture : TestFixture { [Test] public void UpperCaseElementsValues() { const string pre = @"<root attribute="""">value</root>"; const string pos...
ofreact/ExpressionExtensions.cs
chiyadev/ofreact
5
7067420
<filename>ofreact/ExpressionExtensions.cs using System; using System.Linq.Expressions; using System.Reflection; using FastExpressionCompiler; namespace ofreact { /// <summary> /// Contains extension methods for expression trees. /// </summary> public static class ExpressionExtensions { stat...
src/MainWindow.xaml.cs
miyakoj/LibManToUpdate
1
7067421
<reponame>miyakoj/LibManToUpdate using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows; using Microsoft.Win32; using Newtonsoft.Json; using System.IO; namespace LibmanToUpdate { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public p...
Assets/Scripts/Stage.cs
bismanto317/genetic_algorithm
0
7067422
<reponame>bismanto317/genetic_algorithm<filename>Assets/Scripts/Stage.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class Stage : MonoBehaviour, IActorListener { public Actor actor; public GameObject startingPoint; public FoodList foodList; public StageList s...
C_Sharp/CSharp Advanced/DefiningClasses/PokemonTrainer/PokemonTrainer/StartUp.cs
Mithras11/SoftUni-Software-Engineering
4
7067423
using System; using System.Collections.Generic; using System.Linq; namespace PokemonTrainer { public class StartUp { static void Main(string[] args) { List<Trainer> trainers = new List<Trainer>(); string input = string.Empty; while ((input = Console.ReadLi...
src/Examples/CsvExample.cs
FolkerKinzel/Contacts.IO
0
7067424
using System; using System.Collections.Generic; using System.IO; using FolkerKinzel.Contacts; using FolkerKinzel.Contacts.IO; namespace Examples { public static class CsvExample { public static void ReadingAndWritingCsv() { // Initialize data (see code-example above): C...
src/NRuuviTag.Cli/NRuuviTagConfigurationBuilderExtensions.cs
wazzamatazz/NRuuviTag
4
7067426
using System; using NRuuviTag.Cli.Commands; namespace Microsoft.Extensions.Configuration { /// <summary> /// Extension for <see cref="IConfigurationBuilder"/> /// </summary> public static class NRuuviTagConfigurationBuilderExtensions { /// <summary> /// Adds known MQTT devices to th...
src/MassTransit.AmazonSqsTransport/Contexts/QueueInfo.cs
CodeNotFoundException/MassTransit
0
7067427
<filename>src/MassTransit.AmazonSqsTransport/Contexts/QueueInfo.cs namespace MassTransit.AmazonSqsTransport.Contexts { using System; using System.Collections.Generic; using Amazon.SQS; public class QueueInfo { public QueueInfo(string entityName, string url, IDictionary<string, string> attr...
tests/QuikGraph.Tests/Algorithms/Search/DepthFirstSearchAlgorithmTests.cs
OwenMcDonnell/QuikGraph
0
7067428
using System.Collections.Generic; using JetBrains.Annotations; using NUnit.Framework; using QuikGraph.Algorithms.Search; using static QuikGraph.Tests.GraphTestHelpers; namespace QuikGraph.Tests.Algorithms.Search { /// <summary> /// Tests for <see cref="DepthFirstSearchAlgorithm{TVertex,TEdge}"/>. /// </sum...
Adventure.Mobile/Adventure.Mobile.Repository/Services/HttpRequestExceptionEx.cs
tdurie24/Adventure
1
7067429
<filename>Adventure.Mobile/Adventure.Mobile.Repository/Services/HttpRequestExceptionEx.cs using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Text; namespace Adventure.Mobile.Repository.Services { public class HttpRequestExceptionEx : HttpRequestException { ...
Previewer/Draw/ITextContext.cs
rcsteiner/WindowsSourcePreviewer
9
7067430
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Description:Interface for Text Drawing context. Wrappers around win32 // // Author: <NAME> // //=====================================================[ History ]==========================...
Assets/Tests/EditMode/SpeedStrategyTest.cs
epicrouter01/SpaceInvaders
0
7067431
using System.Collections; using System.Collections.Generic; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; namespace Tests { public class SpeedStrategyTest { private SpeedCalculationStrategy strategy = new SpeedCalculationStrategy(); // A Test behaves as an ordinary me...
com.atomiklabs.science/computers/datastructures/ICollection.cs
Brad-Edwards/Science
0
7067432
<reponame>Brad-Edwards/Science<filename>com.atomiklabs.science/computers/datastructures/ICollection.cs using System; namespace com.atomiklabs.science.computers.datastructures { /// <summary> /// Represents a collection of elements. /// </summary> public interface ICollection { /// <summary...
src/TjMott.Writer/Windows/MarkdownDocumentWindow.xaml.cs
TjMott/TjMott.Writer
0
7067433
<reponame>TjMott/TjMott.Writer<filename>src/TjMott.Writer/Windows/MarkdownDocumentWindow.xaml.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Input; using TjMott.Writer.Properties; using TjMott.Writer.ViewMode...
DirectOutput/FX/TimmedFX/ExtendDurationEffect.cs
Rappelbox/DirectOutput
9
7067434
<reponame>Rappelbox/DirectOutput<filename>DirectOutput/FX/TimmedFX/ExtendDurationEffect.cs using System; using DirectOutput.Table; namespace DirectOutput.FX.TimmedFX { /// <summary> /// The extend duration effect triggers another effect for a duration which is extebnded by the number of milliseconds spe...
ModuleOne/HomeworkEleven/LongestString/Program.cs
ppetkovv/TelerikAcademy
0
7067435
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LongestString { class Program { static void Main(string[] args) { string[] someStrings = { "sdfjksd", "asfjkaffsf", "andasjgfsafs", "adnsadsadhsadsa", "nfja...
sources/Interop/Windows/Windows/um/WebServices/WS_SERVICE_ENDPOINT_PROPERTY_ID.cs
JeremyKuhne/terrafx.interop.windows
0
7067436
<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/WebServices.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Wind...
src/Manta.Projections/MessageEnvelope.cs
GetManta/Manta
6
7067438
using System; using System.Collections.Generic; namespace Manta.Projections { public class MessageEnvelope : IMetadata { private readonly Dictionary<string, object> _customMetadata; private readonly MessageRaw _raw; public MessageEnvelope(object message, Dictionary<string, object> cus...
Plugins/Addons/GameSystems/WorldInteractionSystem/InteractionSystem/Plugins/Dialogue/DialogueScript.cs
10allday/OpenMMO
153
7067439
<reponame>10allday/OpenMMO //BY DX4D using UnityEngine; [System.Serializable] public struct DialogueScript { [SerializeField, TextArea(1, 5)] string[] _lines; public string[] lines { get { return _lines; } set { _lines = value; } } }
Sample.Lottie/MainPage.xaml.cs
JustinXinLiu/Continuity
118
7067440
<filename>Sample.Lottie/MainPage.xaml.cs using System.Collections.Generic; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Continuity.Controls; using Microsoft.UI.Xaml.Controls; using Continuity.Extensions; using System.Linq; namespace Sample.Lottie { public sealed parti...
SSC-AI/Analyzer/Node/LimbHelper.cs
baguio/SSC-AI
0
7067441
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AHS.SSC.Analyzer.Node { using Parser; public static class LimbHelper { public static Panel GetFrontPanel (Panel a, Panel b, Panel c) { if (a.direction_y == PanelDir...
app068_Fulfill_Excel_Template/Client.cs
llgiant/csharp
0
7067442
using System; namespace app068_Fulfill_Excel_Template { class Client { public int ID { get; set; } public string Name { get; set; } public DateTime Birthdate { get; set;} public string PhoneNumber { get; set; } public string Address { get; set; } public string S...
IoT/Azure IoT Suite/Session 3 - Building Practical IoT Solutions/Solutions/Demo 3.1/Simulator.WebJob/Engine/Telemetry/StartupTelemetry.cs
Anchinga/TechnicalCommunityContent
1
7067443
<filename>IoT/Azure IoT Suite/Session 3 - Building Practical IoT Solutions/Solutions/Demo 3.1/Simulator.WebJob/Engine/Telemetry/StartupTelemetry.cs namespace Microsoft.Azure.Devices.Applications.PredictiveMaintenance.Simulator.WebJob.Engine.Telemetry { using System; using System.Threading; using System.Thr...
eventspecies.aspx.cs
SAEONData/SAEON-Species
0
7067444
<reponame>SAEONData/SAEON-Species using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace species { public partial class eventMedia : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
Assets/Project/Scripts/Sound/SoundManager.cs
feathergamedev/2021-Global-Game-Jam
0
7067445
<reponame>feathergamedev/2021-Global-Game-Jam using System.Collections; using System.Collections.Generic; using UnityEngine; public enum SFXType { Correct = 0, Wrong, } public class SoundManager : MonoBehaviour { public static SoundManager instance; [SerializeField] private AudioSource[] allSFX; ...
src/AuthHelper/External/AuthHelper.cs
walissa/AuthHelper
1
7067446
using Newtonsoft.Json; using System; using System.Net; using System.Net.Http; using System.Runtime.CompilerServices; using System.Text; using System.Threading; namespace BizTalkComponents.CustomComponents.AuthHelper { [Serializable] public static class AuthHelper { public static string GetBearerTo...
UserTesting.Persistence/SqlServer/Repositories/Messages/UserMessagesRepository.cs
SargeMahoney/CustomUserAspCoreApp
0
7067448
using AutoMapper; using Dapper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UserTesting.Application.Contracts.Persistence.Messages; using UserTesting.Application.Models.Results; using UserTesting.Domain.Entities.Messages; using UserTesting.P...
Games Jam 8/Assets/Scripts/Player/Utilities/PickedUpItems.cs
Nelson123345/Games-Jam-8
0
7067449
<reponame>Nelson123345/Games-Jam-8<gh_stars>0 using UnityEngine; using System.Collections; using UnityEngine.UI; public class PickedUpItems : MonoBehaviour { public int pickedUpItems; public Text pickedUpItemsText; public void Update() { pickedUpItemsText.text = "Items Collected: " + pickedUpItems.ToString(); ...
Dojo.Generators.Tests/GeneratorTestHelper.cs
Dojo-Engineering/source-generators
0
7067450
<reponame>Dojo-Engineering/source-generators using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Reflection; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Xunit; namespace Dojo.Generators.Tests { public static class GeneratorTestHelper ...
src/Magicallity.Server/Enviroment/Messages.cs
NinjaMuffin08/Magicallity-public-source
3
7067451
<reponame>NinjaMuffin08/Magicallity-public-source using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using CitizenFX.Core; using Magicallity.Server.Helpers; using Magicallity.Server.Session; using Magicallity.Shared; using Magicall...
OpenShift.DotNetStandard/OpenShift API (with Kubernetes)/Models/Iok8skubernetespkgapisautoscalingv1HorizontalPodAutoscalerStatus.cs
gbraad/OpenShift.Vsix
1
7067452
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace OpenShift.DotNet.Service.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; using Mi...
MiniSuper/Factura.Designer.cs
jchacon092/Sistema_Ventas_C-
0
7067453
namespace MiniSuper { partial class Factura { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
src/Ocelot/Infrastructure/Claims/Parser/CannotFindClaimError.cs
ggnaegi/Ocelot
0
7067454
<reponame>ggnaegi/Ocelot using Ocelot.Errors; namespace Ocelot.Infrastructure.Claims.Parser { public class CannotFindClaimError : Error { public CannotFindClaimError(string message) : base(message, OcelotErrorCode.CannotFindClaimError, 403) { } } }
XO-stats/Program.cs
eapyl/algorithms-trining
0
7067455
using System; namespace XO_stats { class Program { static void Main(string[] args) { var stats = new int[3]; var board = new int[3, 3] { {-1, -1, -1 } , {-1, -1, -1 } , {-1, -1, -1 } }; ...
Microsoft.Xrm.Sdk/Client/ResponseProxyAttribute.cs
develmax/Crm.Sdk.Core
0
7067456
using System; namespace Microsoft.Xrm.Sdk.Client { /// <summary>Indicates the name of the message response, represented by the <see cref="T:Microsoft.Crm.Services.Utility.SdkMessageResponse"></see> entity, to which the response corresponds.</summary> [AttributeUsage(AttributeTargets.Class)] public sealed...
BolRetailerAPI/Models/Authorization/Token.cs
Soneritics/BolRetailerAPI
2
7067457
<reponame>Soneritics/BolRetailerAPI using System; namespace BolRetailerApi.Models.Authorization { public class Token { public string access_token { get; set; } public string token_type { get; set; } public string scope { get; set; } private int _expiresIn; public int e...
Igtampe.BasicFonts/BasicFont.cs
lilggamegenius/BasicRender
0
7067458
<reponame>lilggamegenius/BasicRender<filename>Igtampe.BasicFonts/BasicFont.cs using System; using System.Collections.Generic; using Igtampe.DictionaryOnDisk; using Igtampe.BasicGraphics; using Igtampe.BasicRender; using Igtampe.BasicFonts.Properties; namespace Igtampe.BasicFonts { /// <summary>Class that holds 1...
22-26 jun/ListaBiSuperCompacta/BibliotecaListaBi/ListaBi.cs
Torug0/GitC
0
7067459
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ListaBiSuperCompacta.BibliotecaListaBi { class ListaBi { string[,] listaBi; /// <summary> /// Iniciamos nossa lista bi, agora quando iniciamos uma i...
Editor/Data/UAIGraphDataEditor.cs
worntunic/uai-package
8
7067460
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace UAI.AI.Edit { [CustomEditor(typeof(UAIGraphData))] public class UAIGraphDataEditor : Editor { SerializedProperty contextProp; private void OnEnable() { contextPro...
SpacepuppyInput/SPInput/MappedInputDevice.cs
lordofduct/spacepuppy-unity-framework
372
7067461
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace com.spacepuppy.SPInput { /// <summary> /// InputDevice based on a mapping value instead of a hash. This mapping value should usually be an enum, you can also use an int/long/etc if you want. ...
NRefactory/ICSharpCode.NRefactory.Cpp/Ast/TypeMembers/MethodDeclaration.cs
dotnuttx/Alter-Native
119
7067462
<gh_stars>100-1000 // // MethodDeclaration.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2009 Novell, Inc (http://www.novell.com) // // 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...
ShoppingOnline/Areas/Admin/Views/ProductCategory/Index.cshtml
mramra3004/ShoppingOnline
2
7067463
<filename>ShoppingOnline/Areas/Admin/Views/ProductCategory/Index.cshtml @using ShoppingOnline.WebApplication.Authorization @using Microsoft.AspNetCore.Authorization @inject IAuthorizationService AuthorizationService @{ ViewData["Title"] = "Product Category Management"; } @section styles{ <link href="~/lib/jQu...