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/Cocona.Core/Command/Dispatcher/CommandDispatchContext.cs
benjiro/Cocona
1
7041181
<reponame>benjiro/Cocona<filename>src/Cocona.Core/Command/Dispatcher/CommandDispatchContext.cs using Cocona.CommandLine; using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace Cocona.Command.Dispatcher { public class CommandDispatchContext { public CommandD...
lib/TransferEnumerators/AzureFileToAzureNameResolver.cs
oferze/azure-storage-net-data-movement
2
7041182
//------------------------------------------------------------------------------ // <copyright file="AzureFileToAzureNameResolver.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation // </copyright> //------------------------------------------------------------------------------ namespace Microsoft.Wind...
Complete C# Unity Game Developer 2D/Section5/TileVania/TileVania/Assets/ProCamera2D/Code/Extensions/ProCamera2DNumericBoundaries.cs
twistedtristudio/Udemy
0
7041183
<reponame>twistedtristudio/Udemy<gh_stars>0 using UnityEngine; using System; namespace Com.LuisPedroFonseca.ProCamera2D { public struct NumericBoundariesSettings { public bool UseNumericBoundaries; public bool UseTopBoundary; public float TopBoundary; public bool UseBottomBoundary; public float BottomBoun...
src/Cake.Core/Scripting/ScriptAliasType.cs
EvilMindz/cake
1
7041184
<filename>src/Cake.Core/Scripting/ScriptAliasType.cs namespace Cake.Core.Scripting { /// <summary> /// Represents a script alias type. /// </summary> public enum ScriptAliasType { /// <summary> /// Represents an unknown script alias type. /// </summary> Unknown = 0, ...
Replanter/Replanter.cs
boct1584/stardewvalley
0
7041185
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Replanter.Framework; using StardewLib; using StardewModdingAPI; using StardewModdingAPI.Events; using StardewValley; using StardewValley.Locations; using StardewValley.Objects; using StardewValley.TerrainFeatures; ...
src/benchmarks/gc/src/exec/GCPerfSim/tests_to_be_adapted/cwt/Program.cs
sandreenko/performance
1
7041186
<reponame>sandreenko/performance<gh_stars>1-10 // 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; using System.Runtime.CompilerServices; // ConditionalW...
src/MbUnit/MbUnit.Tests/Framework/AssertTest_That.cs
citizenmatt/gallio
1
7041187
<filename>src/MbUnit/MbUnit.Tests/Framework/AssertTest_That.cs // Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtai...
src/Advobot.Core/Punishments/Mute.cs
advorange/Advobot
9
7041188
using Discord; namespace Advobot.Punishments; /// <summary> /// Mutes a user. /// </summary> public sealed class Mute : GuildUserPunishmentBase { /// <summary> /// Creates an instance of <see cref="Mute"/>. /// </summary> /// <param name="user"></param> /// <param name="isGive"></param> public Mute(IGuildUser ...
src/TestDoubles/Office.TestDoubles/RibbonUITestDouble.cs
draganjovanovic1/VSTOContrib
100
7041189
using Microsoft.Office.Core; namespace Office.TestDoubles { public class RibbonUITestDouble : IRibbonUI { public void Invalidate() { throw new System.NotImplementedException(); } public void InvalidateControl(string ControlID) { } public voi...
src/HotChocolate/Core/test/Types.Tests/Types/Descriptors/TypeReferences/SyntaxTypeReferenceTests.cs
erwan-joly/hotchocolate
1
7041190
<gh_stars>1-10 using HotChocolate.Language; using Xunit; namespace HotChocolate.Types.Descriptors { public class SyntaxTypeReferenceTests { [InlineData("abc", TypeContext.Input, false, null)] [InlineData("abc", TypeContext.Input, null, false)] [InlineData("abc", TypeContext.Input, true,...
Bog.Domain.Entities/Account/ExternalLoginViewModel.cs
BankOfGiving/Bog.net
1
7041191
<reponame>BankOfGiving/Bog.net namespace Bog.Domain.Entities.Account { public class ExternalLoginViewModel { #region Public Properties public string Name { get; set; } public string State { get; set; } public string Url { get; set; } #endregion } }
NonogramNet.Lib/Serialization/NonFileLoader.cs
PedersenThomas/NonogramNet.Lib
0
7041192
namespace NonogramNet.Lib.Serialization { using System; using System.Collections.Generic; using System.IO; using System.Text; using Model; public class NonFileLoader { public static NonogramFile? LoadFile(string path) { using (Stream stream = File.OpenRead(path)...
Sources/Indicators/RSIBBands/RSIBBands/RSIBBands.cs
yuque-official/cAlgoBot3
30
7041193
<reponame>yuque-official/cAlgoBot3 using System; using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.Indicators; namespace cAlgo.Indicators { [Indicator(IsOverlay = false, AccessRights = AccessRights.None)] public class RSIBBands : Indicator { [Parameter()] public DataSeries Source { ...
Assets/Amazing Assets/Feel/MMTools/Tools/MMObservable/Demo/MMObservableDemoSubject.cs
random-agile/slowmo_mobile
0
7041194
<filename>Assets/Amazing Assets/Feel/MMTools/Tools/MMObservable/Demo/MMObservableDemoSubject.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MoreMountains.Tools { /// <summary> /// A test class used to demonstrate how MMObservable works in the MMObservable...
src/ProximaX.Sirius.Chain.Sdk/Infrastructure/ExchangeHttp.cs
proximax-storage/csharp-xpx-catapult-sdk
0
7041195
// Copyright 2021 ProximaX // // 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 in writin...
SharpShell/Samples/DataHandler/CopyPathDataHandler/CopyPathDataHandler.cs
DevLn/sharpshell
1,124
7041196
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; using SharpShell.Attributes; using SharpShell.SharpDataHandler; namespace CopyPathDataHandler { [ComVisible(true)] [DisplayName("Copy Path Data Handler")] ...
BolaoNet.Domain.Entities/Boloes/Mensagem.cs
Thoris/BolaoNet
0
7041197
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BolaoNet.Domain.Entities.Boloes { public class Mensagem : Base.AuditModel {...
src/Polly.Caching.Memory.Specs/Integration/CacheRoundTripSpecsBase.cs
vbegin/Polly.Caching.MemoryCache
30
7041198
using System; using System.Threading.Tasks; using Xunit; namespace Polly.Caching.Memory.Specs.Integration { public abstract class CacheRoundTripSpecsBase { protected CacheRoundTripSpecsBase(ICachePolicyFactory cachePolicyFactory) { CachePolicyFactory = cachePolicyFactory; }...
GadzhiWord/Models/Interfaces/Specification/ISpecification.cs
rubilnik4/GadzhiResurrected
0
7041199
<reponame>rubilnik4/GadzhiResurrected<gh_stars>0 using System.Collections.Generic; using GadzhiWord.Models.Enums; using GadzhiWord.Word.Interfaces.Word.Elements; namespace GadzhiWord.Models.Interfaces.Specification { /// <summary> /// Спецификация /// </summary> public interface ISpecificatio...
PrismAnalyzer/PrismAnalyzer/PrismAnalyzerAnalyzer.cs
Ashymonth/PrismAnalyzer
0
7041200
<filename>PrismAnalyzer/PrismAnalyzer/PrismAnalyzerAnalyzer.cs using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; using System.Linq; namespace PrismAnalyzer { [DiagnosticAnalyz...
src/Datadog.Trace/Tracer.cs
ksjoberg/dd-trace-dotnet
0
7041201
using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using Datadog.Trace.Agent; using Datadog.Trace.Configuration; using Datadog.Trace.Logging; using Datadog.Trace.Sampling; namespace Datadog.Trace { /// <summary> /// The tracer is responsible for creating spans an...
Dyalect/Parser/Model/DBinaryOperation.cs
vorov2/dyalect
54
7041202
using System.Text; namespace Dyalect.Parser.Model { public sealed class DBinaryOperation : DNode { public DBinaryOperation(Location loc) : base(NodeType.Binary, loc) { } public DBinaryOperation(DNode left, DNode right, BinaryOperator op, Location loc) : this(loc) => (Left, Right, ...
example/unity/flutter_unity_example_unity/Packages/FlutterUnityPlugin/Runtime/FlutterMessageReceiver.cs
gatari/flutter-unity
1
7041203
using UnityEngine; namespace FlutterUnityPlugin.Runtime { [DefaultExecutionOrder(int.MaxValue)] public class FlutterMessageReceiver : MonoBehaviour { public delegate void MessageFromFlutterHandler(Message message); public MessageFromFlutterHandler OnMessageFromFlutter { get; set; } = defa...
src/MorseL.Sockets/WebSocketChannel.cs
berdon/MorseL
3
7041204
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Net.WebSockets; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using MorseL.Sockets.Middleware; namespace MorseL.Sockets { public class WebSocketChannel : IChannel { ...
Rail/Controls/RailPlanControl.cs
chcg/Rail
0
7041205
using Rail.Misc; using Rail.Model; using Rail.Mvvm; using Rail.Tracks; using Rail.Trigonometry; using Rail.View; using Rail.ViewModel; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.Linq; using Sy...
src/MarketingBox.Integration.SimpleTrading.Bridge/Services/Integrations/Contracts/Responses/FailedResult.cs
MyJetWallet/MarketingBox.Integration.SimpleTrading
0
7041206
using Newtonsoft.Json; namespace MarketingBox.Integration.SimpleTrading.Bridge.Services.Integrations.Contracts.Responses { public class FailedResult { [JsonProperty("message")] public string Message { get; set; } [JsonProperty("statusCode")] public int StatusCode { get; set; } [JsonPro...
solution/WellFired.Direct.Editor/SequencerEditor/PropertyFieldInfo/PropertyFieldInfoUtility.cs
WellFiredDevelopment/WellFired.Direct
4
7041207
<filename>solution/WellFired.Direct.Editor/SequencerEditor/PropertyFieldInfo/PropertyFieldInfoUtility.cs<gh_stars>1-10 using UnityEngine; using System; using System.Collections; using System.Reflection; using System.Collections.Generic; namespace WellFired { public static class PropertyFieldInfoUtility { public s...
test/System.Net.Http.Formatting.Test/Formatting/StringWithQualityHeaderValueComparerTests.cs
matiias/MVC
71
7041208
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using Microsoft.TestCommon; namespace System.Net.Http.Formatting { public class StringWithQualit...
V-EZ/Structs/VezDeviceCreateInfo.cs
trmcnealy/Vulkan
0
7041209
using System; using System.Runtime.InteropServices; namespace VEZ; [StructLayout(LayoutKind.Sequential)] public struct VezDeviceCreateInfo { public nint pNext; public uint enabledLayerCount; public nint ppEnabledLayerNames; public uint enabledExtensionCount; ...
PecanDB/IPecanLogger.cs
PecanDB/Dev
1
7041210
namespace PecanDB { using System; public interface IPecanLogger { string Name { get; set; } void Log(string context, string message, TraceType traceType, Exception ex = null, params object[] otherData); void Trace(string context, string message, Exception ex = null, params object...
src/Kephas.Injection/Services/IHasOverridePriority.cs
kephas-software/kephas
19
7041211
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IHasOverridePriority.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the p...
SavingPlatformApplication/Repositories/Contracts/IBaseRepository.cs
edcsu/SavingPlatformApplication
0
7041212
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using SavingPlatformApplication.Data.Models; using SavingPlatformApplication.ViewModels; namespace SavingPlatformApplication.Repositories.Contracts { public interface IBaseRepository { ...
PetShopApp.UI.WebApp/Adaptor/AdaptDTOToPetAndOwner.cs
thor1824/PetShop.CS
0
7041213
using PetShopApp.Core.Entity; using PetShopApp.UI.WebApp.DTO; namespace PetShopApp.UI.WebApp.Adaptor { public class AdaptDTOToPetAndOwner { public static Pet Convert(DTOCreatePet dto) { return null; } } }
Src/Application/Products/Queries/GetProductDetail/GetProductDetailQuery.cs
noahkrueger/NorthwindTraders
3,253
7041214
using MediatR; namespace Northwind.Application.Products.Queries.GetProductDetail { public class GetProductDetailQuery : IRequest<ProductDetailVm> { public int Id { get; set; } } }
src/Fostor.Ginkgo.Application/Sys/ListExtension.cs
fostor/Ginkgo
1
7041215
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.ComponentModel; namespace Fostor.Ginkgo.Sys { public static class ListExtension { public static DataTable ToDataTable<T>(this IList<T> data, string tableName = "NewTable") { PropertyD...
Ficha3/Exercicio5/Program.cs
EduardaSRBastos/CSharp.NET-Console-2017
0
7041216
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercicio5 { class Program { static void Main(string[] args) { int idade,maior=0,num,i=0; Console.WriteLine("Digite o número de alunos."); ...
src/Pudicitia.Identity.Data/IdentityContext.cs
smart86029/Pudicitia
0
7041217
<reponame>smart86029/Pudicitia<filename>src/Pudicitia.Identity.Data/IdentityContext.cs using System; using System.Linq; using Microsoft.EntityFrameworkCore; using Pudicitia.Common.Domain; using Pudicitia.Common.EntityFrameworkCore.Configurations; using Pudicitia.Common.EntityFrameworkCore.Converters; using Pudicitia.I...
InhaTT Creator/InhaTT Creator/frmMain.cs
rollrat/InhaTT
2
7041218
/*** Copyright (C) 2017. rollrat. All Rights Reserved. 05-13-2017: <NAME>, Creation ***/ using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Numerics; using System.Runtime.InteropServices; using System.Threading.Tasks; using System.Windows.Forms; namespa...
src/Services/LMSApp.Services.DataServices/UserService.cs
Divelina/LMSApp
0
7041219
 using AutoMapper; using LMSApp.Data.Common; using LMSApp.Data.Models; using LMSApp.Data.Models.Enums; using LMSApp.Data.Models.UserTypes; using LMSApp.Services.CommonInterfaces; using LMSApp.Services.Mapping; using LMSApp.Services.Models.Users; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore;...
HookLock/Form1.Designer.cs
ChangJiahong/Upanel
0
7041220
namespace HookLock { partial class Form1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为 false...
src/Tmds.DBus/Protocol/EndianFlag.cs
ananace/Tmds.DBus
155
7041221
// Copyright 2006 <NAME> <<EMAIL>> // Copyright 2010 <NAME> <<EMAIL>> // Copyright 2016 <NAME> <<EMAIL>> // This software is made available under the MIT License // See COPYING for details namespace Tmds.DBus.Protocol { internal enum EndianFlag : byte { Little = (byte)'l', Big = (byte)'B', ...
01.MethodsAndDebugging/GreetingByName/Program.cs
nikolayvutov/CSharp
0
7041222
using System; namespace methodsAndDebuggingexercises { class MainClass { public static void Main() { string name = Console.ReadLine(); GreetingByName(name); } static void GreetingByName(string name) { Console.WriteLine($"Hello, {name...
src/Asv.Tools/Reactive/RxCollection/ConcurrentRxCollection.cs
asvol/asv-tools
0
7041223
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reactive.Subjects; namespace Asv.Tools { public class ConcurrentRxCollection<TModel> : IRxCollection<TModel>, IDisposable { private readonly SynchronizedList<TModel> _items = new(new List<TModel>()...
nanoFramework.Graphics/Input/ButtonEventArgs.cs
josesimoes/nanoFramework.Graphics
3
7041224
<gh_stars>1-10 // // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // using nanoFramework.Presentation; using System; using nanoFramework.UI; namespace nanoFramework.UI.Input {...
TransactionUploader/TransactionUploader.Common/Extractors/CSV/CsvTransaction.cs
kckevin0591/transaction-uploader
0
7041225
namespace TransactionUploader.Common.Extractors { public class CsvTransaction { public string TransactionId { get; set; } public string Amount { get; set; } public string CurrencyCode { get; set; } public string TransactionDate { get; set; } public string Status ...
SilkUI.Renderer.OpenGL/Shaders/BlurRectShader.cs
Ultz/SilkUI
5
7041226
<reponame>Ultz/SilkUI namespace SilkUI.Renderer.OpenGL.Shaders { internal class BlurRectShader : ShaderBase, IShaderWithScreenHeight { private static BlurRectShader _blurRectShader = null; private static readonly string BlurRectFragmentShader = $@" {FragmentShaderHeader} ...
ITVComponents.DataExchange/Import/ParserEventListenerBase.cs
ITVenture/ITVComponents
0
7041227
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using ITVComponents.DataAccess; using ITVComponents.DataAccess.Extensions; using ITVComponents.Helpers; using ITVComponents.Logging; namespace ITVComponents.DataExchange.Import { /// <summary> //...
Ex00/FileLogReaderFTP.cs
alionababushkina/Patterns
0
7041228
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Patterns.Ex00.ExternalLibs; namespace Patterns.Ex00 { class FileLogReaderFTP : ILogReader { string login; string password; public FileLogReaderFTP(string login, st...
RedPackets/Models/PacketsModel.cs
AlairEileen/RedPackets
1
7041229
<reponame>AlairEileen/RedPackets<gh_stars>1-10 using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RedPackets.Models { public class PacketsModel { [BsonId] ...
tests/Mundane.Tests/Tests_Routing/DefaultNotFoundResponse_Returns_NotFound_Response.cs
adambarclay/mundane
4
7041230
using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using Xunit; namespace Mundane.Tests.Tests_Routing; [ExcludeFromCodeCoverage] public static class DefaultNotFoundResponse_Returns_NotFound_Response { [Fact] public static async Task When_The_Route_Does_Not_Exist_For_Any_Method() { var routing =...
src/umbraco.cms/Actions/ContextMenuSeperator.cs
tompipe/Umbraco-CMS
3
7041231
<reponame>tompipe/Umbraco-CMS using System; using umbraco.interfaces; using umbraco.BasePages; namespace umbraco.BusinessLogic.Actions { /// <summary> /// Used simply to define context menu seperator items. /// This should not be used directly in any code except for creating menus. /// </summary> public...
src/Acnys/Acnys.Core.AspNet/SingleSignOnExtensions.cs
gsinka/Acnys
0
7041232
<reponame>gsinka/Acnys using System; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.IdentityModel.Logging; using Microsoft.IdentityModel.Tokens; namespace Acnys.Core.AspNet { public static class SingleSignOnE...
Whenables/WhenableDictionary.cs
snargledorf/Whenables
0
7041233
<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Whenables.Core; namespace Whenables { public class WhenableDictionary<TKey, TValue> : IWhenableDictionary<TKey, TValue> { private readonly IDictionary<TKey...
src/Burrow/IMessageHandlerFactory.cs
telerik/Burrow.NET
2
7041234
<filename>src/Burrow/IMessageHandlerFactory.cs using System; namespace Burrow { public interface IMessageHandlerFactory : IDisposable { IMessageHandler Create<T>(string subscriptionName, Action<T, MessageDeliverEventArgs> msgHandlingAction); } }
src/E01D.Base.Json.Models/Coding/Code/Models/E01D/Json/JsonNull.cs
E01D/Base
0
7041235
using Root.Coding.Code.Enums.E01D.Json; namespace Root.Coding.Code.Models.E01D.Json { public class JsonNull : JsonNode { public override bool IsArray => false; public override bool IsBoolean => false; public override bool IsLazyCreator => false; public override bool IsNull =...
MicroservicesOnDocker/Models/Payment.cs
MostafaTech/MicroservicesOnDocker
2
7041236
using System; using System.Collections.Generic; namespace MicroservicesOnDocker.Models { public class Payment { public long Id { get; set; } public long StudentId { get; set; } public long CourseId { get; set; } public decimal PayAmount { get; set; } } }
dotnet/test/DotNetUnitTest/StringUtilTests.cs
genexuslabs/DotNetClasses
9
7041237
<filename>dotnet/test/DotNetUnitTest/StringUtilTests.cs<gh_stars>1-10 using System; using System.Diagnostics; using GeneXus.Utils; using Xunit; namespace UnitTesting { public class StringUtilTests { [Fact] public void NotNumeric() { String A8T4CtoN = "12345678 "; long A40006GXC7; if (StringUtil....
source/JavaPropertiesParser/Utils/Encode.cs
OctopusDeploy/JavaPropertiesParser
0
7041238
<gh_stars>0 using System.Text; namespace JavaPropertiesParser.Utils { public static class Encode { private static string Common(string input) { var output = input .Replace("\\", "\\\\") .Replace("\r", "\\r") .Replace("\n", "\\n") ...
Src/OptionServer/Black.Beard.OptionService/Controllers/TypeController.cs
Moleculars/OptionServer
0
7041239
<gh_stars>0 using Bb.OptionServer; using Bb.OptionService.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Linq; namespace Bb.Controllers { [Route("api/[controller]")] [Authorize] public class TypeController : ControllerBase ...
ShellBoost.Samples/ShellBoost.Samples.7ZipFolder/ArchiveFileShellItem.cs
callbacktechnologies/ShellBoost-Samples
0
7041240
using System.IO; using SevenZip; using callback.ShellBoost.Core; using Props = callback.ShellBoost.Core.WindowsPropertySystem; namespace callback.ShellBoost.Samples.SevenZipFolder { public class ArchiveFileShellItem : ShellItem { public ArchiveFileShellItem(ShellFolder parent, ArchiveFileInfo...
IniFile.cs
Lako-FC/IniFile
4
7041241
<reponame>Lako-FC/IniFile using System.Runtime.InteropServices; using System.Text; /// <summary> /// INI класс, для работы с ini-файлами [v0.2] /// (github.com/0xLaileb/IniFile) /// </summary> public class IniFile { private readonly string FileName; //Имя файла инициализации. /// <param name="FileName">Имя фа...
GenerateQR/Processor/TwitterProcessor.cs
cssho/GenarateQR
1
7041242
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using AngleSharp; using AngleSharp.Parser.Html; using GenerateQR.Properties; namespace GenerateQR.Processor { public class TwitterProces...
Sources/ASP.NET MVC Plugin/ApiquBitpayPlugin/Manager/VisitorContext.cs
apiqu/sitecore-commerce-bitpay-payment-plugin
0
7041243
<reponame>apiqu/sitecore-commerce-bitpay-payment-plugin using Sitecore.Analytics; using Sitecore.Commerce.Entities.Customers; using Sitecore.Diagnostics; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ApiquBitpayPlugin.Manager { public class VisitorContext { ...
Web/BankruptcyLaw.Web/Controllers/ClientsController.cs
Drakojan/BankruptcyLaw
0
7041244
namespace BankruptcyLaw.Web.Controllers { using BankruptcyLaw.Services.Data; using BankruptcyLaw.Web.ViewModels.Clients; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; public class ClientsController : BaseController { private IClientsService clientsService; ...
Anet.Web/Jwt/JwtTokenOptions.cs
frankfanslc/anet
1
7041245
namespace Anet.Web.Jwt; /// <summary> /// Provides options for <see cref="JwtProvider"/>. /// </summary> public class JwtTokenOptions { /// <summary> /// The key for signature validation. /// </summary> public string Key { get; set; } /// <summary> /// The Issuer (iss) claim for generated to...
src/ZoDream.KeyboardSimulator/ViewModels/MainViewModel.cs
zx648383079/ZoDream.KeyboardSimulator
0
7041246
<filename>src/ZoDream.KeyboardSimulator/ViewModels/MainViewModel.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using ZoDream.Shared.Parser; using ZoDream.Shared.Player; using ZoDream.Shared.Recorder; name...
ScriptDevelopmentTool/Infosys.ATR.ScriptsRepository/Views/Scripts/ScriptDesignerPresenter.cs
Infosys/Script-Control-Center
0
7041248
<reponame>Infosys/Script-Control-Center<gh_stars>0 /**************************************************************** Copyright 2021 Infosys Ltd. Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at http://www.apache.org/licenses/ *****************************...
src/Vendr.PaymentProviders.Opayo/OpayoServerPaymentProvider.cs
bjarnef/vendr-payment-provider-opayo
0
7041249
using System; using System.Collections.Generic; using System.Web; using System.Web.Mvc; using Vendr.Core; using Vendr.Core.Logging; using Vendr.Core.Models; using Vendr.Core.Security; using Vendr.Core.Web; using Vendr.Core.Web.Api; using Vendr.Core.Web.PaymentProviders; using Vendr.PaymentProviders.Opayo.Api; using Ven...
sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/LocationMetadata.cs
frank-pang-msft/azure-sdk-for-net
3,268
7041250
// <auto-generated> // 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 incorrect behavior and will be lost if the code is // re...
Tests/Runtime/Tweens/TweenTestFixture.cs
qqqplusgame/entity-tween
45
7041251
using NUnit.Framework; using Timespawn.EntityTween.Tests.Common; using Timespawn.EntityTween.Tweens; using Unity.Entities; using Unity.Mathematics; namespace Timespawn.EntityTween.Tests.Tweens { public abstract class TweenTestFixture : ECSTestFixture { protected const float TestDuration = 1.0f; ...
SharpNetSH/Interfaces/IActionNameProvider.cs
rpetz/SharpNetSH
60
7041252
<reponame>rpetz/SharpNetSH using System; namespace Ignite.SharpNetSH { internal interface IActionNameProvider { /// <summary> /// Gets the text to output to the netsh command /// </summary> string ActionName { get; } } }
modules/CollisionToy/1/main.cs
close-code/Torque2D
1,309
7041253
<filename>modules/CollisionToy/1/main.cs //----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to /...
src/Avalonia.X11/X11TrayIconImpl.cs
0x90d/Avalonia
1
7041254
#nullable enable using System; using System.Diagnostics; using System.Reactive.Disposables; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Avalonia.Controls.Platform; using Avalonia.FreeDesktop; using Avalonia.Logging; using Avalonia.Platform; using Tmds.DBus; [assembly: InternalsVisibleT...
cards/BLACK_TEMPLE/BT/Sim_BT_491.cs
chi-rei-den/Silverfish
1
7041255
/* _BEGIN_TEMPLATE_ { "id": "BT_491", "name": [ "幽灵视觉", "Spectral Sight" ], "text": [ "抽一张牌。<b>流放:</b>再抽一张。", "[x]Draw a card.\n<b>Outcast:</b> Draw another." ], "CardClass": "DEMONHUNTER", "type": "SPELL", "cost": 2, "rarity": "COMMON", "set": "BLACK_TEMPLE", "collectible": true,...
Assets/Fungus/Scripts/VariableTypes/BaseVariableProperty.cs
p0cket/99N
2
7041256
// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; namespace Fungus { [AddComponentMenu("")] public abstract class BaseVariableProperty :...
Assets/Scripts/Notes.cs
IanEarnest/Unity-Learning
0
7041257
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Tutorial { public class Notes :MonoBehaviour { // Notes // Packages: //Unity adds //analytics //In app purchasing //rider editor //-package manager UI //-probuilder //-test framework //-te...
src/Middleware/src/Headstart.API/Commands/ShipmentCommand.cs
djsteinmetz/headstart
0
7041258
using Headstart.Common; using Headstart.Common.Services.ShippingIntegration.Models; using Headstart.Models.Extended; using Headstart.Models.Headstart; using Microsoft.AspNetCore.Http; using Npoi.Mapper; using ordercloud.integrations.library; using OrderCloud.SDK; using System; using System.Collections.Generic; using Sy...
projects/17-07-16_microphone/ScottPlot-2017-07-30/examples/GUI/01 multilayered static/Form1.Designer.cs
ragininternet/Csharp-Data-Visualization
592
7041260
namespace GUI_example_1 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <para...
src/SendInBlue/Core/ServerResponse.cs
lademone/sendinblue.net
1
7041262
<reponame>lademone/sendinblue.net<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace SendInBlue { public class ServerResponse { [JsonProperty("code")] pub...
FPS Game/Assets/Scripts/New Scripts/Sway.cs
AidenMcKown/The-Game
0
7041263
using System.Collections; using System.Collections.Generic; using UnityEngine; using Photon.Pun; public class Sway : MonoBehaviourPunCallbacks { public float intensity; public float returnToNormal; public bool isMine; private Quaternion targetRotation; private Quaternion originRotation; priva...
src/ScriptLinker/Views/OptionWindow.xaml.cs
NearHuscarl/SFDScriptImporter
2
7041264
using ScriptLinker.Services; using ScriptLinker.ViewModels; using System.Windows; namespace ScriptLinker.Views { /// <summary> /// Interaction logic for OptionWindow.xaml /// </summary> public partial class OptionWindow : Window { private ViewModelBase viewModel; public OptionWind...
src/BugsnagUnity/Native/Windows/NativeClient.cs
singularity-group/bugsnag-unity
0
7041265
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using BugsnagUnity.Payload; using UnityEngine; namespace BugsnagUnity { class NativeClient : INativeClient { public Configuration Configuration { get; } public IBreadcrumbs Breadcrumbs { get; } publ...
3-Business/3-Modules/lm.Comol.Core.BaseModules/ProfileManagement/Presentation/Wizard/View/IViewUserProfileAdd.cs
EdutechSRL/Adevico
1
7041266
using System; using System.Collections.Generic; using System.Linq; using System.Text; using lm.Comol.Core.BaseModules.PolicyManagement; using lm.Comol.Core.Authentication; namespace lm.Comol.Core.BaseModules.ProfileManagement.Presentation { public interface IViewUserProfileAdd: lm.Comol.Core.DomainModel.Common.iD...
src/Netnr.Login/Netnr.Login/WeChat/Entity/WeChat_AccessToken_RequestEntity.cs
Alexander360/Netnr.Login
1
7041267
namespace Netnr.Login { /// <summary> /// Step2:通过Authorization Code获取Access Token /// </summary> public class WeChat_AccessToken_RequestEntity { /// <summary> /// 填authorization_code /// </summary> [Required] public string grant_type { get; set; } = "authori...
PetaPoco.Tests.Unit/Models/Person.cs
missaghi/PetaPoco
1
7041269
<reponame>missaghi/PetaPoco<filename>PetaPoco.Tests.Unit/Models/Person.cs // <copyright company="PetaPoco - CollaboratingPlatypus"> // Apache License, Version 2.0 https://github.com/CollaboratingPlatypus/PetaPoco/blob/master/LICENSE.txt // </copyright> // <author>PetaPoco - CollaboratingPlatypus</author> // <date...
HCH.Web/Views/Orders/OrderProducts.cshtml
TMihova/HCenterHarmony
0
7041270
<gh_stars>0 @model IEnumerable<HCH.Web.Models.OrderProductViewModel> @{ ViewData["Title"] = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <main class="mt-3"> <div class="container w-75 justify-content-center"> <h3 class="text-center">Поръчка No @ViewData["OrderId"]/@ViewData["OrderDate"]</...
SharpKeys/Dialog_KeyPress.cs
KristianWahlroos/sharpkeys
0
7041271
<reponame>KristianWahlroos/sharpkeys using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Runtime.InteropServices; namespace SharpKeys { /// <summary> /// Summary description for Dialog_KeyPress....
CSharp Part1/C1-6-Loops-Homework/14. SpiralTime/SpiralArranger.cs
dzhenko/TelerikAcademy
6
7041272
//* Write a program that reads a positive integer number N (N < 20) from console and outputs in the console //the numbers 1 ... N numbers arranged as a spiral. using System; class SpiralArranger { static void Main() { Console.WriteLine("N ?"); int n = int.Parse(Console.ReadLine()); ...
src/Selloze.Web/Server/Controllers/AgentsController.cs
Defkon1/Sellooze
1
7041273
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Selloze.Web.Server.Data; using Selloze.Web.Server.Models; using Selloze.Web.Shared; using System; using System.Collections.Generi...
Runtime/Unity/Math/UnityVector4f.cs
JuDelCo/CoreMath
3
7041274
// SPDX-License-Identifier: MIT // Copyright (c) 2017-2021 <NAME> (@JuDelCo) #if UNITY_2018_3_OR_NEWER namespace Ju.Math { public partial struct Vector4f { public static implicit operator UnityEngine.Vector2(Vector4f v) { return new UnityEngine.Vector2(v.x, v.y); } public static explicit operator UnityE...
randoop-NET-src-orig/RandoopBare/main.cs
abb-iss/Randoop.NET
41
7041275
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Apache License, Version 2.0. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES ...
Assets/Scripts/Bridge/Data/DetectedRadarObject.cs
ZhenshengLee/simulator
9
7041276
<gh_stars>1-10 /** * Copyright (c) 2019 LG Electronics, Inc. * * This software contains code licensed as described in LICENSE. * */ using UnityEngine; namespace Simulator.Bridge.Data { public class DetectedRadarObject { public int Id; public Vector3 SensorAim; public Vect...
Assets/Scripts/Enum/MonsterEmotionTypes.cs
Megapop/feed-the-monster
0
7041277
<reponame>Megapop/feed-the-monster using UnityEngine; using System.Collections; public enum MonsterEmotionTypes { NONE = -1, Happy = 0, Angry = 1, Bored = 2, Sad = 3, //Hungry = 4, //Afraid = 5 }
DarkOrbit 10.0/Net/mysql/MsSqlClient.cs
yusufsahinhamza/darkorbit-emulators
15
7041278
using MySQLManager.Database.Session_Details.Interfaces; using System.Data.SqlClient; namespace MySQLManager.Database { public class MsSQLClient : IDatabaseClient { private SqlConnection connection; private DatabaseManager dbManager; private IQueryAdapter info; public MsSQLClie...
Assets/Scripts/Game/StickToGround.cs
vthem/PolyRace
3
7041279
using UnityEngine; namespace Game { public class StickToGround : MonoBehaviour { [SerializeField] private LayerMask _groundMask; [SerializeField] private float _offset = 0.1f; [SerializeField] private float _period = 0.2f; private void Start() { InvokeRepeating("StickUpdate", 0f, _period); } ...
Sodoku/Form1.cs
hongphat134/Sodoku
0
7041280
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 Sodoku { public partial class Form1 : Form { private const int SIZE = 3; ...
src/BinaryReaderExtensions/BinaryReaderExtensions.cs
ldy985/BinaryExtensions
0
7041281
using System; using System.Collections.Generic; using System.IO; using System.Runtime.CompilerServices; using JetBrains.Annotations; namespace ldy985.BinaryReaderExtensions { /// <summary>Extension methods for <see cref="BinaryReader" />.</summary> [PublicAPI] public static partial class BinaryRe...
RoadTripBenchmark/LineBenchmarks.cs
ralreegorganon/RoadTrip
0
7041282
using System; using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Attributes; using RoadTrip.Game; namespace RoadTripBenchmark { public class LineBenchmarks { [Benchmark] public List<Coordinate> First() { return Bresenham.Line(new Coordinate(0, 0, 0), ...
EntityFrameworkCore.Vfp.Tests/Tests/AutoGenIdTests.cs
illyaz/EntityFrameworkCore.Vfp
4
7041283
<filename>EntityFrameworkCore.Vfp.Tests/Tests/AutoGenIdTests.cs using EntityFrameworkCore.Vfp.Tests.Data.AutoGenId; using EntityFrameworkCore.Vfp.Tests.Fixtures; using System.Linq; using Xunit; using Xunit.Abstractions; namespace EntityFrameworkCore.Vfp.Tests.Tests { public class AutoGenIdTests : DbContextExecuti...
test/core/Search/TestTimeLimitingCollector.cs
danipen/lucene.net
1
7041284
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...