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
SCMSystem/ContractPage.Designer.cs
MrGo123/StudentCompanyManageSystem
0
7045821
namespace SCMSystem { partial class ContractPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
InTheHand.WindowsMobile.Configuration/SecurityPolicy.cs
inthehand/compactframework
16
7045822
<reponame>inthehand/compactframework // In The Hand - .NET Components for Mobility // // InTheHand.WindowsMobile.Configuration.SecurityPolicy // // Copyright (c) 2003-2010 In The Hand Ltd, All rights reserved. using System; using System.Xml; using System.Runtime.InteropServices; namespace InTheHand.WindowsMobile.Con...
Gouda/ConsoleStdioHandler.cs
thoward/gouda
0
7045823
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Runtime.InteropServices; namespace Gouda.Api { /// <summary> /// A simple stdio handler for interation with the console. /// </summary> public class ConsoleStdioHandler : GhostscriptStdioHandler...
src/Qwiq.Core/Credentials/CredentialsNotifications.cs
rjmurillo/Qwiq
0
7045824
using System; using System.Diagnostics; using System.Globalization; using System.Threading.Tasks; namespace Qwiq.Credentials { /// <summary> /// Specifies events which the <see cref="IWorkItemStoreFactory" /> invokes to enable developer control over the /// authentication process. /// </summary...
Deploy/ResourceTypeEnum.cs
kip-dk/angular-xrm-webresource
33
7045825
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Deploy { public enum ResourceTypeEnum { Html = 1, Css = 2, Jscript = 3, Xml = 4, Png = 5, Jpg = 6, Gif = 7, Xap = 8, ...
Demo/Controllers/AccountController.cs
pac09/OAuthDemo
0
7045826
<reponame>pac09/OAuthDemo using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Mvc; // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namesp...
Plugins/CustomTools/Extensions/Core/TransformExtension.cs
echoprotocol/echo-unity-lib
1
7045828
<reponame>echoprotocol/echo-unity-lib<filename>Plugins/CustomTools/Extensions/Core/TransformExtension.cs using CustomTools.Extensions.Core.Array; namespace CustomTools.Extensions.Core.Transform { public static class TransformExtension { public static void SetPositionX( this UnityEngine.Transform t, float x ) { ...
StoreManagement.Interface/IProductService.cs
TheHappiness/LightpointTask
0
7045829
<gh_stars>0 using StoreManagement.Core.Dto; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StoreManagement.Interface { public interface IProductService { Task<List<ProductDto>> GetAllByIds(IEnumerable<int> ids); Tas...
src/03 Server/Mileage.Server.Infrastructure/Api/Controllers/UsersController.cs
haefele/Mileage
0
7045830
using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using Mileage.Server.Contracts.Commands; using Mileage.Server.Contracts.Commands.Users; using Mileage.Server.Infrastructure.Api.Filters; using Mileage.Server.Infrastructure.Commands.Users; using Mileage.Server.Infrastructure....
trustlink/Network/P2P/Payloads/IVerifiable.cs
michalbacia/trustlink
0
7045831
<gh_stars>0 using System.IO; using Trustlink.IO; using Trustlink.Persistence; namespace Trustlink.Network.P2P.Payloads { public interface IVerifiable : ISerializable { Witness[] Witnesses { get; set; } void DeserializeUnsigned(BinaryReader reader); UInt160[] GetScriptHashesForVerifyin...
TestForLavaProj/Assets/Scripts/Character/AIController.cs
unf0rgettable/TestLava
0
7045832
using System; using System.Collections.Generic; using UnityEngine; namespace Character { public class AIController : MonoBehaviour { [SerializeField] private List<PointPath> pointPaths; private CharacterController _characterController; private PointPath CurrentPointPath => pointPaths[C...
DaxExportXML/Model/RetailFiscalDocumentCancel_BR.cs
fabianohkd/daxExportXml
0
7045833
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DaxExportXML.Model { public class RetailFiscalDocumentCancel_BR { public string ACCESSKEY { get; set; } public string CANCELACCESSKEY { get; set; } public Dat...
FineUI_v6/FineUI.Examples/form/label.aspx.designer.cs
JesterWang/FineUI
0
7045834
<gh_stars>0 //------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace FineUI.Examples.form { ...
Data/DataContainers/TLMBuildingDataContainer.cs
CountTheSky/TransportLinesManager
1
7045835
using Klyte.Commons.Interfaces; using System.Xml.Serialization; namespace Klyte.TransportLinesManager.Extensions { [XmlRoot("BuildingDataContainer")] public class TLMBuildingDataContainer : ExtensionInterfaceIndexableImpl<TLMBuildingsConfiguration, TLMBuildingDataContainer> { public override strin...
Path_Tracing/Assets/Scripts/BSpline.cs
sitonja/Computer-graphics-projects
0
7045836
 using System; using System.Collections.Generic; using UnityEngine; public class BSpline { private Matrix4x4 matrix; private Matrix3x4 tangentMatrix; private Vector3[] points; public Vector3[] Points { get { return points; } set { ...
src/Dsp.Web/Areas/Sobers/Views/Schedule/Report.cshtml
deltasig/sphinx
0
7045837
<gh_stars>0 @model Dsp.Web.Areas.Sobers.Models.SoberReportModel @{ Layout = "~/Views/Shared/_LayoutInternal.cshtml"; ViewBag.Title = "Sober Report"; ViewBag.Subtitle = Model.Semester; } <div class="container-fluid"> <div class="row row-space"> <div class="col-md-6"> <a href="@Url.A...
Freud/EventListeners/Listeners.Channel.cs
Nexowned/Freud2.0
0
7045838
#region USING_DIRECTIVES using DSharpPlus; using DSharpPlus.Entities; using DSharpPlus.EventArgs; using Freud.Common; using Freud.Common.Attributes; using Freud.Discord.Extensions; using Freud.EventListeners.Extensions; using Freud.Extensions; using Humanizer; using System.Linq; using System.Threading.Tasks; #endreg...
Framework/com.spacepuppy.triggers/Runtime/src/Events/i_StopAudioSource.cs
lordofduct/spacepuppy-unity-framework-4.0
21
7045839
<filename>Framework/com.spacepuppy.triggers/Runtime/src/Events/i_StopAudioSource.cs #pragma warning disable 0649 // variable declared but not used. using UnityEngine; using com.spacepuppy.Tween; namespace com.spacepuppy.Events { public class i_StopAudioSource : AutoTriggerable { #region Fields ...
Assets/Scripts/PlayerController.cs
allanolivei/LudumDare32
0
7045840
<filename>Assets/Scripts/PlayerController.cs using UnityEngine; using System.Collections; public struct Highscore { public int humans; public int cars; public float selfDamage; public float humanDamageTotal; public float carDamageTotal; public float impact; public float score { get{ return impact + selfDam...
src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Azure.TableStorage.Tests/Mapper/TableEntityMapperRegistryTests.cs
Leeemons/infrastructure
0
7045841
using Riganti.Utils.Infrastructure.Azure.TableStorage.Tests.Entities; using Xunit; namespace Riganti.Utils.Infrastructure.Azure.TableStorage.Tests.Mapper { public class TableEntityMapperRegistryTests { [Fact] public void CanMapEntityTypeToTypeNameTable() { var registry = ne...
Libraries/TelegramBot.Application/Services/UpdateService.cs
fabiobraganet/TelegramBot
0
7045842
<gh_stars>0  namespace TelegramBot.Application.Services { using ESB.Domain.Entities.Bots; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Rebus.Activation; using Rebus.Bus; using Rebus.Config; using Rebus.Transport; using System; using System.IO; ...
Src/ElasticScale.Client/ElasticScale.Common/Logging/TraceSource/TraceSourceFactory.cs
amodpandey/elastic-db-tools
0
7045843
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // Purpose: Concrete implementation of ILogFactory that creates trace sources using System; using System.Collections.Concurrent; using System.Diagnostics; namespac...
src/CatQLClient/Helpers/WhiteSpaceRemover.cs
michaelbui99/CatQL-GraphQL-Client
0
7045844
using System; using System.Linq; namespace CatQL.GraphQL.Helpers { public static class WhiteSpaceRemover { public static string RemoveWhiteSpace(string s) { return new string(s.ToCharArray().Where((c)=> !Char.IsWhiteSpace(c)).ToArray()); } } }
src/Data transfer/Masny.DotNet.DataTransfer.UserService/Services/FakeUserService.cs
MikhailMasny/dotnet-tutorials
0
7045845
<filename>src/Data transfer/Masny.DotNet.DataTransfer.UserService/Services/FakeUserService.cs using Bogus; using Masny.DotNet.DataTransfer.UserService.Interfaces; using Masny.DotNet.DataTransfer.UserService.Models; using System; using System.Collections.Generic; using static Bogus.DataSets.Name; namespace Masny.DotNe...
src/SpanWriterBigEndian.cs
ItalyToast/SpanToolkit
0
7045846
using System; using System.Buffers.Binary; using System.Collections.Generic; using System.Text; namespace SpanToolkit { public ref struct SpanWriterBigEndian { Span<byte> buffer; public Span<byte> Current => buffer; public int Length => buffer.Length; public SpanWriterBigEnd...
Demo/Demo/Service/TokenIntentService.cs
NAXAM/stripe-android-binding
8
7045847
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Com.Stripe.Android.Model; using Java.Lang; using Com.Stripe.Android; using Com.Stripe.Android.Except...
aspnet-core/src/TomsAbp.Application/Sessions/Dto/TenantLoginInfoDto.cs
YLBTom/TomsAbp
0
7045848
<reponame>YLBTom/TomsAbp using Abp.Application.Services.Dto; using Abp.AutoMapper; using TomsAbp.MultiTenancy; namespace TomsAbp.Sessions.Dto { [AutoMapFrom(typeof(Tenant))] public class TenantLoginInfoDto : EntityDto { public string TenancyName { get; set; } public string Name { get; set...
Bermuda.QL/Language/GetTypes.cs
melnx/Bermuda
8
7045849
namespace Bermuda.QL { //Search for {NewGetType} to add a new one //public enum GetTypes //{ // //Special Types // SuggestedCommunication = -1, // //Instance Types // Instance = 0, //00000000000000000000000000 // Contact ...
Example.Application.Testing/FizzBuzzEngine.cs
tommcdo/RockLib.Messaging
15
7045850
using RockLib.Messaging; using System; using System.Threading.Tasks; namespace Example { public class FizzBuzzEngine { public FizzBuzzEngine(ISender sender) => Sender = sender ?? throw new ArgumentNullException(nameof(sender)); public ISender Sender { get; } public async ...
MiniSocial/Server/MiniSocial.Identity/Controllers/HomeController.cs
ltdat95/LiYoBe
1
7045851
<filename>MiniSocial/Server/MiniSocial.Identity/Controllers/HomeController.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using MiniSocial.Server.Shared; namespace MiniSocial.Identity.Controllers { public class HomeController : C...
DtblViewerClient/Forms/MainForm.Designer.cs
Jadd/DtblReader
3
7045852
namespace DtblViewerClient.Forms { partial class MainForm { public class DataGridViewAltScroll : System.Windows.Forms.DataGridView { public bool IsScrolling; public DataGridViewAltScroll() : base() { IsScrolling = true; } ...
LincolnCardGame/Hand.cs
jotslo/uol-lincoln-card-game
0
7045853
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace LincolnCardGame { interface IHand { List<Card> Get(); } class Hand : IHand { private List<Card> _newHand = new List<Card>(); public List<Card> Get() { ...
EasyIoC/Discoverable.cs
hartmannr76/EasyIoC
0
7045854
<filename>EasyIoC/Discoverable.cs using System; namespace EasyIoC { public class Discoverable { public Type Type {get;set;} public string Environment {get;set;} } }
PrimarSql.Data/Planners/Describe/DescribeLimitsPlanner.cs
ScriptBox99/chequer-PrimarSql.Data
2
7045855
using System.Data.Common; using Amazon.DynamoDBv2.Model; using PrimarSql.Data.Providers; namespace PrimarSql.Data.Planners.Describe { internal sealed class DescribeLimitsPlanner : QueryPlanner<EmptyQueryInfo> { public override DbDataReader Execute() { var provider = new ListDataPro...
RootSDK/RootClient.cs
rohan-buchner/root-sdk
3
7045856
using RootSDK.Insurance; namespace RootSDK { public class RootClient : IRootClient { public IRootInsuranceClient Insurance { get; } public RootClient(IRootInsuranceClient insurance) { Insurance = insurance; } } }
src/Machete.HL7Schema/Generated/V26/Messages/RDR_RDR.cs
amccool/Machete
47
7045857
<reponame>amccool/Machete<gh_stars>10-100 // This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schema.V26 { using HL7; /// <summary> /// RDR_...
Program.cs
Lyx52/Game2D
0
7045858
<gh_stars>0 using Game.Utils; using Game.Graphics; using Game.Core; using OpenTK.Mathematics; namespace Game { class GameHandler { private static Logger MainLogger; private static Profiler MainProfiler; private static Renderer MainRenderer; public static int MAX_BUFFER_MEMORY ...
TheBear.Core/Logger.cs
GabTeix/TheBear
17
7045859
<gh_stars>10-100  using System; namespace TheBear.Core { public static class Logger { private static void Print(string text, string tag, ConsoleColor tagColor) { Console.ForegroundColor = ConsoleColor.White; Console.Write("["); Console.ForegroundColor = tagC...
FortRun/Controllers/MainController.cs
chenrihong/dotnet-hepweb
0
7045860
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using FortRun.Model; using FortRun.BLL; namespace FortRun.Web.Controllers { public class MainController : BaseController { // // GET: /Main/ [UserAuthorize] public ActionR...
src/SpeakerMeet.Api/Controllers/CommunitiesController.cs
sclurb/SpeakerMeet.Api
0
7045861
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using SpeakerMeet.Core.DTOs; using SpeakerMeet.Core.Entities; using SpeakerMeet.Core.Interfaces.Logging; using SpeakerMeet.Core.Interfaces.Services; namespace SpeakerMeet.Api.Controllers { [Route("api/[co...
src/NoesisLabs.Elve.Kodi/XBMCRPC/XBMCRPC/VideoLibrary/GetSeasonDetailsResponse.cs
RyanMelenaNoesis/ElveKodiDriver
0
7045862
<reponame>RyanMelenaNoesis/ElveKodiDriver using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; using System.Runtime.Serialization; namespace XBMCRPC.VideoLibrary { public class GetSeasonDetailsResponse { public XBMCRPC.Video.Details.Season seasondetails { get; set;...
sample/NerdDinner_2.0/NerdDinner.Commands/DinnerHost.cs
swoosh32us/SimpleCQRS
192
7045863
<filename>sample/NerdDinner_2.0/NerdDinner.Commands/DinnerHost.cs using System; namespace NerdDinner.Commands { public class DinnerHost { public Guid HostedById { get; set; } public string HostedBy { get; set; } public override bool Equals(object obj) { ...
TankLib/STU/Types/STU_795EC65E.cs
Mike111177/OWLib
1
7045864
<gh_stars>1-10 // Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x795EC65E)] public class STU_795EC65E : STUStatescriptState { [STUFieldAttribute(0x2569B1C3, ReaderType = typeof(EmbeddedInstanceFieldReader))] public STUC...
EasyNow.xUnit.Autofac/TestFramework/AutofacTestMethodRunner.cs
easynow-me/EasyNow.xUnit.Autofac
0
7045865
<filename>EasyNow.xUnit.Autofac/TestFramework/AutofacTestMethodRunner.cs using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Autofac; using Xunit.Abstractions; using Xunit.Sdk; namespace EasyNow.xUnit.Autofac.TestFramework { public class AutofacTestMethodRunner : XunitTest...
FastConHost/DirectoryNodeInfo.cs
libichong/FastCon
0
7045866
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FastConHost { public class DirectoryNodeInfo { public DirectoryNodeInfo(long id, long parentId, string dirName) { DirectoryNodeId = id; ...
BulkActionsForPaintDotNet/ReflectionWrapper/PDNUtilities.cs
stephensmitchell-forks/bulk-actions-for-paint-dot-net
1
7045867
<filename>BulkActionsForPaintDotNet/ReflectionWrapper/PDNUtilities.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PDNBulkUpdater.ReflectionWrapper { class PDNUtilities { public static DialogRe...
src/PscbApi/Helpers/EnumExtensions.cs
joinrpg/joinrpg-ne
22
7045868
<reponame>joinrpg/joinrpg-ne<filename>src/PscbApi/Helpers/EnumExtensions.cs using System; using System.Collections.Generic; using System.Linq; // ReSharper disable once CheckNamespace namespace PscbApi { /// <summary> /// Extensions for enums /// </summary> public static class EnumExtensions { ...
Core.Clang/FieldVisitor.cs
libimobiledevice-win32/Core.Clang
3
7045869
<gh_stars>1-10 using System; using System.Runtime.InteropServices; using Core.Diagnostics; namespace Core.Clang { /// <summary> /// A class that visits the fields of a particular type. /// </summary> public abstract unsafe class FieldVisitor { private delegate CXVisitorResult CXFieldVisito...
sdk/dotnet/Arms/GetAlertContactGroups.cs
pulumi/pulumi-alicloud
42
7045870
<reponame>pulumi/pulumi-alicloud<gh_stars>10-100 // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Th...
src/CodeMash.Repository/Services/Collections/CodeMashRepository.UpdateMany.cs
codemash-io/CodeMash.Net
0
7045871
<gh_stars>0 using System; using System.Linq.Expressions; using System.Threading.Tasks; using CodeMash.Models; using Isidos.CodeMash.ServiceContracts.Api; using MongoDB.Driver; using UpdateResult = Isidos.CodeMash.ServiceContracts.Api.UpdateResult; namespace CodeMash.Repository { public partial class Cod...
scripts/Editor/ModManager.cs
NotoIto/KaiKaku
0
7045872
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine.Animations; using System.Linq; using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace NotoIto.KaiKaku { public class ModManager : EditorWindow { private static ...
SourceCode/EF.CodeFirst/K.Common/Parameters.cs
kuroblog/EntityFramework
0
7045873
 namespace K.Common { public class Parameters { /// <summary> /// 本地localdb连接字符串,与配置文件一致 /// </summary> public const string LocalDbConnString = nameof(LocalDbConnString); /// <summary> /// 本地localdb连接字符串,用于模拟生产环境,与配置文件一致 /// </summary> public con...
Adan.Client.Common/Controls/TextFormatting/CustomTextParagraphProperties.cs
syrompetka/mudclient
5
7045874
<reponame>syrompetka/mudclient // -------------------------------------------------------------------------------------------------------------------- // <copyright file="CustomTextParagraphProperties.cs" company="<NAME>"> // Copyright (c) <NAME> // </copyright> // <summary> // Defines the CustomTextParagraph...
Assets/Neat/Projects/AimTrainer/Scripts/LineGraph.cs
Hedge42/unity-full
0
7045875
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using Neat.Tools; public class LineGraph : MonoBehaviour { public TextMeshProUGUI title; public Image dotSprite; public Image lineSprite; public float dotSize = 20f; publ...
Picture Organizer/Picture Organizer/Helper Classes/FastColorMatrix.cs
Carpe-Tempestas/photoding
1
7045876
using System; using System.Collections.Generic; using System.Text; using System.Drawing.Imaging; namespace Trebuchet.Helper_Classes { public class FastColorMatrix : ICloneable { float[,] colorMatrix = new float[5,5]; public FastColorMatrix() { SetToIdentity(this); } public FastColorMatrix(ColorMatrix ...
Miki/Languages/sv-SE.Designer.cs
SnipeFrost/Miki
0
7045877
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
Game/Assets/Game/Scripts/UI Scripts/TutorialDisplayer.cs
Yulna/TFG_ARPG-Game
0
7045878
<reponame>Yulna/TFG_ARPG-Game using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class TutorialDisplayer : MonoBehaviour { public TextMeshProUGUI[] tutorial_parts; public Image[] tutorial_panels; private int index; // Start is cal...
MetroSet UI/Child/MetroSetItemCollection.cs
stu98832/MetroSet-UI
1
7045879
<reponame>stu98832/MetroSet-UI /** * MetroSet UI - MetroSet UI Framewrok * * The MIT License (MIT) * Copyright (c) 2017 Narwin, https://github.com/N-a-r-w-i-n * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to d...
IfcValidator.Core/Bsdd/Model/DomainContractV2.cs
youshengCode/Ifc.Validator
10
7045880
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace IO.Swagger.Model { /// <summary> /// /// </summary> [DataContract] public class DomainContractV2 { /// <summary> /// Gets or Sets Namespa...
Core/Resgrid.Model/Repositories/Queries/Contracts/IDeleteQuery.cs
dotnetshop/Resgrid-Core
74
7045881
<filename>Core/Resgrid.Model/Repositories/Queries/Contracts/IDeleteQuery.cs<gh_stars>10-100 namespace Resgrid.Model.Repositories.Queries.Contracts { public interface IDeleteQuery : IQuery { string GetQuery(); string GetQuery<TEntity>(TEntity entity) where TEntity : class, IEntity; } }
Services/ExploitPunishmentService.cs
Caeden117/VCMuteExploitDetectionBot
0
7045882
using DSharpPlus; using DSharpPlus.Entities; using System; using System.Threading.Tasks; using VCMuteExploitDetectionBot.Configuration; namespace VCMuteExploitDetectionBot.Services { public class ExploitPunishmentService { private readonly DiscordClient client; private readonly DiscordGuild gu...
addins/RowTest/NUnitExtension.RowTest.AddIn.UnitTests/ArgumentListParameterSetFilterTest.cs
LaudateCorpus1/nunitv2
0
7045883
<filename>addins/RowTest/NUnitExtension.RowTest.AddIn.UnitTests/ArgumentListParameterSetFilterTest.cs // ********************************************************************* // Copyright 2007, <NAME> // This is free software licensed under the MIT license. // **********************************************************...
DPIConverter/Data/Station.cs
Nanich87/DPI-Converter
0
7045884
<filename>DPIConverter/Data/Station.cs<gh_stars>0 namespace DpiConverter.Data { using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using Helpers; internal class Station { private static int uniqueIndex = 0; private string station...
C#/PointTracer/Arguments.cs
Temoto-kun/school-stuff
6
7045885
<filename>C#/PointTracer/Arguments.cs /** * By Temoto-kun */ using System; using System.Collections.Generic; namespace PointTracer { /// <summary> /// Class for wrapping the command-line parameters. /// </summary> class Arguments { #region Constants /// <summary> /// Strin...
beta-private/api/NHSD.GPITF.BuyingCatalog/Microsoft.SharePoint.Client.NetCore/MoveOperations.cs
TrevorDArcyEvans/NHSBuyingCatalogue
12
7045886
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Microsoft.SharePoint.Client.NetCore { [Flags] public enum MoveOperations { None = 0, Overwrite = 1, AllowBrokenThickets = 8, BypassApprovePermission = 64 } }
src/Nest/XPack/Graph/Explore/Request/GraphVertexInclude.cs
mouseflow/elasticsearch-net
3
7045887
<gh_stars>1-10 using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace Nest { public class GraphVertexInclude { [DataMember(Name ="boost")] public double? Boost { get; set; } [DataMember(Name ="term")] public string Term { get; set; } } public class GraphVertex...
Assets/Protocol/pt_new_function_open_aready_d804.cs
cheng219/tianyu
2
7045888
<filename>Assets/Protocol/pt_new_function_open_aready_d804.cs using System.Collections; using System.Collections.Generic; public class pt_new_function_open_aready_d804 : st.net.NetBase.Pt { public pt_new_function_open_aready_d804() { Id = 0xD804; } public override st.net.NetBase.Pt createNew() { return new pt...
src/HandleRef.cs
CIVITAS-John/Espresso
50
7045889
<reponame>CIVITAS-John/Espresso // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.InteropServices { using System; //[System.Runtime.InteropServices.ComVisible(true)] //[System.Runtime.InteropServices.StructLayout(LayoutKind.Sequential)] ...
Arrays/EqualSums/11.StartUp.cs
nikistoianov/TechMod-homeworks
0
7045890
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EqualSums { class Program { static void Main() { int[] arr = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); for (int i = 0; i < arr...
Assets/Scripts_New/Battle/UI/Player/HUD/NavButtons/UiNavButton.cs
BradZzz/Jade
0
7045891
using System.Collections; using System.Collections.Generic; using Battle.Model.Player; using UnityEngine; using UnityEngine.UI; namespace Battle.UI.Player { public class UiNavButton : MonoBehaviour, IUiNavButton { void Awake() { image = GetComponent<Image>(); } void Start() { seat...
src/Rabbit.Extensions.Boot/Microsoft.Extensions.Hosting.Abstractions/IHostLifetime.cs
RabbitTeam/rabbit.extensions
12
7045892
<gh_stars>10-100 // 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.Threading; using System.Threading.Tasks; namespace Microsoft.Extensions.Hosting { public interface IHo...
src/GitNoob.Gui.Program/Action/Remedy/MessageChangingBranchFailed.cs
MircoBabin/GitNoob
0
7045893
<filename>src/GitNoob.Gui.Program/Action/Remedy/MessageChangingBranchFailed.cs using System.Collections.Generic; namespace GitNoob.Gui.Program.Action.Remedy { public class MessageChangingBranchFailed : Remedy { public MessageChangingBranchFailed(Step.Step Step, MessageWithLinks Message, string branchN...
MetaArt/MetaArt.Sketches.Skia/Curve.cs
VitalyTVA/MetaArt
0
7045894
<reponame>VitalyTVA/MetaArt using MetaArt; using SkiaSharp; using System.Diagnostics; class Curve { SKPoint[] coords = { new SKPoint(40, 40), new SKPoint(80, 60), new SKPoint(100, 100), new SKPoint(60, 120), new SKPoint(50, 150) }; void setup() { size(20...
Rich.HaoDanKu/Response/Tool/GetPdditemsLinkResponse.cs
Jesn/Rich.HaoDanKu
0
7045895
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Rich.HaoDanKu.Response { /// <summary> /// 拼多多商品转链返回参数 /// </summary> public class GetPdditemsLinkResponse: HaoDanKuResponse { [JsonPropertyName("data")] public List<GetPdditemsLinkData > Data { get; ...
Assets/myassets/scripts/moveScript.cs
Pankajtokas/Interior-DesignAR-2.0
0
7045896
<filename>Assets/myassets/scripts/moveScript.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class moveScript : MonoBehaviour{ private bool dragging; private float dist; // Use this for initialization void Start () { dragging=false; } ...
resources/TimeInterval.cs
AigioL/XgPush.SDK.Server
0
7045897
using System; using System.Collections.Generic; namespace XingeApp { public class TimeInterval { private int m_startHour; private int m_startMin; private int m_endHour; private int m_endMin; public TimeInterval(int startHour, int startMin, int endHour, int endMin) ...
src/IoTHubDeviceSynchronizer/ToAzure/RetrieveExternalDevicesInput.cs
fbeltrao/IoTHubDeviceSynchronizer
2
7045898
<filename>src/IoTHubDeviceSynchronizer/ToAzure/RetrieveExternalDevicesInput.cs namespace IoTHubDeviceSynchronizer.ToAzure { /// <summary> /// Input for the retrieve external devices activity /// </summary> public class RetrieveExternalDevicesInput { public RetrieveExternalDevicesInput() ...
src/apis/Publishing/Vocalia.Publishing/DomainModels/UnassignedEpisode.cs
AdamMYoung/Vocalia-API
0
7045899
<gh_stars>0 using System; namespace Vocalia.Publishing.DomainModels { public class UnassignedEpisode { public int ID { get; set; } public Guid UnassignedPodcastUID { get; set; } public Guid UID { get; set; } public DateTime Date { get; set; } public string ImageUrl { ge...
Source/AuthenticationServer/Configuration/ScopeConfiguration.cs
affecto/dotnet-AuthenticationServer
1
7045900
using System; using System.Collections.Generic; using System.Configuration; using Affecto.Configuration.Extensions; using IdentityServer3.Core.Models; using System.Linq; namespace Affecto.AuthenticationServer.Configuration { internal class ScopeConfiguration : ConfigurationElementBase, IScope { ...
dxa.net/ecommerce-framework-dotnet/SDL.ECommerce.DXA/Controllers/BaseEComWidgetController.cs
ronnqvistandreas/ecommerce-framework
8
7045901
<reponame>ronnqvistandreas/ecommerce-framework<filename>dxa.net/ecommerce-framework-dotnet/SDL.ECommerce.DXA/Controllers/BaseEComWidgetController.cs<gh_stars>1-10 using Sdl.Web.Common.Models; using Sdl.Web.Mvc.Controllers; using Sdl.Web.Common.Logging; using System; using System.Collections.Generic; using System.Linq;...
src/Marten.Testing/Bugs/Bug_654_document_session_delete_Tests.cs
Serguzest/marten
0
7045902
<filename>src/Marten.Testing/Bugs/Bug_654_document_session_delete_Tests.cs<gh_stars>0 using System; using Marten.Services; using Marten.Testing.Documents; using Xunit; namespace Marten.Testing.Bugs { public class Bug_654_document_session_delete_Tests: DocumentSessionFixture<IdentityMap> { [Fact] ...
src/Unitverse.Core/Frameworks/FrameworkSetFactory.cs
mattwhitfield/unittestgenerator
26
7045903
<reponame>mattwhitfield/unittestgenerator<filename>src/Unitverse.Core/Frameworks/FrameworkSetFactory.cs namespace Unitverse.Core.Frameworks { using System; using Unitverse.Core.Frameworks.Assertion; using Unitverse.Core.Frameworks.Mocking; using Unitverse.Core.Frameworks.Test; using Unitverse.Core....
UltimateDotNetTools.TestConsole/Program.cs
larrytron92/UltimateDotNetTools
0
7045904
using System.Linq.Expressions; using System.Reflection.Emit; using System; using UltimateDotNetTools.TestConsole.Tests; namespace UltimateDotNetTools.TestConsole { class Program { static void Main(string[] args) { while (true) { Console.Clea...
Killerrin.Toolkit.UWP/Helpers/XamlControlHelper.cs
killerrin/KillerrinToolkit
0
7045905
<reponame>killerrin/KillerrinToolkit using Killerrin.Toolkit.UWP.Controls; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Killerrin.Toolkit.UWP.Helpers { ...
MainWindow.xaml.cs
CobaltAlchemist/BarracksScanner
0
7045906
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threadi...
tests/DotnetActuatorMiddleware.Tests.Unit/ConfigurationRegistryTests.cs
bdc-labs/DotnetActuatorMiddleware
0
7045907
<reponame>bdc-labs/DotnetActuatorMiddleware using System; using System.Collections.Generic; using System.Linq; using DotnetActuatorMiddleware.Util; using Microsoft.Extensions.Configuration; using NUnit.Framework; namespace DotnetActuatorMiddleware.Tests.Unit; [TestFixture] public class ConfigurationRegist...
Assets/Asset Packs/Devion Games/Graphs/Formula/Scripts/Runtime/FormulaGraph.cs
jlarnett/WinstonLakeV2
0
7045908
<reponame>jlarnett/WinstonLakeV2<filename>Assets/Asset Packs/Devion Games/Graphs/Formula/Scripts/Runtime/FormulaGraph.cs<gh_stars>0  namespace DevionGames.Graphs { [System.Serializable] public class FormulaGraph : FlowGraph { public FormulaGraph() { GraphUtility.AddNode(this, typeof(Res...
Zw.MqttMadeBetter/Channel/ControlPackets/Suback.cs
zawodskoj/MqttMadeBetter
1
7045909
using System.Collections.Generic; namespace Zw.MqttMadeBetter.Channel.ControlPackets { public enum SubackResultCode { QOS_0 = 0, QOS_1 = 1, QOS_2 = 2, FAILURE = 0x80 } public sealed class MqttSubackControlPacket : MqttControlPacketWithId { public overrid...
AxUtils/EnumInfos.cs
agilitix/agilelib
1
7045910
namespace AxUtils { public class EnumInfos<T> where T : struct { public T Value; public int Number; public string Name; public string Description; } }
Revelator.io24.StreamDeck/Program.cs
oddbear/Revelator.io24.Api
8
7045911
// register actions and connect to the Stream Deck using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Revelator.io24.Api.Configuration; using SharpDeck.Extensions.DependencyInjection; #if DEBUG //I am using Entrian Attach to auto attach... but we do want to wait for the Debugge...
src/MvvX.Plugins.AppCenter/IAppCenterClient.cs
mathieumack/MvvX.Plugins.AppCenter
1
7045912
<filename>src/MvvX.Plugins.AppCenter/IAppCenterClient.cs using System; using System.Collections.Generic; using System.Threading.Tasks; namespace MvvX.Plugins.AppCenter { public interface IAppCenterClient { /// <summary> /// Start configuration of the AppCenter SDK on your mobile /// </...
WeatherPlotter/App_Start/BundleConfig.cs
Bigbudddo/weather-plotter-mvc
0
7045913
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Optimization; namespace WeatherPlotter { public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { // setup some variables const string STYLES_ROOT ...
Source/Core/Duality/Drawing/Enums/ColorDataLayout.cs
ilexp/duality
1,338
7045914
<gh_stars>1000+ using System; using System.Collections.Generic; using System.Linq; namespace Duality.Drawing { /// <summary> /// Describes the layout and purpose of color data values. /// </summary> public enum ColorDataLayout { Rgba } }
ServerTrack/Data/Queuer/MemoryRecordQueue.cs
Fyzxs/ServerTrack
0
7045915
/* Licensed under the MIT License. See LICENSE file in the project root for full license information. */ using log4net; using ServerTrack.Data.Record; using ServerTrack.Log; using ServerTrack.Models.Interfaces; using System.Collections.Concurrent; using System.Threading.Tasks; using System.Web.Configuration; nam...
classwork/MovieLibrary/Itse1430.MovieLib/MovieDatabaseExtensions.cs
seanfaulkner/itse1430
0
7045916
using System; namespace Itse1430.MovieLib { public static class MovieDatabaseExtensions { public static void Seed (this IMovieDatabase source) { source.Add (new Movie () { Title = "Jaws", ReleaseYear = 1979, Rating = "PG", }); source.Add(new Movie () {Title = "Jaws 2",...
src/samples/processes/Program.cs
vezel-dev/cathode
2
7045917
<reponame>vezel-dev/cathode await OutLineAsync("Launching 'bash'..."); using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(10)); var bash = new ChildProcessBuilder() .WithFileName("bash") .WithRedirections(false) .WithCancellationToken(cts.Token) .WithThrowOnError(fals...
2.0/sources/QuickGraph.Unit/Operations/DomainTupleEnumeratorBase.cs
danm-de/quickgraph
0
7045918
using System; using System.Collections; using System.Collections.Generic; namespace QuickGraph.Operations { internal abstract class DomainTupleEnumeratorBase : IEnumerator<ITuple>, IEnumerator { private IList<IDomain> domains; public DomainTupleEnumeratorBase(IList<IDomain> domains) ...
InformedProteomics.Backend.MassSpecData/ProteoWizardLoader.cs
zrolfs/Informed-Proteomics
0
7045919
<filename>InformedProteomics.Backend.MassSpecData/ProteoWizardLoader.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Security; using PRISM; namespace InformedProteomics.Backend.MassSpecData { /// <summary> /// The static m...
ViewModels/RootViewModel.cs
Polimat/Gamma
2
7045920
<gh_stars>1-10 // This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com using System; using DevExpress.Mvvm; using Gamma.Entities; namespace Gamma.ViewModels { /// <summary> /// This class conta...
spo/coursework/coursework/Sorter.cs
Azmalent/itmo4
0
7045921
using System; namespace coursework { internal static class Sorter { public static void ShellSort(int[] input, ThreadRunner runner) { int iterationCount = 0; int n = input.Length; var m1 = new int[n]; Array.Copy(input, m1, n); for (...