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
CSharpToSqlMapper/CSharpToPlsqlMapper.cs
stefnotch/OracleSqlMapper
0
7037912
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using System.Linq.Expressions; using System.Linq; namespace CSharpToSqlMapper { /*public class CSharpToPlsqlMapper { // TODO: Map an entire .cs file to PLSQL >:D public List<Function> Functions { get; } = new List<...
Camber/DynamoExtensions/Geometry/PointExtensions.cs
mzjensen/camber
9
7037913
<reponame>mzjensen/camber<gh_stars>1-10 #region references using Autodesk.DesignScript.Geometry; #endregion namespace Camber.DynamoExtensions.GeometryExtensions { public class PointExtensions { #region constructors private PointExtensions() { } #endregion #region methods ...
Daffodil_POS 08.04.07/Security/DPOSMembershipProvider.cs
atiq-shumon/DotNetProjects
0
7037914
<filename>Daffodil_POS 08.04.07/Security/DPOSMembershipProvider.cs using System; using System.Collections; using System.Collections.Specialized; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; using ...
src/tests/baseservices/threading/threadstatic/threadstatic04helper.cs
belav/runtime
0
7037915
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; public class LIA { public LIA(byte[] zaoption, object[] zacnttb, string[] zaprgnm, string zaclsnm, Type zatype) { } } public sealed class ILI { #pragma warning dis...
src/Orchard.Web/Modules/Orchard.Lists/Projections/ListFilter.cs
yangbingqi155/Nagrace
2,670
7037916
<reponame>yangbingqi155/Nagrace<gh_stars>1000+ using System; using Orchard.ContentManagement; using Orchard.Core.Common.Models; using Orchard.Core.Containers.Models; using Orchard.Lists.Services; using Orchard.Localization; namespace Orchard.Lists.Projections { public class ListFilter : Component, IFilterProvider...
Unity/ExperimentArtwork/HandRepresentation.cs
Murtada100/MTAP_Data_and_Experiment
1
7037917
using Leap; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class HandRepresentation : MonoBehaviour { public GameObject hand; public List<GameObject> fingers; // Start is called before the first frame update void Start() { ...
Day 060 - Easy/Program.cs
dimitri-dev/100_Days_of_Coding
8
7037918
<gh_stars>1-10 using System; using System.Collections.Generic; namespace _100daysCoding { class Program_Day60 { static void Main(string[] args) { Console.WriteLine("Input a string to test: "); string testString = Console.ReadLine(); Console.WriteLine($"Strin...
IEXSharp/Model/CoreData/Treasuries/Request/TreasuryRateSymbol.cs
biyimaks/IEXSharp
83
7037919
using System.ComponentModel; namespace IEXSharp.Model.CoreData.Treasuries.Request { public enum TreasuryRateSymbol { /// <summary> /// 30 Year constant maturity rate /// </summary> [Description("DGS30")] DGS30, /// <summary> /// 20 Year constant maturity rate /// </summary> [Description("DGS20")] ...
Orm/Xtensive.Orm/Sql/Info/QueryInfo.cs
alex-kulakov/dataobjects-net
0
7037920
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. using System; using Xtensive.Core; namespace Xtensive.Sql.Info { /// <summary> /// Describes a query. /// </summary> public class QueryInfo : LockableBase { private int ...
HabboBot/HabboBot.Libraries/Flazzy/FlashItem.cs
digitedigital/HabboBOT
7
7037921
<gh_stars>1-10 using System.IO; using System.Diagnostics; using Flazzy.IO; namespace Flazzy { [DebuggerDisplay("{DebuggerDisplay,nq}")] public abstract class FlashItem { [DebuggerBrowsable(DebuggerBrowsableState.Never)] protected virtual string DebuggerDisplay => "{" + ToString() + "}"; ...
Factory/Views/Locations/Create.cshtml
JeffTerrell/Factory.Solution
0
7037922
<reponame>JeffTerrell/Factory.Solution<gh_stars>0 @{ Layout = "_Layout"; } @model Factory.Models.Location <h4>Add a new location</h4> <ul> @using (Html.BeginForm()) { <li>@Html.LabelFor(model => model.Name) @Html.TextBoxFor(model => model.Name, new {required="required"})</li> <input type="submit" value="Add ...
src/Bechtle.A365.ConfigService/Configuration/ConfiguredSecretStoreConfiguration.cs
bechtleav360/Maverick.ConfigService
0
7037923
<gh_stars>0 using System.Collections.Generic; namespace Bechtle.A365.ConfigService.Configuration { /// <summary> /// config-based Secret-Store configuration /// </summary> public class ConfiguredSecretStoreConfiguration : SecretStoreConfiguration { /// <summary> /// diction...
src/Crowdin.Api/Tasks/TaskStatus.cs
crowdin/crowdin-dotnet-client
6
7037925
using System.ComponentModel; using JetBrains.Annotations; namespace Crowdin.Api.Tasks { [PublicAPI] public enum TaskStatus { [Description("todo")] Todo, [Description("in_progress")] InProgress, [Description("done")] Done, [...
Assets/Scripts/Model/Ships/TIE Interceptor/TetranCowall.cs
tron999/FlyCasual
0
7037926
using Ship; using Movement; using GameModes; using System.Linq; namespace Ship { namespace TIEInterceptor { public class TetranCowall : TIEInterceptor { public TetranCowall() : base() { PilotName = "<NAME>"; PilotSkill = 7; ...
AnimalsLogic/Source/AnimalsLogic/Patches/ForgetMeNot.cs
Juijote/RimworldMods
20
7037927
<reponame>Juijote/RimworldMods using System; using System.Collections.Generic; using System.Linq; using HarmonyLib; using RimWorld; using Verse; using System.Reflection.Emit; namespace AnimalsLogic { class ForgetMeNot { // This function is actually inlined and this patch is not working ...
src/ServiceSupport.Infrastructure/Repositories/InMemory/InMemoryDeviceRepository.cs
Lukasz0303/ServiceSupport
0
7037929
using ServiceSupport.Core.Domain; using ServiceSupport.Core.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ServiceSupport.Infrastructure.Repositories.InMemory { public class InMemoryDeviceRepository : IDeviceRepository ...
.net core/Fur.ExtensionPack/AppService/Dto/IDtoBase.cs
vincywindy/Fur.ExtensionPack
0
7037930
<filename>.net core/Fur.ExtensionPack/AppService/Dto/IDtoBase.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Fur.ExtensionPack.AppService.Dto { /// <summary> /// Dto的基类的接口 /// </summary> /// <typeparam name="Key"></typep...
Todododo/Views/CounterView.razor.cs
bazarniy/Todododo
3
7037931
<gh_stars>1-10 using System.Reactive.Threading.Tasks; using System.Threading.Tasks; using Todododo.ViewModels; namespace Todododo.Views { public partial class CounterView { public CounterView() { ViewModel = new CounterViewModel(); } private async Task IncrementCou...
AlphaWebCommodityBookkeeping/obj/Debug/AspnetCompileMerge/Source/Views/Account/ChangePassword.cshtml
alphascorehr/AsBookKeeping
0
7037932
@model AlphaWebCommodityBookkeeping.Models.ChangePasswordModel @{ ViewBag.Title = "Change password"; } <script type="text/javascript"> //<![CDATA[ $.validator.setDefaults({ submitHandler: function () { myForm.submit(); //alert("OK"); } }); $().ready(function...
Architecture.DesignPatterns/Behavioral/Command/SimpleExample/ComplexCommand.cs
carsimoes/csharp_architecture
1
7037933
using System; using System.Collections.Generic; using System.Text; namespace Architecture.DesignPatterns.Behavioral.Command.SimpleExample { public class ComplexCommand : Command { Receiver receiver; string a; string b; public ComplexCommand(Receiver r, string a, string b) { receiver = r; this.a =...
src/StackMachine/Instructions/ReturnInstruction.cs
Liu233w/Compiler
1
7037934
namespace Liu233w.StackMachine.Instructions { /// <summary> /// 表示函数返回的指令 /// </summary> public class ReturnInstruction : FuncInstructionBase { public ReturnInstruction(object result) { Result = result; } public object Result { get; } } }
Team Project 1/Assets/Scripts/GameManager.cs
sherbracewell/Team-Project-1
0
7037935
<filename>Team Project 1/Assets/Scripts/GameManager.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameManager : MonoBehaviour { public bool gameOver = false; public Text gameOverText; void Start() { gameOverText.text = "";...
Ceramics/05-RetirementApp/RetirementApp/RetirementApp/RetirementApp/MainPage.xaml.cs
pmgower/xamarin-ceramics-class
0
7037936
<reponame>pmgower/xamarin-ceramics-class<filename>Ceramics/05-RetirementApp/RetirementApp/RetirementApp/RetirementApp/MainPage.xaml.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RetirementApp.ViewModels; using Xamarin.Forms; namespace Reti...
Whetstone.Core.Contracts/Require.Is.cs
KFAFSP/Whetstone.Core
0
7037937
using System; using System.Diagnostics; using JetBrains.Annotations; namespace Whetstone.Core.Contracts { public static partial class Require { /// <summary> /// The exception message string for "invalid argument type". /// </summary> const string C_InvalidArgType = @"Invalid ...
Ryujinx.HLE/HOS/Services/Aud/AudErr.cs
pinguicodes/Ryujinx
0
7037938
namespace Ryujinx.HLE.HOS.Services.Aud { static class AudErr { public const int DeviceNotFound = 1; public const int UnsupportedRevision = 2; public const int UnsupportedSampleRate = 3; } }
source/MikhailKhalizev.Max/source/Program/Auto/z-100e-d950.cs
mikhail-khalizev/max
3
7037939
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x100e_d950-453826bb")] public void Method_100e_d950() { ii(0x100e_d950, 5); push(0x38); ...
PlayerInfo.cs
Misto423/ASCII-R
0
7037940
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ASCIIMazeCS { public enum PClass { Warrior, Knight, Cleric, Mage, Rogue, }; class PlayerInfo { //stats private int ...
API/Controllers/TreeController.cs
mr-robot9/ShareTree
0
7037941
<filename>API/Controllers/TreeController.cs using System; using System.Threading.Tasks; using Application.DTOs; using MediatR; using Microsoft.AspNetCore.Mvc; using TreesHandler = Application.Trees; namespace API.Controllers { public class TreeController : BaseController<TreeController> { [HttpPost("cr...
ServerlessBlog.Functions.Net46/GetArchive.cs
sucrose0413/AzureFromTheTrenches.ServerlessBlog
10
7037942
using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; using ServerlessBlog.Runtime; namespace ServerlessBlog.Functions.Net46 { public static class GetArchive { ...
ItsyBitsy.UnitTest/RegisterUTestFactory.cs
nicholasbergesen/itsybitsy
0
7037943
<reponame>nicholasbergesen/itsybitsy using ItsyBitsy.Domain; using ItsyBitsy.UnitTes; using System; using System.Collections.Generic; using System.Net; using System.Text; namespace ItsyBitsy.UnitTest { public static class RegisterUTestFactory { public static void Register() { Facto...
API/1-Model/generation/VideoComment.cs
colin08/Grissom.CMS
134
7037944
/*============================ * 该文件由模板生成,请不要修改 =============================*/ using System; namespace Model { /// <summary> /// 视频评论 /// </summary> public partial class VideoComment { /// <summary> /// /// </summary> [PK] public long Id { get; s...
RabbitMQ.Management.Client/QueryBuilder.cs
kvanover/RabbitMQAdminClient
0
7037945
<filename>RabbitMQ.Management.Client/QueryBuilder.cs using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Text.Json.Serialization; namespace RabbitMQ.Management.Client { internal class QueryBuilder { ...
ArtHub/Controllers/ProfileMembersController.cs
DeltaVArtLibrary/DigitalArtHub
0
7037946
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using ArtHub.Data; using ArtHub.Models; using ArtHub.Data.Interfaces; using ArtHub.Models.Api; using Microso...
RunTime/DataSet/Helper/DefaultDataSetHelper.cs
shoshiiran/HTFramework
352
7037947
using System; using System.Collections.Generic; using UnityEngine; namespace HT.Framework { /// <summary> /// 默认的数据集管理器助手 /// </summary> public sealed class DefaultDataSetHelper : IDataSetHelper { /// <summary> /// 数据集管理器 /// </summary> public IModuleManager Module ...
Reference_Switch_Liter.cs
NaaS/emu-live
3
7037948
<filename>Reference_Switch_Liter.cs<gh_stars>1-10 /* Reference learning Switch lite (C#) for the NetFPGA platform and Kiwi compiler. Copyright (C) 2016 -- <NAME> <<EMAIL>< <NAME>, Cambridge University Computer Lab This software was developed by the University of Cambridge, Computer Laborator...
Source/Nett/Properties/AssemblyInfo.cs
mvacha/Nett
1
7037950
using System; using System.Resources; using System.Runtime.CompilerServices; [assembly: NeutralResourcesLanguage("en")] [assembly: CLSCompliant(true)] [assembly: InternalsVisibleTo("Nett.Tests.Internal")] [assembly: InternalsVisibleTo("Nett.Coma.Tests.Internal")] [assembly: InternalsVisibleTo("Nett.Coma")] [assembly:...
Content.Client/UserInterface/UIManager.cs
space-wizards/RobustPaint
0
7037951
<reponame>space-wizards/RobustPaint using System; using System.Collections.Generic; using Content.Shared.Network; using Robust.Client.UserInterface; using Robust.Client.UserInterface.Controls; using Robust.Client.ResourceManagement; using Robust.Shared.Map; using Robust.Shared.IoC; using Robust.Shared.Network; namespa...
Fundamentals-2.0/C#-Basics/Homework/Loops-Homework-2.0/OddAndEvenProduct/WhereTheMagicHappens.cs
sholev/SoftUni
1
7037952
<filename>Fundamentals-2.0/C#-Basics/Homework/Loops-Homework-2.0/OddAndEvenProduct/WhereTheMagicHappens.cs using System; namespace OddAndEvenProduct { class WhereTheMagicHappens { static void Main(string[] args) { Console.WriteLine("Enter a single line of integers separated by \" \...
src/DL444.Ucqu/DL444.Ucqu.App.WinUniversal/Services/ICalendarSubscriptionService.cs
DL444/ucqu-ng
3
7037954
<gh_stars>1-10 using System.Threading.Tasks; using DL444.Ucqu.App.WinUniversal.Models; using DL444.Ucqu.Models; namespace DL444.Ucqu.App.WinUniversal.Services { internal interface ICalendarSubscriptionService { Task<DataRequestResult<CalendarSubscription>> GetCalendarSubscriptionIdAsync(); Tas...
Parul_Asp.Net_API/Models/Repo.cs
parulmishra/Parul-Asp.Net-API
0
7037955
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using RestSharp; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Parul_Asp.Net_API.Models { public class Repo { public string name { get; set; } public string url { get; set; } ...
Source/TheBoxSoftware.DeveloperSuite.LiveDocumenter/Model/Diagram/Sequence/Activation.cs
barry-jones/live-documenter
58
7037956
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TheBoxSoftware.DeveloperSuite.LiveDocumenter.Model.Diagram.SequenceDiagram { /// <summary> /// Represents a period of activation (work) for an object. /// </summary> internal class Activation { internal Activation() ...
src/Uniplug/Cinema4D/C4d/Logger.cs
RedImp1470/Fusee_Fork
1
7037957
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace C4d { public class Logger { public enum LogLevel { All, Debug, Warn, Error, Off, } public static LogLevel Loglevel { get;...
MVCContenido/Web/Models/ViewModelGroupRol.cs
ChristianAzofeifa/Prueba
0
7037958
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Web.Models { public class ViewModelGroupRol { public int Consecutivo { get; set; } public int GroupID { get; set; } public int RolID { get; set; } public string GroupName { get; set; ...
Utils/MapUtilsEx.cs
p3t3rix-vsmods/VsFoundation
2
7037959
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Vintagestory.API.MathTools; namespace Foundation.Utils { public static class MapUtilsEx { public static Vec3i ChunkPosFromChunkIndex3D(long chunkIndex3d, int ChunkMapSizeX, int Chu...
Athena/AthenaTests/StoragePlaceExtractorTests.cs
Katarzyna-Kadziolka/Atena
1
7037960
<gh_stars>1-10 using Athena.Import.Extractors; using FluentAssertions; using NUnit.Framework; namespace AthenaTests { public class StoragePlaceExtractorTests { [Test] public void Extract_ShouldReturnStoragePlace() { // Arrange var storagePlaceName = "IX"; var co...
AngleSharp/Css/PrettyStyleFormatter.cs
Livven/AngleSharp
0
7037961
<filename>AngleSharp/Css/PrettyStyleFormatter.cs namespace AngleSharp.Css { using System; using System.Collections.Generic; /// <summary> /// Represents the an CSS3 markup formatter with inserted intends. /// </summary> public class PrettyStyleFormatter : IStyleFormatter { #region ...
sdk/cognitiveservices/textanalytics/Azure.AI.TextAnalytics/src/TextDocumentInput.cs
jimmyca15/azure-sdk-for-net
0
7037962
<filename>sdk/cognitiveservices/textanalytics/Azure.AI.TextAnalytics/src/TextDocumentInput.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Azure.AI.TextAnalytics { /// <summary> /// </summary> public class TextDocumentInput { /// <su...
src/AzReplicate.Core/Telemetry/TelemetryInitializer.cs
pdebruin/AzReplicate
10
7037963
using AzReplicate.Contracts.Configuration; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.Extensibility; namespace AzReplicate.Core.Telemetry { public class TelemetryInitializer : ITelemetryInitializer { private readonly ICorrelationConfiguration _correlationConfigura...
Game/WorldGen/TemperatureMap.cs
nshcat/asciikingdom
0
7037964
using System; using System.Reflection.Metadata; using Engine.Core; using Engine.Graphics; using Game.Maths; using SharpNoise; using SharpNoise.Builders; using SharpNoise.Modules; using Range = Game.Maths.Range; namespace Game.WorldGen { /// <summary> /// Represents the temperature layer of a game world ///...
chart/Chart Series/Chart Symbols/CS/Form1.cs
syncfusion/winforms-demos
103
7037965
<reponame>syncfusion/winforms-demos<filename>chart/Chart Series/Chart Symbols/CS/Form1.cs #region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by ...
src/EFTools/EntityDesignEntityDesigner/CustomCode/Validation/EntityDesignerViewModel.cs
sharwell/ef6tools
9
7037966
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. namespace Microsoft.Data.Entity.Design.EntityDesigner.ViewModel { using Microsoft.VisualStudio.Modeling.Validation; [ValidationState(ValidationState.Disabled)] ...
src/FubarDev.FtpServer.FileSystem.DotNet/DotNetFileSystemOptions.cs
mutiadavid/FtpServer
1
7037967
<reponame>mutiadavid/FtpServer // <copyright file="DotNetFileSystemOptions.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> namespace FubarDev.FtpServer.FileSystem.DotNet { /// <summary> /// Options for the .NET API based file system access...
src/SigStat.Common/Features/Loop.cs
Gerghet/sigstat
5
7037969
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using Newtonsoft.Json; using SigStat.Common.Helpers.Serialization; namespace SigStat.Common { /// <summary> /// Represents a loop in a signature /// </summary> [JsonObject(MemberSerialization.OptOut)] public c...
operators/multicluster-operators-subscription/dotnet/Kubernetes/Crds/Operators/MulticlusterOperatorsSubscription/Apps/V1/Inputs/ChannelSpecGatesArgs.cs
pulumi/pulumi-kubernetes-crds
0
7037970
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.I...
data/test/csharp/ceed221af962d09066edba798524684fa6b5148bInvokeActionModel.cs
aliostad/deep-learning-lang-detection
84
7037971
<filename>data/test/csharp/ceed221af962d09066edba798524684fa6b5148bInvokeActionModel.cs<gh_stars>10-100 using System; namespace HP41CV.Models { public class InvokeActionModel : ActionModel { protected Action Action; protected Action<object> InvokeAction; public InvokeActionModel(strin...
Replica.Core/Messages/MessageBuilder.cs
Exeteres/Replica.Core
1
7037972
<filename>Replica.Core/Messages/MessageBuilder.cs using System; using System.Collections.Generic; using System.Linq; using Replica.Core.Contexts; using Replica.Core.Entity; using Replica.Core.Entity.Attachments; namespace Replica.Core.Messages { public class MessageBuilder { private OutMessage _message...
LightCommunicator/Views/Chat.xaml.cs
johnthiriet/SilverlightFrance-LightCommunicator
1
7037973
<reponame>johnthiriet/SilverlightFrance-LightCommunicator<gh_stars>1-10 using System.Windows.Controls; using System.Windows.Navigation; using LightCommunicator.Silverlight.ViewModel; namespace LightCommunicator.Silverlight.Views { public partial class Chat : Page { private ChatViewModel _vm; ...
src/Service/Service/Networking/Server.cs
ideum/Touchless.Design-Ultraleap-Beyond-Touch
2
7037974
<filename>src/Service/Service/Networking/Server.cs using System; using System.Collections.Generic; using System.Linq; namespace TouchlessDesign.Networking { public abstract class Server : Client.IListener, IDisposable { #region Life Cycle public bool IsStarted { get; private set; } #region Start ...
src/Infrastructure/src/Emulator/Main/Utilities/DisposableWrapper.cs
UPBIoT/renode-iot
3
7037975
// // Copyright (c) 2010-2018 Antmicro // // This file is licensed under the MIT License. // Full license text is available in 'licenses/MIT.txt'. // using System; using System.Collections.Generic; namespace Antmicro.Renode.Utilities { public class DisposableWrapper : IDisposable { public static Dis...
TankLib/STU/Types/STU_331B7B06.cs
Mike111177/OWLib
1
7037976
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x331B7B06)] public class STU_331B7B06 : STU_9881546F { [STUFieldAttribute(0xF9C9453C)] public ulong m_F9C9453C; [STUFieldAttribute(0xEB45D767, ReaderType = typeo...
src/Data/FitnessBuddy.Data/Migrations/20220318072351_ExercisesLikesAdded.cs
beshev/FitnessBuddy
4
7037977
<filename>src/Data/FitnessBuddy.Data/Migrations/20220318072351_ExercisesLikesAdded.cs #nullable disable namespace FitnessBuddy.Data.Migrations { using System; using Microsoft.EntityFrameworkCore.Migrations; public partial class ExercisesLikesAdded : Migration { protected override void Up(Mig...
RepositoryPattern.WebApi/RepositoryPattern.Domain/Category.cs
Yang-Onion/ArchitectureAndPatterns
0
7037978
using System; using System.Collections.Generic; using System.Text; namespace RepositoryPattern.Domain { public class Category:AggregateRoot<int> { public string Name { get; set; } public string Description { get; set; } public override string ToString() { return Nam...
OOP/Homework Assignments/2. Defining Classes Part II/05. GenericList/GenericListExtension.cs
vic-alexiev/TelerikAcademy
4
7037979
using System; public static class GenericListExtension { public static T GetMin<T>(this GenericList<T> source) where T : IComparable<T> { if (source == null) { throw new ArgumentNullException("source"); } if (source.Count == 0) { throw n...
src/ProblemDetailsDemo.Api/MvcCustomizations/NotFoundResultAttribute.cs
sucrose0413/ProblemDetailsDemo
26
7037980
using System; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace ProblemDetailsDemo.Api.MvcCustomizations { /// <summary> /// Return a <see cref="NotFoundResult" /> for controller actions that return <c>null</c> /// or <c>ObjectResult(null)</c> /// </summary> /// <remarks>...
SerrisCodeEditor/SerrisCodeEditor/Xaml/Views/TabsViewer.xaml.cs
ghmoore/SerrisCodeEditor
36
7037981
<filename>SerrisCodeEditor/SerrisCodeEditor/Xaml/Views/TabsViewer.xaml.cs using GalaSoft.MvvmLight.Messaging; using Microsoft.Toolkit.Uwp.Helpers; using SCEELibs.Editor.Notifications; using SerrisCodeEditor.Functions; using SerrisModulesServer.Items; using SerrisModulesServer.Manager; using SerrisModulesServer.Type.Te...
eventflow.api/Models/ProcesoData.cs
neburnz/EventFlowPoc
0
7037982
<gh_stars>0 using System; using System.ComponentModel.DataAnnotations; namespace poc.eventflow.api { public class ProcesoData { [Required] public DateTime FechaCorte { get; set; } } }
Flax/Windows/AutomationPropertyExtensions.cs
teonsen/Flax
2
7037983
<filename>Flax/Windows/AutomationPropertyExtensions.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Flax.Windows { public static class AutomationPropertyExtensions { public static string ToDisplayText<T>(this FlaUI.Core.I...
mcs/tests/test-821.cs
lefb766/mono
469
7037984
// Compiler options: -unsafe unsafe struct S { T Test<T> () { return default (T); } public void M () { fixed (S* ptr = &this) ptr->Test<string> (); } } class A { public static int Main () { new S ().M (); return 0; } }
csharp/PerfMon/PerformanceCounters_Dict_CreateUpdate.cs
cgoldberg/corey-projects
0
7037985
/* * <NAME> - 2010 * C#/.NET - Windows Performance Counters (perfmon) - Creating and Updating * * Creates a Performance Counter Category and associated Counters. * References to counter instances are stored in a lookup Dictionary. * Updates the Counters with random values (0-100) every sec. */ ...
source/tests/MyCouch.UnitTests.Net45/Cloudant/HttpRequestFactories/SearchIndexHttpRequestFactoryTests.cs
indranilatcal/mycouch
0
7037986
using System; using FluentAssertions; using MyCouch.Cloudant; using MyCouch.Cloudant.HttpRequestFactories; using MyCouch.Cloudant.Requests; using MyCouch.Net; using MyCouch.Testing; using Xunit; namespace MyCouch.UnitTests.Cloudant.HttpRequestFactories { public class SearchIndexHttpRequestFactoryTests : UnitTests...
src/Runner.Server/Controllers/AgentSessionController.cs
asSqr/runner.server
0
7037987
<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Threading.Tasks; using GitHub.DistributedTask.WebApi; using GitHub.Services.Location; using GitHub.Services.WebApi; using Microsoft.AspNetCore.Authorization; using Microsoft....
src/System.Net.NetworkInformation/src/System/Net/NetworkInformation/OsxIpInterfaceStatistics.cs
PatrickMcDonald/corefx
3
7037988
<reponame>PatrickMcDonald/corefx<gh_stars>1-10 // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.Net.NetworkInformation { internal class OsxIpInterfaceStatistics : IPInterfaceStatistics { ...
WindowsSdk/InedoExtension/Operations/XdtTransformOperation.cs
Inedo/inedox-windowssdk
1
7037989
using System.ComponentModel; using System.IO; using System.Text; using System.Threading.Tasks; using Inedo.Agents; using Inedo.Diagnostics; using Inedo.Documentation; using Inedo.Extensibility; using Inedo.Extensibility.Operations; using Inedo.IO; namespace Inedo.Extensions.WindowsSdk.Operations { [DisplayName("X...
Methods/Printing Triangle/Printing Triangle/Program.cs
VladimirDikovski/C-Fundamentals-May-2019
0
7037990
using System; namespace Printing_Triangle { class Program { static void Main(string[] args) { int digit = int.Parse(Console.ReadLine()); for (int i = 1; i <= digit; i++) { PrintNumbers(i); } for (in...
Assets/XIL/Scripts/Serialize/HotArrayAnyType.cs
ErQing/XIL
783
7037991
<reponame>ErQing/XIL<filename>Assets/XIL/Scripts/Serialize/HotArrayAnyType.cs #if USE_HOT using UnityEngine; using System.Reflection; using System.Collections; using System.Collections.Generic; using ILRuntime.Reflection; namespace wxb { class HotArrayAnyType : IListAnyType { bool isListType; ...
SS Multi Tool/Map Diagnoser.cs
Avibah/Sound-Space-Multi-Tool
0
7037992
<filename>SS Multi Tool/Map Diagnoser.cs using System; using System.Windows.Forms; using System.IO; using System.Text.RegularExpressions; using System.Collections.Generic; using System.Linq; namespace SS_Multi_Tool { public partial class Map_Diagnoser : Form { public Map_Diagnoser() { ...
src/Lykke.Service.LiquidityEngine.Domain/Repositories/ICrossInstrumentRepository.cs
1Blackdiamondsc/Lykke.Service.LiquidityEngine
5
7037993
using System.Collections.Generic; using System.Threading.Tasks; namespace Lykke.Service.LiquidityEngine.Domain.Repositories { public interface ICrossInstrumentRepository { Task<IReadOnlyCollection<CrossInstrument>> GetAsync(string assetPairId); Task AddAsync(string assetPairId, CrossInstrument...
code/RedisKeyTool.Server.Application/Utils/ConnectionBuilder.cs
BlazorHub/radishv2
3
7037994
using RedisKeyTool.Shared; using StackExchange.Redis; using System.Text; namespace RedisKeyTool.Server.Application.Utils { /// <summary> /// This is the shared connection builder. /// </summary> public static class ConnectionBuilder { /// <summary> /// Builds the connect to redis. ...
Sabio.Web/Views/Tests/AngularGeography.cshtml
yushigomi/ATeam
0
7037995
@{ ViewBag.Title = "AngularGeography"; Layout = "~/Views/Shared/_Layout.cshtml"; } <style> #map-canvas { width: 100%; height: 500px; background-color: #CCC; } </style> <h2>Angular Geography Demo</h2> <section data-ng-controller="geoController as geo"> <div...
Assets/Project/Scripts/BlockCursorDeselector.cs
OmiyaGames/hachi-block
1
7037996
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; namespace Project { public class BlockCursorDeselector : MonoBehaviour, IPointerClickHandler { [SerializeField] BlockCursor cursor; public void OnPointerClick(Poi...
SEIDR.Monitor/SEIDR.Dynamics.Windows/Configurations/UserConfiguration/BasicUser.cs
maron6/SEIDR
1
7037997
<reponame>maron6/SEIDR using System.ComponentModel; using System.Linq; namespace SEIDR.Dynamics.Configurations.UserConfiguration { /// <summary> /// Exposes the SEIDR.Window user representation for SEIDR.Window plugins /// </summary> public abstract class BasicUser { /// <summary> ...
src/Config.Tests/TextRulesTests.cs
PadreSVK/dotnet-config
44
7037998
using Xunit; namespace DotNetConfig { public class TextRulesTests { [Theory] [InlineData("1", true)] [InlineData("true", true)] [InlineData("True", true)] [InlineData("TRUE", true)] [InlineData("yes", true)] [InlineData("Yes", true)] [InlineData(...
src/dotnet/commands/dotnet-buildserver/shutdown/BuildServerShutdownCommand.cs
svick/cli
1
7037999
<gh_stars>1-10 // Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.DotNet.BuildServe...
dl-api-csharp/Doublelives.Service/Mappers/DeptMapper.cs
lzw5399/dl-admin
5
7038000
using Doublelives.Domain.Sys; using Doublelives.Domain.Sys.Dto; using Doublelives.Infrastructure.Extensions; using System.Collections.Generic; namespace Doublelives.Service.Mappers { public static class DeptMapper { public static DeptDto ToDeptDto(SysDept sysDept) { var dto = new D...
PrgrammingFundametnalsFast/12_Exams/23October2016Exam/Task02LadyBugsAgain/Task02Again.cs
samuilll/BeginnerExams
0
7038001
<filename>PrgrammingFundametnalsFast/12_Exams/23October2016Exam/Task02LadyBugsAgain/Task02Again.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Task02LadyBugs { static void Main(string[] args) { long fieldSize = long.Parse(...
Samples/TelcoGenerator/TelcoDataGenerator.Common/BrokeredComponents/ServiceBusExtensions.cs
schulmeyer/azure-stream-analytics
236
7038002
<filename>Samples/TelcoGenerator/TelcoDataGenerator.Common/BrokeredComponents/ServiceBusExtensions.cs //--------------------------------------------------------------------------------- // Microsoft (R) Windows Azure ServiceBus Messaging sample // // Copyright (c) Microsoft Corporation. All rights reserved. // // ...
UI/MetroFtpClient/Bootstrapper.cs
steve600/MetroFtpClient
58
7038003
using Dragablz; using MetroFtpClient.Events; using MetroFtpClient.Ftp.Contracts.Interfaces; using MetroFtpClient.Ftp.FtpClient; using MetroFtpClient.Infrastructure; using MetroFtpClient.Infrastructure.Constants; using MetroFtpClient.Infrastructure.Events; using MetroFtpClient.Infrastructure.Interfaces; using MetroFtpC...
Editor/ModelViewer/MemberInfoDrawer/Properties/Vector3IntMemberInfoDrawer.cs
ertrkumut/unity-mvc
3
7038004
<gh_stars>1-10 using System; using System.Reflection; using MVC.Editor.ModelViewer.PropertyDrawer.Properties; using UnityEngine; namespace MVC.Editor.ModelViewer.MemberInfoDrawer.Properties { internal class Vector3IntMemberInfoDrawer : MemberInfoDrawer<Vector3Int> { protected override Type _propertyDr...
src/DotNetCore.CAP/Properties/AssemblyInfo.cs
deeja/CAP
5,798
7038005
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("DotNetCore.CAP.Test")]
Nez.Portable/ECS/Components/Text/TextRun.cs
sherjilozair/Nez
0
7038006
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Nez.BitmapFonts; namespace Nez { /// <summary> /// provides a cached run of text for super fast text drawing. Note that this is only appropriate for text that doesnt change often /// and doesnt move. /// </summary> public...
SecureWebApi.Shared/Services/SendGridService.cs
larsfagerbakke/SecureWebApi
0
7038007
using SendGrid; using SendGrid.Helpers.Mail; using System.Net.Mail; using System.Threading.Tasks; namespace SecureWebApi.Shared.Services { /// <summary> /// SendGrid configuration object /// </summary> public class SendGridMailServiceConfiguration : IMailServiceConfiguration { public strin...
src/Commands/Publishing/AddPublishingImageRendition.cs
rramhapgb/powershell
1
7038008
using System.Management.Automation; using Microsoft.SharePoint.Client; namespace PnP.PowerShell.Commands.Publishing { [Cmdlet(VerbsCommon.Add, "PublishingImageRendition")] public class AddPublishingImageRendition : PnPWebCmdlet { [Parameter(Mandatory = true)] public string Name ...
C# Advanced/C#Adanced/LabEndExercises/06.SetsAndDictionariesAdvancedExercise/p03.02.PeriodicTable/PeriodicTable.cs
vesy53/SoftUni
0
7038009
<reponame>vesy53/SoftUni namespace p03._02.PeriodicTable { using System; using System.Collections.Generic; using System.Linq; class PeriodicTable { static void Main(string[] args) { SortedSet<string> periodicTable = new SortedSet<string>(); int number = int...
MyException/MyException.cs
KurtLarsen/ldosh
0
7038010
using System; namespace MyException{ public class MyException : Exception{ private readonly int _code; // constructor protected MyException(int code, string msgMask, params object[] args) : base(Msg(msgMask, args)){ _code = code; } private static string Msg(string mask, params object[] a...
GameJam/GameJam/Assets/Scripts/PresentSpawner.cs
jwrmg/DecemberGameJam
0
7038012
<reponame>jwrmg/DecemberGameJam using System.Collections; using UnityEngine; public class PresentSpawner : MonoBehaviour { public GameObject[] Toys; public AnimationCurve Curve; public float SpawnHeight; public float SpawnTimeRange = 10; public float ScoreThreshold; public float AppliedGra...
modules/SeedModules.Admin/Models/PersonalNameModel.cs
fyl080801/dotnet-seed
2
7038013
using System.ComponentModel.DataAnnotations; using SeedModules.Security.Domain; namespace SeedModules.Admin.Models { public class PersonalNameModel { public string FirstName { get; set; } [Required] public string LastName { get; set; } } }
src/Workspaces/CoreTestUtilities/TestGeneratorReference.cs
vorotynsky/roslyn
0
7038014
<reponame>vorotynsky/roslyn<filename>src/Workspaces/CoreTestUtilities/TestGeneratorReference.cs<gh_stars>0 // 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 Sy...
tests/Jsonificate.Tests/PoolingJsonConverterTests.ReadWriteProperties.cs
joncloud/jsonificate
0
7038015
using System; using System.Text.Json; using Xunit; namespace Jsonificate.Tests { partial class PoolingJsonConverterTests { [Fact] public void Serialize_ShouldRead_GivenWriteOnlyProperty() { var instance = ReadWriteProperties.Random(); var context = new Context<Re...
Demo/2016/Unicode/UtfString/DualEncoding/ArrayAccessor.cs
ufcpp/UfcppSample
126
7038016
namespace UtfString.DualEncoding { /// <summary> /// byte 配列から、 /// 2バイトずつ ushort として読みだすか、 /// 1バイトずつ byte として読みだすかを切り替えるラッパー型。 /// </summary> public struct ArrayAccessor { private bool _isWideChar; private readonly byte[] _data; public ArrayAccessor(bool isWideCha...
Wosad.Concrete/ACI/ACI318_14/C25_ReinforcementDetails/SpliceAndEmbedment/Tension/TensionConfinement-Ktr.cs
Wosad/Wosad.Design
7
7038017
#region Copyright /*Copyright (C) 2015 Wosad 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 a...