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
src/Microsoft.Azure.Cosmos.Table/TableQuery.cs
Luiz-Monad/azure-cosmos-table
2
7026679
using Microsoft.Azure.Cosmos.Table.Queryable; using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Microsoft.Azu...
.NetCore/Enrollment/MigrationTool/Migrations/20181025165653_nlog.cs
BlaiseD/LogicBuilder.Samples
1
7026680
<reponame>BlaiseD/LogicBuilder.Samples<filename>.NetCore/Enrollment/MigrationTool/Migrations/20181025165653_nlog.cs using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace MigrationTool.Migrations { public partial class Nlog : Migration { protected ove...
BestDeal/BestDeal/Views/Shared/Components/PregledKorpe/Default.cshtml
ooad-2018-2019/Grupa5-TripleDouble
5
7026681
<reponame>ooad-2018-2019/Grupa5-TripleDouble @model KorpaViewModel @if (Model.korpa.ArtikliKolicina.Count > 0) { <li> <a asp-controller="ShoppingCart"> <span class="glyphicon glyphicon-shopping-cart"></span> <span id="cart-status"> @Model.korpa.ArtikliKolicina.Coun...
src/UnicodeTrieGenerator/Program.cs
0xced/Fonts
189
7026682
<reponame>0xced/Fonts // Copyright (c) <NAME>. // Licensed under the Apache License, Version 2.0. using System; namespace UnicodeTrieGenerator { internal static class Program { private static void Main() { Console.WriteLine("Generating Trie Data"); Generator.GenerateUni...
MultithreadingAndRefStateParametersAndLockStatement/ServerCommunicationStatisticsExtensionMethods.cs
ymassad/StateExamples
3
7026683
<reponame>ymassad/StateExamples<gh_stars>1-10 using System; namespace MultithreadingAndRefStateParametersAndLockStatement { [CreateWithMethods(typeof(ServerCommunicationStatistics))] public static class ServerCommunicationStatisticsExtensionMethods { public static ServerCommunicationStatistics Wit...
SimpleProcessFramework/Reflection/ITypeResolver.cs
fbrosseau/SimpleProcessFramework
0
7026684
using System; namespace Spfx.Reflection { public interface ITypeResolver { T CreateSingleton<T>(bool addResultToCache = true); T CreateSingleton<T>(ITypeResolver scope, bool addResultToCache = true); T GetSingleton<T>(bool ignoreErrors = false); ITypeResolver CreateN...
src/MoneyUnderControl.Domain/Validations/RegisterNewExpenseReportValidation.cs
x8mhz/MoneyUnderControl
0
7026685
<reponame>x8mhz/MoneyUnderControl using MoneyUnderControl.Domain.Commands; using System; using FluentValidation.Results; namespace MoneyUnderControl.Domain.Validations { public class RegisterNewExpenseReportValidation : ExpenseReportValidation<RegisterNewExpenseReportCommand> { public RegisterNewExpen...
ManoleGabrielaLoredana/src/Repository/Data/DbSet.cs
ManoleGabrielaLoredana/tap2021-e02
0
7026686
using Repository.Models; using System; using System.Collections.Generic; namespace Repository.Data { public class DbSet<T> { internal void Remove(DNA dna) { throw new NotImplementedException(); } internal List<DNA> ToList() { throw new NotImplem...
XamarinChat/ViewModels/ChatMessageViewModel.cs
IncredibleWeb/Xamarin-Forms-Chat
101
7026687
using System; namespace XamarinChat { public class ChatMessageViewModel:BaseViewModel { private string _name; public string Name { get{ return _name; } set { _name = value; OnPropertyChanged ("Name"); } } private string _message; public string Message { get{ return _message; } ...
Assets/Plugins/AmazonGameCirclePlugin/Example/AmazonGameCircleExampleWSAccumulatingNumber.cs
EJBQ/Bae-Zeus-X
0
7026688
<gh_stars>0 /** * © 2012-2013 Amazon Digital Services, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy * of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license"...
Unity/Scripts/UnityPromoterConfiguration.cs
creobitcom/Creobit.Advertising
0
7026689
using System; using System.Collections.Generic; namespace Creobit.Advertising { public sealed class UnityPromoterConfiguration { #region UnityPromoterConfiguration public readonly bool DebugMode; public readonly string GameId; public readonly bool TestMode; private IE...
src/KafkaFlow.Serializer.SchemaRegistry.ConfluentAvro/ConsumerConfigurationBuilderExtensions.cs
MCKanpolat/kafka-flow
237
7026690
<reponame>MCKanpolat/kafka-flow namespace KafkaFlow { using Confluent.SchemaRegistry; using KafkaFlow.Configuration; using KafkaFlow.Serializer.SchemaRegistry; /// <summary> /// No needed /// </summary> public static class ConsumerConfigurationBuilderExtensions { /// <summary> ...
GraphicsAndAnimation/CoreAnimation/AnimationSamples/DemoViewTransition.cs
susairajs/ios-samples
863
7026691
<reponame>susairajs/ios-samples<filename>GraphicsAndAnimation/CoreAnimation/AnimationSamples/DemoViewTransition.cs using System; using UIKit; namespace AnimationSamples { public class DemoViewTransition : UIViewController { static readonly UIStoryboard MainStoryboard = UIStoryboard.FromName ("Main", null); UI...
CarMsSolution/KafkaManagerService/Services/KafkaGasService.cs
DiyanLyubchev/CarSolution
0
7026692
<gh_stars>0 using Domain.Contracts; using Domain.Model; using KafkaManagerService.Adaptor; using KafkaService; using System; using System.Collections.Generic; using System.Text; using System.Text.Json; using System.Threading.Tasks; namespace KafkaManagerService.Services { public class KafkaGasService : ICarGasSer...
Demos/Demo1/Demo1/MainForm.cs
Bondranx/CMPE1600
0
7026693
<reponame>Bondranx/CMPE1600 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Demo1 { public partial class MainForm : Form { public MainForm() { ...
Assets/Scripts/PlayerComponent.cs
riibeirogabriel/trashClassifier
1
7026694
<filename>Assets/Scripts/PlayerComponent.cs using System; using System.Collections; using System.Linq; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class PlayerComponent : MonoBehaviour { public float speed = 0; public Rigidbody rb; public GameObject[] player; //["ga...
Integratieproject 1/cityofideas-website/UI-MVC/Controllers/HomeController.cs
jclaessens97/School-Portfolio
0
7026695
using COI.BL; using COI.UI_MVC.Models; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using COI.BL.Domain.Platform; using Microsoft.AspNetCore.Hosting.Internal; namespace COI.UI_MVC.Controllers { public class HomeController : Controller...
FebruaryContestEntry/Program.cs
bbrcomputers/FebruaryContest
0
7026696
<filename>FebruaryContestEntry/Program.cs using System; namespace FebruaryContestEntry { class Program { const char block = '▓'; const int rows = 15; const int cols = 30; const int first = 0; static void Main(string[] args) { // The solution implementation goes here Console.ResetColor(); // Pr...
src/CASC-Interpreter/CodeParser/Binding/BoundExpression.cs
ChAoSUnItY/CAS
1
7026697
<gh_stars>1-10 using CASC.CodeParser.Symbols; namespace CASC.CodeParser.Binding { internal abstract class BoundExpression : BoundNode { public BoundExpression(TypeSymbol actualType) { ActualType = actualType; } public abstract TypeSymbol Type { get; } public...
GovernCMSWeb/Models/User.cs
ptenn/govern-cms
0
7026698
<gh_stars>0 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is ...
MathCore.WPF/Svg2Xaml/SvgPathElement.cs
Platonenkov/MathCore.WPF
5
7026699
<reponame>Platonenkov/MathCore.WPF //////////////////////////////////////////////////////////////////////////////// // // SvgPathElement.cs - This file is part of Svg2Xaml. // // Copyright (C) 2009 <NAME> <<EMAIL>> // // -------------------------------------------------------------------------- // // Svg2Xaml is...
Brightcove.Web/UI/FieldTypes/ReadOnlyCheckBox.cs
BissTalk/Sitecore-Connector
0
7026700
using System; using Sitecore.Shell.Applications.ContentEditor; namespace Brightcove.Web.UI.FieldTypes { public class ReadOnlyCheckBox : Sitecore.Web.UI.HtmlControls.Checkbox, IContentField { public string GetValue() { return this.Value; } public void SetValue(string value) ...
src/Diagnostics.RuntimeHost/Utilities/UriElements.cs
ruiminhu/Azure-AppServices-Diagnostics
41
7026701
namespace Diagnostics.RuntimeHost.Utilities { public class UriElements { public const string HealthPing = "/healthping"; public const string ResourceProvidersRoot = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/"; #region Microsoft.Web Urls publ...
WebApplication/UserPages/Teacher/TareasProfesor.aspx.designer.cs
FerMod/HADS-Project
1
7026702
<reponame>FerMod/HADS-Project<gh_stars>1-10 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
orm/OneF.Ormable.Core/Storage/Commands/Command.cs
one-land/framework
0
7026703
// Copyright 2021 Maple512 and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
test/Microsoft.Extensions.Logging.Test/LoggerTest.cs
niyouzhu/aspnet-Logging
0
7026704
// 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 Xunit; namespace Microsoft.Extensions.Logging { public class LoggerTest { [Fact] ...
BookStoreSample/BookStoreSample/Models/Author.cs
Mihu89/BookStore_AspNetCore
0
7026705
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace BookStoreSample.Models { public class Author { public int Id { get; set; } [Required] [MinLength(3)] ...
src/StarOJ.Server.Host/Pages/Admin/Index.cshtml
StardustDL/LocalJudge
0
7026706
@page @model StarOJ.Server.Host.Pages.Admin.IndexModel @using Microsoft.AspNetCore.Builder @using Microsoft.Extensions.Options @inject IOptions<RequestLocalizationOptions> LocOptions @inject IViewLocalizer Localizer @inject IHtmlLocalizer<SharedResource> SharedLocalizer @{ ViewData["Title"] = SharedLocalizer["A...
Assets/Scripts/UpdateGameManager.cs
pierre-galaup/globalgamejam2016
0
7026707
using UnityEngine; using System.Collections; public class UpdateGameManager : MonoBehaviour { [SerializeField] private AudioSource ScenePlayerVoice; [SerializeField] private Action DefaultAction; public void Awake() { GameManager.Instance.PlayerAudioSource = this.ScenePlayerVoice; Gam...
common/src/Microsoft.Azure.IIoT.Abstractions/src/Messaging/ICallbackInvoker.cs
JMayrbaeurl/Industrial-IoT
392
7026708
<filename>common/src/Microsoft.Azure.IIoT.Abstractions/src/Messaging/ICallbackInvoker.cs // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // -...
src/ATAP.Utilities.Philote.DefaultConfiguration/DefaultConfiguration.cs
BillHertzing/StronglyTypedPhilote
0
7026709
using ATAP.Utilities.StronglyTypedId; using Itenso.TimePeriod; using System; using System.Collections.Generic; namespace ATAP.Utilities.Philote { public static class DefaultConfiguration<T> { public static IDictionary<string, IPhilote<T>> Production = new Dictionary<string, IPhilote<T>>() { { "Generic"...
src/Essentials/src/WebAuthenticator/WebAuthenticatorIntermediateActivity.android.cs
pomianowski/maui
1
7026710
using Android.App; using Android.Content; using Android.Content.PM; using Android.OS; namespace Microsoft.Maui.Essentials { [Activity(ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize, Exported = true)] class WebAuthenticatorIntermediateActivity : Activity { const string launchedExtra = ...
StampsClient/Interfaces/IStampsInterfaceView.cs
snemsev/projects
0
7026711
<filename>StampsClient/Interfaces/IStampsInterfaceView.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FORMS = System.Windows.Forms; namespace StampsClient.Interfaces { public interface IStampsInterfaceView { ...
OSS.Website/Controllers/UsersController.cs
rosenruntev/OnlineShopSystem
0
7026712
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Newtonsoft.Json; using OSS.Website.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading....
src/IdentityServer3.Postgres/Converters/ClaimsPrincipalConverter.cs
forki/IdentityServer3.Postgres
0
7026714
namespace IdentityServer3.Postgres.Converters { using System; using System.Linq; using System.Security.Claims; using IdentityServer3.Postgres.Converters.Models; using Newtonsoft.Json; public class ClaimsPrincipalConverter : JsonConverter { public override void WriteJson(JsonWrite...
ArcFormats/Silky/ImageMFG.cs
Sagilio/GARbro
1
7026715
<filename>ArcFormats/Silky/ImageMFG.cs //! \file ImageMFG.cs //! \date Wed Apr 29 13:47:56 2015 //! \brief Silky's MFG image format implementation. // // Copyright (C) 2015 by morkt // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
rhino-commons/Rhino.Commons.Test/Repository/NHibernateRepositoryTests.cs
brumschlag/rhino-tools
2
7026716
namespace Rhino.Commons.Test.Repository { using System.IO; using MbUnit.Framework; using Rhino.Commons.ForTesting; [TestFixture] public class NHibernateRepositoryTests : RepositoryTests { [TestFixtureSetUp] public override void OneTimeTestInitialize() { ...
owoSaber/Misc/WindowTitle.cs
DeadlyKitten/owoSaber
0
7026717
<gh_stars>0 using System; using System.Runtime.InteropServices; using UnityEngine; namespace owoSaber.Misc { internal static class WindowTitle { [DllImport("user32.dll", EntryPoint = "SetWindowText")] private static extern bool SetWindowText(IntPtr hwnd, string lpString); [DllImport("...
Coding/TopCoder/srm485/Main2.cs
fredmorcos/attic
2
7026718
using System; using System.Collections; public class AfraidOfEven { public int[] restoreProgression (int[] seq) { return restoreProgressionHelper (seq, -1); } private int[] restoreProgressionHelper (int[] s, int x) { ArrayList a = new ArrayList (); int[] f; if (x == -1) { for (int i = 0; i < s.L...
src/ClearHl7/V280/Segments/InvSegment.cs
davebronson/clear-hl7-net
4
7026719
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using ClearHl7.Extensions; using ClearHl7.Helpers; using ClearHl7.Serialization; using ClearHl7.V280.Types; namespace ClearHl7.V280.Segments { /// <summary> /// HL7 Version 2 Segment INV - Inventory Detail. /// ...
src/Assets/Plugins/UIWidgets/Sample Assets/TestTabs.cs
yy1985710/ecsrx
58
7026720
<reponame>yy1985710/ecsrx using UnityEngine; using UIWidgets; using System.Linq; using System; namespace UIWidgetsSamples { public class TestTabs : MonoBehaviour { [SerializeField] Tabs Tabs; void Start() { Tabs.OnTabSelect.AddListener(Test2); } public void Test2(int index) { Debug.Log("Name: "...
Source/Library/PackageCache/com.unity.addressables@1.19.17/Editor/HostingServices/HttpHostingService.cs
WeLikeIke/DubitaC
0
7026722
<filename>Source/Library/PackageCache/com.unity.addressables@1.19.17/Editor/HostingServices/HttpHostingService.cs using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Sockets; using UnityEditor.AddressableAssets.Settings; using UnityEngine; using UnityEngine.AddressableAss...
ASP.NET-MVC/AJAX with ASP.NET MVC/MoviesSite.Web/Controllers/MoviesController.cs
NikitoG/TelerikAcademyHomeworks
0
7026723
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using MoviesSite.Data; using MoviesSite.Models; using MoviesSite.Web.Models; namespace MoviesSite.Web.Controllers { public class MoviesControlle...
src/Ironclad.ExternalIdentityProvider/IdentityProviderAuthenticationHandlerCache.cs
mskobzev/ironclad-1
0
7026724
<reponame>mskobzev/ironclad-1 // Copyright (c) <NAME>. // See the LICENSE file in the project root for more information. namespace Ironclad.ExternalIdentityProvider { using System; using System.Collections.Concurrent; using Microsoft.AspNetCore.Authentication; public class IdentityProviderAu...
FastGithub.PacketIntercept/Dns/DnsInterceptor.cs
lllpj/FastGithub
2
7026725
using DNS.Protocol; using DNS.Protocol.ResourceRecords; using FastGithub.Configuration; using FastGithub.WinDiverts; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Net; using Syste...
SSW.TimePRO.AutoTimeSheeting.Infrastructure/RecentProjects/GetRecentProjectsHandler.cs
jernejk/SSW.TimePRO.AutoTimesheeting
2
7026727
<gh_stars>1-10 using Flurl; using Flurl.Http; using MediatR; using System.Threading; using System.Threading.Tasks; namespace SSW.TimePRO.AutoTimeSheeting.Infrastructure.RecentProjects { public class GetRecentProjectsHandler : IGetRecentProjectsQuery, IRequestHandler<GetRecentProjects, RecentProjectModel[]> { ...
EllipticBit.Controls.WPF/Dialogs/DialogAction.cs
ellipticbit/controls
1
7026728
using System; using System.Threading.Tasks; using System.Windows; namespace EllipticBit.Controls.WPF.Dialogs { public class DialogActionBase : System.Windows.Controls.Button { } public class DialogAction<T> : DialogActionBase { public Func<Task<T>> Action { get; private set; } internal TaskCompleti...
Specifications/Security/for_AuthorizeSecurableResult/when_building_the_failed_authorization_messages.cs
dolittle/DotNET.Fundamentals
2
7026729
<filename>Specifications/Security/for_AuthorizeSecurableResult/when_building_the_failed_authorization_messages.cs // Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq; u...
NewPlatform.Flexberry.ServiceBus.IntegratedTests/Components/ReceivingManager/DefaultReceivingManagerTest.cs
Flexberry/NewPlatform.Flexberry.ServiceBus
3
7026730
<gh_stars>1-10 namespace NewPlatform.Flexberry.ServiceBus.IntegratedTests.Components { using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; using ICSSoft.STORMNET; using ICSSoft.STORMNET.Business; using ...
Barista.Contracts/Events/AuthenticationMeans/IAuthenticationMeansCreated.cs
nesfit/Coffee
0
7026731
using System; namespace Barista.Contracts.Events.AuthenticationMeans { public interface IAuthenticationMeansCreated : IEvent { Guid Id { get; } string Label { get; } string Type { get; } DateTimeOffset ValidSince { get; } DateTimeOffset? ValidUntil { get; } } }
samples/kapai/KaPai.Pay.Core/Provide/ProvideServiceBase.PointsLog.generated.cs
a952135763/osharp
0
7026732
// ----------------------------------------------------------------------- // <auto-generated> // 此代码由代码生成器生成。 // 手动更改此文件可能导致应用程序出现意外的行为。 // 如果重新生成代码,对此文件的任何修改都会丢失。 // 如果需要扩展此类,可以遵守如下规则进行扩展: // 1.横向扩展:如需给当前实体 PointsLog 添加方法,可新建文件“ProvideServiceBase.PointsLog.cs”的分部类“public abstract partial class Provid...
src/Griffin.Framework/Griffin.Core/Net/Protocols/Http/HttpRequest.cs
campersau/Griffin.Framework
0
7026733
<reponame>campersau/Griffin.Framework using System.Security.Cryptography.X509Certificates; using Griffin.Net.Protocols.Http.Messages; namespace Griffin.Net.Protocols.Http { /// <summary> /// A HTTP request where the included body have been parsed /// </summary> public class HttpRequest : HttpR...
src/EA.Weee.Web/Areas/Admin/ViewModels/Aatf/ManageFacilityModelBase.cs
uk-gov-mirror/defra.prsd-weee
2
7026734
namespace EA.Weee.Web.Areas.Admin.ViewModels.Aatf { using EA.Weee.Core.AatfReturn; using System; public abstract class ManageFacilityModelBase { public virtual Guid? Selected { get; set; } public virtual FacilityType FacilityType { get; set; } } }
AdventOfCode/Problems/P05/P05Extensions.cs
dfar-io/aoc-2015
0
7026735
using System.Text.RegularExpressions; namespace AdventOfCode.Problems.P05; public static class P05Extensions { public static bool IsNice(this string value) { var vowels = "aeiou"; var hasThreeVowels = value.Where(c => vowels.Contains(c)).Count() >= 3; var hasSubsequentString = Regex.I...
src/GaTech.Chai.Share/Extensions/FhirTelecomExtensions.cs
mmg-fhir-ig/cbs-ig-dotnet
1
7026736
<reponame>mmg-fhir-ig/cbs-ig-dotnet using System; using System.Collections.Generic; using Hl7.Fhir.Model; namespace GaTech.Chai.FhirIg.Extensions { /// <summary> /// ContactPoint extension for Telecom DataAbsentReason /// </summary> public static class FhirTelecomExtensions { public static...
PuzzLearn Game Configuration/PuzzLearn Game Configuration/AddressRegion.cs
dylanbrandstetter/PuzzLearn
1
7026737
<reponame>dylanbrandstetter/PuzzLearn using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PuzzLearn_Game_Configuration { public class AddressRegion : MemStructObject { private IList<MemStructObject> structures; private i...
Assets/Scripts/Gameplay/Movement/CapsuleController.cs
francescozoccheddu/VGD
0
7026738
<filename>Assets/Scripts/Gameplay/Movement/CapsuleController.cs using UnityEngine; using Wheeled.Core.Data; using Wheeled.Scene; public static class CapsuleControllerHelper { public static Vector3 ToVector3XZ(this Vector2 _vector, float _y = 0.0f) { return new Vector3(_vector.x, _y, _vector.y); } ...
SharpView/Functions/AddDomainObjectAcl.cs
t43Wiu6/SharpView
0
7026739
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.DirectoryServices; using System.Xml; using System.Runtime.InteropServices; using System.DirectoryServices.ActiveDirectory; using SharpView.Arguments; using SharpView.Returns; using SharpView.Enums; usin...
Assets/Script/Joueur.cs
SeverinM/Space
5
7026740
<filename>Assets/Script/Joueur.cs<gh_stars>1-10 using UnityEngine; using System.Collections; using System.Collections.Generic; public class Joueur : MonoBehaviour { float posz; float ecart; //Cadence de tir du joueur float temps; public GameObject gob; //GameObject du tir du joueur private GameObject instance; ...
src/Naticon/Tags/Grabber.cs
risadams/Naticon
0
7026741
<reponame>risadams/Naticon namespace Naticon { public class Grabber : Tag<Grabber.Type> { public enum Type { This, Next, Last } public Grabber(Type value) : base(value) { } } }
SupportingClasses/StringEvent.cs
mff-uk/exolutio
1
7026742
<reponame>mff-uk/exolutio<filename>SupportingClasses/StringEvent.cs using System; namespace Exolutio.SupportingClasses { /// <summary> /// Event with a string argument /// </summary> public delegate void StringEventHandler(object sender, StringEventArgs args); /// <summary> /// Argum...
dotnet-git-tool/ExitCode.cs
yaegaki/dotnet-git-tool
3
7026743
namespace DotnetGitTool { public enum ExitCode { Success = 0, InvalidArguments = -1, GitCloneFailed = -2, GitPullFailed = -3, DotnetPackFailed = -4, DotnetInstallFailed = -5, } }
src/xunit.runner.reporters/TeamCityReporter.cs
ErikSchierboom/xunit
0
7026745
using Xunit.Abstractions; namespace Xunit.Runner.Reporters { public class TeamCityReporter : IRunnerReporter { public string Description => "forces TeamCity mode (normally auto-detected)"; public bool IsEnvironmentallyEnabled => EnvironmentHelper.GetEnvironmentVariable...
csharp/ColumnEncryptionProperties.cs
pavlovic-ivan/ParquetSharp
76
7026746
<filename>csharp/ColumnEncryptionProperties.cs using System; using System.Runtime.InteropServices; namespace ParquetSharp { /// <summary> /// Properties related to encrypting one specific column. /// </summary> public sealed class ColumnEncryptionProperties : IDisposable { internal ColumnE...
src/ST/Docs/Transformation/UrlTransformer.cs
SeanKilleen/Storyteller
0
7026748
using ST.Docs.Html; using ST.Docs.Topics; namespace ST.Docs.Transformation { public class UrlTransformer : ITransformHandler { private readonly IUrlResolver _resolver; public UrlTransformer(IUrlResolver resolver) { _resolver = resolver; } pub...
ClientToServer/ClientEventSource.cs
WarpedDemon/C-EndPro
0
7026749
<filename>ClientToServer/ClientEventSource.cs using ClientToServer.Data; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Diagnostics.Tracing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.S...
Assets/Scripts/StateMachine/CameraShake.cs
ColtonH1/Wizard-Cards
0
7026750
<reponame>ColtonH1/Wizard-Cards using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CameraShake : MonoBehaviour { public Canvas canvas; private Camera mainCamera; public float shakeAmount; float shakeTime; Vector3 initialPos; publi...
src/Hevadea.Framework/Platform/PlatformBase.cs
krisz2000/hevadea
0
7026751
using Microsoft.Xna.Framework.Input; using System; namespace Hevadea.Framework.Platform { public abstract class PlatformBase { public PlatformFamily Family { get; set; } = PlatformFamily.Desktop; public event EventHandler<PlatformTextInputEventArg> TextInput; public void RaiseTextInp...
Assets/Scripts/NPCScripts/BigBallSpecific/BigBallAnimator.cs
Panos-Sarkar/Self-Defence
3
7026752
<filename>Assets/Scripts/NPCScripts/BigBallSpecific/BigBallAnimator.cs using UnityEngine; namespace SelfDef.NPCScripts.BigBallSpecific { public class BigBallAnimator : MonoBehaviour { #pragma warning disable CS0649 [SerializeField] private Animator animator; private static re...
src/BuildVision.UI/Helpers/StyleConverting.cs
vchirikov/BuildVision
0
7026753
<gh_stars>0 using BuildVision.UI.Models; using System; using System.ComponentModel; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media.Imaging; namespace BuildVision.UI.Helpers { public static class StyleConverting { [DllImport("gdi32.dll")] [return: MarshalA...
CodeProject/NNMF/Result.xaml.cs
jdermody/icbld
0
7026754
using NNMFSearchResultClustering.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; 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.Windows.Medi...
OutlookMatters.Core/Mattermost/v3/Interface/MattermostException.cs
ConnectionMaster/outlook-matters
1
7026755
<gh_stars>1-10 using System; namespace OutlookMatters.Core.Mattermost.v3.Interface { public class MattermostException : Exception { public string Details { get; private set; } public MattermostException(Error error) : base(error.Message) { Details = error.DetailedError; ...
src/Addon/Centinela/Office365/WebOffice365AddonCentinela/AppSettings.cs
lefevbre-organization/eShopOnContainers
0
7026756
namespace Lefebvre.eLefebvreOnContainers.Clients.WebOffice365AddonCentinela { public class AppSettings { public string IdentityUrl { get; set; } public string LexonApiGatewayUrlHC { get; set; } public string AccountApiGatewayUrlHC { get; set; } public bool UseCustomizationData ...
src/System.Device.Gpio/System/Device/Gpio/Drivers/HummingBoardDriver.Linux.cs
Kash0321/iot
1
7026757
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using System.Threading.Tasks; namespace System.Device.Gpio.Drivers { public partial cl...
Data/ObjectData.cs
paradigmnomad/JsonAssets
1
7026758
<gh_stars>1-10 using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using StardewValley; using System.Collections.Generic; using SObject = StardewValley.Object; namespace JsonAssets.Data { public class ObjectData : DataNeedsIdWithTexture ...
src/Domain/Booking/Models/Money.cs
K-Iliev/SimpleBooking
1
7026759
using Domain.Common; namespace Domain.Booking { public class Money : ValueObject { public decimal Amount { get; } public string Currency { get; } public Money(decimal amount, string currency) { this.Amount = amount; this.Currency = currency; } ...
src/Atelie.BusinessModel/Cadastro/Recursos/Departamento.cs
mardsystems/atelie
0
7026760
<filename>src/Atelie.BusinessModel/Cadastro/Recursos/Departamento.cs<gh_stars>0 namespace Atelie.Cadastro.Recursos { public interface IDepartamento { int Id { get; } string Nome { get; } } }
Assets/Samples/SampleFillAmountController.cs
Kilimanjaro-a2/FilledSprite
15
7026761
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace KiliWare.FilledSprite.Sample { public enum ButtonType { Bottom, Right, Top, Left } public class SampleFillAmountController : MonoBehaviour ...
Student.Model/Enums/EnumAccountType.cs
fjh-c/Student-Management
0
7026762
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Text; namespace Student.Model.Enums { /// <summary> /// 账户类型 /// </summary> public enum EnumAccountType { /// <summary> /// 系统操作员 /// </sum...
SocietyManagement/SocietyManagement/obj/Release/Package/PackageTmp/Views/EmailTemplate/Index.cshtml
mukeshbpatel/SocietyManagement
0
7026763
@model IEnumerable<SocietyManagement.Models.EmailTemplate> @{ ViewBag.Title = "Email Template"; } <h3><span class="glyphicon glyphicon-envelope"></span> Email Template</h3> @if (User.IsInRole("Admin")) { <div class="pull-right"> <a href="@Url.Action("Create")"><span class="glyphicon glyphicon-plus">...
API_Lib/Managers/APIEventManager.cs
MohamedMostafa0/Unity_Utils
0
7026764
using API_Lib.Events; using API_Lib.Helpers.Delegates; namespace API_Lib.Managers { public static class APIEventManager { private static event APIEvent _apiEventHandler; public static event APIEvent APIEventHandler { add => _apiEventHandler += value; remove => _...
SistemaGestionRENI/Migrations/201808230240201_CamposExtraConvenio.cs
bleudchanel/ProyectoRENI
0
7026765
namespace SistemaGestionRENI.Migrations { using System; using System.Data.Entity.Migrations; public partial class CamposExtraConvenio : DbMigration { public override void Up() { AddColumn("dbo.ActividadConvenio", "ConvenioId", c => c.Int(nullable: false)); Ad...
Official Demos/SC20100S Dev/Windows/SystemWindow.cs
RoSchmi/TinyCLR-Samples
0
7026766
<reponame>RoSchmi/TinyCLR-Samples using System; using System.Drawing; using Demos.Properties; using GHIElectronics.TinyCLR.UI; using GHIElectronics.TinyCLR.UI.Controls; using GHIElectronics.TinyCLR.UI.Input; using GHIElectronics.TinyCLR.UI.Media; namespace Demos { public class SystemWindow : ApplicationWindow { ...
Samples/FlapOrDie/Tags/Obstacle.cs
ilexp/duality
1,338
7026767
<reponame>ilexp/duality using System; using System.Collections.Generic; using System.Linq; using Duality; using Duality.Input; using Duality.Components.Physics; namespace FlapOrDie.Tags { public class Obstacle : Component { // it's just used as a tag } }
SS.Integration.Adapter.MarketRules/DeltaRule.cs
sportingsolutions/SS.Integration.Adapter
3
7026768
<reponame>sportingsolutions/SS.Integration.Adapter<filename>SS.Integration.Adapter.MarketRules/DeltaRule.cs<gh_stars>1-10 //Copyright 2014 Spin Services Limited //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 ...
Commands/Admin/GetWebTemplates.cs
JarbasHorst/PnP-PowerShell
2
7026769
#if !ONPREMISES using SharePointPnP.PowerShell.CmdletHelpAttributes; using Microsoft.SharePoint.Client; using SharePointPnP.PowerShell.Commands.Base; using System.Management.Automation; namespace SharePointPnP.PowerShell.Commands { [Cmdlet(VerbsCommon.Get, "PnPWebTemplates")] [CmdletHelp(@"Returns the availab...
Test/Locust.Test/Test/test_baseInfo.cs
mansoor-omrani/Locust.NET
1
7026770
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Locust.BaseInfo; namespace Locust.Test.Test { public class test_baseInfo:BaseTest { public override void Test() { BasicData x; IBaseInfoProvider bip...
src/GeoNRage.Server/Program.cs
k94ll13nn3/GeoNRage
0
7026771
using GeoNRage.Server; using GeoNRage.Server.Hubs; using GeoNRage.Server.Tasks; using Microsoft.AspNetCore.ResponseCompression; using NLog; using NLog.Web; Logger logger = LogManager.Setup().LoadConfigurationFromAppSettings().GetCurrentClassLogger(); WebApplicationBuilder builder = WebApplication.CreateBuilder(args);...
src/HotChocolate/Core/test/Types.Tests/Types/Scalars/DateTypeTests.cs
eximarus/hotchocolate
0
7026772
using System; using System.Globalization; using System.Threading; using HotChocolate.Language; using Xunit; namespace HotChocolate.Types { public class DateTypeTests { [Fact] public void Serialize_Date() { // arrange var dateType = new DateType(); va...
Assets/Scripts/Collectable.cs
0111001101110011/Ulsa-Platform2d-2020-Actual
0
7026773
<filename>Assets/Scripts/Collectable.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Collectable : MonoBehaviour { [SerializeField] int points; public int Points { get => points; } }
src/ExpensiClaimsBased/Avalentini.Expensi.Web/Pages/Identity/Index.cshtml.cs
antoniovalentini/greenfield
0
7026774
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using Avalentini.Expensi.Web.Data; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Avalentini.Expensi.Web.Pages.Identity { public class IndexModel : PageModel { ...
2D--Animation/Library/PackageCache/com.unity.test-framework@1.1.29/UnityEditor.TestRunner/GUI/TestRunnerResult.cs
wbc277072080/2D-Animation
5
7026775
using System; using System.Collections.Generic; using System.Linq; using UnityEditor.TestTools.TestRunner.Api; namespace UnityEditor.TestTools.TestRunner.GUI { [Serializable] internal class TestRunnerResult : UITestRunnerFilter.IClearableResult { public string id; public string u...
Orm/Xtensive.Orm.Tests/Upgrade/PrimaryKeyModelVersion1.cs
commit-n-run/dataobjects-net
41
7026776
<gh_stars>10-100 // Copyright (C) 2010-2020 Xtensive LLC. // This code is distributed under MIT license terms. // See the License.txt file in the project root for more information. // Created by: <NAME> // Created: 2010.02.27 using System; using System.Diagnostics; namespace Xtensive.Orm.Tests.Upgrade.PrimaryKeyMo...
Packages/com.harumak.addler/Tests/Core/PrePostBuildProcess.cs
Haruma-K/Addler
56
7026777
using System; using System.Linq; using UnityEngine; using UnityEngine.TestTools; #if UNITY_EDITOR using System.IO; using UnityEditor; using UnityEditor.AddressableAssets; using UnityEditor.AddressableAssets.Build.DataBuilders; using UnityEditor.AddressableAssets.Settings; using UnityEditor.AddressableAssets.Settings.G...
NUtils/MethodBuilders/ToString/ObjectAppender.cs
Vraiment/NUtils
0
7026778
/* * Copyright (c) 2020 Vraiment * * This source code file is subject to the terms of the MIT license. * If a copy of the MIT license was not distributed with this file, * You can obtain one at https://opensource.org/licenses/MIT. */ using System; using System.Linq.Expressions; namespace NUtils.MethodBuilders.To...
TreasureHunter/Assets/Scripts/Enemies/Enemy.cs
rubenmv/IngenieriaMultimediaTFG
0
7026779
using UnityEngine; using System.Collections; // Estados de la IA public enum AIState { Idle, Patrolling, Chasing, Attacking, Dead } public class Enemy : MonoBehaviour { public float speed; private float chaseSpeedMultiplier = 1.5f; public AIState state; public GameObject deathEffectPrefab; // E...
Dfc.Coursedata.Enrichment.Data/Entities/CourseModel/Courses/Course.cs
SkillsFundingAgency/dfc-coursedata-enrichment
0
7026780
using System; using System.Collections.Generic; using Dfc.Coursedata.Enrichment.Data.Entities.CourseModel.Qualifications; using Dfc.Coursedata.Enrichment.Data.Interfaces.Courses; namespace Dfc.Coursedata.Enrichment.Data.Entities.CourseModel.Courses { public class Course : ValueObject<Course>, ICourse { ...
osu.Game/Overlays/Volume/MuteButton.cs
Vidalee/osu
0
7026781
<filename>osu.Game/Overlays/Volume/MuteButton.cs // Copyright (c) 2007-2018 ppy Pty Ltd <<EMAIL>>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Extensions.Color4Ex...
src/PokerLeagueManager.Common.Commands/Infrastructure/CommandFactory.cs
DylanWorkshop001/pokerleaguemanager
0
7026782
using System; using System.ServiceModel; using System.ServiceModel.Channels; using PokerLeagueManager.Common.Utilities; namespace PokerLeagueManager.Common.Commands.Infrastructure { public class CommandFactory : ICommandFactory { private OperationContext _currentContext; private IGuidService _...
Core/ReliableUdp/UdpPeer.cs
KDSBest/Unity-Azure-Network-Engine
9
7026783
<filename>Core/ReliableUdp/UdpPeer.cs using System; using System.Collections.Generic; using ReliableUdp.NetworkStatistic; using ReliableUdp.PacketHandler; using ReliableUdp.Channel; using ReliableUdp.Enums; using ReliableUdp.Packet; using ReliableUdp.Utility; namespace ReliableUdp { public class Ud...