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
UtilityNetworkPropertiesExtractor/RelationshipClassButton.cs
mhirschheimer/utility-network-properties-extractor
4
7068318
<gh_stars>1-10 /* Copyright 2021 Esri 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 agreed to ...
Algorithm.CSharp/JJAlgorithms/ITrendAlgorithm/ITrendAlgorithm.cs
bizcad/LeanJJN
1
7068319
<gh_stars>1-10 using QuantConnect.Data.Market; using QuantConnect.Indicators; using QuantConnect.Orders; using QuantConnect.Securities.Equity; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace QuantConnect.Algorithm.CSharp { public class ITrendAlgorit...
src/ChangeLog/_Extensions/StringExtensions.cs
ap0llo/changelog-creator
5
7068320
<gh_stars>1-10 namespace Grynwald.ChangeLog { public static class StringExtensions { public static string RemoveSuffix(this string value, string suffix) { return value.EndsWith(suffix) ? value[..^suffix.Length] : value; } } }
02C#/Program/WinQrCode/WinQrCode/Form1.cs
L-Xiah/theVS
0
7068321
<gh_stars>0 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 WinQrCode { public partial class Form1 : Form { public Form1() ...
Domain11/aers_tbl_events_gy.cs
TanHaoran/NurseService1.0
0
7068322
<reponame>TanHaoran/NurseService1.0<gh_stars>0 /** * Name:Aersysm.Models-aers_tbl_events_gy * Author: banshine * Description: aers_tbl_events_gy 实体层 * Date: 2015-6-8 10:57:02 * */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; name...
BotBrownCore/Configuration/IConfigurationManager.cs
discontinuedtv/botbrown
3
7068323
using System.Collections.Generic; namespace BotBrown.Configuration { public interface IConfigurationManager { void ResetCacheFor(string filename); T LoadConfiguration<T>() where T : IConfiguration; void WriteConfiguration(IConfiguration configurationValue); ...
minuet/CefGlue.Interop.Gen/Classes.Handlers.tmpl/CefSchemeHandlerFactory.tmpl.g.cs
mcleo-d/SFE-Minuet-DesktopClient
6
7068324
<reponame>mcleo-d/SFE-Minuet-DesktopClient namespace Xilium.CefGlue { using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using Xilium.CefGlue.Interop; /// <summary> /// Class that creates CefResourceHandler instances for handl...
src/Tests/Nest.Tests.Integration/Facet/RangeFacetResponseTests.cs
Bloomerang/elasticsearch-net
2
7068325
using System; using System.Linq; using Nest.Tests.MockData.Domain; using NUnit.Framework; namespace Nest.Tests.Integration.Facet { /// <summary> /// Tests that test whether the query response can be successfully mapped or not /// </summary> [TestFixture] public class RangeFacetResponseTests : BaseFacetTestFixtu...
aspnet-core/src/ASPCore.Angular.Core/PostCategories/PostCategory.cs
nhungsky/KBook
0
7068326
using Abp.Domain.Entities; using ASPCore.Angular.Posts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ASPCore.Angular.PostCategories { public class PostCategory : Entity { public string Name { get; set; } public st...
Runtime/defines/DefineEditData.cs
beatthat/defines
3
7068327
<filename>Runtime/defines/DefineEditData.cs using System; using UnityEngine; namespace BeatThat.Defines { public enum EditType { NONE = 0, WILL_ADD = 1, WILL_REMOVE = 2, WILL_CHANGE_SELECTION = 3 } [Serializable] public struct DefineEditData { public str...
RacerMateOne/Pages/RideOptions.xaml.cs
SRAM/RacerMateOne
2
7068328
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigati...
Assets/Enhanced Hierarchy/Editor/MiniLabels/MiniLabelProvider.cs
thyagoquintas/mankind
22
7068329
<reponame>thyagoquintas/mankind using System; using UnityEngine; namespace EnhancedHierarchy { public abstract class MiniLabelProvider { private readonly GUIContent content = new GUIContent(); public static readonly Type[] MiniLabelsTypes = new [] { null, typeof(TagMiniLab...
src/CSharp/101-200/172.TrailingZeroes.cs
Peefy/PeefyLeetCode
2
7068330
using System; namespace PeefyLeetCode.TrailingZeroes { public class Solution { public int TrailingZeroes(int n) { int sum = 0; while (n > 0) { sum += n / 5; n /= 5; } return sum; } } }
src/d60.Cirqus/Extensions/ServiceCollectionExtensions.cs
brettwinters/Cirqus
0
7068332
<reponame>brettwinters/Cirqus using System; using d60.Cirqus.Config.Configurers; using Microsoft.Extensions.DependencyInjection; namespace d60.Cirqus.Extensions { public static class ServiceCollectionExtensions { public static void AddCirqus( this IServiceCollection services, ...
Wpf/Microsoft.DataTransfer.WpfHost.Basics/ValueConverters/DisplayNameValueConverter.cs
costinBol/azure-documentdb-datamigrationtool
338
7068333
using System; using System.Collections.Generic; using System.Globalization; namespace Microsoft.DataTransfer.WpfHost.Basics.ValueConverters { /// <summary> /// Converts values to user-friendly display names based on the provided mapping. /// </summary> /// <typeparam name="T">Type of the value.</typep...
Manzana/iPhone.cs
jschulist/iDeviceBrowser
0
7068334
// Software License Agreement (BSD License) // // Copyright (c) 2007, <NAME> <<EMAIL>> // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // * Redistributions of source cod...
X1nputConfigurator/Misc/PeNet-1.6.1/src/PeNet/Structures/IMAGE_OPTIONAL_HEADER.cs
clayne/X1nput
163
7068335
<filename>X1nputConfigurator/Misc/PeNet-1.6.1/src/PeNet/Structures/IMAGE_OPTIONAL_HEADER.cs namespace PeNet.Structures { /// <summary> /// Represents the optional header in /// the NT header. /// </summary> public class IMAGE_OPTIONAL_HEADER : AbstractStructure { private readonl...
Leowen.Business.UnitTests/EdgeServiceTest.cs
iamzhaoxu/Leowen
0
7068337
using Leowen.Business.Triangle; using NUnit.Framework; using Shouldly; namespace Leowen.Business.UnitTests { [TestFixture] public class EdgeServiceTest { private IEdgeService _sut; [SetUp] public void Setup() { _sut = new EdgeService(); } [Test...
WEBCON.FormsGenerator.Test/Presentation/FormControllerTest.cs
WEBCON-BPS/public-forms
2
7068338
using System; using AutoMapper; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Localization; using Moq; using NUnit.Framework; using WEBCON.FormsGenerator.BusinessLogic.Application.DTO; using WEBCON.FormsGenerator.BusinessLogic.Application.Interface; using WEBCON.FormsGenerator.Presentation; using WEBCON.F...
MoveInCells/Controller.cs
Ring-r/sandbox
0
7068340
using System; using System.Collections.Generic; using System.Windows.Forms; namespace Prototype { public class Controller { private const float moveStep = 10.0f; private const float rotateStep = (float)Math.PI / 180 * 10; private Entity entity = null; private readonly HashSet<Keys> keys = new HashSet<...
IntelligentData/Extensions/ValidationExtensions.cs
barkerest/IntelligentData
0
7068341
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; using System.Text; using IntelligentData.Interfaces; using IntelligentData.Internal; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Internal; using Microsof...
src/DataDog/generated/api/Models/Api20210301/DatadogMonitorResourceUpdateParametersTags.cs
kceiw/azure-powershell
0
7068342
namespace Microsoft.Azure.PowerShell.Cmdlets.DataDog.Models.Api20210301 { using static Microsoft.Azure.PowerShell.Cmdlets.DataDog.Runtime.Extensions; /// <summary>The new tags of the monitor resource.</summary> public partial class DatadogMonitorResourceUpdateParametersTags : Microsoft.Azure....
src/ConfIT/Util/TestReader.cs
techygarg/ConfIT
11
7068344
<filename>src/ConfIT/Util/TestReader.cs using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json.Linq; namespace ConfIT.Util { public static class TestReader { public static IEnumerable<object[]> GetTestsForAFile(string testFolderName, string fileName) { ...
Scripting/Parser/Construct/Assign.cs
polyethene/IronAHK
145
7068345
using System.CodeDom; using System.Text; namespace IronAHK.Scripting { partial class Parser { CodeExpressionStatement ParseAssign(string code) { #region Variables string name, value; var buf = new StringBuilder(code.Length); int i = 0; ...
test/Aqua.GraphCompare.Tests/GraphComparer/When_comparing_objects_with_different_property_type.cs
6bee/aqua-compare
8
7068346
<gh_stars>1-10 // Copyright (c) <NAME>. All rights reserved. See license.txt in the project root for license information. namespace Aqua.GraphCompare.Tests.GraphComparer { using Aqua.GraphCompare; using Shouldly; using System.Linq; using Xunit; public class When_comparing_objects_with_different_p...
NaftanRailway.WebUI/Views/HttpError/NotFound.cshtml
Allmantool/Railway
3
7068347
<gh_stars>1-10 @{ Layout = "~/Views/Shared/_Layout.HttpErrors.cshtml"; } <div class="container"> <div class="row"> <h1>404 Страница не найдена <span>:(</span></h1> <p>Извините, но страница которую вы пытаетесь просмотреть не существует.</p> <p>Эта ошибка могла стать результатом следующ...
FDK/Log.cs
tammitefi/DTXMania2
0
7068348
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; namespace FDK { public class Log { private static readonly string tagINFO = "[INFORMATION]"; private static readonly string tagWARNING = "[ WARNING ]"; pri...
Net.FreeORM.Test/Net.FreeORM.Test/Net.FreeORM.Test_OleDb/Source/DL/PersonelDL.cs
mustafasacli/Net.FreeORM.TestRepo
0
7068349
<reponame>mustafasacli/Net.FreeORM.TestRepo using System; using Net.FreeORM.Framework.BaseDal; namespace Net.FreeORM.Test_OleDb.Source.DL { public class PersonelDL : BaseDL { public PersonelDL() : base() { } } }
SniffCore/Validation/NotifyDataErrorInfo.cs
devicenator/SniffCore
3
7068350
<gh_stars>1-10 // // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Linq; // ReSharper disable once ...
main/external/dev/Common/MS.Common/ConsoleLogger.cs
cityscapesc/specobs
0
7068351
<reponame>cityscapesc/specobs // Copyright (c) Microsoft Corporation // // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ...
Maple2.AdminLTE.Bel/Base_Related_Field.cs
rungsanle/MAPLe_NET_Core
0
7068352
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace Maple2.AdminLTE.Bel { public abstract class Base_Related_Field { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identi...
ScrabbleEngine/WordValidator.cs
jakub-kudela/scrabble
0
7068353
using System; using System.Data.SqlServerCe; namespace ScrabbleEngine { internal static class WordValidator { private const string datasourceString = "datasource="; private const string commandFormattedString = "SELECT {0} FROM {1} WHERE {0}='{2}'"; private static readonly str...
src/backend/api/Fusion.Resources.Domain/Models/QueryExternalPersonnelPerson.cs
equinor/fusion-app-resources
1
7068354
using Fusion.Resources.Database.Entities; using System; using System.Collections.Generic; using System.Linq; namespace Fusion.Resources.Domain { public class QueryExternalPersonnelPerson { public QueryExternalPersonnelPerson(DbExternalPersonnelPerson item) { PersonnelId = item.Id; ...
C# part 1/HomeworkLecture6/07.NFibonacci/NFibonacci.cs
iliantrifonov/TelerikAcademy
0
7068355
<reponame>iliantrifonov/TelerikAcademy using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _07.NFibonacci { class NFibonacci { static void Main(string[] args) { Console.WriteLine("Please enter N:"); ...
src/Orchard.Web/Modules/Orchard.Glimpse/Extensions/TimespanExtensions.cs
psp589/Orchard
2,670
7068356
using System; using System.Linq; namespace Orchard.Glimpse.Extensions { public static class TimespanExtensions { public static string ToTimingString(this TimeSpan timespan) { return timespan.TotalMilliseconds.ToTimingString(); } public static string ToTimingString(this double ...
Sources/Engine/NeoAxis.Core/Components/Material/ShaderGenerationCommon.cs
intensifier/NeoAxisEngine
0
7068357
// Copyright (C) NeoAxis Group Ltd. 8 Copthall, Roseau Valley, 00152 Commonwealth of Dominica. using System; using System.Text; using System.ComponentModel; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using System.Reflection; using System.IO; namespace NeoAxis { /...
livechart2/MainWindow.xaml.cs
angeleno/SystemStatsWPF
4
7068358
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Timers; using MahApps.Metro.Controls; using FILETIME = System.Runtime.InteropServices.FILETIME; using System.Windows.Threading; namespace livechart2 { ...
Source/Tests/Trakt.NET.Modules.Tests/TraktUsersModule/TraktUsersModule_GetLikes_Tests.cs
henrikfroehling/Trakt.NET
39
7068359
namespace TraktNet.Modules.Tests.TraktUsersModule { using FluentAssertions; using System; using System.Net; using System.Threading.Tasks; using Trakt.NET.Tests.Utility; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Exceptions; using TraktNet.Objects.Get.Users; using TraktNet....
src/Microsoft.Health.Dicom.Core/Models/Operations/InternalOperationStatus.cs
wbalbo/dicom-server
205
7068360
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
src/ESFA.DC.ILR1819.DataStore.PersistData/Mapper/ValidHeaderDataMapper.cs
SkillsFundingAgency/DC-ILR-1819-DataStore
0
7068361
using System.Collections.Generic; using System.Linq; using ESFA.DC.ILR.Model.Interface; using ESFA.DC.ILR1819.DataStore.EF.Valid; using ESFA.DC.ILR1819.DataStore.Interface.Mappers; using ESFA.DC.ILR1819.DataStore.Model.File; namespace ESFA.DC.ILR1819.DataStore.PersistData.Mapper { public class ValidHeaderDataMapp...
Platforms/Anf.ResourceFetcher/FetchOptions.cs
Cricle/Anf-team
0
7068362
<filename>Platforms/Anf.ResourceFetcher/FetchOptions.cs using System; using System.Collections.Generic; using System.Text; namespace Anf.ResourceFetcher { public class FetchOptions { public static readonly TimeSpan DefaultDataTimeout = TimeSpan.FromHours(3); public TimeSpan DataTimeout { get;...
src/KP.Cookbook.Features/Recipes/GetRecipeDetails/GetRecipeDetailsQueryHandler.cs
mekk1t/cookbook
0
7068363
using KP.Cookbook.Cqrs; using KP.Cookbook.Database; using KP.Cookbook.Domain.Entities; using KP.Cookbook.Domain.ValueObjects; using KP.Cookbook.Features.Recipes.GetRecipes; namespace KP.Cookbook.Features.Recipes.GetRecipeDetails { public class GetRecipeDetailsQueryHandler : IQueryHandler<GetRecipeDetailsQuery, Re...
Scripts/Events/ColliderTrigger.cs
PearMed/Pear-Unity-Modules
11
7068364
<reponame>PearMed/Pear-Unity-Modules using System; using System.Collections; using System.Collections.Generic; using Pear.InteractionEngine.Properties; using UnityEngine; using Pear.InteractionEngine.Controllers; namespace Pear.InteractionEngine.Events { public class ColliderTrigger : ControllerBehavior<Controller>,...
JavascriptPrecompiler/Utilities/FileResources.cs
TedCrocker/JavascriptPrecompiler
2
7068365
using System.Collections.Generic; using System.IO; using System.Reflection; using System.Web; namespace JavascriptPrecompiler.Utilities { public class FileResources { public static string GetFileContents(string filePath) { var contents = ""; if (File.Exists(GetFilePath(filePath))) { c...
src/NRegFreeCom/Interop/INTERFACEINFO.cs
dzmitry-lahoda/NRegFreeCom
1
7068367
<reponame>dzmitry-lahoda/NRegFreeCom using System; using System.Runtime.InteropServices; namespace NRegFreeCom.Interop { [StructLayout(LayoutKind.Sequential, Pack = 4)] public struct INTERFACEINFO { [MarshalAs(UnmanagedType.IUnknown)] public object punk; public Guid iid; pu...
Components/DateTimePicker/Classes/DateTimePickerMonth.cs
HusseinMRo/CloudComponents
0
7068368
<gh_stars>0 using System.Collections.Generic; namespace AngryMonkey.Cloud.Components { public partial class DateTimePicker { protected class DateTimePickerMonth { public DateTimePickerMonth(int year, int month) { Year = year; Month = mont...
TSVD/Radical/src/net35/Radical/Threading/AsyncWorker/WarningThreshold.cs
uditagarwal97/nekara-artifact
2
7068369
<filename>TSVD/Radical/src/net35/Radical/Threading/AsyncWorker/WarningThreshold.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Topics.Radical.Threading { /// <summary> /// Defines the warning threshold behavior. /// </summary> public sealed class W...
src/DeFuncto.Tests/Core/Prelude/Optional.cs
JYCabello/DeFuncto
10
7068370
using DeFuncto.Assertions; using FsCheck.Xunit; using Xunit; using static DeFuncto.Prelude; namespace DeFuncto.Tests.Core.Prelude { public class Optional { [Fact(DisplayName = "Null returns None")] public void NoneByNullable() => Optional((int?)null).ShouldBeNone(); [Prope...
Source/Tools.cs
pardeike/VisualExceptions
4
7068371
<filename>Source/Tools.cs using HarmonyLib; using RimWorld.Planet; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using UnityEngine; using Verse; using Verse.Sound; namespace VisualExceptions { struct ColumnInfo { internal Action draw; ...
Jobba.Sample/SampleHostedService.cs
firebend/jobba
8
7068372
<reponame>firebend/jobba<filename>Jobba.Sample/SampleHostedService.cs using System; using System.Threading; using System.Threading.Tasks; using Jobba.Core.Interfaces; using Jobba.Core.Models; using Microsoft.Extensions.Hosting; namespace Jobba.Sample { public class SampleHostedService : BackgroundService { ...
src/SignalRServiceExtension/Bindings/ServiceEndpointJsonConverter.cs
bmc-msft/azure-functions-signalrservice-extension
0
7068373
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Microsoft.Azure.SignalR; using Newtonsoft.Json; namespace Microsoft.Azure.WebJobs.Extensions.SignalRService { internal class ServiceEndpointJs...
Tetout copy/BreakOut2/Assets/controller.cs
thedaniellee/tetout
0
7068374
using UnityEngine; using System.Collections; public class controller : MonoBehaviour { public GameObject blockPrefab; public GameObject piecePrefab; float prevTime; Vector2[][] types; // Use this for initialization public void Start () { prevTime = Time.time; types = new Vector2[][] { new Vector2[]{...
Examples/ICSE2011/PipedOutputStream.cs
lleraromero/contractor-net
0
7068375
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; namespace Examples.ICSE2011 { class PipedInputStream { public bool closedByWriter = false; public bool closedByReader = false; public bool connected = false; ...
VoteAndGo/VoteAndGo/VoteAndGo.Android/MainActivity.cs
AlexEnac/vote-and-go
0
7068376
<reponame>AlexEnac/vote-and-go using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Plugin.CurrentActivity; using Microblink.Forms.Droid; using Android.Content; namespace VoteAndGo.Droid { [Activity(Label = "VoteAndGo...
src/NotaFiscalNet.Core/Utils/StringEx.cs
NotaFiscalNet/NotaFiscalNet
11
7068377
namespace NotaFiscalNet.Core.Utils { public static class StringEx { /// <summary> /// Retorna o texto com a quantidade máxima de caracteres especificados. /// </summary> /// <param name="value">Texto que será (ou não) cortado.</param> /// <param name="maxLength">Tamanho ...
FamilyNotes/AppDialogs/AddPersonContentDialog.xaml.cs
UlrichChabot/Familynotes-exemple
1
7068378
// --------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // // The MIT License (MIT) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files...
src/NGenerics.Tests/TestObjects/AssertionVisitor.cs
ngenerics/ngenerics
93
7068379
/* Copyright 2007-2017 The NGenerics Team (https://github.com/ngenerics/ngenerics/wiki/Team) This program is licensed under the MIT License. You should have received a copy of the license along with the source code. If not, an online copy of the license can be found at https://opensource.org/licenses/MIT. ...
backend-tests/Controllers/LogsControllerTests.cs
younes-alturkey/bitchunk
0
7068380
using backend; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace backend_tests.Controllers { [TestClass] public class LogsControllerTests { priv...
IdentityService/Global.asax.cs
ucdavis/IdentityService
0
7068381
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net.Http.Formatting; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Newtonsoft.Json; using Newtonsoft.Json.Serialization;...
Genji/Models/AppCondition.cs
Anduin2017/Genji
2
7068383
using Genji.Models.Abstract; using Genji.Models.Conditions; using System; using System.Collections.Generic; using System.Text; namespace Genji.Models { public class AppCondition : Condition { public override bool SatisfyCurrentCondition(HttpContext context) { return true; }...
src/BudgetScale.Application/Requests/Queries/AllRequests/AllRequestsHandler.cs
NikolayPIvanov/Budget-Scale
0
7068384
<gh_stars>0 using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using BudgetScale.Domain.Entities; using BudgetScale.Persistence; using MediatR; namespace BudgetScale.Application.Requests.Queries.AllRequests { public class AllRequestsHandler : IRequestHandler<AllRequests, IQuery...
Assets/Plugins/AudioRender/Examples/Scripts/Explosion.cs
ptimonen/AudioRenderUnity
6
7068385
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AudioRender { public class Explosion : MonoBehaviour { [SerializeField] GameObject fragment; [SerializeField] int fragmentCount = 10; [SerializeField] float force = 100.0f; [SerializeField] ...
csharp/RepositoryPattern/RepositoryPattern/RepositoryPattern/ProductRepository.cs
jonasolin/designpatterns
0
7068386
using System.Linq; namespace RepositoryPattern { public class ProductRepository : IRepository<Product> { Context _context; public ProductRepository() => _context = new Context(); public Product FindById( int id ) => ( from p in _context.Products where p.Id == id select p ).FirstOrDefau...
Platformer/Platformer/Map.cs
blackdragon723/RandomPlatformer
0
7068387
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using System.Text; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework; using System.Windows.Forms; namespace Platformer { public class Cloud { public Clou...
GDO.Apps.Twitter/TwitterApp.cs
bkavuncu/GDO
0
7068388
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Web; using GDO.Core; using GDO.Core.Apps; using GDO.Core.CaveState; using log4net; using Newtonsoft.Json; using GDO.Apps.Twitter.Core; namespace GDO.Apps.Twitter { public class TwitterApp :...
PennStateVendingMachine_Client/VendingMachineModels/DTOs/ProductTypeDTO.cs
RussyCG/PennStateVendingMachine_Client
1
7068389
<filename>PennStateVendingMachine_Client/VendingMachineModels/DTOs/ProductTypeDTO.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VendingMachineModels.DTOs { public class ProductTypeDTO { private int iD; private s...
Presentation/BrnShop.Web/models/UCenterModel.cs
leafcxy/BrnShop
2
7068390
using System; using System.Data; using System.Collections.Generic; using BrnShop.Core; using BrnShop.Services; using BrnShop.Web.Framework; namespace BrnShop.Web.Models { /// <summary> /// 用户信息模型类 /// </summary> public class UserInfoModel { /// <summary> /// 用户信息 /// </sum...
CyborgianStates/Interfaces/IBackgroundService.cs
Free-Nations-Region/CyborgianStates
1
7068391
using Quartz; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CyborgianStates.Interfaces { public interface IBackgroundService : IJob { string Identity { get; } string Group { get; } string CronSchedule { get...
TwitchLib/TwitchLib.Client/TwitchLib.Client/Events/OnUnaccountedForArgs.cs
Teravus/RebootTechChatBot
1
7068392
<reponame>Teravus/RebootTechChatBot<gh_stars>1-10 using System; namespace TwitchLib.Client.Events { /// <summary> /// Class OnUnaccountedForArgs. /// Implements the <see cref="System.EventArgs" /> /// </summary> /// <seealso cref="System.EventArgs" /> public class OnUnaccountedForArgs : EventA...
Metot/yms5120_metot/Form2.Designer.cs
SuatOzcan/WIndowsForms
0
7068393
<filename>Metot/yms5120_metot/Form2.Designer.cs<gh_stars>0 namespace YMS5120_Metot { partial class Form2 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any res...
src/XGraphics/SvgImporter/StyleableProperties.cs
BretJohnson/XGraphics
66
7068395
using System.Collections.Generic; namespace XGraphics.SvgImporter { public class StyleableProperties { private readonly Dictionary<string, string> _propertyValues; private readonly StyleableProperties? _baseProperties; public StyleableProperties(Dictionary<string, string> propertyValu...
src/StateR/AfterEffects/Hooks/AfterEffectHooksCollection.cs
ForEvolve/StateR
2
7068396
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace StateR.AfterEffects.Hooks { public class AfterEffectHooksCollection : IAfterEffectHooksCollection { private readonly IEnumerable<IBeforeAfterEffectHook> _beforeAfterEffectHooks; priv...
Commands/PooledCommandFactory.cs
Celcius/AmoaebaUtils
0
7068397
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AmoaebaUtils { public abstract class PooledCommandFactory<T> where T : PooledCommand, new() { public PooledCommandFactory() {} public T MakeEmptyCommand(CommandPool pool) { T command = new T(); ...
a_mini/projects/Mini/3_Samples/11_TransCurve/TransCurve.cs
prepare/MiniAggLegacy
3
7068398
<filename>a_mini/projects/Mini/3_Samples/11_TransCurve/TransCurve.cs<gh_stars>1-10 //2014 BSD,WinterDev //MatterHackers using System; using PixelFarm.Agg.UI; using Mini; namespace PixelFarm.Agg.Sample_TransCurve { [Info(OrderCode = "11")] [Info("AGG has a gray-scale renderer that can use any 8-bit color chann...
src/Bet.Extensions.AzureStorage/StorageQueue.cs
mlnethub/Bet.AspNetCore
2
7068399
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Bet.Extensions.AzureStorage.Options; using Microsoft.Azure.Storage.Queue; using Microsoft.Extensions.Logging; using Microsoft.E...
Assets/NEAT/Scripts/Neat/NeuralNetwork/NeuralNetwork.cs
Maugun/NEATUnity
1
7068400
using System.Collections.Generic; namespace NEAT { public class NeuralNetwork { public float Fitness { get; set; } // Fitness of the NN public Genome Genome { get; set; } // Genome of the ...
SO_72633207/ViewModel.cs
Orace/SO
0
7068401
<filename>SO_72633207/ViewModel.cs using System; using System.Windows.Input; using Common.WPF.ViewModels; using Microsoft.Xaml.Behaviors.Core; namespace SO_72633207; public class ViewModel : NotifyPropertyChangedBase { private string _firstColumnWidth = string.Empty; private string _firstRowHeight ...
Saxx.LingoHubSyncer/Phrase.cs
eRecruiter/Saxx.LingoHubClient
0
7068402
<reponame>eRecruiter/Saxx.LingoHubClient  using System.Xml.Linq; namespace Saxx.LingoHubSyncer { public class Phrase { public Phrase() { } public Phrase(string value, string comment) { Value = value; Comment = comment; } public Phrase(XElement...
Utils/PrefabUtils.cs
RicardoTheCoder/SRMLExtras
1
7068403
<gh_stars>1-10 using System.Collections.Generic; using System.Reflection; using UnityEngine; using System.IO; namespace SRMLExtras { public static class PrefabUtils { public static void DumpPrefab(GameObject obj, string folder = null) { LogType type = UnityEngine.Debug.unityLogger.filterLogType; UnityEngi...
src/Implementation/MongoXmlRepository.cs
BoasE/BE.AspNetCore.DataProtection.MongoDb
1
7068404
<reponame>BoasE/BE.AspNetCore.DataProtection.MongoDb using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using BE.FluentGuard; using Microsoft.AspNetCore.DataProtection.Repositories; using MongoDB.Driver; namespace BE.AspNetCore.DataProtection.MongoDb { public sealed class MongoXmlReposito...
src/Force.Tests/Infrastructure/TestCaseBuilder.cs
DMak80/force
53
7068405
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Force.Tests.Infrastructure { public static class TestCaseBuilder { public static TestCaseBuilder<TIn, TOut> For<TIn, TOut>() => new TestCaseBuilder<TIn,TOut>(); } pub...
CyberCAT.Core/Enums/Dumped Enums/gameScanningState.cs
bsmr/WolvenKit-CyberCAT
0
7068406
namespace CyberCAT.Core.DumpedEnums { public enum gameScanningState { Default = 0, Started = 1, Stopped = 2, Complete = 3, ShallowComplete = 4, Reset = 5 } }
TMA3A/Pages/part3/Test.cshtml.cs
raamish10/iWebstore
0
7068407
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using TMA3A.Pages.part3.Helpers; using TMA3A.Pages.part3.Models; name...
NwaDg.Web/Views/Learn/Index.cshtml
nwadg/website
1
7068408
<reponame>nwadg/website <div id="learnContent" class="row"> <div class="col-md-12"> <h3>Learn</h3> <hr /> <p> User Groups, and professional groups in general, are a great way to network, become informed, better yourself, and stay connected to the community at large. ...
dotnet/server/test/Azure.Mobile.Test.E2EServer/DataObjects/OfflineReady.cs
Sweekriti91/azure-mobile-apps
0
7068409
using Azure.Mobile.Server.Entity; using System; namespace Azure.Mobile.Test.E2EServer.DataObjects { public class OfflineReady : EntityTableData { public string Name { get; set; } public int Age { get; set; } public double Float { get; set; } public DateTimeOffset Date { get; se...
MusicComposer.Web/BL/CreateSong.cs
tapiolindqvist75/MusicComposer
2
7068410
using MusicComposerLibrary; using MusicComposerLibrary.Storage; using MusicComposerLibrary.Structures; using System.IO; using Microsoft.Extensions.Caching.Memory; namespace MusicComposer.Web.BL { public class CreateSong { private static string GetCacheKey(string name, string songName, string type) ...
TestAssets/TestProjects/TestAppWithContentPackage/Program.cs
krytarowski/cli
1
7068411
<reponame>krytarowski/cli using System; using System.Reflection; namespace TestAppWithContentPackage { public class Program { public static int Main(string[] args) { foreach (var name in Assembly.GetEntryAssembly().GetManifestResourceNames()) { Console.W...
WUView/MainWindow.xaml.cs
Timthreetwelve/WUView
0
7068412
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the MIT License. #region Using directives using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.Eventing.Reader; using System.IO; using System.Reflection; using System.Security.Princi...
modules/job/hangfire/src/Paas.Pioneer.Hangfire.Domain/Entitys/Pe_Position.cs
xiaolei000129/Paas.Pioneer
2
7068413
using System; namespace Paas.Pioneer.Admin.Core.Domain.Personnel.Position { /// <summary> /// 职位 /// </summary> public class Pe_Position : Pe_PositionEntity { public new Guid Id { get; set; } } }
Evilsoft.Commons/TooltipHelper.cs
MartinRohrbach/iagd
0
7068414
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Drawing; using System.Diagnostics; namespace EvilsoftCommons { public class TooltipHelper : IDisposable { private ToolTip _tooltip; private ToolTip Tooltip { g...
DLC.Multiagent/DLC.Multiagent/ExecutionResult.cs
slorion/multiagent-system-example
2
7068415
<gh_stars>1-10 using System; using System.Runtime.Serialization; namespace DLC.Multiagent { [DataContract] [KnownType(typeof(ExecutionResult<>))] public class ExecutionResult { [DataMember] public string AgentId { get; internal set; } [DataMember] public Exception Exception { get; internal set; } [Data...
DddInPractice.Tests/TemporaryTests.cs
Heucles/ddd-review-dot-net-core
0
7068417
<reponame>Heucles/ddd-review-dot-net-core using System; using DddInPractice.Logic.SnackMachines; using DddInPractice.Logic.Utils; using NHibernate; using Xunit; using static DddInPractice.Logic.SharedKernel.MoneyAdded; namespace DddInPractice.Tests { public class TemporaryTests { [Fact] ...
CmriSubroutines/Subroutines.cs
chestateegold/CmriSubRoutines
3
7068418
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CmriSubroutines { public class Subroutines { private System.IO.Ports.SerialPort CommObj; private readonly int _maxTries; private readonl...
src/TotalError.OrderSales.Data/Entities/UserEntity.cs
Nextttttt/total-error-order-sales-api
0
7068419
<reponame>Nextttttt/total-error-order-sales-api<gh_stars>0 using System.ComponentModel.DataAnnotations; namespace TotalError.OrderSales.Data.Entities { public class UserEntity : BaseEntity { [Required] [MinLength(2)] [MaxLength(50)] public string Name { get; set; } [Re...
src/Podium/Rating/OpponentRating.cs
jbw/Podium
0
7068420
using System; namespace Podium { public class OpponentRating : IRating { public double CurrentRating { get; set; } public double OriginalRatingDeviation { get; set; } } }
lib/Juniper.LibJpeg.NET/CompressionParameters.cs
capnmidnight/Juniper
9
7068421
using System; namespace BitMiracle.LibJpeg { /// <summary> /// Parameters of compression. /// </summary> /// <remarks>Being used in <see cref="BitMiracle.LibJpeg.JpegImage.WriteJpeg(System.IO.Stream,BitMiracle.LibJpeg.CompressionParameters)"/></remarks> public class CompressionParameters { ...
src/WilderMinds.MetaWeblog/MetaWeblogService.cs
daxnet/daxnet-blog
36
7068422
<reponame>daxnet/daxnet-blog<gh_stars>10-100 using Microsoft.Extensions.Logging; namespace WilderMinds.MetaWeblog { public class MetaWeblogService : XmlRpcService { private IMetaWeblogProvider _provider; private ILogger<MetaWeblogService> _logger; public MetaWeblogService(IMetaWeblogProvider provider...
KevPOS.EventStore/AzureEventDatabase.cs
TomPallister/cqrs-event-sourcing
1
7068423
using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; using FirstOneTo.Azure.Entities; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; namespace KevPOS.EventStore { public class AzureEventDatabase : IEventDatabase { private readon...
ProyectoGrado_SFE.WebAPI/Models/FirmaElectronicaModels/VerificarFirmaElectronicaViewModel.cs
nico-val/ProyectoGrado
0
7068424
<filename>ProyectoGrado_SFE.WebAPI/Models/FirmaElectronicaModels/VerificarFirmaElectronicaViewModel.cs using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ProyectoGrado_SFE.WebAPI.Models.FirmaElectronicaViewModels { pu...
TrialManager/Model/Preferences.cs
carlst99/TrialManager
0
7068425
using MessagePack; using Realms; using TrialManager.Model.Draw; namespace TrialManager.Model { public class Preferences : RealmObject { [Required, MapTo("DrawCreationOptions")] private byte[] DrawCreationOptionsRaw { get; set; } [Ignored] public DrawCreationOptions DrawCreatio...