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/Leoxia.Testing.Assertions/PropertiesCheckable.cs
leoxialtd/Leoxia.Core
0
7032267
#region Copyright (c) 2017 Leoxia Ltd // -------------------------------------------------------------------------------------------------------------------- // <copyright file="PropertiesCheckable.cs" company="Leoxia Ltd"> // Copyright (c) 2017 Leoxia Ltd // </copyright> // // .NET Software Development // https:/...
Application/AnnotationPlane/Columns/Drawing.cs
itislab/core-sample-annotation
2
7032268
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace CoreSampleAnnotation.AnnotationPlane.Columns { public static class Drawing { public static IEnumerable<Point> GetRightPolyline(double width...
trunk/DefaultCombat/Routines/Advanced/Sage/Seer.cs
aevitas/BuddyWing.DefaultCombat
7
7032269
<filename>trunk/DefaultCombat/Routines/Advanced/Sage/Seer.cs<gh_stars>1-10 // Copyright (C) 2011-2018 Bossland GmbH // See the file LICENSE for the source code's detailed license using Buddy.BehaviorTree; using DefaultCombat.Core; using DefaultCombat.Helpers; //using DefaultCombat.Extensions; ((Hold off for n...
MagicOnionVoice.Unity/Assets/MagicOnionVoice/MagicOnionExamples/Client/Game/GameHubClient.cs
sotanmochi/MagicOnionVoice
22
7032270
<filename>MagicOnionVoice.Unity/Assets/MagicOnionVoice/MagicOnionExamples/Client/Game/GameHubClient.cs using Grpc.Core; using MagicOnion.Client; using MagicOnionExamples.Client.Network; using MagicOnionExamples.ServerShared.Network; using MagicOnionExamples.ServerShared.Game; using System; using System.Threading.Tasks...
YetAnotherStreamingContol/GstIpCam.cs
jakehedlund/yasc
6
7032271
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Yasc { class GstIpCam : GstCam { } }
ExtendedPrinter/Assets/LimitMovement.cs
lsls421/ExtendedPrinter-Unity
0
7032272
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LimitMovement : MonoBehaviour { //absoult min: X:-20.00 Y:-18.5 Z:0.00 <- printer coordinatsystem public float MinX = -0.02f; public float MinY = -0.0185f; public float MinZ = 0.0f; //max: X:293.90 Y:3...
Source/Plugin.BLE.Abstractions/CharacteristicPropertyType.cs
cmhofmeister/xamarin-bluetooth-le
586
7032273
using System; namespace Plugin.BLE.Abstractions { /// <summary> /// Represents the properties of a characteristic. /// It's a superset of all common platform specific properties. /// See: https://github.com/xabre/xamarin-bluetooth-le/blob/master/doc/characteristics.md /// </summary> [Flags] ...
src/ErgastApi/Responses/Models/RaceInfo/QualifyingResult.cs
JTOne123/ErgastApi.Net
9
7032274
using System; using ErgastApi.Serialization.Converters; using Newtonsoft.Json; namespace ErgastApi.Responses.Models.RaceInfo { public class QualifyingResult : ResultBase { [JsonProperty("Q1")] [JsonConverter(typeof(StringTimeSpanConverter))] public TimeSpan? Q1 { get; private set; } ...
AtCoderTemplateForNetCore.UtilityMethodTest/Numerics/ModIntTest.cs
terry-u16/AtCoderTemplateForNetCore
1
7032275
<gh_stars>1-10 using Xunit; using ModInt = AtCoderTemplateForNetCore.Numerics.StaticModInt<AtCoderTemplateForNetCore.Numerics.Mod1000000007>; namespace AtCoderTemplateForNetCore.UtilityMethodTest.Numerics { public class ModIntTest { [Theory] [InlineData(1, 1)] [InlineData(1000000010, 3...
Tests/UniversalTests/HTMLBindingTests/HTMLBindingBase.cs
NeutroniumCore/Neutronium
1,338
7032276
<reponame>NeutroniumCore/Neutronium using FluentAssertions; using Neutronium.Core; using Neutronium.Core.Binding; using Neutronium.Core.Test.Helper; using Neutronium.Core.WebBrowserEngine.JavascriptObject; using Neutronium.Example.ViewModel; using NSubstitute; using System.Collections.Generic; using System.Threading.T...
C#/SignalRChat/Views/Shared/_Layout.cshtml
ejakait/ChatHash
0
7032277
<!DOCTYPE html> <html> <head> <link type="text/css" rel="stylesheet" href="~/Content/materialize/css/materialize.min.css" media="screen,projection" /> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title- Chat Hash</title> @Styles...
src/WebServices/Business/WWW/Models/WWWUser.cs
gaufung/Infrastructures
18
7032278
<filename>src/WebServices/Business/WWW/Models/WWWUser.cs<gh_stars>10-100 using Aiursoft.Gateway.SDK.Models; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; namespace Aiursoft.WWW.Models { public class WWWUser : AiurUserBase { [InverseProperty(nameof(SearchHistory....
src/Presentation/Nop.Web/Areas/Admin/Views/Product/_CreateOrUpdateProductAttributeCombination.cshtml
EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin
4
7032279
<reponame>EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin<gh_stars>1-10 @model ProductAttributeCombinationModel @if (ViewBag.RefreshPage == true) { <script> try {window.opener.document.forms['@(Context.Request.Query["formId"])'].@(Context.Request.Query["btnId"]).click();} catch (e){} wind...
NHSCovidPassVerifier/Services/LoggingService.cs
0x00null/covid-pass-verifier
48
7032280
<reponame>0x00null/covid-pass-verifier using NHSCovidPassVerifier.Models; using NHSCovidPassVerifier.Models.Logging; using NHSCovidPassVerifier.Services.Interfaces; using System; using System.Collections.Generic; using System.Linq; namespace NHSCovidPassVerifier.Services { public class LoggingService : ILoggingSe...
PixelFarm/PixelFarm.Painter/4_CpuBlit_VertexProcessing/VertexData.cs
solstice333/Typography
1
7032281
//BSD, 2014-present, WinterDev //---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 <NAME> (http://www.antigrain.com) // // C# Port port by: <NAME> // <EMAIL> // Copyright (C) 2007 // // Permission to copy, use, m...
FichaAcademia.Dominio/Models/Ficha.cs
goncl/FichaDeAcademia
0
7032282
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace FichaAcademia.Dominio.Models { public class Ficha { public int FichaId { get; set; } [Required(ErrorMessage = "Campo obrigatório.")] ...
Assets/Grid/Graph.cs
sensyup/Peach-Blossom
21
7032283
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; [Serializable] public class SquareGridGraph { public Vertex [] Vertices; public int Width; //X coordinate public int Height; //Z coordinate public List<Vector3> Path; public List<int> walkableBorder = new List<int>(...
CampaignModule/src/Domain/Campaign/CampaignDto.cs
ferhatcandas/CampaignModule
0
7032284
<gh_stars>0 using Domain.Product; using Domain.ValueObjects; using System; using System.Collections.Generic; using System.Text; namespace Domain.Campaign { public class CampaignDto : Entity { public CampaignDto(string name, ProductDto product, int duration, int limit, int targetSalesCount) { ...
UltraStar Play/Assets/Scenes/Sing/TimeBar/TimeBarTimeLabel.cs
paradigmn/Play
183
7032285
<gh_stars>100-1000 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Text))] public class TimeBarTimeLabel : MonoBehaviour { public bool showRemainingTime = true; private Text text; private SingSceneController singS...
Homework_7_Int/Program.cs
jaspreetkaur28/Training
0
7032287
<reponame>jaspreetkaur28/Training using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework_7_Int { class Program { /* * Pass an integer into a method the regular way, and make it add 10 and print out (int a) ...
tests/ImageSharp.Drawing.Tests/TestUtilities/ImageComparison/Exceptions/ImagesSimilarityException.cs
fahadabdulaziz/ImageSharp.Drawing
1
7032288
<reponame>fahadabdulaziz/ImageSharp.Drawing namespace SixLabors.ImageSharp.Drawing.Tests.TestUtilities.ImageComparison { using System; public class ImagesSimilarityException : Exception { public ImagesSimilarityException(string message) : base(message) { } } }
VideoAPI/VideoApi.UnitTests/Domain/Tasks/CompleteTaskTests.cs
ryantestgmail/vh-video-api
0
7032289
using System; using FluentAssertions; using NUnit.Framework; using VideoApi.Domain; using VideoApi.Domain.Enums; namespace VideoApi.UnitTests.Domain.Tasks { public class CompleteTaskTests { [Test] public void should_not_be_completed_by_default() { var alert = new Task(Guid.N...
Assets/Scripts/UnderWaterShakingAffect.cs
makersmelx/SI-659-Project
1
7032290
<filename>Assets/Scripts/UnderWaterShakingAffect.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class UnderWaterShakingAffect : MonoBehaviour { public Material underwater_shaking_mat; // Start is called before the first frame update void Start() { ...
samples/TaskList/Data/TaskStorage.cs
ssssyin/silverlightfx
6
7032291
// TaskStorage.cs // using System; using System.Collections.Generic; using System.IO; using System.IO.IsolatedStorage; using System.Runtime.Serialization; namespace TaskList { internal static class TaskStorage { public static Task[] LoadTasks() { Task[] tasks = null; try { ...
MVC-19/MvcApplication16/Helper/CacheManager.cs
VahidN/MVC-Samples
5
7032292
using System; using System.Web; using System.Web.Caching; namespace MvcApplication16.Helper { public static class CacheManager { public static void CacheInsert(this HttpContextBase httpContext, string key, object data, int durationMinutes) { if (data == null) return; ht...
Source/Comps/MasteryWeaponComp.cs
zwya/Weapon-Mastery
0
7032293
using System.Collections.Generic; using System.Linq; using RimWorld; using Verse; namespace SK_WeaponMastery { // Store pawns with a list of bonuses, experience and mastery level // for all pawns that used this weapon public class MasteryWeaponComp : ThingComp { private Dictionary<Pawn, Ma...
src/TestClient/Program.cs
SwissLife-OSS/magnet
9
7032294
using System; using System.Threading.Tasks; using Magnet.Client; using Magnet.Client.AzureDevOps; using Microsoft.Extensions.DependencyInjection; namespace TestClient { class Program { static async Task Main(string[] args) { IServiceProvider services = BuildServiceProvider(); ...
src/dotnet-svcutil/lib/src/FrameworkFork/System.ServiceModel/System/ServiceModel/Description/XmlSerializerOperationGenerator.cs
richamo/wcf
1,794
7032295
// 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 System.Collections.Generic; using System.ServiceModel.Channels; using System.ServiceModel; using System.Servic...
Assets/SimpleDrawing/Scripts/DrawableCanvas.cs
tech-sketch/VirtualCollaboBase
13
7032296
using System; using UnityEngine; using UniRx; using System.IO; namespace SimpleDrawing { public class DrawParams { public Vector2 currentTexCoord; public Vector2 previousTexCoord; public Color color; public int thickness; public DrawParams(Vector2 currentTexCoord, Vect...
Target Crack/Assets/Best HTTP/Source/SecureProtocol/asn1/cmp/ProtectedPart.cs
Bregermann/TargetCrack
2
7032297
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp { public class ProtectedPart : Asn1Encodable { private readonly PkiHeader header; pr...
src/infrastructure/mvc/MvcAuthorizeOptions.cs
YangXueJiao0914/asp.net-core-react
1
7032299
using Microsoft.AspNetCore.Http; namespace infrastructure.mvc { public class MvcAuthorizeOptions { public string ReturnUrlParameter { get; set; } = "ReturnUrl"; public PathString AccessDeniedPath { get; set; } = n...
src/libraries/System.Net.Primitives/tests/FunctionalTests/NetworkExceptionTest.cs
symphony2014/runtime
0
7032300
<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. using Xunit; namespace System.Net.Primitives.Functional.Tests { public static class NetworkExceptionTest { [Fact] public static void Create_AllEr...
Nuqleon/Core/BCL/Nuqleon.Reflection.Virtualization/System/Reflection/Virtualization/ReflectionTypeSystemProviderExtensions.cs
ScriptBox99/reaqtor
485
7032301
// 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. // // Revision history: // // BD - July 2017 - Created this file. // namespace System.Reflection { using stati...
DiscordBot/Configuration.cs
MarleyFi/Jenkins
0
7032302
using System; using System.IO; using System.Linq; using System.Text; using IniParser; using IniParser.Model; namespace DiscordBot { internal class Configuration { private const string General = "General"; private const string Admin = "Admin"; private const string Apis = "Apis"; ...
StructuralDesignPattern/Bridge/Bridge.cs
nghianguyendev/design-pattern
1
7032303
<gh_stars>1-10 namespace Bridge { public abstract class Shape { protected IRenderer _renderer; public string Name { get; set; } public IRenderer IRenderer { get => default; set { } } } public class Triangle : Sha...
Assets/Scripts/ShatterObject.cs
FellowshipOfTheGame/Climber
0
7032304
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class ShatterObject : MonoBehaviour { public int NumberOfPieces = 16; public float xPower = 100, xRadius = 2, upForce = 80; public GameObject shatterEffect, piecePrefab; public void Shatter(GameObject go, float col...
Bank of Kleptocracy/Launch.cs
maxwillkelly/Bank-of-Kleptocracy
1
7032305
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace Bank_of_Kleptocracy { public partial class Launch : Form { ...
mcs/tools/xbuild/tests/standalone/hello_world/Main.cs
lefb766/mono
469
7032306
/* * Created by SharpDevelop. * User: Marek * Date: 2006-03-12 * Time: 00:06 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; namespace test1 { class MainClass { public static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
SunLine.Community.Services/Core/SettingService.cs
mczachurski/community
0
7032307
<reponame>mczachurski/community using System; using System.Collections.Generic; using System.Linq; using SunLine.Community.Entities.Core; using SunLine.Community.Repositories.Core; namespace SunLine.Community.Services.Core { [BusinessLogic] public class SettingService : ISettingService { private r...
src/CSharpSourceGenerationUtils.Core/Extensions/NamedTypeExtensions.cs
WarrenFerrell/CSharpSourceGenerationUtils
0
7032308
<filename>src/CSharpSourceGenerationUtils.Core/Extensions/NamedTypeExtensions.cs using System; using Microsoft.CodeAnalysis; namespace CSharp.SourceGenerationUtils.Core.Extensions { public static class NamedTypeExtensions { public static bool EqualsType(this INamedTypeSymbol x, Type y) => x...
TestApps/RazorComponentsTestApp/BlazorContextMenu.RazorComponentsTestApp/Pages/_Host.cshtml
BionStt/BlazorContextMenu
0
7032309
<filename>TestApps/RazorComponentsTestApp/BlazorContextMenu.RazorComponentsTestApp/Pages/_Host.cshtml @page "/" @namespace BlazorContextMenu.RazorComponentsTestApp.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="w...
RaidTA/Assets/Scripts/Visual Scripting/DragableOutput.cs
jacoba4/RaidTA
1
7032310
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using System; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class DragableOutput : MonoBehaviour, IDragHandler, IEndDragHandler { public SMNode node; public string output_type; bool dragging; bo...
Frequenzer.App/Controls/LocalizedAboutControl.cs
b3nk4n/frequenzer-app
0
7032311
<reponame>b3nk4n/frequenzer-app<gh_stars>0 using Frequenzer.App.Resources; using PhoneKit.Framework.Controls; using PhoneKit.Framework.Core.Themeing; using System; using System.Collections.Generic; using System.Windows; using System.Windows.Media; namespace Frequenzer.App.Controls { public class LocalizedAboutCon...
src/Microsoft.AspNet.WebHooks.Receivers.Instagram/WebHooks/InstagramUser.cs
derekforeman/WebHooks
1
7032312
<reponame>derekforeman/WebHooks<filename>src/Microsoft.AspNet.WebHooks.Receivers.Instagram/WebHooks/InstagramUser.cs // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Newtonsoft.Jso...
Automation/Scp.cs
BryanApellanes/bam.net.shared
0
7032313
using System; using System.ComponentModel.Design; using Bam.Net.CommandLine; namespace Bam.Net.Automation { public class Scp { static Scp() { SetPath(); } public static string Path { get; set; } public static ProcessOutput Run(string source, string ...
src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IDiscardOperation.cs
belav/roslyn
0
7032314
// 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. #nullable disable using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; ...
AspNetDeploy.ContinuousIntegration/PackageManager.cs
adoconnection/AspNetDeploy
11
7032315
<reponame>adoconnection/AspNetDeploy<gh_stars>10-100 using System; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Xml.Linq; using AspNetDeploy.Contracts; using AspNetDeploy.Model; using Ionic.Zip; namespace AspNetDeploy.ContinuousIntegration { public class PackageM...
CCS/Catcher/Utils/Licence.cs
rayscc/dev-track
0
7032317
<gh_stars>0 using System; using System.IO; using System.Runtime.InteropServices; using System.Windows.Forms; namespace CCS.Catcher.Utils { /// <summary> /// 本地基础类支持许可证检查 /// </summary> internal static class Licence { #region Constants #if DEBUG private const string PATHKEY = "../s...
08-2-1-SimpleFactory-Solution/Factories/DiceFactory.cs
thomaskaelin/OST-SEP2
1
7032318
namespace SimpleFactory.Factories { using SimpleFactory.Dices; public sealed class DiceFactory : IDiceFactory { public IDice CreateDice(int pipsOnDice) => new Dice(pipsOnDice); } }
Cordova/Core/Redirect.cs
biud436/MV-App-Builder
2
7032319
<reponame>biud436/MV-App-Builder using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics; namespace Cordova.Core { public delegate void Append(string output); public class HostData : IDisposable ...
src/Prime.Extensions/AsyncCursorSourceExtensions.cs
SwissLife-OSS/mongo-bootstrapper
18
7032320
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using MongoDB.Driver; namespace MongoDB.Prime.Extensions { public static class AsyncCursorSourceExtensions { public static Task<Dictionary<TKey, TDocument>> ToDictionaryAsync<TDocumen...
Final/HappyXamDevs/HappyXamDevs/HappyXamDevs.Functions/Functions/GetAllPhotosMetadata.cs
AzureAdvocateBit/MobileAppsOfTomorrow-Lab-1
60
7032321
<reponame>AzureAdvocateBit/MobileAppsOfTomorrow-Lab-1 using System.Collections.Generic; using System.Net.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; namespace HappyXamDevs.Functions { public static class Ge...
RabbitMQChat/RabbitMQChatClient/RabbitMqModelFactory.cs
Paulina-Dyulgerska/TrainingElders
0
7032322
<filename>RabbitMQChat/RabbitMQChatClient/RabbitMqModelFactory.cs using RabbitMQ.Client; namespace RabbitMQChatClient { public class RabbitMqModelFactory { private readonly IConnection connection; public RabbitMqModelFactory(IConnection connection) { this.connection = conn...
src/Sdk/DTExpressions2/Expressions2/ExpressionException.cs
CyberShadow/runner
43
7032323
using System; using System.ComponentModel; using GitHub.DistributedTask.Logging; namespace GitHub.DistributedTask.Expressions2 { [EditorBrowsable(EditorBrowsableState.Never)] public class ExpressionException : Exception { internal ExpressionException(ISecretMasker secretMasker, String message) ...
Balkan Air/Web/BalkanAir.Web/Account/ResetPassword.aspx.cs
itplamen/Balkan-Air
5
7032324
namespace BalkanAir.Web.Account { using System; using System.Linq; using System.Web; using System.Web.UI; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Ninject; using Auth; using Services.Data.Contracts; public partial class ResetPassword : Pag...
WorkData.NancyHost/Models/Tokens/UserMapper.cs
wulaiwei/WorkData.QueueScheduling
0
7032325
// ------------------------------------------------------------------------------ // Copyright 吴来伟个人 版权所有。 // 项目名:WorkData.NancyHost // 文件名:UserMapper.cs // 创建标识:吴来伟 2018-03-28 17:18 // 创建描述: // // 修改标识:吴来伟2018-03-28 17:18 // 修改描述: // ------------------------------------------------------------------------------ us...
src/PedroLamas.Quadratic/Model/EquationItem.cs
PedroLamas/PedroLamas.Quadratic
1
7032326
<reponame>PedroLamas/PedroLamas.Quadratic using System; using System.Linq; using Cimbalino.Phone.Toolkit.Extensions; namespace PedroLamas.Quadratic.Model { public class EquationItem : FormattableItem { #region Properties public static int Decimals { get; set; } public string Format {...
Archimedes.Patterns/Data/IEntityBase.cs
ElderByte-/Archimedes.Patterns
0
7032327
<reponame>ElderByte-/Archimedes.Patterns<gh_stars>0 using System; namespace Archimedes.Patterns.Data { public interface IEntityBase<Tid, T> where T : class { bool Equals(object obj); bool Equals(T obj); int GetHashCode(); /// <summary> /// ID of this Entity ...
Epoche.MVVM.SourceGenerator/Models/MethodModel.cs
joshlang/Epoche.MVVM.SourceGenerator
0
7032328
using Epoche.MVVM.SourceGenerator.Models.Attributes; namespace Epoche.MVVM.SourceGenerator.Models; class MethodModel { public string MethodName = default!; public bool IsAsync; public string? AsyncReturnType; public string? CommandParameterType; public CommandAttributeModel? CommandAttribute; }
FFmpeg/Services/IWindowsApiService.cs
mysteryx93/EmergenceGuardian.Encoder
17
7032329
using System; namespace HanumanInstitute.FFmpeg.Services { /// <summary> /// Provides Windows API functions to manage processes. /// </summary> public interface IWindowsApiService { bool GenerateConsoleCtrlEvent(); bool AttachConsole(uint processId); bool FreeConsole(); ...
ClientNoSqlDB/Serialization/DbListType.cs
vb2ae/ClientNoSqlDB
0
7032330
namespace ClientNoSqlDB.Serialization { internal class DbListType : DbType { public DbListType(DbType element) : base((short)KnownDbType.List, element.Type.MakeArrayType()) { Element = element; } public override void Write(DataWriter writer) { writer.Write(Id); Elemen...
NetrixPackage/NetRixMain/NetRix/WebEditing/Elements/DefinitionElement.cs
apircher/netrix
27
7032331
<reponame>apircher/netrix<filename>NetrixPackage/NetRixMain/NetRix/WebEditing/Elements/DefinitionElement.cs using GuruComponents.Netrix.ComInterop; namespace GuruComponents.Netrix.WebEditing.Elements { /// <summary> /// The DFN element denotes the defining instance of a term. /// </summary> /// <r...
src/IBM.Watson.VisualRecognition.v3/Examples/ServiceExample.cs
darkmatter2222/dotnet-standard-sdk
174
7032332
/** * (C) Copyright IBM Corp. 2019, 2020. * * 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...
src/managed/OpenLiveWriter.PostEditor/PostHelper.cs
palzj/OpenLiveWriter
2
7032333
<filename>src/managed/OpenLiveWriter.PostEditor/PostHelper.cs<gh_stars>1-10 // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Threading; using OpenLiveWriter.CoreServices; using OpenLiveWriter.BlogClien...
Chap03_Stub/LogAn/ExtensionManagerFactory.cs
artem-galas/ArtOfUnitTesting
1
7032334
<filename>Chap03_Stub/LogAn/ExtensionManagerFactory.cs namespace Chap03.LogAn { // Defines factory that can use and return custom manager public class ExtensionManagerFactory { private static IExtensionManager customManager = null; public static IExtensionManager Create() { ...
Lils.WpfLib/Lils.WpfLib/Controls/ContentSlider.cs
lilsstudio/Lils.Libs
2
7032335
using System.ComponentModel; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Markup; using System.Windows.Shapes; using Lils.WpfLib.Tools; namespace Lils.WpfLib.Controls { /// <summary> /// A slider can fill with content /// </summary> [TemplatePar...
csharp/data_structures/linked_list/Program.cs
SjorsVanGelderen/Graduation
1
7032336
<reponame>SjorsVanGelderen/Graduation<filename>csharp/data_structures/linked_list/Program.cs /* Linked list data structure example Copyright 2017, <NAME> */ using System; using System.Collections.Generic; namespace Program { // Linked list data structure and associated functionality class LinkedList<T> wh...
Vostok.Hosting/VostokHostShutdown.cs
vostok/hosting
4
7032337
<reponame>vostok/hosting<gh_stars>1-10 using System.Threading; using System.Threading.Tasks; using JetBrains.Annotations; using Vostok.Hosting.Abstractions.Helpers; namespace Vostok.Hosting { /// <inheritdoc cref="IVostokHostShutdown"/> [PublicAPI] public class VostokHostShutdown : IVostokHostShutdown ...
Tests/Unit Tests/Glass.Mapper.Tests/Pipelines/ObjectConstruction/Tasks/CreateMultitInterface/MultiInterfacePropertyInterceptorFixture.cs
pashcovich/Glass.Mapper
0
7032338
<reponame>pashcovich/Glass.Mapper using System; using System.Collections.Generic; using System.Linq; using System.Text; using Castle.DynamicProxy; using Glass.Mapper.Configuration; using Glass.Mapper.Diagnostics; using Glass.Mapper.Pipelines.ObjectConstruction; using Glass.Mapper.Pipelines.ObjectConstruction.Tasks.Cre...
GroorineCore/Events/PitchEvent.cs
Xeltica/Groorine_1
3
7032339
<filename>GroorineCore/Events/PitchEvent.cs namespace Groorine.Events { public class PitchEvent : MidiEvent { public short Bend { get; set; } public override string ToString() => base.ToString() + $"{Bend} "; } }
ClinicManagement/tests/IntegrationTests/RoomTests/EfRepositoryDelete.cs
emir01/pluralsight-ddd-fundamentals
374
7032340
<filename>ClinicManagement/tests/IntegrationTests/RoomTests/EfRepositoryDelete.cs using System.Threading.Tasks; using ClinicManagement.Infrastructure.Data; using UnitTests.Builders; using Xunit; using ClinicManagement.Core.Aggregates; namespace IntegrationTests.RoomTests { public class EfRepositoryDelete : BaseEfRe...
DualMonitorSolution/Entities/SecondDisplayProcess.cs
zhanghb1994/DualMonitorTaskbar
0
7032341
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DualMonitor.Forms; using System.Drawing; using System.Windows.Forms; using DualMonitor.Win32; namespace DualMonitor.Entities { public class SecondDisplayProcess : Win32Window { public Screen MoveToScreenOnFirst...
src/ProxyKit/SharedProxyOptions.cs
jkonecki/ProxyKit
1
7032342
<gh_stars>1-10 using System; using System.Net.Http; namespace ProxyKit { /// <summary> /// Shared Proxy Options /// </summary> public class SharedProxyOptions { /// <summary> /// Builds a message handler used for http message forwarding. /// the handler can be re-created by ...
src/EditorFeatures/CSharpTest2/Recommendations/OutKeywordRecommenderTests.cs
debonte/roslyn
1
7032343
<filename>src/EditorFeatures/CSharpTest2/Recommendations/OutKeywordRecommenderTests.cs // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.Text; using...
src/PanoramicData.OData.Client.V3.Adapter/ODataRequestMessage.cs
panoramicdata/PanoramicData.OData.Client
0
7032344
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Microsoft.Data.OData; namespace PanoramicData.OData.Client.V3.Adapter; internal class ODataRequestMessage : IODataRequestMessageAsync { private MemoryStream _stream; private readonly Dictionary<string, string> _hea...
ScrumHubBackend/CQRS/Tasks/CreateBranchForTaskCommandHandler.cs
ScrumHub/ScrumHub
4
7032345
<gh_stars>1-10 using MediatR; using ScrumHubBackend.CommunicationModel; using ScrumHubBackend.CustomExceptions; using ScrumHubBackend.GitHubClient; using System.Text.RegularExpressions; namespace ScrumHubBackend.CQRS.Tasks { /// <summary> /// Handler for creating branches /// </summary> public class C...
src/OpenBankProject.Net/Models/Common/AccountInformation.cs
lvermeulen/OpenBankProject.Net
7
7032346
using System.Collections.Generic; using Newtonsoft.Json; namespace OpenBankProject.Net.Models.Common { public class AccountInformation { [JsonProperty("bank_id")] public string BankId { get; set; } [JsonProperty("account_id")] public string AccountId { get; set; } [Json...
Public/Src/Tools/Orchestrator/Build/BuildContext.cs
miniksa/BuildXL
448
7032347
<gh_stars>100-1000 // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace BuildXL.Orchestrator.Build { /// <summary> /// A build context represents an ongoing VSTS build and its most important properties /// </summary> public class BuildContext { ///...
Drover.Api/Endpoints/IAttachmentApi.cs
InverterOfControl/drover
0
7032348
<filename>Drover.Api/Endpoints/IAttachmentApi.cs<gh_stars>0 using Drover.Contracts.Attachments; using Refit; using System.IO; using System.Threading.Tasks; namespace Drover.Api.Endpoints { internal interface IAttachmentApi { /// <summary> /// Get a paginated list of attachments for a task. /// </summa...
Controls/LoginDialog.Designer.cs
Asky314159/kitechan
2
7032349
<gh_stars>1-10 namespace Kitechan.Controls { partial class LoginDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
MangaRipper/Presenters/MainViewPresenter.cs
00destroyer/jeff
0
7032350
<filename>MangaRipper/Presenters/MainViewPresenter.cs using System; using System.Threading.Tasks; using System.Windows.Forms; using NLog; using MangaRipper.Core.Controllers; namespace MangaRipper.Presenters { public class MainViewPresenter { // TODO Implement MVP (passive) // So we can separat...
src/Dispenser/HasherBase.cs
lvermeulen/Dispenser
3
7032351
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; // ReSharper disable once RedundantUsingDirective using System.Reflection; using System.Security.Cryptography; using System.Text; namespace Dispenser { public abstract class HasherBase : IHasher { private IEn...
src/Controls/src/Xaml/MarkupExtensions/AppThemeBindingExtension.cs
tondat/maui
345
7032352
using System; using System.Globalization; using System.Reflection; namespace Microsoft.Maui.Controls.Xaml { [ContentProperty(nameof(Default))] public class AppThemeBindingExtension : IMarkupExtension<BindingBase> { object _default; bool _hasdefault; object _light; bool _haslight; object _dark; bool _has...
Extensions/WaveOculusDemo/WaveOculusDemo/WaveOculusDemoProject/Components/StereoscopicCameraController.cs
starostin13/Samples
0
7032353
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WaveEngine.Common; using WaveEngine.Common.Graphics; using WaveEngine.Common.Math; using WaveEngine.Framework; using WaveEngine.Framework.Diagnostic; using WaveEngine.Framework.Graphics; using Wave...
Assets/Framework/Data/Variables/StringVariable.cs
PixelComrades/Framework
10
7032354
<filename>Assets/Framework/Data/Variables/StringVariable.cs using UnityEngine; namespace PixelComrades { [System.Serializable] public class GameDataRequired { public StringVariable Variable; public int Required = 1; public bool HasData() { if (Variable == null) { ...
NonSource/Tests/Test_WPF/MainWindow.xaml.cs
mrange/T4Include
15
7032355
<filename>NonSource/Tests/Test_WPF/MainWindow.xaml.cs // ---------------------------------------------------------------------------------------------- // Copyright (c) <NAME>. // ---------------------------------------------------------------------------------------------- // This source code is subject to terms and ...
src/Web/GameApp.Web/Middleware/RoleSeeder.cs
ItsoDimitrov/GameApp
1
7032356
<reponame>ItsoDimitrov/GameApp using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using GameApp.Data.Models; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.DependencyInjection; namespace GameApp.Web.Middleware { public class RoleSeeder { ...
src/tests/JIT/Regression/JitBlue/Runtime_54118/Runtime_54118_1.cs
pyracanda/runtime
9,402
7032357
<gh_stars>1000+ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.CompilerServices; // Generated by Fuzzlyn v1.2 on 2021-07-22 13:37:14 // Seed: 14815563263006255362 // Reduced from 12.9 KiB to 0....
Web/BookStore.Web/obj/Debug/net5.0/Razor/Areas/Administration/Views/Books/Delete.cshtml.g.cs
Anzzhhela98/Pick-a-Book
0
7032358
<gh_stars>0 #pragma checksum "C:\Users\anzzh\OneDrive\Desktop\CSharp-Web\ASP.NET Core\Web\BookStore.Web\Areas\Administration\Views\Books\Delete.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5abc15c0036837fba19ad6f753a726f9a7a56c19" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNe...
src/Files.Uwp/Filesystem/Cloud/Providers/BoxCloudProvider.cs
ScriptBox99/community-Files
0
7032359
using Files.Shared; using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Windows.Storage; namespace Files.Uwp.Filesystem.Cloud.Providers { public class BoxCloudProvider : ICloudProviderDetector { public async Task<IList<CloudProvider>> DetectAsync() ...
src/ArgentPonyWarcraftClient/Models/GameDataApi/Item/FactionRequirement.cs
yschuurmans/warcraft
0
7032360
using System.Text.Json.Serialization; namespace ArgentPonyWarcraftClient { /// <summary> /// A faction requirement for an item. /// </summary> public class FactionRequirement { /// <summary> /// Gets the faction. /// </summary> [JsonPropertyName("value")] pu...
src/apis/Publishing/Vocalia.Publishing/Repository/IPublishingRepository.cs
AdamMYoung/Vocalia-API
0
7032361
using System; using System.Collections.Generic; using System.Threading.Tasks; using Vocalia.Publishing.DomainModels; namespace Vocalia.Publishing.Repository { public interface IPublishingRepository { /// <summary> /// Gets all unassigned podcasts from the database where the user is an admin. ...
caixa-eletronico/CaixaEletronico/Form1.Designer.cs
c3h/unasp-trainee
0
7032362
namespace CaixaEletronico { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
src/HealthcareApis/generated/api/Models/Api20211101/FhirService.cs
pavel-petrenko/azure-powershell
0
7032363
<filename>src/HealthcareApis/generated/api/Models/Api20211101/FhirService.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause in...
Runtime/ScriptableData/DataTypes/Vector2Var.cs
axikita/akitacore
1
7032364
<reponame>axikita/akitacore<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Akitacore{ [CreateAssetMenu(fileName = "Vector2Var", menuName = "ScriptableObjects/ScriptableData/Vector2Var", order = 50)] public class Vector2Var : ScriptableData { //initial value p...
Infrastructure/Specifications/GeoSpecification.cs
jsdelivrbot/EstateMarket
0
7032365
<gh_stars>0 using System; using System.Linq.Expressions; using RealtyStore.Models.Business; namespace RealtyStore.Infrastructure.Specifications { public class GeoSpecification: Specification<Advert> { public double FromLatitude { get; set; } public double FromLongitude { get; set; } p...
FactoryPatterns/SimpleFactory/PizzaCatalog/PepperoniPizza.cs
wilmerbz/designpatterns
0
7032366
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleFactory.PizzaCatalog { /// <summary> /// Concrete product /// </summary> public class PepperoniPizza : Pizza { public PepperoniPizza() : base() { ...
src/ServerApi/Portal/Adnc.Usr/Adnc.Usr.WebApi/Controllers/RoleController.cs
lampo1024/Adnc
5
7032367
using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Adnc.Usr.Application.Dtos; using Adnc.Usr.Application.Services; using Adnc.Application.Shared.Dtos; using Adnc.Application.Shared; namespace Adnc.Usr.WebApi.Controllers { /// <summary> ...
src/PTV.Application.Api/Controllers/RESTFormStateController.cs
MikkoVirenius/ptv-1.7
0
7032368
<reponame>MikkoVirenius/ptv-1.7 using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using PTV.Database.DataAccess.Interfaces.Services; using PTV.Database.DataAccess.Interfaces.Services.Security; using PTV.Domain.Model.Models; using PTV.Framework.Interfaces; usi...
Raptorious.SharpMt940Lib/Mt940Format/AbnAmro.cs
Petur06/SharpMt940Lib.Core
13
7032369
/* * Copyright (c) 2012 <NAME> * This code is distributed under the MIT (for details please see license.txt) */ namespace Raptorious.SharpMt940Lib.Mt940Format { /// <summary> /// IMt940Format implementation for Abn Amro. /// </summary> /// <see cref="IMt940Format"></see> public class AbnAmro : I...