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
AlipaySDKNet/Domain/GFAOpenAPIQueryRequest.cs
alipay/alipay-sdk-net
117
7025846
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// GFAOpenAPIQueryRequest Data Structure. /// </summary> [Serializable] public class GFAOpenAPIQueryRequest : AopObject { /// <summary> /// 业财受理单id /// </summary> ...
code/teams/BlueTeam.cs
apetavern/sbox-fortwars
4
7025847
<filename>code/teams/BlueTeam.cs // Copyright (c) 2022 <NAME>, do not share, re-distribute or modify // without permission of its author (insert_email_here) namespace Fortwars; class BlueTeam : BaseTeam { public override Team ID => Team.Blue; public override string Name => "Blue Team"; public override Color Color...
Packages/lipi.action-flow/Runtime/Core/Container/NativeStaticArray.cs
piruzhaolu/ActionFlow
62
7025848
<filename>Packages/lipi.action-flow/Runtime/Core/Container/NativeStaticArray.cs using UnityEngine; using System.Collections; using System; using Unity.Collections.LowLevel.Unsafe; using Unity.Collections; using Unity.Entities; using System.Collections.Generic; namespace ActionFlow { /// <summary> /// 存储Native...
src/DocuSign/Models/EnvelopeTemplate.cs
wadewegner/docusign-sample
0
7025849
namespace DocuSign.Models { public class EnvelopeTemplate { public string templateId { get; set; } public string name { get; set; } public string shared { get; set; } public string password { get; set; } public string description { get; set; } public str...
Model/Conditions/Locations/Years/ConditionLocationYearNoLateralStructure.cs
HydrologicEngineeringCenter/HEC-FDA
2
7025851
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Utilities; using Functions; using Model.Conditions.Locations.Years.Realizations; using Functions.CoordinatesFunctions; namespace Model.Conditions.Locations.Years { public class ConditionLocationYearNoLateralStructure : Con...
Parsing/Result.cs
VaeterchenFrost/ps-dotenv
0
7025852
using System; using System.Collections.Generic; using Dotenv; using Dotenv.Errors; namespace Dotenv.Parsing; internal class Result<T> { public T Ok { get; set; } public ParseError Err { get; set; } public bool IsErr => this.Err != null; public Result(T ok) => (this.Ok, this.Err) = (ok, null); public Result(Parse...
DncZeus.Api/ViewModels/Rbac/DncUser/UserJsonModel.cs
SkyGrass/ttxy
0
7025853
using DncZeus.Api.Entities; using System; using static DncZeus.Api.Entities.Enums.CommonEnum; namespace DncZeus.Api.ViewModels.Rbac.DncUser { /// <summary> /// /// </summary> public class UserJsonModel { /// <summary> /// /// </summary> public Guid FGuid { get; se...
Runtime/Web3Api/Interfaces/IWeb3Api.cs
metaversesdk/web3unity
29
7025855
 namespace MoralisUnity.Web3Api.Interfaces { public interface IWeb3Api { /// <summary> /// AccountApi operations. /// </summary> IAccountApi Account { get; } /// <summary> /// DefiApi operations /// </summary> IDefiApi Defi { get; } /// ...
src/Elasticsearch.Net/Responses/ResponseStatics.cs
iSatishYadav/elasticsearch-net
0
7025856
<filename>src/Elasticsearch.Net/Responses/ResponseStatics.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Elasticsearch.Net { public static class ResponseStatics { private static readonly string RequestAlreadyCaptured = "<Request stream not captured or already...
LIE/Lost in Edoria/Assets/Scripts/trambulin.cs
Btryx/Lost-In-Edoria
0
7025857
using System.Collections; using System.Collections.Generic; using UnityEngine; public class trambulin : MonoBehaviour { public float UpForce; private void Start() { UpForce = 5f; } private void Update() { if (Player.Instance.touchGround) UpForce = 5f; if (UpForce > 30f...
Downwork Notifier/DAL/Extensions/DbContext.cs
alkboda/Downwork-Notifier
2
7025858
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Downwork_Notifier.DAL.Extensions { public static class DbContextEx { public static void LogToConsole(this DbContext con...
src/core/Elsa.Core/Activities/Signaling/Activities/InterruptTrigger/InterruptTrigger.cs
newbienewbie/elsa-core
1
7025859
<filename>src/core/Elsa.Core/Activities/Signaling/Activities/InterruptTrigger/InterruptTrigger.cs<gh_stars>1-10 using System.Threading.Tasks; using Elsa.ActivityResults; using Elsa.Attributes; using Elsa.Expressions; using Elsa.Persistence; using Elsa.Services; using Elsa.Services.Models; // ReSharper disable once Che...
MountAws/Services/Wafv2/StatementNavigation/ByteMatchNavigator.cs
andyalm/mount-aws
3
7025860
using System.Text; using Amazon.WAFV2.Model; namespace MountAws.Services.Wafv2.StatementNavigation; public class ByteMatchNavigator : StatementNavigator<ByteMatchStatement> { public ByteMatchNavigator(ByteMatchStatement byteMatch, int position) : base(byteMatch, position) { SearchString = Encoding.UTF...
src/Uno.UI/DataBinding/BinderCollector.iOSmacOS.cs
olirobert/uno
5,973
7025861
using Windows.UI.Core; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Uno.UI.DataBinding { /// <summary> /// Provides a centralized garbage collection controlled for IBinder implementation used through mixins. /// </summary> internal static c...
DataWF.Module.FlowGui/Document/DocumentFinder.cs
alexandrvslv/datawf
8
7025862
<filename>DataWF.Module.FlowGui/Document/DocumentFinder.cs<gh_stars>1-10 using DataWF.Data; using DataWF.Module.Flow; using DataWF.Gui; using DataWF.Common; using Xwt; namespace DataWF.Module.FlowGui { public class DocumentFinder : ToolWindow { private DocumentListView list = new DocumentLis...
Source/ColorAffector.cs
Jagerente/RCFixed
2
7025863
using System; using UnityEngine; public class ColorAffector : Affector { protected Color[] ColorArr; protected float ElapsedTime; protected float GradualLen; protected bool IsNodeLife; protected COLOR_GRADUAL_TYPE Type; public ColorAffector(Color[] colorArr, float gradualLen, COLOR...
BiliAccount.Geetest.Controls/Winforms/GeetestBrowser.cs
MoeHero/BiliAccount
72
7025864
using CefSharp; using CefSharp.WinForms; using System.Windows.Forms; namespace BiliAccount.Geetest.Controls.Winforms { /// <summary> /// DataViewer.xaml 的交互逻辑 /// </summary> public partial class GeetestBrowser : UserControl { #region Private Fields private ChromiumWebBrowser brows...
AMETAP/AMETAP/Model/Business/BudgetCategorie.cs
HabibAroua/Ametap
3
7025865
namespace AMETAP.Model.Business { public class BudgetCategorie { public int id { get; set; } public double montant { get; set; } public BudgetCategorie(int id,double montant) { this.id ...
src/Couchbase/KeyValue/Options.cs
mfeerick/couchbase-net-client
0
7025866
using System; using System.Collections.Generic; using System.Threading; using Couchbase.Core.IO.Serializers; using Couchbase.Core.IO.Transcoders; using Couchbase.Core.Retry; namespace Couchbase.KeyValue { #region GetOptions public class GetOptions { public IRetryStrategy RetryStrategy { get; set; ...
OOPGame/Medkit.cs
TrueSkiminok/geekbrains-csharp-oopgame
0
7025867
/* <NAME> Урок 3 Задание 3. Разработать аптечки, которые добавляют энергию. */ using System; using System.Drawing; namespace OOPGame { class Medkit : BaseObject { /// <summary> /// Свойство "Сила" /// </summary> public int Power { get; } /// <summary> /// Конс...
ArmaRealMap/TerrainData/ElevationModel/ElevationSmoothSegment.cs
jetelain/ArmaRealMap
0
7025868
using System; using System.Collections.Generic; using System.Linq; using MathNet.Numerics.LinearRegression; namespace ArmaRealMap.TerrainData.ElevationModel { internal class ElevationSmoothSegment { private readonly List<Tuple<float, ElevationConstraintNode>> nodes = new List<Tuple<float, ElevationCon...
src/Adaptive.ReactiveTrader.Server.Domain/Blotter/BlotterHub.cs
gitter-badger/ReactiveTrader
720
7025869
using System.Threading.Tasks; using Adaptive.ReactiveTrader.Server.Transport; using Adaptive.ReactiveTrader.Shared; using log4net; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Hubs; namespace Adaptive.ReactiveTrader.Server.Blotter { [HubName(ServiceConstants.Server.BlotterHub)] public class ...
src/Package/Impl/Options/Common/LanguageSettingsStorageWithDialog.cs
AlexanderSher/RTVS-Old
2
7025870
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.VisualStudio.R.Package.Shell; using Microsoft.VisualStudio.Shell; using Mic...
IoC/Core/FluentRegister.cs
DevTeam/IoCContainer
13
7025871
<gh_stars>10-100 // ReSharper disable RedundantNameQualifier namespace IoC.Core { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Linq.Expressions; using System.Runtime.CompilerServices; using Dependencies; using Iss...
internals/src/EflSharp/EflSharp/efl/efl_input_interface.eo.cs
sparrow74/TizenFX
0
7025872
<reponame>sparrow74/TizenFX #pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; namespace Efl { namespace Input { /// <summary>An object implementing this interface can send pointer...
OpenMetaverse.GUI/StatusOutput.cs
pcerioli/libopenmetaverse
0
7025873
/* * Copyright (c) 2006-2014, openmetaverse.org * All rights reserved. * * - Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this...
src/Ocelot/Security/Middleware/SecurityMiddlewareExtensions.cs
madmonkey/Ocelot
6,073
7025874
namespace Ocelot.Security.Middleware { using Microsoft.AspNetCore.Builder; public static class SecurityMiddlewareExtensions { public static IApplicationBuilder UseSecurityMiddleware(this IApplicationBuilder builder) { return builder.UseMiddleware<SecurityMiddleware>(); ...
RecursiveExtractor/MiniMagic.cs
jhoak/RecursiveExtractor
0
7025875
<reponame>jhoak/RecursiveExtractor // Copyright (c) Microsoft Corporation. Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Microsoft.CST.RecursiveExtractor { /// <summary> /// ArchiveTypes are the kinds of ar...
src/Datadog.Trace/Agent/HttpClientResponse.cs
link04/dd-trace-dotnet
0
7025876
<gh_stars>0 #if NETCOREAPP using System.Net.Http; using System.Threading.Tasks; namespace Datadog.Trace.Agent { internal class HttpClientResponse : IApiResponse { private readonly HttpResponseMessage _response; public HttpClientResponse(HttpResponseMessage response) { _resp...
Send Report by Email/Controllers/ViewerController.cs
stimulsoft/Samples-ASP.NET-MVC-CSharp
31
7025877
using Stimulsoft.Report; using Stimulsoft.Report.Mvc; using Stimulsoft.Report.Web; using System; using System.Data; using System.Web.Mvc; namespace HTML_Samples.Controllers { public class ViewerController : Controller { static ViewerController() { // How to Activate //S...
Bloodhound.WebSite/Models/Data/PostmanCollection.cs
BobbyCannon/Bloodhound
0
7025878
#region References using System; using System.Collections.ObjectModel; #endregion namespace Bloodhound.WebSite.Models.Data { public class PostmanCollection { #region Properties public Guid Id { get; set; } public string Name { get; set; } public Collection<PostmanRequest> Requests { get; set; } public ...
test/Core/System.Reflection.Emit.ILGenerator/Arithmetic/Remainder.cs
edwardmeng/FluentMethods
0
7025879
<gh_stars>0 using System; using System.Reflection.Emit; namespace FluentMethods.UnitTests { public partial class ILGeneratorFixture { #if NetCore [Xunit.Fact] #else [NUnit.Framework.Test] #endif public void Remainder() { var method = new DynamicMethod(...
CameraBehaviour.cs
ArthurChaitter/BrokenHearts
0
7025880
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class CameraBehaviour : MonoBehaviour { [SerializeField] GameObject fadeout; enum Cena{um, dois, tres}; [SerializeField] Cena cenaAtual; [SerializeField] GameObject player; bool pause; [SerializeFiel...
Constant/VerifyCodeType.cs
wilsonfanfan/EF-CodeFirst
1
7025881
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace X.Constant { /// <summary> /// 验证码用处 /// </summary> public static class CodeUse { [Description("注册")] public const string Regis...
src/App/src/Helpers/GitLab/AsyncDiscussionHelper.cs
denis-adamchuk/mrHelper
12
7025882
<reponame>denis-adamchuk/mrHelper using System; using System.Threading.Tasks; using System.Windows.Forms; using GitLabSharp.Accessors; using GitLabSharp.Entities; using mrHelper.App.Forms; using mrHelper.App.Controls; using mrHelper.Common.Tools; using mrHelper.GitLabClient; using mrHelper.CommonControls.Tools; names...
tests/OpenTemenos.Tests/Transact/Reference/CategoriesServiceTests.cs
ElevateData/OpenTemenos
0
7025883
<filename>tests/OpenTemenos.Tests/Transact/Reference/CategoriesServiceTests.cs using Transact; using Transact.Reference.Categories; namespace OpenTemenos.Tests.Transact.Reference; [TestClass, TestCategory("Transact")] public class CategoryServiceTests : CredentialManagement { private const string CategoryId = "1...
tests/NetEscapades.EnumGenerators.Tests/TestHelpers.cs
yunusbyrak/NetEscapades.EnumGenerators
0
7025885
<filename>tests/NetEscapades.EnumGenerators.Tests/TestHelpers.cs<gh_stars>0 using System; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; namespace NetEscapades.EnumGenerators.Tests; internal class TestHelpers { public static (ImmutableArra...
src/OpenTelemetry.ClrProfiler.Managed/DuckTyping/IgnoresAccessChecksToAttribute.cs
mic-max/opentelemetry-dotnet-instrumentation
107
7025886
<filename>src/OpenTelemetry.ClrProfiler.Managed/DuckTyping/IgnoresAccessChecksToAttribute.cs namespace System.Runtime.CompilerServices { /// <summary> /// This attribute is recognized by the CLR and allow us to disable visibility checks for certain assemblies (only from 4.6+) /// </summary> [AttributeUs...
ChatCore/Interfaces/IChatResourceProvider.cs
Sarayalth/ChatCore
2
7025887
using System.Collections.Concurrent; using System.Threading.Tasks; namespace ChatCore.Interfaces { internal interface IChatResourceProvider<T> where T : class { ConcurrentDictionary<string, T?> Resources { get; } Task<bool> TryRequestResources(string category); bool TryGetResource(string identifier, string ca...
sdk/dotnet/DataFactory/V20180601/Outputs/ValidationActivityResponse.cs
pulumi-bot/pulumi-azure-native
0
7025888
<gh_stars>0 // *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace...
Medidata.RWS.NET/Core/Responses/IRWSResponse.cs
mskcc/Medidata.RWS.NET
4
7025889
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Medidata.RWS.Core.Responses { /// <summary> /// RWS Response interface. /// </summary> public interface IRWSResponse { } }
cscore-master/CSCore/Codecs/MP3/MP3FrameInfo.cs
noah4477/HardwareMixer
0
7025890
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSCore.Codecs.MP3 { internal class Mp3FrameInfo { public long StreamPosition; public int SampleIndex; public int SampleAmount; public int Size; } }
Westwind.AspnetCore.LiveReload/LiveReloadConfiguration.cs
GravlLift/Westwind.AspnetCore.LiveReload
0
7025891
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Westwind.AspNetCore.LiveReload { public class LiveReloadConfiguration { /// <summary> /// Current configuration instance accessible ...
WebWorkerParent/Messaging/CallResultToken.cs
2427dkusiro/BlazorTask
0
7025892
using BlazorTask.Dispatch; using BlazorTask.Tasks; namespace BlazorTask.Messaging; /// <summary> /// Defines token object which accepts async method result. /// </summary> public interface IAsyncResultToken { /// <summary> /// Return success result value as json binary. /// </summary> /// <param name...
BetterChat.cs
PolarKC/BetterChat
0
7025893
using Oxide.Plugins.BetterChatExtensions; using Oxide.Core.Libraries.Covalence; using Oxide.Core.Plugins; using System.Text.RegularExpressions; using System.Collections.Generic; using System.Linq; using System; using Newtonsoft.Json.Linq; using Newtonsoft.Json; #if RUST using Network; using ConVar; using ...
DL/OrdersRepository.cs
210628-UTA-NET/Michael-Lee-P0
0
7025894
<filename>DL/OrdersRepository.cs<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Text.Json; using Model = Models; using Entity = DL.Entities; using System.Linq; using Models; //Still need to fix the Orders, and StorFront Repositories namespace DL { public class OrdersRepos...
src/Store/SideEffectorCollection.cs
schultzcole/Playdux
1
7025895
<gh_stars>1-10 #nullable enable using System; using System.Collections.Generic; namespace Playdux.src.Store { public class SideEffectorCollection<TRootState> { private readonly Dictionary<Guid, ISideEffector<TRootState>> table = new(); private readonly List<ISideEffector<TRootState>> priority =...
backend/Petting.Admin/src/Admin.Api/Program.cs
matheus-camara/Petting
0
7025896
using Admin.Api.Configuration; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle builder.Services.AddEndpointsApiExplorer(); builder.Services.AddSwaggerGen(); ...
csharp/Items/Rules/UpdateSulfuras.cs
moerwald/GildedRose-Refactoring-Kata
0
7025897
using System; namespace csharp.Items.Rules { public class UpdateSulfuras : ChainableUpdateRule { public UpdateSulfuras(IUpdateRule next) : base(next, item => item.Name == "Sulfuras, Hand of Ragnaros") { } protected override Action<Item> HandleExecute() => i => { }...
Source/Library/PackageCache/com.unity.burst@1.5.4/Runtime/Intrinsics/Arm/NEON_ctor.cs
WeLikeIke/DubitaC
1
7025898
using System; using System.Diagnostics; namespace Unity.Burst.Intrinsics { public unsafe static partial class Arm { /// <summary> /// Neon intrinsics /// </summary> public unsafe partial class Neon { /// <summary>Insert vector element from another vector elem...
src/v2.0/Microsoft.VisualBasic.cs
marek-safar/reference-assemblies
33
7025899
// 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. [assembly:System.Reflection.AssemblyVersionAttribute("8.0.0.0")] [assembly:System.CLSCompliantAttribute(true)] [asse...
Assets/Scripts/PowerUps/Dash.cs
alessiocali/SGJ20-RepairRush
0
7025900
using System; using UnityEngine; [Serializable] [CreateAssetMenu(fileName = "New PowerUp", menuName = "Dash")] public class Dash : PowerUp { public float m_DashImpulseForce = 10f; public float m_DashCooldown = 2f; public float m_LockedDirectionDuration = 0.7f; private bool m_IsActionLocked = false; ...
RechargeSharp.Entities.EntityFrameworkCore/Entities/Onetimes/OneTime.cs
jnysteen/RechargeSharp
0
7025901
using Newtonsoft.Json; using RechargeSharp.Entities.EntityFrameworkCore.Entities.Customers; using RechargeSharp.Entities.EntityFrameworkCore.Entities.Products; using RechargeSharp.Entities.Shared; using System.ComponentModel.DataAnnotations.Schema; namespace RechargeSharp.Entities.EntityFrameworkCore.Entities.Onetime...
Assets/Scripts/Player/PlayerDetector.cs
Larsspawn/dilo-chapter-8-survivalshooter
0
7025902
using UnityEngine; public class PlayerDetector : MonoBehaviour { public GameOverManager gameOverManager; private void OnTriggerEnter(Collider other) { if (other.CompareTag("Enemy") && !other.isTrigger) { float enemyDistance = Vector3.Distance(transform.position,other.transform...
src/Nest/Aggregations/Bucket/Composite/CompositeAggregation.cs
mouseflow/elasticsearch-net
2
7025903
using System; using System.Collections.Generic; using System.Runtime.Serialization; using Elasticsearch.Net.Utf8Json; namespace Nest { /// <summary> /// A multi-bucket aggregation that creates composite buckets from different sources. /// </summary> [InterfaceDataContract] [ReadAs(typeof(CompositeAggregation))] ...
OnlineTest.Source/Web/OnlineTest.Web/App_Start/DbConfig.cs
oggg/online-tests
0
7025904
namespace OnlineTest.Web { using System.Data.Entity; using Data; public class DbConfig { public static void Initialize() { Database.SetInitializer(new MigrateDatabaseToLatestVersion<OnlineTestsDbContext, Data.Migrations.Configuration>()); } } }
test/OrchardCore.Tests/DisplayManagement/ZoneonDemandTests.cs
salem84/OrchardCore
1
7025905
<filename>test/OrchardCore.Tests/DisplayManagement/ZoneonDemandTests.cs using System; using System.Collections.Generic; using System.Threading.Tasks; using OrchardCore.DisplayManagement; using OrchardCore.DisplayManagement.Shapes; using OrchardCore.DisplayManagement.Zones; using Xunit; namespace OrchardCore.Tests.Disp...
src/AngleSharp/Dom/Css/Constants/PositionMode.cs
tbolon/AngleSharp
293
7025906
namespace AngleSharp.Dom.Css { /// <summary> /// An enumeration with possible position modes. /// </summary> public enum PositionMode : byte { /// <summary> /// The position is determined by the renderer. /// </summary> Static, /// <summary> /// The p...
src/FluffySpoon.AspNet.EncryptWeMust/Certificates/CertificateRenewalResult.cs
PreferLinux/FluffySpoon.AspNet.EncryptWeMust
115
7025907
namespace FluffySpoon.AspNet.EncryptWeMust.Certificates { public class CertificateRenewalResult { public CertificateRenewalResult(IAbstractCertificate certificate, CertificateRenewalStatus status) { Certificate = certificate; Status = status; } public IAb...
PrimarSql.Data/Planners/Ddl/AlterTableQueryInfo.cs
ScriptBox99/chequer-PrimarSql.Data
2
7025908
using System; using System.Collections.Generic; using PrimarSql.Data.Planners.Index; using PrimarSql.Data.Planners.Table; namespace PrimarSql.Data.Planners { internal sealed class AlterTableQueryInfo : TableQueryInfo { private readonly Dictionary<string, TableColumn> _tableColumns = new Dictionary<stri...
Assets/Scripts/Props/Activators/Lever.cs
Gamagora/from-the-shadows
0
7025909
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(BoxCollider2D))] public class Lever : Activator, IResetable { public AudioClip soundOn; public AudioClip soundOff; public Material activeMat; public Material inactiveMat; ...
LiveShot.UI.Controls/Canvas/SelectCanvas.cs
KennethGomez/LiveShot
27
7025910
using System; using System.Collections.ObjectModel; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Shapes; using LiveShot.API; using LiveShot.API.Canvas; using LiveShot.API.Drawing; using LiveShot.API.Events; using LiveShot.API.Events.Input; usi...
source/dotnet/Library/AdaptiveCards/Rendering/AdaptiveRenderArgs.cs
nakasho-dev/AdaptiveCards
0
7025912
<reponame>nakasho-dev/AdaptiveCards using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; // This class contais all proterties that are used for rendering and need to be passed down between parent and child elements namespace AdaptiveCards.Rendering { ...
ATF/Framework/Atf.Gui/Dom/ChildPropertyDescriptor.cs
T-rvw/LevelEditor
0
7025913
<filename>ATF/Framework/Atf.Gui/Dom/ChildPropertyDescriptor.cs //Copyright ?2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.Collections.Generic; using System.ComponentModel; namespace Sce.Atf.Dom { /// <summary> /// PropertyDescriptor for a child of a node</s...
src/Tests/FlatSharpEndToEndTests/Grpc/EchoServiceTestCases.cs
StirlingLabs/FlatSharp
0
7025914
<gh_stars>0 /* * Copyright 2021 <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 obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
src/Sudoku.Core/Presentation/Nodes/CandidateViewNode.cs
Sunnie-Shine/Sudoku
15
7025915
<filename>src/Sudoku.Core/Presentation/Nodes/CandidateViewNode.cs<gh_stars>10-100 namespace Sudoku.Presentation.Nodes; /// <summary> /// Defines a view node that highlights for a candidate. /// </summary> [AutoOverridesToString(nameof(Identifier), nameof(Candidate))] [AutoOverridesGetHashCode(nameof(TypeIdentifier), ...
Source/Main.Designer.cs
MattLawz/Roblox-Game-Pentesting-App
5
7025916
<filename>Source/Main.Designer.cs namespace RobloxGamePentesting { public partial class Main : global::System.Windows.Forms.Form { protected override void Dispose(bool disposing) { bool flag = disposing && this.components != null; if (flag) { ...
SwiftReflector/SwiftXmlReflection/Enums.cs
a-churchill/binding-tools-for-swift
0
7025917
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace SwiftReflector.SwiftXmlReflection { public enum TypeKind { Unknown = 0, Class, Struct, Enum, Protocol } public enum Accessibility { Unknown = 0, Public, Private, Internal, Open, } public enum StorageKind { ...
SpeechPro/MessageBrokerTest/MessageBrokerTests.cs
s1nav/TestTasks
1
7025918
using MessageBroker; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; namespace MessageBrokerTest { public class MessageBrokerTests { [Test] public void Subscribe_Exist() { var mb = new MessageBroker.MessageBroker(); var ...
source/WebHost/Areas/Admin/Models/SymmetricKeyModel.cs
rzontar/Thinktecture.AuthorizationServer
141
7025919
<filename>source/WebHost/Areas/Admin/Models/SymmetricKeyModel.cs /* * Copyright (c) <NAME>, <NAME>. All rights reserved. * see license.txt */ using System.ComponentModel.DataAnnotations; namespace Thinktecture.AuthorizationServer.WebHost.Areas.Admin.Models { public class SymmetricKeyModel { [Requ...
Beanstalkd.Client/Default/JobBulkProducer.cs
bestmike007/Beanstalkd.Client
1
7025920
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Net.Sockets; using System.Text; using System.Text.RegularExpressions; namespace Beanstalkd.Client.Default { public class JobBulkProducer : IBulkProducer { private readonly string _host; private readonl...
SalvageOperations/Patches/MechBayPanel.cs
Mpstark/StarkSalvage
2
7025921
using BattleTech.UI; using Harmony; using UnityEngine; using BattleTech; namespace SalvageOperations.Patches { [HarmonyPatch(typeof(MechBayPanel), "ViewMechStorage")] public class MechBayPanel_ViewMechStorage_Patch { public static bool Prefix() { var sim = UnityGameInstance.Batt...
Controllers/DataController.cs
piotrszymanski133/si-net-project-api
0
7025922
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using si_net_project_api.Services; namespace si_net_project_api.Controllers { [Route("api/[controller]")] [ApiController] public class DataController : ControllerBase { private readonly DataService _dataService; ...
L2Package/DataStructures/UPrimitive.cs
warptechnology/gosu_packages
0
7025923
<filename>L2Package/DataStructures/UPrimitive.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace L2Package.DataStructures { public class UPrimitive : UObject { public Box bounding_box { set; get; } ...
Problem57/Problem57/Program.cs
MartinZikmund/ProjectEuler
0
7025924
<reponame>MartinZikmund/ProjectEuler<filename>Problem57/Problem57/Program.cs using System; using System.Numerics; namespace Problem57 { class Program { static void Main(string[] args) { var counter = 0; var currentFraction = new Fraction(1,1); for (int i = 0...
Source/ColonistBarHiding/ColonistBarHiding-RW1.0/HiddenPawnTracker.cs
Proxyer/RW_ColonistBarHiding
2
7025925
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RimWorld; using Verse; namespace ColonistBarHiding { /// <summary> /// Tracks which pawns on the colonist bar are hidden. /// </summary> public class HiddenPawnTracker : IExposable { private List<Pawn> pawns; /// <su...
TweetinCore/Interfaces/TwitterToken/ITokenCreator.cs
fsalazarnearbpo/Twitter-spam
1
7025926
<filename>TweetinCore/Interfaces/TwitterToken/ITokenCreator.cs using TweetinCore.Events; namespace TweetinCore.Interfaces { /// <summary> /// Class used to get Token from Twitter /// </summary> public interface ITokenCreator { /// <summary> /// Create a token for a user ///...
test/EFCore.SqlServer.FunctionalTests/Query/InheritanceRelationshipsQuerySqlServerTest.cs
paulomorgado/dotnet-efcore
1
7025927
// 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 Xunit.Abstractions; namespace Microsoft.EntityFrameworkCore.Query { public class InheritanceRelationshipsQuerySqlServerTest : Inherit...
Assets/QuickSheet/GDataPlugin/Editor/GoogleDataSettings.cs
nick22cans/GSheetsTest
1
7025928
<gh_stars>1-10 /////////////////////////////////////////////////////////////////////////////// /// /// GoogleDataSettings.cs /// /// (c)2013 Kim, <NAME> /// /////////////////////////////////////////////////////////////////////////////// using UnityEngine; using UnityEditor; using System.Collections; using System.IO; u...
Musync/FFTHelper.cs
osmidy/Musync
1
7025929
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Musync { /// <summary> /// This helper class analyzes frequencies and magnitudes of an FFT /// to make decisions about operations on the Blynclight. /// </summary> /// ...
BlazorCrud.Shared/Models/User.cs
bryanmitchellhowell/MarchForOurPlanet
169
7025930
<gh_stars>100-1000 using System.ComponentModel.DataAnnotations; namespace BlazorCrud.Shared.Models { public class User { public int Id { get; set; } [Required] public string Username { get; set; } [Required] public string Password { get; set; } [Required] ...
LogCast.Tracing.Test/Mocks/LogCastTraceListenerMock.cs
kbabiy/LogCast
7
7025931
using LogCast.Fallback; using Moq; namespace LogCast.Tracing.Test.Mocks { public class LogCastTraceListenerMock : Tracing.LogCastTraceListener { protected override LogCastTraceListenerWorker CreateWorker() { return new LogCastTraceListenerWorker(this, Attributes, Mock.Of<IFallbackL...
src/Tests/WinReform.Tests/ActiveWindows/ActiveWindowsViewModelTests.cs
punker76/WinReform
22
7025932
<reponame>punker76/WinReform<gh_stars>10-100 using System; using Moq; using WinReform.Domain.Infrastructure.Messanger; using WinReform.Domain.Infrastructure.Messenger; using WinReform.Domain.Settings; using WinReform.Domain.Windows; using WinReform.ActiveWindows; using Xunit; namespace WinReform.Tests.ActiveWindows {...
Assets/Scripts/Player/PowerUp.cs
Myggski/Krogger
1
7025933
<filename>Assets/Scripts/Player/PowerUp.cs using FG; using UnityEngine; public class PowerUp : MonoBehaviour { [SerializeField] private int scoreToAdd = 5; [SerializeField] private float movementSpeed = 20f; [SerializeField] private float duration = 5f; /// <summary> /// If power up co...
Asteroids/Assets/Scripts/Menus/HighScoreMenu.cs
rab2807/Asteroidz
0
7025934
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using UnityEngine; using UnityEngine.UI; public class HighScoreMenu : MonoBehaviour { [SerializeField] private Text scoreTable; private List<Tuple<string, int>> scoreChart; private void Start() ...
SmartPaster/Commands/Helpers.cs
martinjw/SmartPaster
2
7025935
<gh_stars>1-10 using System; using System.Windows.Forms; namespace SmartPaster { public static class Helpers { /// <summary> /// Convient property to retrieve the clipboard text from the clipboard /// </summary> public static string ClipboardText { get ...
src/ProBase.Tests/Generation/Class/FieldGenerationTest.cs
AlexandruIstrate/ProBase
2
7025936
<reponame>AlexandruIstrate/ProBase using System; using System.Reflection.Emit; using NUnit.Framework; using ProBase.Generation; using ProBase.Generation.Class; using ProBase.Tests.Substitutes; namespace ProBase.Tests.Generation.Class { [TestFixture] public class FieldGenerationTest { [OneTimeSetUp...
Memoria/Engine/Battle/Calculator/BattleUnit.cs
Zer0Ph34r/GUI_Branch
0
7025937
<gh_stars>0 using System; using FF9; using UnityEngine; namespace Memoria { public class BattleUnit { public CalcFlag Flags; public Int16 HpDamage; public Int16 MpDamage; internal BTL_DATA Data; internal BattleUnit(BTL_DATA data) { Data = data; ...
src/Tests/Microsoft.NET.Build.Tests/GivenThatWeManifestSupportedFrameworks.cs
bingenito/sdk
1
7025938
<filename>src/Tests/Microsoft.NET.Build.Tests/GivenThatWeManifestSupportedFrameworks.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using FluentAssertions; using Microsoft.NET.Build.Tasks; using Microsoft.NET.TestFramework; using Microsoft.NET.TestFramework.As...
SubwayMapRender/Render.cs
yyc12345/SubwayMapRender
0
7025939
using System; using System.Collections.Generic; using System.Text; using System.IO; using ShareLib; namespace SubwayMapRender { public static class Render { public static void RenderKernel(ShareLib.RenderStruct.RenderSettings renderSettings) { var map = LoadAndCheckData(); if (ma...
src/libraries/System.Runtime.InteropServices/src/System/Runtime/InteropServices/ManagedToNativeComInteropStubAttribute.cs
pyracanda/runtime
9,402
7025940
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Runtime.InteropServices { [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)] public sealed class ManagedToNativeComInteropSt...
AppDal/dal/intf/IntfDalReceptionnaire.cs
Natolotra/App
0
7025941
using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using arch.crl; namespace arch.dal.intf ...
DeDCalculator/DeDCalculator/Data/DAL/ApplicationRole.cs
Zilpine/D-D
0
7025942
using Microsoft.AspNetCore.Identity; using System; namespace DeDCalculator.Data.DAL { public class ApplicationRole : IdentityRole<Guid> { public ApplicationRole() { } public ApplicationRole(string roleName) : base(roleName) { } } }
DBLayer/DTS.cs
amoorahmat/RTU-Controller
1
7025943
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SerialSample.DBLayer { /// <summary> /// وظیفه این کلاس استاتیک دانلود اطلاعات از سرور مرکزی به کنترلر است /// اطلاعات از قبیل لیست مجتمع ها ، دستگاه ها ، دستورالعمل...
Models/DeviceViewModels/DeviceAddViewModel.cs
jkvakaric/ZRdotnetcore
2
7025944
<filename>Models/DeviceViewModels/DeviceAddViewModel.cs<gh_stars>1-10 using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace ZRdotnetcore.Models.DeviceViewModels { public class DeviceAddViewModel { [Required] [StringLength(50)] [RegularExpression(@"^[a...
src/linker/Linker/LinkerAttributesInformation.cs
pranavkm/linker
0
7025945
<gh_stars>0 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Lin...
src/NiceHashMiner/Forms/Components/StartupLoadingControl.cs
Torino777/NiceHashMiner
2
7025946
using System; using System.Drawing; using System.Windows.Forms; using NHM.Common; namespace NiceHashMiner.Forms.Components { public partial class StartupLoadingControl : UserControl, IStartupLoader { public StartupLoadingControl(string title = null) { InitializeComponent(); ...
src/ProjectEvent.Core/Services/NotificationService.cs
Planshit/ProjectEvent
41
7025947
using ProjectEvent.Core.Types; using System; using System.Collections.Generic; using System.Text; using Windows.Data.Xml.Dom; using Windows.UI.Notifications; namespace ProjectEvent.Core.Services { public class NotificationService { /// <summary> /// 显示一条通知 /// </summary> /// <pa...
Artefacts/package-samples/sample-mvc-app/files/MyApp/MyApp.WebCore/Models/AccountValidation.cs
5eba51ian/Sharp-Architecture
1
7025948
namespace MyApp.WebView.Models { using System.Web.Security; public static class AccountValidation { public static string ErrorCodeToString(MembershipCreateStatus createStatus) { // See http://go.microsoft.com/fwlink/?LinkID=177550 for // a full list of status codes....
async-enumerable-dotnet/impl/ForEach.cs
glenringer/async-enumerable-dotnet
0
7025949
// Copyright (c) <NAME> & Contributors. // Licensed under the Apache 2.0 License. // See LICENSE file in the project root for full license information. using System; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; namespace async_enumerable_dotnet.impl { internal stati...