max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
Src/AutoFixtureDocumentationTest/Simple/ComplexChild.cs
cmannix/AutoFixture
0
7070237
<filename>Src/AutoFixtureDocumentationTest/Simple/ComplexChild.cs namespace Ploeh.AutoFixtureDocumentationTest.Simple { public class ComplexChild { public ComplexChild(string name) { this.Name = name; } public ComplexChild(string name, int number) ...
w3resource/ex034/ex034/Program.cs
henriquebenjamim/exercisingCsharp
0
7070238
<gh_stars>0 using System; namespace ex034 { internal class Program { static void Main(string[] args) { //34.Write a C# program to check if a string starts with a specified word. //Note: Suppose the sentence starts with "Hello" //Sample Data: string1 = "Hello...
src/Telegram.Bot.Jira/Models/JiraBotConfig.cs
FluffyFairyGames/telegram-jira-bot
9
7070239
// Copyright (c) 2017 <NAME> // Distributed under the MIT License. // https://github.com/FluffyFairyGames/telegram-jira-bot/blob/master/LICENSE using Telegram.Bot.Core; namespace Telegram.Bot.Jira { public class JiraBotConfig : ITelegramConfig { public JiraBotConfig() { } pub...
Cubach/Network/Local/LocalServerConnection.cs
SumireTeam/Cubach
2
7070240
using System; using System.Collections.Generic; using Cubach.Model; namespace Cubach.Network.Local { public class LocalServerConnection : IServerConnection { private readonly Queue<ServerMessage> incomingMessages; private readonly Queue<ClientMessage> outgoingMessages; public event Eve...
src/Metaseed.Core/MVVM/Commands/RemoteCommand/Server/RemoteCommandDelegate.cs
metaseed/MetaStudio
4
7070241
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms.VisualStyles; namespace Metaseed.MVVM.Commands { public class RemoteCommandDelegate: RemoteCommandBase { public RemoteCommandDelegate(IRemoteCommandService com...
SmartHomeApi.WebApi/AppMigrator.cs
hdimon/SmartHomeApi
0
7070242
<gh_stars>0 using System; using System.IO; using System.Reflection; using System.Text.RegularExpressions; using System.Threading.Tasks; using SmartHomeApi.Core.Interfaces; using SmartHomeApi.Core.Interfaces.Configuration; namespace SmartHomeApi.WebApi { public class AppMigrator { public static async T...
CLanguage/Syntax/TypeQualifiers.cs
ajinkyakulkarni/CLanguage
215
7070243
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CLanguage.Syntax { [Flags] public enum TypeQualifiers { None = 0, Const = 1, Restrict = 2, Volatile = 4, } }
dotnetplsqltests/Ddl.cs
raverkamp/dotnetplsql
0
7070244
using System; using System.Data.Common; namespace spinat.dotnetplsqltests { public class Ddl { public static void createType(DbConnection c, String s) { var stm = c.CreateCommand(); var a = s.Split(new String[] { " " }, StringSplitOptions.RemoveEmptyEntries); ...
oxide/plugins/other/HumanitySystem.cs
john-clark/rust-oxide-umod
13
7070245
<reponame>john-clark/rust-oxide-umod<filename>oxide/plugins/other/HumanitySystem.cs using System; using System.Collections.Generic; using Oxide.Core; using Oxide.Core.Configuration; using Oxide.Game.Rust.Cui; using Oxide.Core.Plugins; using UnityEngine; using System.Linq; using System.Reflection; namespace Oxide.Plugi...
src/_DomainDriven/Framework.DomainDriven.ServiceModel/Subsribtions/ObjectModificationInfoDTO.cs
Luxoft/BSSFramework
18
7070246
using System; using System.Runtime.Serialization; using Framework.Core; using Framework.DomainDriven.DAL.Revisions; namespace Framework.DomainDriven.ServiceModel.Subscriptions { [DataContract(Name = "ObjectModificationInfoDTO{0}")] public class ObjectModificationInfoDTO<TIdent> { [DataMe...
Design-Architecture-Series/HybridTestFramework.UITests.Core/Configuration/TimeoutSettingsProvider.cs
tunjiadelana/AutomateThePlanet-Learning-Series
1
7070247
using System.Configuration; namespace HybridTestFramework.UITests.Core.Configuration { public class TimeoutSettingsProvider : ConfigurationSection { private static readonly TimeoutSettings TimeoutSettings; static TimeoutSettingsProvider() { try { ...
Terrain Generator - source/C#/TerrainCreation.cs
stormont/terraingine
0
7070248
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using Microsoft.DirectX; using Microsoft.DirectX.Direct3D; using Voyage.Terraingine.DXViewport; using Voyage.Terraingine.DataCore; namespace Voyage.Terraingine { /// <summary> /// Summary descriptio...
HOPU/Implement/ImpTopic.cs
wszhh/OnlineTest
2
7070249
<filename>HOPU/Implement/ImpTopic.cs using HOPU.Services; using HOPU.Models; using System; using System.Linq; namespace HOPU.Implement { public class ImpTopic : ITopic { private HopuDBDataContext db = new HopuDBDataContext(); public bool DeleteAllTopic(double[] topics) { b...
Kata/PresentationLayer/Complete/ExtensionMethods/ExtensionMethodDemo.cs
contino/dotnet-training-course
0
7070250
<reponame>contino/dotnet-training-course using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; using static PresentationLayer.Complete.ExtensionMethods.ExtensionMethodDemo; using static PresentationLayer.DictionaryDemo; namespace PresentationLayer.Complete.ExtensionMethods { ...
Net8080/Opcodes.cs
Mervill/Net8080
2
7070251
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Net8080 { public enum Opcode { NOP = 0x00, /* nop */ UNDOC_NOP0 = 0x08, /* nop, undocumented */ UNDOC_NOP1 = 0x10, /* nop, undocumented */ UNDOC_NOP2 = 0x18, /* nop, undocumented */ UNDOC_NOP3 = 0...
Ascendant/Ascendant/Physics/MultiBodyObject.cs
tinamil/ascendant
0
7070252
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ascendant.Graphics; using OpenTK; using Ascendant.Graphics.objects; using OpenTK.Graphics.OpenGL4; using Ascendant.Graphics.lighting; using BulletSharp; namespace Ascendant.Physics { class Joint { publ...
UnityInspector.GUI/Models/EnumMember.cs
Mohelm97/UnityInspector
17
7070253
<reponame>Mohelm97/UnityInspector using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UnityInspector.GUI.Models { class EnumMember { private string _value; public ObjectMember objectMember; public string[] Values...
Assets/CustomInspectorCreator/Editor/Utilities/Generator.cs
GlassToeStudio/UnityCustomInspectorCreator
7
7070254
using System; using System.IO; using System.Linq; using System.Text; using UnityEngine; using System.Reflection; using System.Collections.Generic; namespace GTS.InspectorGeneration.Utilities { public class Generator { private string tabLevel; private bool didHaveProps; private string c...
Appinion.Api/Helper/QuartzExtensions.cs
eduardosbcabral/appinion-backend
1
7070255
<reponame>eduardosbcabral/appinion-backend using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Quartz; using Quartz.Impl; using Quartz.Spi; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Threading.Tasks; names...
src/Infrastructure/EntityFrameworkCore/ModelBuilderExtensions.cs
optivem/optivem-commons-cs
6
7070256
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; namespace Atomiv.Infrastructure.EntityFrameworkCore { public static class ModelBuilderExtensions { public static void Seed<TRecord>(this ModelBuilder modelBuilder, List<TRecord> data) wh...
Src/iFramework/Exceptions/NoCommandHandlerExists.cs
JTOne123/IFramework
57
7070257
using System; using System.Runtime.Serialization; namespace IFramework.Exceptions { public class NoCommandHandlerExists : Exception { public NoCommandHandlerExists() : base("NoneCommandHandlerExists") { } protected NoCommandHandlerExists(SerializationInfo info, StreamingContext context) ...
share/JSSoft.Crema.Services.Test.Common/DataBaseFilter.cs
s2quake/Ntreev.Crema
0
7070258
<filename>share/JSSoft.Crema.Services.Test.Common/DataBaseFilter.cs using JSSoft.Crema.Services; using JSSoft.Crema.ServiceModel; using JSSoft.Crema.Services.Extensions; using JSSoft.Crema.Services.Random; using JSSoft.Library.ObjectModel; using System; using System.Collections.Generic; using System.Linq; using System...
meetometer/Controllers/MeetingsController.cs
ajtowf/meetometer
5
7070259
using System.Web.Http; using meetometer.Repository; using meetometer.Repository.Entities; using Microsoft.AspNet.Identity; namespace meetometer.Controllers { [Authorize] public class MeetingsController : ApiController { private IMeetingRepository repository; public MeetingsController(IMee...
iam/csharp/core/Models/AuthPolicy.cs
alipay/antchain-openapi-prod-sdk
6
7070261
<reponame>alipay/antchain-openapi-prod-sdk<gh_stars>1-10 // This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.IAM.Models { // 授权策略 public class AuthPolicy : TeaModel { // 授权能力Id [NameInMap("ab...
test/Microsoft.SqlTools.ServiceLayer.UnitTests/Utility/TestDbDataSet.cs
shueybubbles/sqltoolsservice
0
7070262
<filename>test/Microsoft.SqlTools.ServiceLayer.UnitTests/Utility/TestDbDataSet.cs // // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Collections; using System.Collections.Generic; using System.Data.C...
LibraryManagement/ApiControllers/BooksController.cs
djenbmt96/LibraryManagementAPI
0
7070263
<filename>LibraryManagement/ApiControllers/BooksController.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using LibraryManagement.Models; using LibraryManagement.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.Asp...
Cerberus.Core/DL/Article.cs
robertzml/Cerberus
0
7070264
using System; using System.Collections.Generic; using System.Text; using SqlSugar; namespace Cerberus.Core.DL { [SugarTable("article")] public class Article { [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } [SugarColumn(ColumnNa...
StacksAndQueuesExercise/04.FastFood/Program.cs
Stella-Kaneva/csharp-advanced-repository
0
7070265
<reponame>Stella-Kaneva/csharp-advanced-repository using System; using System.Collections.Generic; using System.Linq; namespace _04.FastFood { class Program { static void Main(string[] args) { int quantityOfFoodForTheDay = int.Parse(Console.ReadLine()); int[] data = Con...
Src/OSUtils.cs
Mirsario/DissonanceFramework
7
7070266
using System.Runtime.InteropServices; namespace Dissonance.Framework { public static class OSUtils { public enum OS { Windows, Linux, OSX, FreeBSD } public static bool IsOS(OS os) { return os switch { OS.Windows => RuntimeInformation.IsOSPlatform(OSPlatform.Windows), OS.Linux => Ru...
src/KafkaFlow.Retry.UnitTests/Repositories/SqlServer/Readers/Adapters/RetryQueueItemMessageAdapterTests.cs
Farfetch/kafka-flow-retry-extensions
32
7070267
namespace KafkaFlow.Retry.UnitTests.Repositories.SqlServer.Readers.Adapters { using System; using FluentAssertions; using global::KafkaFlow.Retry.Durable.Repository.Model; using global::KafkaFlow.Retry.SqlServer.Model; using global::KafkaFlow.Retry.SqlServer.Readers.Adapters; using Xunit; ...
DynamicDataDisplaySample/DynamicDataDisplay/Common/Auxiliary/PlacementExtensions.cs
mesta1/DynamicDataDisplay-example
35
7070268
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Research.DynamicDataDisplay.Charts; namespace Microsoft.Research.DynamicDataDisplay.Common.Auxiliary { internal static class PlacementExtensions { public static bool IsHorizontal(this AxisPlacement placement) {...
Source/TStore/TStore/Extensions/StringExtensions.cs
SteffenBlake/TStore
0
7070269
using System; using System.Text.RegularExpressions; namespace TStore.Extensions { public static class StringExtensions { public static string WildCardToRegex(this string value) { return "^" + Regex.Escape(value).Replace("\\*", ".*") + "$"; } } }
Assets/Plugins/FuncAnalyzer/core/lib/Analyzer.cs
whilu/FuncAnalyzer
8
7070270
<filename>Assets/Plugins/FuncAnalyzer/core/lib/Analyzer.cs /* * Copyright 2020 lujun * * 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 * * U...
C #/QPC/01.Unit-Testing/02.Test-Driven-Development/Poker.Tests/Fakes/Card/FakeCard.cs
DragomirPetrov/TelerikAcademy
5
7070271
<filename>C #/QPC/01.Unit-Testing/02.Test-Driven-Development/Poker.Tests/Fakes/Card/FakeCard.cs namespace Poker.Tests.Fakes { using Poker; public class FakeCard : ICard { public FakeCard(CardFace face, CardSuit suit) { this.Face = face; this.Suit = suit; } ...
external/TobiiGazeSdk-DotNetApi-2.1.3.304-Win64/Samples/WpfCalibrationSample/ICalibrationViewModel.cs
MSREnable/GazePointer
12
7070272
//----------------------------------------------------------------------- // Copyright 2014 Tobii Technology AB. All rights reserved. //----------------------------------------------------------------------- namespace WpfCalibrationSample { using System; using System.Collections.ObjectModel; using System....
Samples/AzureDiagnosticsSample/AzureDiagnostics/AzureDiagnosticsUtil.cs
lingluo0531/AzureDataLake
135
7070274
<filename>Samples/AzureDiagnosticsSample/AzureDiagnostics/AzureDiagnosticsUtil.cs using System.Collections.Generic; namespace AzureDiagnostics { public static class AzureDiagnosticsUtil { public static IEnumerable<LogRecord<DataLakeAnalyticsProperties>> GetLogADLARecords(System.IO.StreamReader stream_r...
XBC/XBC.MVC/Views/Feedback/_List.cshtml
MRidoKurniawan/XBC
0
7070275
@model IEnumerable<XBC.ViewModel.FeedbackViewModel> <table class="table table-bordered table-striped"> <tr> <th> @Html.DisplayNameFor(model => model.Nama) </th> <th>#</th> </tr> @foreach (var item in Model) { <tr> <td> @Html.D...
Src/Core/Studio.Application/Cities/Queries/GetAllCitiesNames/GetCitiesNamesListQueryHandler.cs
VeselinBPavlov/studioto.bg
0
7070276
namespace Studio.Application.Cities.Queries.GetAllCitiesNames { using System.Linq; using System.Threading; using System.Threading.Tasks; using AutoMapper; using AutoMapper.QueryableExtensions; using Interfaces.Persistence; using MediatR; using Microsoft.EntityFrameworkCore; public ...
BitTorrentProtocol/BitTorrentProtocol/Torrent/TrackerRequestUrl.cs
Expeth/BitTorrentProtocol
1
7070277
using System; using System.Collections.Generic; using System.Linq; using System.Security.Policy; using System.Text; using System.Threading.Tasks; namespace BitTorrentProtocol.Torrent { /// <summary> /// Class for creating request url to tracker /// </summary> public static class TrackerRequestUrl ...
DrumbleApp.Shared/Data/Repositories/CacheSettingRepository.cs
CodeObsessed/drumbleapp
0
7070278
<filename>DrumbleApp.Shared/Data/Repositories/CacheSettingRepository.cs<gh_stars>0 using DrumbleApp.Shared.Data.Factories; using DrumbleApp.Shared.Data.Models; using DrumbleApp.Shared.Data.Schema; using DrumbleApp.Shared.Interfaces; using System.Collections.Generic; using System.Linq; namespace DrumbleApp.Shared.Data...
SharpSugar/TypeHelper.cs
yinyue200/SharpSugar
0
7070279
<reponame>yinyue200/SharpSugar using System; namespace Yinyue200.SharpSugar { public static class TypeHelper { public static T StaticCastTo<T>(this object obj) { return (T)obj; } public static T DynamicCastTo<T>(this object obj) where T:class { r...
aspnet-core/src/IIASA.FloodCitiSense.Application.Shared/Editions/Dto/CreateOrUpdateEditionDto.cs
FloodCitiSense/FloodCitiSense
1
7070280
<reponame>FloodCitiSense/FloodCitiSense using Abp.Application.Services.Dto; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace IIASA.FloodCitiSense.Editions.Dto { public class CreateOrUpdateEditionDto { [Required] public EditionEditDto Edition { get; set; ...
src/Services/Users/Users.Infrastructure/Data/Configurations/UserEntityTypeConfiguration.cs
GeorgeLatsev/lounge-backend
1
7070281
using Lounge.Services.Users.Models.UserEntities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using static Lounge.Services.Users.Models.UserEntities.ModelConstants.User; namespace Lounge.Services.Users.Infrastructure.Data.Configurations { public class UserEntityTypeC...
SRC/JerryPlat.Web/Areas/Admin/Controllers/UploadController.cs
JerryPCN/Jerry-Project-Template
1
7070282
<gh_stars>1-10 using JerryPlat.Utils.Helpers; using JerryPlat.Web.App_Start.Filter; using JerryPlat.Web.Areas.Base; using System.Web; using System.Web.Mvc; namespace JerryPlat.Web.Areas.Admin.Controllers { [LoginAuthorize] public class UploadController : BaseController { // GET: Admin/Upload ...
LogUploader/Helper/JobQueue/JobQueue.cs
ProfBits/LogUploader2
1
7070284
using LogUploader.Interfaces; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace LogUploader.Helper.JobQueue { public class JobQueue<T> { private readonly BlockingCo...
GeomPad/GeomPadException.cs
fel88/GeomPad
1
7070285
<filename>GeomPad/GeomPadException.cs using System; namespace GeomPad { public class GeomPadException : Exception { public GeomPadException() : base() { } public GeomPadException(string str) : base(str) { } } }
Assets/Demo/FSM demo/Scripts/WatchingPerception.cs
Joymg/CP2122_Grupo4
0
7070286
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WatchingPerception : Perception { #region variables private GameObject watcher; private GameObject target; private MeshCollider colliderVision; private RaycastHit rayHit; private Ray ray; #endreg...
com.vertx.nDocumentation/Contents/IDocumentationPage.cs
vertxxyz/nDocumentation
13
7070287
using UnityEngine; namespace Vertx { internal interface IDocumentationPage<in T> : IDocumentation<T> where T : DocumentationWindow { /// <summary> /// The colour of link buttons that reference this page. /// </summary> Color Color { get; } /// <summary> ...
src/Verify.GrapeCity/VerifyGrapeCity_Excel.cs
VerifyTests/Verify.GrapeCity
1
7070288
<gh_stars>1-10 using GrapeCity.Documents.Excel; using GrapeCity.Documents.Excel.Drawing; namespace VerifyTests; public static partial class VerifyGrapeCity { static ConversionResult ConvertExcel(Stream stream, IReadOnlyDictionary<string, object> settings) { var book = new Workbook(); ...
FrontDesk.API/Controllers/SessionsController.cs
tling3/FrontDesk.API
0
7070289
<filename>FrontDesk.API/Controllers/SessionsController.cs using AutoMapper; using FrontDesk.API.Data.Interfaces; using FrontDesk.API.Models.Domain; using FrontDesk.API.Models.DTOs; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.JsonPatch; using Microsoft.AspNetCore.Mvc; using System; using System.Collecti...
NutzCode.CloudFileSystem/CloudFileSystemPluginFactory.cs
maxpiva/CloudFileSystem
1
7070290
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using System.IO; using System.Reflection; using NutzCode.Libraries.Web.StreamProvider; namespace NutzCode.CloudFileSystem { public class CloudFileSystemPluginFactory { ...
PG.StarWarsGame.Files.MEG/PG.StarWarsGame.Files.MEG/Services/V1/MegFileProcessService.cs
AlamoEngine-Tools/PetroglyphTools
2
7070291
<filename>PG.StarWarsGame.Files.MEG/PG.StarWarsGame.Files.MEG/Services/V1/MegFileProcessService.cs // Copyright (c) 2021 Alamo Engine Tools and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Collections.Generic; using S...
src/NArms.Core/Utility/Name.cs
Eskat0n/NArms
1
7070292
namespace NArms.Utility { using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; public static class Name { public static string Of<T>(Expression<Func<T>> expression) { return GetName(expression.Body); } ...
Assets/DataMesh/ARModule/SpectatorView/Scripts/UI/LiveUI/LivePannel/UIFormAdvanced.cs
DataMesh-OpenSource/SolarSystemExplor
23
7070293
<gh_stars>10-100 using DataMesh.AR; using DataMesh.AR.SpectatorView; using DataMesh.AR.Utility; using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using UnityEngine; using UnityEngine.UI; namespace DataMesh.AR.SpectatorView { public class UIFormAdv...
server/tool/GenCodes/GenUtils.cs
neshlabs/OpenH5
2
7070294
namespace GenCodes { class GenUtils { public static string PROJECT_NAME { get { return "Game"; } } public static string PROJECT_NAMESPACE { get { return "namespace " + PROJECT_NAME; } } public static string PROJECT_FOLDER { get { return "src"; } } public const string PATH_SPLIT...
src/SimpleRecurringJobs/MicrosoftLogger.cs
asleire/SimpleRecurringJobs
4
7070295
using System; using System.Diagnostics.Tracing; using Microsoft.Extensions.Logging; namespace SimpleRecurringJobs; internal class MicrosoftLogger : IJobLogger { private readonly ILoggerFactory _factory; private readonly ILogger _logger; public MicrosoftLogger(ILoggerFactory factory) { _facto...
voicemodel/src/Alexa/Directives/AplDirectiveBase.cs
voicebridge/most
3
7070296
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; using VoiceBridge.Most.VoiceModel.Alexa.APL; namespace VoiceBridge.Most.VoiceModel.Alexa.Directives { public abstract class AplDirectiveBase : IAlexaDirective { [JsonProperty("type")] public abstract stri...
NVs.OccupancySensor.CV.Tests/StaticMaskCorrectionStrategyShould.cs
nvsnkv/NVs.OccupancySensor
1
7070297
using System; using System.IO; using Emgu.CV; using Emgu.CV.Structure; using NVs.OccupancySensor.CV.Correction; using NVs.OccupancySensor.CV.Settings.Correction; using Xunit; namespace NVs.OccupancySensor.CV.Tests { [Collection("Run Exclusively")] public sealed class StaticMaskCorrectionStrategyShould : IDisp...
src/core/JT808.Protocol/MessageBody/JT808_0x0800.cs
491134648/UnionIOV
4
7070298
<filename>src/core/JT808.Protocol/MessageBody/JT808_0x0800.cs using JT808.Protocol.Attributes; using JT808.Protocol.Formatters; using JT808.Protocol.MessagePack; namespace JT808.Protocol.MessageBody { /// <summary> /// 多媒体事件信息上传 /// 0x0800 /// </summary> public class JT808_0x0800 : JT808Bodies, IJ...
Flya/Models/City.cs
skillitzimberg/Flya.Solution
0
7070299
<filename>Flya/Models/City.cs using MySql.Data.MySqlClient; using System.Collections.Generic; using System; namespace Flya.Models { public class City { private string _city; private string _state; private int _id; public City(string city, string state, int id = 0) { _city = city; ...
src/Solid.Identity.Protocols.WsTrust.Tests/Extensions/BindingExtensions.cs
SOLIDSoftworks/Solid.Identity.Protocols.WsTrust
0
7070301
<filename>src/Solid.Identity.Protocols.WsTrust.Tests/Extensions/BindingExtensions.cs using Solid.Http; using Solid.Testing.AspNetCore.Extensions.XUnit; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace System.ServiceModel.Ch...
C#/SaveSys/SaveData.cs
the-Nem/HungruBerry
0
7070302
<reponame>the-Nem/HungruBerry using System.Collections; using System.Collections.Generic; using UnityEngine; namespace HongryBerry { [System.Serializable] public class SaveData { public int coins; public int LifesQuantity; public int burgerStatus; public int C...
TsigApp/Apis/Auth/SecureApiModule.cs
minhhungit/Tsig
1
7070303
using Nancy; using Nancy.Authentication.Stateless; using Nancy.Responses; using System; using System.Linq; namespace TsigApp.Apis.Auth { public abstract class SecureApiModule : NancyModule { protected readonly string ApiKeyCode = "ApiKey"; public IApiKeys Keys { get; } protected Secu...
Trace/Anno.Domain.Dto/BaseDto.cs
staoran/Viper
571
7070304
<reponame>staoran/Viper<filename>Trace/Anno.Domain.Dto/BaseDto.cs using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Anno.Domain.Dto { public class BaseDto { public long ID { get; set; } #regio...
Source/Machine.Specifications.ReSharperRunner.5.0/Tasks/ContextTask.5.0.cs
rho24/machine.specifications
1
7070305
<reponame>rho24/machine.specifications using System; using JetBrains.ReSharper.TaskRunnerFramework; namespace Machine.Specifications.ReSharperRunner.Tasks { internal partial class ContextTask : IUnitTestRemoteTask { public string TypeName { get { return ContextTypeName; } } public string S...
tests/Tests/Document/Multiple/BulkAll/BulkOnErrorApiTests.cs
SimonCropp/elasticsearch-net
0
7070307
<filename>tests/Tests/Document/Multiple/BulkAll/BulkOnErrorApiTests.cs // Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Collections.Gen...
Runtime/Attributes/Conditional/HideIfNullAttribute.cs
RealityProgrammer/Overseer-Inspector
5
7070308
using System; using System.Reflection; using System.Collections.Generic; using UnityEngine; namespace RealityProgrammer.OverseerInspector.Runtime.Validation { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public sealed cla...
Modules/HomeModule.cs
mattcaswell253/CsharpWeek2
0
7070309
<gh_stars>0 using Nancy; using System; using System.Collections.Generic; using RepeatCounterApp.Objects; namespace RepeatCounterApp { public class HomeModule : NancyModule { public HomeModule() { Get["/"] = _ => View["index.cshtml"]; Post["/answer"] = _ => { ...
src/MarshmallowPie/src/Abstractions/Repositories/IEnvironmentRepository.cs
cjstevenson/hotchocolate
26
7070310
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace MarshmallowPie.Repositories { public interface IEnvironmentRepository { IQueryable<Environment> GetEnvironments(); Task<Environment> GetEnvironmentAsync( ...
Real-Time Corruptor/BizHawk_RTC/Build/BizHawk.Build.Tool/FileLocator.cs
redscientistlabs/Bizhawk50X-Vanguard
45
7070311
<filename>Real-Time Corruptor/BizHawk_RTC/Build/BizHawk.Build.Tool/FileLocator.cs using System; using System.Collections.Generic; using System.IO; using Microsoft.Win32; static class FileLocator { public static string LocateTool(string _toolName) { string t = ToolPathUtil.MakeToolName(_toolName); string dir = n...
src/Shared/Microsoft.DotNet.Scaffolding.Shared/Project/ProjectModifierHelper.cs
jonfortescue/Scaffolding
0
7070312
<reponame>jonfortescue/Scaffolding using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Microsoft.DotNet.Scaffolding.Shared.Project { internal static class ProjectModifierHelper { //Get Startup class name f...
src/Algorithm/Node.cs
brandicorel/RecShark
3
7070313
<reponame>brandicorel/RecShark<gh_stars>1-10 using System.Collections.Generic; namespace RecShark.Algorithm { public class Node<T> { public Node(T value) { Id = value.GetHashCode(); Value = value; Parents = new List<Node<T>>(); Children = new Li...
YNAB.Rest/SubTransaction.cs
mscreations/YNAB.Rest
6
7070314
namespace YNAB.Rest { public class SubTransaction { public string Id { get; set; } public string TransactionId { get; set; } public int Amount { get; set; } public string Memo { get; set; } public string PayeeId { get; set; } public string CategoryId { get; set; ...
src/questioneer/Core/Entities/Reflections.cs
NatureDead/questioneer
0
7070315
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; namespace questioneer.Core.Entities { public static class Reflections { public static Assembly Assembly => Assembly.GetEntryAssembly(); public static Process Process => Process.GetCurrentProces...
src/DC.Store.Data/Repositories/Interfaces/IBaseRepository.cs
Geras4m/eShop
0
7070316
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace DC.Store.Data.Repositories.Interfaces { public interface IBaseRepository<TEntity> : IDisposable where TEntity : class { Task<TEntity> Sel...
SoftwareManager.DbMigrations/Migrations/MigrationExtensions.cs
t0ms3n/SoftwareManager
3
7070317
<filename>SoftwareManager.DbMigrations/Migrations/MigrationExtensions.cs<gh_stars>1-10 using System.Data; using FluentMigrator; namespace SoftwareManager.DbMigrations.Migrations { public static class MigrationExtensions { public static void CreateForeignKeyWithIndex(this Migration migration, string fr...
SeeSharper/Shared/IView.cs
iulian-rusu/ip-proiect
1
7070318
/************************************************************************** * * * File: View.cs * * Copyright: (c) 2021, <NAME> * * E-mail: <EMAIL> ...
Source/QuantumStorageRedux/QStorage.cs
emipa606/QuantumStorageRedux
0
7070319
<filename>Source/QuantumStorageRedux/QStorage.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using RimWorld; using Verse; namespace QuantumStorageRedux; internal class QStorage { public enum Kind { Relay, Storage } private readonly int cellCap...
Entity Framework/EfCodeFirstHW/StudentSystemModel/TeacherCourse.cs
bstaykov/Telerik-DB
0
7070320
<reponame>bstaykov/Telerik-DB using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace StudentSystemModel { public class TeacherCourse { [Key, Column(Order = 0)] public int TeacherId { get; set; } public virtual Teacher Teacher { get; s...
Web/TheBedstand.Web/Controllers/BooksController.cs
betsovIT/TheBedstand
0
7070321
<filename>Web/TheBedstand.Web/Controllers/BooksController.cs namespace TheBedstand.Web.Controllers { using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using TheBedstand.Common; using TheBedstand.Services; using TheBed...
BantU-Framework-CSharp/BantU-Framework-CSharp/org.bantu/WindowRenderer.cs
talk-code/BantU-Framework-CSharp
0
7070322
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace org.bantu { public interface WindowRenderer { String render(Window renderable, USSDResponse response); } }
src/dashboard/Elsa.Dashboard.Web/Pages/Approve/Details.cshtml
zhk0603/elsa-core
4
7070323
<filename>src/dashboard/Elsa.Dashboard.Web/Pages/Approve/Details.cshtml @page @model Elsa.Dashboard.Web.Pages.Approve.DetailsModel @{ ViewData["Title"] = "Details"; } <h1>Details</h1> <div> <h4>Approve</h4> <hr /> <dl class="row"> <dt class="col-sm-2"> @Html.DisplayNameFor(model ...
GenderPayGap.WebUI/Controllers/Admin/AdminHomepageController.cs
uk-gov-mirror/cabinetoffice.gender-pay-gap
2
7070324
using System.Linq; using GenderPayGap.Core; using GenderPayGap.Core.Interfaces; using GenderPayGap.Database.Models; using GenderPayGap.WebUI.Helpers; using GenderPayGap.WebUI.Models.Admin; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace GenderPayGap.WebUI.Controllers.Admin...
Source/better jump pack/patch_Verb_Jump_OrderForceTarget.cs
emipa606/BetterJumpPack
0
7070325
<filename>Source/better jump pack/patch_Verb_Jump_OrderForceTarget.cs using HarmonyLib; using RimWorld; using Verse; namespace betterJumpPack { // 도착지점 강제 제한 [HarmonyPatch(typeof(Verb_Jump), "OrderForceTarget")] public static class patch_Verb_Jump_OrderForceTarget { [HarmonyPostfix] pr...
MVCBasic/MVCBasic/Views/Cientificoes/Index.cshtml
SergiPerello/MVC-architecture-exercises
0
7070326
@model IEnumerable<MVCBasic.Models.Cientifico> @{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p> <a asp-action="Create">Create New</a> </p> <form asp-controller="Movies" asp-action="Index"> <p> Title: <input type="text" name="SearchString"> <input type="submit" value="Filter" /> <...
Data/YJC.Toolkit.AdoData/Decoder/_Config/Tk5TreeEasySearchConfig.cs
madiantech/tkcore
4
7070327
<reponame>madiantech/tkcore using YJC.Toolkit.Data; using YJC.Toolkit.MetaData; using YJC.Toolkit.Sys; namespace YJC.Toolkit.Decoder { [EasySearchConfig(NamespaceType = NamespaceType.Toolkit, CreateDate = "2014-08-22", Author = "YJC", Description = "支持Tk5的DataXml的TreeEasySearch配置")] [ObjectContext] ...
src/WTG.Analyzers.Utils.Test/TrivaSyntaxFactoryTest.cs
brian-reichle/WTG.Analyzers
10
7070328
<gh_stars>1-10 using System; using Microsoft.CodeAnalysis.CSharp; using NUnit.Framework; namespace WTG.Analyzers.Utils.Test { [TestFixture] public class TriviaSyntaxFactoryTest { [Test] public void PlatformNewLineTrivia() { var trivia = TriviaSyntaxFactory.PlatformNewLineTrivia; Assert.That(trivia.Kind...
VstsService/Permissions/SecurityNamespaceIds.cs
azure-devops-compliance/rest-service
2
7070329
namespace SecurePipelineScan.VstsService.Permissions { /// <summary> /// https://dev.azure.com/asdfasdfasdf/_apis/securitynamespaces/ /// </summary> public static class SecurityNamespaceIds { public const string Build = "33344d9c-fc72-4d6f-aba5-fa317101a7e9"; public const string Rele...
TelegramCommandHandler/Types/CommandContext.cs
AliBdeir/Telegram.Bot-Tools
6
7070330
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Telegram.Bot; using Telegram.Bot.Types; namespace CommandHandler.Types { public class CommandContext { /// <summary> /// Message that invoked the command /// </summary> public...
D2L.Build.BazelGenerator/OldBuild/FrameworkAssembly.cs
Brightspace/D2L.Build.BazelGenerator
0
7070331
<reponame>Brightspace/D2L.Build.BazelGenerator using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Linq; using System.Reflection; using D2L.Build.BazelGenerator.NewBuild; using D2L.Build.BazelGenerator.NewBuild.Rules; namespace D2L.Build.BazelGene...
src/FluentNHibernate/Conventions/Instances/BagInstance.cs
JamesKovacs/fluent-nhibernate
2
7070332
using System; using FluentNHibernate.Conventions.Inspections; using FluentNHibernate.MappingModel.Collections; namespace FluentNHibernate.Conventions.Instances { public class BagInstance : BagInspector, IBagInstance { private readonly BagMapping mapping; public BagInstance(BagMapping ...
HyoutaToolsLib/Generic/CompareFileLists/CompareFileLists.cs
PMArkive/HyoutaTools
59
7070333
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Policy; using System.Text; using System.Threading.Tasks; namespace HyoutaTools.Generic.CompareFileLists { public static class CompareFileLists { public static int Execute(List<string> args) { List<HashEntry...
MessangerClientServer/ChatLibrary/Day.cs
MAXon28/MessangerClientServer
0
7070334
using System; using System.Collections; namespace ChatLibrary { public static class Day { private static Hashtable monthsOfNumbers; static Day() { monthsOfNumbers = new Hashtable() { { "01", "Января" }, { "02", "Фев...
SDB/bll/CryptoXML.cs
keslavi/sdb
0
7070335
//using System; //using System.Collections.Generic; //using System.Text; //using System.Diagnostics; //using System.IO; //using System.Data; //using System.Security; //using System.Security.Cryptography; //using System.Xml; //namespace SDB.Common.Encryption //{ // /// <summary> // /// Summary: // /// --------...
Xamarin.Forms.Core/Span.cs
om2804/Xamarin.Forms
1
7070336
<gh_stars>1-10 using System; using System.ComponentModel; using System.Runtime.CompilerServices; namespace Xamarin.Forms { [ContentProperty("Text")] public sealed class Span : INotifyPropertyChanged, IFontElement { Color _backgroundColor; Font _font; FontAttributes _fontAttributes; string _fontFamily; do...
src/Lykke.Job.ChainalysisHistoryExporter/Deposits/DepositsHistoryProviders/Ethereum/SamuraiOperation.cs
LykkeCity/Lykke.Tools.ChainalysisHistoryExporter
0
7070337
namespace Lykke.Job.ChainalysisHistoryExporter.Deposits.DepositsHistoryProviders.Ethereum { // ReSharper disable once ClassNeverInstantiated.Global public class SamuraiOperation { public string TransactionHash { get; set; } public string To { get; set; } } }
src/LicensePublisher.cs
DevZest/Licensing
11
7070338
<filename>src/LicensePublisher.cs using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Collections.Generic; using System.ComponentModel; using System.Security.Cryptography; using System.Windows.Markup; using System.IO; using System.Xml; using System.Security.Cryptography.Xml; usi...
PanoramicDataWin8/model/data/idea/IDEAAttributeColumnFieldModel.cs
ezg/PanoramicDataWin8
2
7070339
using System.Collections.Generic; using IDEA_common.catalog; using Newtonsoft.Json; using PanoramicDataWin8.model.data.attribute; namespace PanoramicDataWin8.model.data.idea { [JsonObject(MemberSerialization.OptOut)] public class IDEAAttributeColumnFieldModel : AttributeFieldModel { private string...
Assets/Scripts/Enemy/EnemyProperties.cs
bastuijnman/ludum-dare-36
1
7070340
<filename>Assets/Scripts/Enemy/EnemyProperties.cs<gh_stars>1-10 using UnityEngine; using System.Collections; public class EnemyProperties : MonoBehaviour { public int health; public int armor; public int damage; }
src/Fortnite/Fortnite.Model/Responses/QueryProfile/MissionAlertRedemptionRecord.cs
pirica/FTN-Power
25
7070342
using System; using System.Collections.Generic; namespace Fortnite.Model.Responses.QueryProfile { public interface IMissionCategory { List<string> missionAlertGuids { get; set; } List<DateTime> lastClaimedTimes { get; set; } int nextClaimIndex { get; set; } } public class Miss...