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
Simptom/Services/ParticipationService.Designer.cs
billynieto/Simptom
0
7061263
using System; using System.Collections.Generic; using System.Data; using System.Linq; using Repository; using Simptom.Framework.Models; using Simptom.Framework.Repositories; using Simptom.Framework.Services; namespace Simptom.Services { public partial class ParticipationService : ServiceBase<IParticipation, IPartic...
Assets/_Scripts/Definitions/Boundary.cs
arijoon/FreeFall-Unity3D-Game
0
7061264
using System; using UnityEngine; namespace _Scripts.Definitions { [Serializable] public class Boundary { public float MinX; public float MaxX; public float MinY; public float MaxY; public bool IsNotInBounds(Vector3 position) { return IsNotInHor...
Sources/MinerWars.GameLib/AppCode/Game/Editor/MyEditorActionEntityDelete.cs
emperorstarfinder/Miner-Wars-2081
118
7061265
using MinerWars.AppCode.Game.Entities; using System.Collections.Generic; namespace MinerWars.AppCode.Game.Editor { /// <summary> /// Delete entity editor action /// </summary> class MyEditorActionEntityDelete : MyEditorActionWithObjectBuildersBase { public MyEditorActionEntityDelete(MyEnt...
CMaker.Core/TempFile.cs
corytodd/cmaker
0
7061266
<reponame>corytodd/cmaker<gh_stars>0 namespace CMaker.Core { using System; using System.IO; /// <summary> /// Self-deleting temporary file /// https://stackoverflow.com/a/400391/1755158 /// </summary> internal sealed class TempFile : IDisposable { private string _path; ...
unity/Assets/WellFired/WellFired.Direct/Platform/Uncompiled/Runtime/Sequencer Events/Attachment/USAttachToParentEvent.cs
WellFiredDevelopment/WellFired.Direct
4
7061267
using UnityEngine; using System.Collections; namespace WellFired { /// <summary> /// A custom event that will parent one object to another. /// </summary> [USequencerFriendlyName("Attach Object To Parent")] [USequencerEvent("Attach/Attach To Parent")] [USequencerEventHideDuration()] public class USAttachToPare...
Editor/Tree/Nodes/SpacerNode.cs
nomnomab/Quick-Scene
5
7061268
using UnityEngine; namespace Nomnom.QuickScene.Editor.Tree.Nodes { public class SpacerNode: SimpleNode { public override bool CanSelect => false; public override bool CanBeSearched => false; public override GUIStyle Style => new GUIStyle { fixedHeight = _height }; private float _height; public Spac...
Lab5/INET.Lab05.ISP/INET.Lab05.ISP/Refactored/CalculateFreelancerWage.cs
iulianPeiu6/Labs.NET
0
7061269
<reponame>iulianPeiu6/Labs.NET using INET.Lab05.ISP.Refactored.Abstractions; namespace INET.Lab05.ISP.Refactored { public class CalculateFreelancerWage : ICalculateFreelancerWage { public string Benefits() { return "Free daily coffe at Starbucks for a month"; } pub...
code/SampleConsoleApp/Chapter10/OldShillingAmount.cs
jasoncable/i-can-program-too
3
7061270
<reponame>jasoncable/i-can-program-too<filename>code/SampleConsoleApp/Chapter10/OldShillingAmount.cs using System; namespace SampleConsoleApp.Chapter10 { public class OldShillingAmount { public static readonly int NumberOfPence = 12; public int Count { get; set; } public OldShillingAm...
NetPrintsEditor/Compilation/CodeCompiler.cs
hamerstandr/netprints
0
7061271
using Microsoft.CSharp; using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NetPrintsEditor.Compilation { public class CodeCompiler : ICodeCompiler { public CodeCompileResults CompileSources(string...
TransmissionFluid/TransmissionFluid/ViewModel/AddTorrentViewModel.cs
blckshdw/TransmissionFluid
0
7061272
using GalaSoft.MvvmLight; using System.Collections.Generic; using System; using BencodeNET.Objects; using BencodeNET; using System.Text; using System.Linq; using System.Collections.ObjectModel; using GalaSoft.MvvmLight.Command; using TransmissionRemote.RPC.Arguments; using System.IO; namespace TransmissionFluid.ViewM...
src/TRuDI.Models/BasicData/UsagePointLieferant.cs
flobecker/trudi-koala
0
7061274
namespace TRuDI.Models.BasicData { /// <summary> /// Die Klasse UsagePoint repräsentiert den Zählpunkt und stellt das zentrale Datenelement /// einer Nachricht dar.Jede Nachricht muss mindestens einen Zählpunkt beinhalten. /// /// Eine Instanz der Klasse UsagePoint: /// muss auf ei...
src/iPhoneTools/Models/KeyStore.cs
jim-dale/iPhoneTools
1
7061275
using System.IO; using System.Security.Cryptography; using System.Collections.Generic; using Microsoft.Extensions.Logging; using System; using RFC3394; namespace iPhoneTools { public class KeyStore { private static readonly byte[] DefaultFileEncryptionIV = new byte[] { 0x00, 0x00, ...
src/ComputeSharp.D2D1/Helpers/ThrowHelper.cs
UWPCommunity/ComputeSharp
0
7061276
<filename>src/ComputeSharp.D2D1/Helpers/ThrowHelper.cs<gh_stars>0 using System; using System.Diagnostics.CodeAnalysis; namespace ComputeSharp.D2D1.Helpers; /// <summary> /// Helper methods to efficiently throw exceptions. /// </summary> internal static partial class ThrowHelper { /// <summary> /// Throws a n...
src/Calculator/Functions/IFunction.cs
pip-services3-dotnet/pip-services3-expressions-dotnet
0
7061277
using System; using System.Threading.Tasks; using System.Collections.Generic; using PipServices3.Expressions.Variants; namespace PipServices3.Expressions.Calculator.Functions { /// <summary> /// Defines an interface for expression function. /// </summary> public interface IFunction { /// <...
Web/EspartoWorld.Web.ViewModels/Votes/PostVoteInputModel.cs
antonjekov/EspartoWorld
0
7061278
using System.ComponentModel.DataAnnotations; namespace EspartoWorld.Web.ViewModels.Votes { public class PostVoteInputModel { public int ItemId { get; set; } [Range(1, 5)] public byte Value { get; set; } } }
Assets/Scripts/Character/Character2.cs
sylkyu/GMTK21
0
7061279
<gh_stars>0 using UnityEngine; using Assets.Scripts; using UnityEngine.UI; using System.Collections; public class Character2 : PlayerCharacter { ClimbAbility ClimbAbility; CharacterControlManager CharacterControlManager; CharacterWallCollision CharacterWallCollision; public GameObject Radial; publi...
Lock Screen Call SDK Sample/C#/Call.xaml.cs
mfloresn90/CSharpSources
1
7061280
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // //********************************************************* using Windows.ApplicationModel.Activation; using Windows.ApplicationModel.Calls; using Windows.System.Threading; using Windows.UI.Core;...
JustChess/Common/Move.cs
RychuP/JustChess
0
7061281
namespace JustChess.Common { public struct Move { public Move(Position from, Position to) : this() { Type = MoveType.Normal; FigureLetter = '?'; From = from; To = to; } public Position From { get; private set; } public Po...
CodePreviewHandler/Background/COMInterop/IOleWindow.cs
reserfodium/CodePreviewHandler
8
7061282
<filename>CodePreviewHandler/Background/COMInterop/IOleWindow.cs // Name: IOleWindow.cs // Author: <NAME> using System; using System.Runtime.InteropServices; namespace PreviewHandler.COMInterop { [ComImport] [Guid("00000114-0000-0000-C000-000000000046")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown...
tests/Cloudtoid.GatewayCore.UnitTests/Upstream/RequestContentTests.cs
cloudtoid/foid
1
7061283
using System; using System.IO; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Cloudtoid.GatewayCore.Upstream; using FluentAssertions; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Ne...
ApiRestaurants/DTOs/Bookings/MakeBookingResponseDto.cs
BootcampTeamNet/ApiRestaurants
0
7061284
using System; namespace DTOs.Bookings { public class MakeBookingResponseDto { public MakeBookingResponseDto(string userName, DateTime date, int people, int? maxTime) { UserName = userName; OrderDate = date; NumberPeople = people; TimeMaxCancelBoo...
src/MongoDB.Driver/Linq/Linq3Implementation/Translators/ExpressionToAggregationExpressionTranslators/ConditionalExpressionToAggregationExpressionTranslator.cs
JakobKirton/mongo-csharp-driver
2,208
7061285
<gh_stars>1000+ /* Copyright 2010-present MongoDB Inc. * * 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...
AppDal/dal/intf/IntfDalUSArret.cs
Natolotra/App
0
7061286
<filename>AppDal/dal/intf/IntfDalUSArret.cs using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Lin...
ServerInfo.cs
yugecin/unofficial-samp-serverbrowser
0
7061287
using System.Net; namespace yugecin.sampbrowser { class ServerInfo { public bool online; public bool password; public byte[] ipbytes; public IPEndPoint address; public string ip; public int port; public string hostname; public int players; public int maxplayers; public int ping; public string...
eRechnungWordPlugIn/WinFormsMvvm/DialogService/FrameworkDialogs/SaveFile/SaveFileDialogViewModel.cs
austriapro/ebinterface-plugin
3
7061288
<filename>eRechnungWordPlugIn/WinFormsMvvm/DialogService/FrameworkDialogs/SaveFile/SaveFileDialogViewModel.cs namespace WinFormsMvvm.DialogService.FrameworkDialogs.SaveFile { /// <summary> /// ViewModel of the OpenFileDialog. /// </summary> public class SaveFileDialogViewModel : FileDialogViewModel, ISaveFileDialo...
src/Sudoku.Solving.Old/Solving/Manual/Sdps/GuardianStepInfo.cs
XiaoXin1900/Sudoku
12
7061289
<filename>src/Sudoku.Solving.Old/Solving/Manual/Sdps/GuardianStepInfo.cs namespace Sudoku.Solving.Manual.Sdps; /// <summary> /// Provides a usage of <b>guardian</b> technique. /// </summary> /// <param name="Conclusions">All conclusions.</param> /// <param name="Views">All views.</param> /// <param name="Digit">The d...
src/External/NetPad.OmniSharpWrapper/OmniSharpServer.cs
tareqimbasher/NetPad
4
7061290
using System.Diagnostics; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NetPad.OmniSharpWrapper.Utilities; using OmniSharp.Models; using OmniSharp.Models.V2.GotoDefinition; namespace NetPad.OmniSharpWrapper { public abstract class OmniSharpServer<TConfiguration> : IOmniSharpServer ...
EduInfoPortalBlazor/Migrations/20210218134608_InitMigration.cs
kaanlab/EduInfoPortalBlazor
0
7061291
using Microsoft.EntityFrameworkCore.Migrations; namespace EduInfoPortalBlazor.Migrations { public partial class InitMigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Cities", ...
Nayu/Modules/Chomusuke/SetActive.cs
Phytal/Nayu
1
7061292
<reponame>Phytal/Nayu using Discord; using Discord.Commands; using System; using System.Threading.Tasks; using Nayu.Core.Features.GlobalAccounts; using Nayu.Helpers; namespace Nayu.Modules.Chomusuke { public class SetActive : NayuModule { [Subject(ChomusukeCategories.Chomusuke)] [Command("acti...
LawMate/Admin/fSelectRelatedFields.Designer.cs
chris-weekes/atrium
0
7061293
<reponame>chris-weekes/atrium namespace LawMate.Admin { partial class fSelectRelatedFields { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being u...
src/ServiceStack.Interfaces/DataAccess/IPersistenceProvider.cs
froyke/ServiceStack
12
7061294
<filename>src/ServiceStack.Interfaces/DataAccess/IPersistenceProvider.cs using System; using System.Collections; using System.Collections.Generic; namespace ServiceStack.DataAccess { public interface IPersistenceProvider : IBasicPersistenceProvider, IDisposable { IList<T> GetAll<T>() where T : class, n...
Editor/AtlasGeneratorRuleMatchType.cs
UniGameTeam/UniGame.AtlasGenerator
10
7061295
using UnityEngine; namespace UniModules.UniGame.AtlasGenerator.Editor { public enum AtlasGeneratorRuleMatchType { [Tooltip("Simple wildcard.\n\"*\" matches any number of characters.\n\"?\" matches a single character.")] Wildcard = 0, [Tooltip("A regular expression pattern.")] ...
src/Presentation/Nop.Web.Framework/Validators/NopValidatorDefaults.cs
EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin
4
7061296
namespace Nop.Web.Framework.Validators { /// <summary> /// Represents default values related to validators /// </summary> public static partial class NopValidatorDefaults { /// <summary> /// Gets the name of a rule set used to validate model /// </summary> public sta...
client/API/Nodes/Node.cs
carabalonepaulo/vxaos
1
7061298
using Godot; namespace API.Nodes { public class Node : Godot.Node, IRubyControl { public object Emitter; object _rubyOwner; public Node(object rubyOwner) { _rubyOwner = rubyOwner; var ctor = RubyEnvironment.Engine.Runtime.Globals.GetVariable("Emitter"); ...
ViewModels/SearchCampaignsViewModel.cs
cmfournier/SimpleCRM
0
7061299
using SimpleCRM.Models; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace SimpleCRM.ViewModels { public class SearchCampaignsViewModel { public List<Campaign> Campaigns { get; set; } [Display...
Net51Zhang/Common/TaskWrapper/IScheduleTaskService.cs
vezhang/Net51ZhangBlog
1
7061300
<filename>Net51Zhang/Common/TaskWrapper/IScheduleTaskService.cs namespace Net51Zhang.Common.TaskWrapper { using System.Collections.Generic; internal interface IScheduleTaskService { void DeleteTask(ScheduleTask task); void InsertTask(ScheduleTask task); ScheduleTask GetScheduleTask...
pdu-dotnet-api/_idlc_gen/dotnet/Com/Raritan/Idl/tfw/EventType.cs
gregoa/raritan-pdu-json-rpc-sdk
1
7061301
<reponame>gregoa/raritan-pdu-json-rpc-sdk // SPDX-License-Identifier: BSD-3-Clause // // Copyright 2020 Raritan Inc. All rights reserved. // // This file was generated by IdlC from TfwEvent.idl. using System; using System.Linq; using LightJson; using Com.Raritan.Idl; using Com.Raritan.JsonRpc; using Com.Raritan.Util; ...
src/udpkit.examples.simple/Program.cs
li5414/udpkit
39
7061302
//#define DISABLE_AUTO_ACCEPT //#define ENABLE_MANUAL_ACCEPT using System; using System.Threading; using UdpKit; namespace UdpKit.Examples.Simple { class DummySerializer : UdpSerializer { public override bool Pack (ref UdpBitStream stream, ref object o) { throw new NotImplementedException(); ...
EducationalAdministrationManagementSystem/UserPlan/CurriculumPlan.xaml.cs
yaobus/EAMS
1
7061303
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Collections.ObjectModel; 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; ...
src/JTNE.Protocol/Enums/JTNEMsgId.cs
NealGao/JTNewEnergy
0
7061304
<reponame>NealGao/JTNewEnergy using JTNE.Protocol.Attributes; using JTNE.Protocol.MessageBody; using System; using System.Collections.Generic; using System.Text; namespace JTNE.Protocol.Enums { /// <summary> /// 命令单元 /// </summary> public enum JTNEMsgId:byte { /// <summary> /// 车辆登...
Source/InversionOfControl/Services/DisposableScopedService.cs
RehanSaeed/Inversion-of-Control
4
7061305
namespace InversionOfControl.Services { using System; public class DisposableScopedService : Disposable, IDisposableScopedService { protected override void DisposeManaged() => Console.WriteLine($"{nameof(DisposableScopedService)} disposed.{Environment.NewLine}"); } }
src/Omnidoc.Core/Core/IDocumentComposer.cs
ins0mniaque/Omnidoc
0
7061306
<filename>src/Omnidoc.Core/Core/IDocumentComposer.cs using System.Threading; using System.Threading.Tasks; namespace Omnidoc.Core { public interface IDocumentComposer : IDocumentLoader < IDocument < IPageComposer >, IPageComposer > { Task < IDocument < IPageComposer > > CreateAsync ( CancellationT...
ScriptCenter/Package/InstallerActions/CreateMenuAction.cs
Pjanssen/ScriptCenter
1
7061307
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ScriptCenter.Package.InstallerActions { class CreateMenuAction : InstallerAction { /* if menuMan.registerMenuContext 0x1ee76d8e then ( -- Get the main menu bar ...
OdbcClient.cs
vmarvin/FRQR
0
7061308
/* ======================================================================== * Copyright (c) 2019 <<EMAIL>>. All rights reserved. * * OPC Foundation MIT License 1.00 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (t...
unity-example/Assets/Classes/Interaction/HUD.cs
stevetranby/labs-tilemaps
9
7061309
using UnityEngine; using System.Collections; public class HUD : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnGUI () { // TODO: update for Unity 4.6 beta GUI // Make a b...
Assets/script test 1/onmousedrag.cs
Yulypso/Interactive_Art
1
7061310
<filename>Assets/script test 1/onmousedrag.cs<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class onmousedrag : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { OnMouseDrag(); ...
src/RootStack.Demo/RootStack.Demo/Exceptions/HttpServiceException.cs
wilsonvargas/RootStackDemo
0
7061311
using System; using System.Collections.Generic; using System.Text; namespace RootStack.Demo.Exceptions { public class HttpServiceException : Exception { public int StatusCode { get; set; } public string Content { get; set; } } }
src/FamilyTreeProject.GEDCOM/Structures/GEDCOMNoteStructure.cs
Kaligul/FamilyTreeKurasch
8
7061312
<gh_stars>1-10 //****************************************** // Copyright (C) 2014-2015 <NAME> * // * // Licensed under MIT License * // (see included LICENSE) * // * // ***************************************...
src/Armyknife.Business.Interfaces/ITool.cs
dukeofharen/armyknife
1
7061313
<filename>src/Armyknife.Business.Interfaces/ITool.cs namespace Armyknife.Business.Interfaces { public interface ITool { string Name { get; } string Description { get; } string Category { get; } string HelpText { get; } bool ShowToolInHelp { get; } } }
trunk/platforms/shared/ui/TimelineControl/GraphicsResources.cs
logjointfork/logjoint
0
7061314
<gh_stars>0 using System; using LogJoint.Drawing; using System.Drawing.Drawing2D; using Color = System.Drawing.Color; using Point = System.Drawing.Point; namespace LogJoint.UI.Timeline { class GraphicsResources { public readonly Brush Background; public readonly Font MainFont; public readonly DrawS...
src/ES.Reach.SDK/Models/RoadType.cs
Epicalsoft/reach-sdk-netstandard
3
7061315
namespace Epicalsoft.Reach.Api.Client.Net.Models { public class RoadType { public short Code { get; set; } public string Name { get; set; } } }
Tests/CK.CodeGen.Tests/TypeScopeTests.cs
Invenietis/CK-CodeGen
1
7061316
<reponame>Invenietis/CK-CodeGen<gh_stars>1-10 using System; using CK.CodeGen; using NUnit.Framework; using FluentAssertions; namespace CK.CodeGen.Tests { [TestFixture] public class TypeScopeTests : CommonTypeDefinerScopeTests { [TestCase( "void M(int i)", "void" )] [TestCase( "L < T1, T2 > ...
src/Core/SourceControlIntegrationException.cs
tiggerite/fettle
71
7061317
using System; namespace Fettle.Core { public class SourceControlIntegrationException : Exception { public SourceControlIntegrationException(string message) : base(message) { } } }
Ahoy.Proto.MessagePack/MessagePackIdGroupAttribute.cs
AhoyGames/Ahoy.Proto.MessagePack
4
7061318
using MessagePack; using System; namespace Ahoy.Proto.MessagePack { /// <summary> /// The value given to this attribute is added to all classes with MessagePackIdAttribute attribute underneath it. /// </summary> [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public class MessagePa...
Field of View/Assets/Field Of View/Scripts/FieldOfViewEditor.cs
r2d2meuleu/Unity---Field-of-View-Fog-of-War
47
7061319
<gh_stars>10-100 using UnityEngine; using UnityEditor; [CustomEditor(typeof(FieldOfView))] public class FieldOfViewEditor : Editor { public override void OnInspectorGUI() { FieldOfView fov = (FieldOfView)target; EditorGUILayout.PropertyField(serializedObject.FindProperty("viewRadius")); Ed...
C-Sharp/frmPOSSecurity.Designer.cs
nodoid/PointOfSale
10
7061320
using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Windows.Forms; using DpSdkEngLib; using DPSDKOPSLib; using Microsoft.VisualBasic; using System; using System.Collections; using System.Collections.Generic; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; using Sy...
src/Flame.Ecs/LoycSourceDocument.cs
jonathanvdc/ecsc
2
7061321
using System; using Loyc; using Loyc.Syntax; using Flame; using Flame.Compiler; namespace Flame.Ecs { /// <summary> /// A Flame source document wrapper for Loyc source files. /// </summary> public sealed class LoycSourceDocument : ISourceDocument, IEquatable<LoycSourceDocument> { public Lo...
XliffLib/IdCounter.cs
simonech/XliffLib
13
7061322
using System; namespace XliffLib { public class IdCounter { private int _fileId; private int _groupId; private int _unitId; public int GetNextFileId() { return ++_fileId; } public int GetNextGroupId() { return ++_groupId;...
cards/UNGORO/UNG/Sim_UNG_856.cs
chi-rei-den/Silverfish
1
7061323
using Chireiden.Silverfish; using HearthDb; /* _BEGIN_TEMPLATE_ { "id": "UNG_856", "name": [ "幻觉", "Hallucination" ], "text": [ "<b>发现</b>一张你对手职业的卡牌。", "<b>Discover</b> a card from your opponent's class." ], "cardClass": "ROGUE", "type": "SPELL", "cost": 1, "rarity": "COMMON", "set"...
NiceApiLibrary_low/Data_Net__interface.cs
edmunoz/NiceApi_WholeCode
0
7061325
<reponame>edmunoz/NiceApi_WholeCode<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NiceApiLibrary_low { public delegate void dProcess_Data_Net__00NormalMessage(Data_Net__00NormalMessage one); public delegate void dProcess_Data_Net__02Screensh...
src/HMPPS.MediaLibrary/HMPPS.MediaLibrary.CloudStorage/Pipelines/MediaProcessor/GenerateThumbnail.cs
glenjamin/hmpps-hub
2
7061326
<gh_stars>1-10 using System.Diagnostics; using System.Linq; using HMPPS.MediaLibrary.CloudStorage.Helpers; using Sitecore.Data.Items; using Sitecore.Diagnostics; using HMPPS.ErrorReporting; using HMPPS.Utilities.Helpers; namespace HMPPS.MediaLibrary.CloudStorage.Pipelines.MediaProcessor { /// <summary> /// Gen...
Hydra.Http11.Tests/ChunkedReaderTests.cs
Lauriethefish/Hydra
10
7061327
<gh_stars>1-10 using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.IO.Pipelines; using System.Threading.Tasks; using TestUtils; namespace Hydra.Http11.Tests { [TestClass] public class ChunkedReaderTests { private readonly MemoryStream stream = new(); private r...
Library/PackageCache/com.unity.2d.animation@7.0.2/Samples~/AnimationSamples/Scripts/AnimationSampleDependency.cs
PULSAR2105/Boids_Bug
0
7061328
using UnityEngine; namespace Unity.U2D.Animation.Sample.Dependency { [ExecuteInEditMode] internal class AnimationSampleDependency : MonoBehaviour { enum Dependency { None, PsdImporter, AssetBundle } [SerializeField] GameObject er...
src/Dfc.ProviderPortal.ChangeFeedListener/Models/Enums.cs
SkillsFundingAgency/dfc-providerportal-changefeedlistener
1
7061329
using System.ComponentModel; namespace Dfc.ProviderPortal.ChangeFeedListener.Models { public enum RecordStatus { [Description("Undefined")] Undefined = 0, [Description("Live")] Live = 1, [Description("Pending")] Pending = 2, [Description("Archived")] ...
MyDigitalKey.Web/Controllers/Api/UserController.cs
micbelgique/MyDigitalKey
1
7061330
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using MyDigitalKey.Services.Contracts.Interfaces; using MyDigitalKey.Services.Contracts.Models; namespace MyDigitalKey.Web.Controllers.Api { [Produces("application/json")] [Route("api/user")] public class UserController : Controller { ...
Assets/Adrenak.UniVoice/InbuiltImpl/AirPeerUniVoiceNetwork.cs
adrenak/UniVoice
146
7061331
<reponame>adrenak/UniVoice using System; using System.Collections.Generic; using Adrenak.AirPeer; namespace Adrenak.UniVoice.InbuiltImplementations { /// <summary> /// A <see cref="IChatroomNetwork"/> implementation using AirPeer /// For more on AirPeer, visit https://www.vatsalambastha.com/airpeer...
RezervacniSystem.Data.NHibernate/DomainObjectRepository.cs
miloslavthon/uai628-rezervacni-system
2
7061332
<filename>RezervacniSystem.Data.NHibernate/DomainObjectRepository.cs using NHibernate; using RezervacniSystem.Domain.Shared; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RezervacniSystem.Data.NHibernate { public abstract class DomainObj...
Runtime/Scripts/Extensions/Elements/BetterTextField/BetterTextField.cs
instance-id/Extensions
4
7061333
using System; using JetBrains.Annotations; using UnityEngine; using UnityEngine.UIElements; namespace instance.id.Extensions { // Hopefully these features will eventually be in the default TextField eventually. public class BetterTextField : TextField { /// <summary> /// USS class name of...
src/ProfilePictureSample.Domain/ProfilePictureSampleConsts.cs
antosubash/AbpProfilePictureSample
1
7061334
namespace ProfilePictureSample { public static class ProfilePictureSampleConsts { public const string DbTablePrefix = "App"; public const string DbSchema = null; } }
Assets/Scripts/Fight/FightMenu/InfosUI.cs
Bluesoul02/The-rebirth-of-a-ressentful-spirit
0
7061335
<filename>Assets/Scripts/Fight/FightMenu/InfosUI.cs<gh_stars>0 using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; // script qui affiche des infos supplémentaires sur les talents et les sorts que le joueur possède public class InfosUI : MonoBehaviour { private bool isMagic; private bool ...
NLogSampleDI/Program.cs
yohskeey/CSConsoleLoggerExample
0
7061336
<reponame>yohskeey/CSConsoleLoggerExample  using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using NLog; using NLog.Extensions.Logging; using NLogSampleDI; var logger = LogManager.GetCurrentClassLogger(); try { // appsettings.jsonの読み込み ...
Marten.Integration.Tests/EventStore/Aggregate/InlineAggregationStorage.cs
jbarczyk/EventSourcing.NetCore
1
7061338
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using Marten.Integration.Tests.TestsInfrasructure; using SharpTestsEx; using Xunit; namespace Marten.Integration.Tests.EventStore.Aggregate { public class InlineAggregationStorage: MartenTest { public interface IIssueEven...
Peanut/Peanut/Mappings/RelationAttribute.cs
whywei/IKendeLib
1
7061339
<filename>Peanut/Peanut/Mappings/RelationAttribute.cs using System; using System.Collections.Generic; using System.Text; using System.Reflection; using IKende.com.core; namespace Peanut.Mappings { [AttributeUsage(AttributeTargets.Property,AllowMultiple=true)] public class RelationAttribute:Attribute { ...
src/Microsoft.DocAsCode.Plugins/ManifestItem.cs
MorganOBN/KoA-Story
0
7061340
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Plugins { using System.Collections.Generic; using Newtonsoft.Json; using YamlDotNet.Serialization; using Microsoft.DocAs...
src/LightningDevelopment/ActionsModule.cs
mhgamework/LightningDevelopment
1
7061341
<reponame>mhgamework/LightningDevelopment<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using MHGameWork; namespace LightningDevelopment { public class ActionsModule : IActionsModule { private Dictionary<string, IQuickAction> action...
src/Unfactored/AnalyzerPowerPack/Core/Usage/CA2200DiagnosticAnalyzer.cs
mattwar/roslyn-analyzers
8
7061342
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.AnalyzerPowerPack.Utilities; using Microsoft.CodeAnalysis; nam...
Web/ViewModels/HomeViewModel.cs
jugomez/emplea_do
47
7061343
using System.Collections.Generic; using Domain.Entities; using LegacyAPI; namespace Web.ViewModels { public class HomeViewModel : BaseViewModel { public IEnumerable<Job> Jobs { get; set; } public IEnumerable<JobCardDTO> JobCards { get; internal set; } public List<Category> Categories ...
VueTicketCore/TicketCore.Web/Views/Shared/_ResponseResolvedTable.cshtml
saineshwar/VueTicket
7
7061344
@model List<TicketCore.ViewModels.Dashboard.ResponseResolvedTicketViewModel> <table class="table table-bordered"> <thead> <tr> <th>Name</th> <th colspan="2">Total</th> </tr> </thead> <tbody> @if (Model.Any()) { @foreach (var data in Model) {...
Tests/DateTimeTestCases/Common.cs
SMazu/JSIL
980
7061345
using System; using System.Collections.Generic; using System.Linq; using System.Text; public static class Util { public static void PrintTimeSpan (string caption, TimeSpan ts) { Console.WriteLine("{0}:", caption); PrintTimeSpan(ts); } public static void PrintTimeSpan (TimeSpan ts) { ...
ADSBackend/Models/ConfigurationViewModels/ConfigurationViewModel.cs
tanczosm/ADSBackend
3
7061346
<filename>ADSBackend/Models/ConfigurationViewModels/ConfigurationViewModel.cs using System.ComponentModel.DataAnnotations; namespace ADSBackend.Models.ConfigurationViewModels { public class ConfigurationViewModel { [Required] [DataType(DataType.Url)] [Display(Name = "Feed URL")] ...
YingClient/Ying/Ying/YingPages/YingLoginPage.xaml.cs
iZhangYingYing/YingLauncher
0
7061347
using Ying; using Ying.Modules; using Ying.Pages; using KMCCC.Authentication; 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....
CrossyTanks/Assets/Scripts/Player.cs
javiermf00/Unity-Course-Projects
2
7061348
<reponame>javiermf00/Unity-Course-Projects using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; using UnityEngine; public class Player : MonoBehaviour { public LayerMask layerMask; public Vector3 startPosition; void Start() { startPosition = gameO...
SDK/DotNet/VirtoCommerce.Client/Model/VirtoCommerceDomainCatalogModelOutlineItem.cs
VirtoCommerce-archieve/vc-integrations
1
7061349
<filename>SDK/DotNet/VirtoCommerce.Client/Model/VirtoCommerceDomainCatalogModelOutlineItem.cs using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; ...
Library/PackageCache/com.unity.timeline@1.1.0/Editor/treeview/Snapping/SnapEngine.cs
yeliheng/BasketballVR
4
7061350
<reponame>yeliheng/BasketballVR using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Timeline; namespace UnityEditor.Timeline { enum ManipulateEdges { Left, Right, Both } class SnapEngine { static r...
DigitalLearningSolutions.Web/Helpers/DisplayColourHelper.cs
TechnologyEnhancedLearning/DLSV2
2
7061351
namespace DigitalLearningSolutions.Web.Helpers { public static class DisplayColourHelper { // The colour strings here correspond to css classes defined in contractDetails.scss public static string GetDisplayColourForPercentage(long number, long limit) { if (limit == 0...
CutieShop/CutieShop.API.DB/Models/Entities/FeedingRoutine.cs
15110123/X-y-d-ng-chatbot-h-tr-t-h-ng-tr-c-tuy-n
0
7061352
using System; using System.Collections.Generic; namespace CutieShop.API.DB.Models.Entities { public partial class FeedingRoutine { public FeedingRoutine() { Pets = new HashSet<Pet>(); } public string Id { get; set; } public int FrequencyPerDay { get; set; }...
GameTracker/GameTracker/FindGames.cs
Oriyn/game-tracker
0
7061353
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace GameTracker { public partial class FindGames : Form { public FindGames() ...
src/Beffyman.UdpServer/Internal/HandlerMapping/HandlerMapper.cs
Beffyman/UdpServer
4
7061354
using System; using System.Collections.Generic; using System.Net.Sockets; using System.Text; using System.Linq; using Beffyman.UdpContracts.Serializers; using Beffyman.UdpContracts; using Microsoft.Extensions.Logging; using Microsoft.Extensions.DependencyInjection; using System.Threading.Tasks; using System....
Back-End/Dental.DataAccess/Mappings/DiagnosticMap.cs
hkmky/DentalProject
0
7061355
using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; using Dental.Entities.Tables; namespace Dental.DataAccess.Mappings { public class DiagnosticMap : EntityTypeConfiguration<Diagnostic> { publi...
Assets/Topics/Experimental-InProgress/RunaroundScene/Scripts/NavigateQuestions.cs
Roboy/ss18_PocketBoy
0
7061356
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; using Pocketboy.Common; namespace Pocketboy.Runaround { public class NavigateQuestions : MonoBehaviour, IPointerClickHandler { public void OnPointerClick(PointerEventDa...
LoginradiusCoreSdk/src/src/LoginradiusCoreSdk/Entity/AppSettings/LoginRadiusAppSettings.cs
LoginRadius/dot-net-core-sdk
0
7061357
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using System.IO; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace LoginradiusCoreSdk.Entity.AppSettings ...
Src/SetFileName/BizTalkComponents.Utils/MessageExtensions.cs
lfalck/BizTalkSetFileName
2
7061358
using Microsoft.BizTalk.Message.Interop; using Microsoft.BizTalk.Streaming; using Microsoft.BizTalk.XPath; using System; using System.IO; using System.Xml; using System.Linq; using System.Collections.Generic; namespace BizTalkComponents.Utils { public static class MessageExtensions { public static Dic...
C#/MethodInvocationRemotingUnitTests/ActiveMqRemoteSenderTests.cs
alastairwyse/MethodInvocationRemoting
0
7061359
/* * Copyright 2013 <NAME> (http://www.oraclepermissiongenerator.net/methodinvocationremoting/) * * 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...
Server/Core/Core/Models/Records/RecordDTO.cs
SanyaVishnivskiy/MediaProcessor
1
7061360
<reponame>SanyaVishnivskiy/MediaProcessor using Core.Models.Records; using System; namespace Core.Models { public class RecordDTO { public string Id { get; set; } public string FileName { get; set; } public string Description { get; set; } public string CreatedBy { get; set; } ...
src/CodeButler/CodeButler.Console/Syntax/SyntaxReorganizerRewriter.cs
Projektanker/CodeCleaner
16
7061361
using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace CodeButler.Syntax { public class SyntaxReorganizerRewriter : CSharpSyntaxRewriter { public override SyntaxNode? VisitClassDeclar...
Modules/GoogleShoppingModule/Components/GoogleFeedFormatter.cs
HotcakesCommerce/GoogleProductFeedModule
0
7061362
<reponame>HotcakesCommerce/GoogleProductFeedModule<filename>Modules/GoogleShoppingModule/Components/GoogleFeedFormatter.cs<gh_stars>0 /* ' Copyright (c) 2016 Hotcakes Commerce, LLC ' All rights reserved. ' ' Permission is hereby granted, free of charge, to any person obtaining a copy ' of this software and associat...
Assets/Infinity Code/Online maps/Scripts/WebServices/OnlineMapsQQSearch.cs
Xenetics/CommunityHub
0
7061363
<gh_stars>0 /* INFINITY CODE 2013-2017 */ /* http://www.infinity-code.com */ using System.Text; /// <summary> /// Class to work with QQ Search.\n /// http://lbs.qq.com/webservice_v1/guide-search.html /// </summary> public class OnlineMapsQQSearch:OnlineMapsTextWebService { private OnlineMapsQQSearch...
Agatha.Common/Caching/InMemoryCacheProvider.cs
scardetto/Agatha
21
7061364
using Agatha.Common.Caching.Timers; namespace Agatha.Common.Caching { public class InMemoryCacheProvider : ICacheProvider { private readonly ITimerProvider timerProvider; public InMemoryCacheProvider(ITimerProvider timerProvider) { this.timerProvider = timerProvider; } ...
src/SFA.Apprenticeships.Domain.Entities.Raa/Reference/RegionalTeam.cs
BugsUK/FindApprenticeship
2
7061365
<reponame>BugsUK/FindApprenticeship<gh_stars>1-10 namespace SFA.Apprenticeships.Domain.Entities.Raa.Reference { public enum RegionalTeam { Other = 0, North = 1, NorthWest = 2, YorkshireAndHumberside = 3, EastMidlands = 4, WestMidlands = 5, EastAnglia = 6,...
ProtocolMessages/QueueLog/QLRingNoAnswer.cs
cloversuite/CloverQ
14
7061366
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProtocolMessages.QueueLog { public class QLRingNoAnswer : QLMessage { public QLRingNoAnswer() { base.EventName = this.GetType().Name; } pub...