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
DotNetBungieAPI/Models/Destiny/Definitions/TalentGrids/DestinyTalentNodeExclusiveSetDefinition.cs
EndGameGl/.NetBungieAPI
25
7029726
<gh_stars>10-100 namespace DotNetBungieAPI.Models.Destiny.Definitions.TalentGrids; /// <summary> /// The list of indexes into the Talent Grid's "nodes" property for nodes in this exclusive set. (See /// DestinyTalentNodeDefinition.nodeIndex) /// </summary> public sealed record DestinyTalentNodeExclusiveSetDef...
LevelDesignerGui/Game1.cs
daniel7777cohen/RemGame
1
7029727
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; using System.Text.RegularExpressions; namespace LevelDesignerGui { class Game1 : Game { ...
src/Application/Mediators/Reposts/Command/CreateRepostWithComment/CreateRepostWithCommentValidation.cs
destbg/TwitterRecreated
2
7029728
using Application.Common.Validators; using FluentValidation; namespace Application.Reposts.Command.CreateRepostWithComment { public class CreateRepostWithCommentValidation : AbstractValidator<CreateRepostWithCommentCommand> { public CreateRepostWithCommentValidation() { RuleFor(f =...
src/DXDecompiler/Chunks/Rdef/ShaderVariableFlags.cs
sweetgiorni/DXDecompiler
50
7029729
using System; namespace DXDecompiler.Chunks.Rdef { /// <summary> /// Values that identify information about a shader variable. /// Based on D3D_SHADER_VARIABLE_FLAGS. /// </summary> [Flags] public enum ShaderVariableFlags { None = 0, /// <summary> /// Indicates that the registers assigned to this shader...
Stryker.Solution/CommandRunner.cs
SDavey149/Dotnet-Stryker-Solution
0
7029730
using System.Diagnostics; namespace Stryker_Solution { public class CommandRunner : ICommandRunner { public string RunShellCommand(string command) { var p = new Process(); p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardOutput = true; ...
LegoM/Areas/Admin/Controllers/ProductsController.cs
meco00/LEGO-M
6
7029731
<gh_stars>1-10 namespace LegoM.Areas.Admin.Controllers { using AutoMapper; using LegoM.Areas.Admin.Models.Products; using LegoM.Models.Products; using LegoM.Services.Products; using LegoM.Services.Reports; using Microsoft.AspNetCore.Mvc; public class ProductsController:AdminController ...
docs/fundamentals/code-analysis/quality-rules/snippets/csharp/all-rules/ca1064.cs
BaruaSourav/docs
3,294
7029732
using System; using System.Runtime.Serialization; namespace ca1064 { //<snippet1> // Violates this rule [Serializable] internal class FirstCustomException : Exception { internal FirstCustomException() { } internal FirstCustomException(string message) : ...
Coreflow.Web/Controllers/EditorActionsController.cs
manureini/Coreflow
0
7029733
<gh_stars>0 using Coreflow.Helper; using Coreflow.Interfaces; using Coreflow.Objects; using Coreflow.Web.Extensions; using Coreflow.Web.Helper; using Coreflow.Web.Models; using Coreflow.Web.Models.Requests; using Coreflow.Web.Models.Responses; using Coreflow.Web.Services; using Microsoft.AspNetCore.Authorization; usin...
Source/SharpPcap/Protocols/ARP.cs
RisesunStudios/Terminals
1,178
7029734
using System; using Tamir.IPLib; using Tamir.IPLib.Packets; using Tamir.IPLib.Util; /* Copyright (c) 2006 <NAME>, http://www.tamirgal.com, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1....
NewService/MTSServiceBase/MTS.ServiceLoader/ServiceLoaderDataAccess.cs
senthilsb-mtsin/ProjectTimeManagment
0
7029735
<gh_stars>0 using MTSEntBlocks.DataBlock; using System.Data; namespace ServiceLoader { class ServiceLoaderDataAccess { public static DataTable GetServiceServiceConfig(string ServiceName) { return DataAccess.ExecuteDataTable("[GETSERVICECONFIGFORSERVICE]", ServiceName); } ...
src/SFA.DAS.ProviderRegistrations.Api.UnitTests/Controllers/UnsubscribeControllerUnitTests/GetTests.cs
uk-gov-mirror/SkillsFundingAgency.das-provider-registrations
0
7029736
using FluentAssertions; using Microsoft.AspNetCore.Mvc; using NUnit.Framework; using SFA.DAS.ProviderRegistrations.Api.Controllers; using SFA.DAS.ProviderRegistrations.Api.UnitTests.AutoFixture; using System; using System.Threading; using System.Threading.Tasks; namespace SFA.DAS.ProviderRegistrations.Api.Un...
YouTubeDownloader/Windows/SearchWindow.xaml.cs
crippledfaith/YouTubeDownloader
0
7029737
<filename>YouTubeDownloader/Windows/SearchWindow.xaml.cs using System; using System.Collections.ObjectModel; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using YouTubeDownLoader.Models; using YoutubeExplode; namespace YouTubeDow...
src/MooVC.Tests/Serialization/ObjectExtensions.Clone.cs
MooVC/MooVC
1
7029738
<reponame>MooVC/MooVC<filename>src/MooVC.Tests/Serialization/ObjectExtensions.Clone.cs<gh_stars>1-10 namespace MooVC.Serialization { internal static partial class ObjectExtensions { public static T Clone<T>(this T original) { return original .Serialize() ...
Src/ILGPU/IR/Transformations/DeadCodeElimination.cs
12345swordy/ILGPU
0
7029739
// ----------------------------------------------------------------------------- // ILGPU // Copyright (c) 2016-2019 <NAME> // www.ilgpu.net // // File: DeadCodeElimination.cs // // This file is part of ILGPU and is distributed under...
Sources/VRage.Render/RenderObjects/Models/MyRenderMeshMaterial.cs
Legion2/PCSS
0
7029740
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using VRage.Import; using VRageMath; using VRageRender.Textures; using VRageRender.Utils; using System.IO; namespace VRageRender { //@ Simple stupid material class which enwrapp 2 textures and generate ...
THDN/MELEE/Scripts/MeleeWeapon/vMeleeWeapon.cs
zfy1045056938/THDN_Script
0
7029741
<filename>THDN/MELEE/Scripts/MeleeWeapon/vMeleeWeapon.cs using UnityEngine; namespace Invector.vMelee { [vClassHeader("Melee Weapon", openClose = false)] public class vMeleeWeapon : vMeleeAttackObject { [Header("Melee Weapon Settings")] public vMeleeType meleeType = vMeleeType.Only...
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Components/Extensions/Dto/CreateModuleDto.cs
liffeyd/Dnn.Platform
941
7029742
// 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 namespace Dnn.PersonaBar.Extensions.Components.Dto { using Newtonsoft.Json; [JsonObject] public c...
unity_project_meu_laranjo/Assets/Roteiros/jogo/Carro/terreno.cs
cp2-dc-info-projeto-final/pet-virtual-laranjo
4
7029743
 using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; public class terreno : MonoBehaviour { public int id; public int posX, posZ; public int tamanho = 100; public bool canto = false, dentro = false, fora = false; public bool[] temlado = new bool[]{fals...
sdk/dotnet/CloudResourceManager/V1Beta1/Inputs/ResourceIdArgs.cs
AaronFriel/pulumi-google-native
44
7029744
// *** 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 Pulumi.Goog...
src/Modules/DelayModule.cs
CaptainNerdica/ReplicatorBot2.0
0
7029745
using Discord.Commands; using Discord.WebSocket; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ReplicatorBot.Modules { [Group("delay")] [Summary("Get or...
src/System.Runtime/tests/System/Text/Unicode/Utf16UtilityTests.ValidateChars.netcoreapp.cs
Ponant/corefx
1
7029746
<filename>src/System.Runtime/tests/System/Text/Unicode/Utf16UtilityTests.ValidateChars.netcoreapp.cs // 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.Bu...
src/Features/LanguageServer/ProtocolUnitTests/Ordering/LongRunningNonMutatingRequestHandler.cs
frandesc/roslyn
17,923
7029747
<filename>src/Features/LanguageServer/ProtocolUnitTests/Ordering/LongRunningNonMutatingRequestHandler.cs<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. // See the LICENSE file in the project root for more informati...
APIService/Controllers/NoteController.cs
List-App-Ooo/APIService
0
7029748
using System; using System.Threading.Tasks; using APIService.Models; using APIService.Services; using Microsoft.AspNetCore.Mvc; namespace APIService.Controllers { [ApiController] [Route("api/[controller]")] public class NoteController : ControllerBase { private readonly INoteService...
src/Unity.Auth.Engine/Unity.Auth.Server/Controllers/Account/AccountService.cs
mharisko/SSO-Authentication
2
7029749
// *********************************************************************** // Assembly : Unity.Auth.Server // Author : haris.md // Created : 12-11-2017 // // Last Modified By : haris.md // Last Modified On : 12-12-2017 // **********************************************************************...
src/DesktopVirtualization/generated/api/Models/Api20201019Preview/MsixPackage.cs
johnduckmanton/azure-powershell
1
7029750
<reponame>johnduckmanton/azure-powershell namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview { using static Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.Extensions; /// <summary>Schema for MSIX Package properties.</summary> public partial c...
CFOculusFinalProject/Assets/ParticleBulletSystem/Example/script/exampleParticleLookat.cs
GearedAtFace/Final-Project
0
7029751
<gh_stars>0 using UnityEngine; using System.Collections; namespace ParticleBulletSystem { public class exampleParticleLookat : MonoBehaviour { private ParticleSystem particle; private ParticleSystem.Particle[] particles; private Transform target; // Use this for initialization ...
src/NovaPagedList/PagedListMetadataExtensions.cs
btihanyi/NovaPagedList
0
7029752
<reponame>btihanyi/NovaPagedList<filename>src/NovaPagedList/PagedListMetadataExtensions.cs using System; namespace NovaPagedList { /// <summary> /// Extension class for gathering extra information of an <see cref="IPagedList{T}"/> instance. /// </summary> public static class PagedListMetadataEx...
RxSockets.Tests/Extensions/ToStringArraysTest.cs
rafsanulhasan/RxSocket
10
7029753
using System; using System.IO; using System.Linq; using System.Net; using System.Text; using Xunit; namespace RxSockets.Tests; public class ToStringArraysTest { private readonly MemoryStream ms = new(); private void AddMessage(string str) { var start = ms.Position; ms.Position += 4; ...
Source/CDR.Register.IdentityServer.Tests.UnitTests/CdrSecretParserUnitTests.cs
mhechavarria/mock-register
20
7029754
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Threading.Tasks; using CDR.Register.IdentityServer.Configurations; using CDR.Register.IdentityServer.Models; //using CDR.Register.IdentityServer.Caching; using CDR.Register.IdentityServer.T...
sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs.cs
pulumi/pulumi-rancher2
3
7029755
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
Battlecats/Assets/Scripts/GameSystem/CardButton.cs
HectorPulido/The-battle-cats-like-game-made-with-unity
1
7029756
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CardButton : MonoBehaviour { public Button button; public Image image; public Text text; public void SetCard(Sprite sprite, System.Action action, string _text) { image.sprite = sprite; text.tex...
UMAProject/Assets/UMA/Core/Scripts/AddressableUtility.cs
RendercodeGames/UMA
0
7029757
<reponame>RendercodeGames/UMA using System.Collections; using System.Collections.Generic; #if UNITY_EDITOR using UnityEditor; #if UMA_ADDRESSABLES // This file exists solely so it replaces an older file. #endif #endif
src/Orleans.Clustering.Cassandra/Membership/EntityMappings.cs
OrleansContrib/Orleans.Clustering.Cassandra
1
7029758
<reponame>OrleansContrib/Orleans.Clustering.Cassandra using Cassandra.Mapping; using Orleans.Clustering.Cassandra.Membership.Models; namespace Orleans.Clustering.Cassandra.Membership { internal sealed class EntityMappings : Mappings { public EntityMappings(string tableName) { For<...
BotANick.Discord/Modules/ServersModule.cs
Kitarsh/botanick
1
7029759
<reponame>Kitarsh/botanick<gh_stars>1-10 using Discord; using Discord.Commands; using System; using System.Threading.Tasks; using System.Collections.Generic; using System.Linq; using BotANick.Discord.Services; namespace BotANick.Discord.Modules { [Name("Informations sur les serveurs")] [Group("srv")] publ...
snippets/csharp/VS_Snippets_Winforms/System.ComponentModel.IListSource/CS/BusinessObjectBase.cs
BohdanMosiyuk/samples
2
7029760
<reponame>BohdanMosiyuk/samples<gh_stars>1-10 // <snippet100> using System; using System.Collections.Generic; using System.Text; using System.ComponentModel; using System.Diagnostics; namespace IListSourceCS { public class BusinessObjectBase : INotifyPropertyChanged { #region INotifyPropertyChanged Mem...
Source/Core/Runtime/IStep.cs
VaLiuM09/VPG-Core
2
7029762
// Copyright (c) 2013-2019 Innoactive GmbH // Licensed under the Apache License, Version 2.0 // Modifications copyright (c) 2021 MindPort GmbH namespace VRBuilder.Core { /// <summary> /// Interface for a process step. /// </summary> public interface IStep : IDataOwner<IStepData>, IEntity { ...
ReSharper.FSharp/src/FSharp.Psi/src/Impl/Tree/NamedPatEx.cs
prekel/resharper-fsharp
0
7029763
<filename>ReSharper.FSharp/src/FSharp.Psi/src/Impl/Tree/NamedPatEx.cs<gh_stars>0 using JetBrains.Annotations; using JetBrains.ReSharper.Plugins.FSharp.Psi.Tree; namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.Tree { public static class NamedPatEx { [CanBeNull] public static IBindingLikeDeclaration G...
LulCaster.UI.WPF/ViewModels/WireFrameViewModel.cs
yogiadianta/LulCaster
0
7029764
<filename>LulCaster.UI.WPF/ViewModels/WireFrameViewModel.cs using System.Collections.ObjectModel; namespace LulCaster.UI.WPF.ViewModels { public class WireFrameViewModel : ViewModelBase { private ObservableCollection<PresetViewModel> _presets; private PresetViewModel _selectedPreset; private O...
Standard Library/Data/Department/Modificators/RedirectGetMethod.cs
LloydLion/Standard-Library
1
7029765
using System; using System.Collections.Generic; using System.Text; namespace StandardLibrary.Data.Department.Modificators { public class RedirectGetMethod : DepartmentPropertyModificator { private readonly Func<object> redirectMethod; public override Type[] TargetTypes => null; public RedirectGetMethod(Fun...
samples/azure-service-bus-netstandard/native-integration-pub-sub/ASBS_2/NativeSubscriberA/Program.cs
mderriey-prospa/docs.particular.net
94
7029766
<gh_stars>10-100 using System; using System.Text; using System.Threading.Tasks; using Azure.Messaging.ServiceBus; using Azure.Messaging.ServiceBus.Administration; using NativeSender; class Program { static string EnclosedMessageTypesHeader = "NServiceBus.EnclosedMessageTypes"; static string Connecti...
Assets/Ac_BridgeBuilder/Code/Scripts/NewVehicleEnterScript.cs
TAPeri/WordsMatter
0
7029767
/* * Copyright (c) 2015, iLearnRW. Licensed under Modified BSD Licence. See licence.txt for details. */using UnityEngine; using System.Collections.Generic; public class NewVehicleEnterScript : MonoBehaviour, CustomActionListener, IActionNotifier { public void init(Transform para_vehiclePrefab, int para_currBridge...
DbShell.Driver.MySql/MySqlServiceCollectionExtension.cs
dbshell/dbshell
2
7029768
using DbShell.Driver.Common.AbstractDb; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; namespace DbShell.Driver.MySql { public static class MySqlServiceCollectionExtension { public static void AddMySql(this IServiceCollection services...
KPCodeGen.Entity/Domain/Column.cs
NumericTechnology/KPCodeGen.Net
0
7029769
<reponame>NumericTechnology/KPCodeGen.Net /* * Copyright 2011-2015 Numeric Technology * * 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-...
DrumbleApp.Shared/ValueObjects/Duration.cs
CodeObsessed/drumbleapp
0
7029770
<filename>DrumbleApp.Shared/ValueObjects/Duration.cs using System; namespace DrumbleApp.Shared.ValueObjects { public class Duration { public int Days { get; private set; } public int Hours { get; private set; } public int Minutes { get; private set; } public double TotalMinutes...
Areas/AdminArea/Views/Admin/Edit.cshtml
ddeniz1947/SehirRehberiWeb
2
7029771
<filename>Areas/AdminArea/Views/Admin/Edit.cshtml @model SehirRehberiApp.Models.ViewModels.EditViewModel @{ ViewBag.Title = "Edit"; Layout = "~/Areas/AdminArea/Views/Shared/_Layout.cshtml"; } <center> <h2 class="display-4"><u>Edit</u></h2> </center> <center> <form action="/AdminPanelEdit" class="needs...
src/Smi.Infra/Services/DateTimeService.cs
gadjio/Smi-Playground
0
7029772
<filename>src/Smi.Infra/Services/DateTimeService.cs namespace Smi.Infra.Services { using System; public interface IDateTimeService { DateTime UtcNow { get; } DateTime Now { get; } DateTime Today { get; } } public class DateTimeService : IDateTimeService { public DateTime UtcNow { get { return Date...
Source/Roton/Emulation/Core/Impl/SoundBufferList.cs
SaxxonPike/roton
19
7029773
<gh_stars>10-100 using System; using System.Diagnostics; using Roton.Emulation.Data; using Roton.Emulation.Data.Impl; namespace Roton.Emulation.Core.Impl { public sealed class SoundBufferList : FixedList<int>, ISoundBufferList { private readonly Lazy<IMemory> _memory; private readonly...
src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/HtmlCSharp/OnAutoInsertHandler.cs
jepetty/aspnetcore-tooling
0
7029774
// 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 System.Collections.Generic; using System.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; usin...
src/Services/ECommerce.Services.Catalogs/ECommerce.Services.Catalogs/Products/Features/UpdatingProduct/ProductUpdated.cs
BuiTanLan/ecommerce-microservices
0
7029775
using Ardalis.GuardClauses; using ECommerce.Services.Catalogs.Products.Exceptions.Application; using ECommerce.Services.Catalogs.Products.Models; using ECommerce.Services.Catalogs.Shared.Data; using MicroBootstrap.Abstractions.Core.Domain.Events.Internal; using MicroBootstrap.Core.Domain.Events.Internal; using MicroBoo...
src/Microsoft.Graph/Models/Generated/BitLockerFixedDrivePolicy.cs
OfficeGlobal/msgraph-beta-sdk-dotnet
0
7029777
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
project/dexter-vs/Dexter/Common/Core/Config/Providers/IProjectInfoProvider.cs
Samsung/dexter
66
7029778
<filename>project/dexter-vs/Dexter/Common/Core/Config/Providers/IProjectInfoProvider.cs using Dexter.Common.Config; namespace Dexter.Common.Config.Providers { /// <summary> /// Provides ProjectInfo /// </summary> public interface IProjectInfoProvider { /// <summary> /// Loads new ...
sdk/dotnet/Zone.cs
pulumi/pulumi-ns1
0
7029779
<filename>sdk/dotnet/Zone.cs // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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...
ModelDesigner.DesignStudio/Wrappers/ViewDesign.cs
BiancoRoyal/ASMD
0
7029780
<reponame>BiancoRoyal/ASMD<gh_stars>0 //___________________________________________________________________________________ // // Copyright (C) 2019, <NAME>. // //___________________________________________________________________________________ using CAS.UA.Model.Designer.Properties; namespace CAS.UA.Mode...
AZALDevToolsServer/AnZwDev.ALTools/ALSymbols/ALAppPackages/ALAppDotNetTypeDeclaration.cs
stefanoPrimo/az-al-dev-tools-server
0
7029781
using AnZwDev.ALTools.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AnZwDev.ALTools.ALSymbols.ALAppPackages { public class ALAppDotNetTypeDeclaration : ALAppBaseElement { public string TypeName { get; set; } ...
src/Reflect/ObjectReader.cs
banalna/pip-services3-commons-dotnet
1
7029782
using Newtonsoft.Json.Linq; using PipServices3.Commons.Convert; using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Linq; namespace PipServices3.Commons.Reflect { /// <summary> /// Helper class to perform property introspection and dynamic reading. ...
src/Agile.Common/Logging/EmptyLogger.cs
tianzhiyuan/agile
1
7029783
<filename>src/Agile.Common/Logging/EmptyLogger.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Agile.Common.Logging { /// <summary> /// an empty logger /// do nothing /// </summary> public class EmptyLogger : ILogger {...
DParser2/Dom/Expressions/SimpleUnaryExpression.cs
rainers/D_Parser
0
7029784
<gh_stars>0 using System; using D_Parser.Parser; namespace D_Parser.Dom.Expressions { public abstract class SimpleUnaryExpression : UnaryExpression, ContainerExpression { public abstract byte ForeToken { get; } public IExpression UnaryExpression { get; set; } public override string ToString() { return ...
CP77.CR2W/Types/cp77/characterCreationSummaryListItem.cs
MasterScott/CP77Tools
1
7029785
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class characterCreationSummaryListItem : inkListItemController { [Ordinal(0)] [RED("data")] public CHandle<CharacterCreationSummaryListItemData> Data { get; se...
DirectN/DirectN/Generated/_DXGK_PTE.cs
Steph55/DirectN
124
7029786
<filename>DirectN/DirectN/Generated/_DXGK_PTE.cs // c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dukmdt.h(232,9) using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _DXGK_PTE { public _DXGK_PTE__union...
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/AlertQueryTimeMode.cs
gjy5885/azure-sdk-for-net
3,268
7029788
<reponame>gjy5885/azure-sdk-for-net<filename>sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/AlertQueryTimeMode.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.AI.MetricsAdvisor.Models; using Azure.Core; namespace Azure.AI.MetricsAdvisor { /// <summar...
SpaceGame/UI/Player/PlayerWeaponBox.cs
demonixis/SpaceGame-XNA
0
7029789
using System; using Microsoft.Xna.Framework; using Yna.Engine; using Yna.Engine.Graphics; using SpaceGame.Player; namespace SpaceGame.UI.Player { public class PlayerWeaponBox : YnGroup { private YnText _playerLabel; private WeaponItem _primaryWeaponType; private WeaponItem _secondaryWe...
KilyCore.DataEntity/RequestMapper/Enterprise/RequestEnterpriseDrug.cs
EmilyEdna/KilyCore
4
7029791
using System; using System.Collections.Generic; using System.Text; /// <summary> /// 作者:刘泽华 /// 时间:2018年5月29日11点13分 /// </summary> namespace KilyCore.DataEntity.RequestMapper.Enterprise { public class RequestEnterpriseDrug { public Guid Id { get; set; } public Guid CompanyId { get; set; } ...
Siege.Security/Siege.Security.Admin/Security/ModelBinders/RolesModelBinder.cs
lokalan/Siege
0
7029792
<gh_stars>0 using System; using System.Collections.Generic; using System.Web.Mvc; using Siege.Security.Providers; using Siege.ServiceLocator; namespace Siege.Security.Admin.Security.ModelBinders { public class RolesBinder : DefaultModelBinder { private readonly IServiceLocator serviceLocator; ...
src/SimplCommerce.WebHost/Migrations/20160924143823_AddProductReview.cs
Scomishy/SimplCommerce
5
7029793
<filename>src/SimplCommerce.WebHost/Migrations/20160924143823_AddProductReview.cs using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Metadata; namespace SimplCommerce.WebHost.Migrations { public partial class AddProductReview : Migra...
Programming Fundamentals - Sep-2017/28.StringAndRegex - MoreExercises/03.KarateStrings/KarateStrings.cs
PavelRunchev/Programming-Fundamentals-2017
0
7029794
<filename>Programming Fundamentals - Sep-2017/28.StringAndRegex - MoreExercises/03.KarateStrings/KarateStrings.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace KarateStrings { class KarateStrings { static void Main() { st...
src/GenFx/Validation/RequiredPopulationValidator.cs
mthalman/GenFx.NET
1
7029795
using System; namespace GenFx.Validation { /// <summary> /// Validates a component such that when it is used in a genetic algorithm, the genetic algorithm is also configured /// to use the required population type. /// </summary> public sealed class RequiredPopulationValidator : RequiredComponentT...
CBS.Reinaldo.Reversi/CBS.Reinaldo.Reversi/OthelloGame.cs
lotuzz/Reversi-Game
0
7029796
<reponame>lotuzz/Reversi-Game<gh_stars>0 using CBS.Reinaldo.Reversi.Entity; using CBS.Reinaldo.Reversi.Utility; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace CBS.Reinaldo.Reversi { public partial class O...
Snippets/SqlTransport/SqlTransportLegacySystemClient_5/UpgradeGuides/4to5/ConfigureDelayedDelivery.cs
ashlyrclark/docs.particular.net
94
7029797
using System; using NServiceBus; using NServiceBus.Transport.SQLServer; class ConfigureDelayedDelivery { public ConfigureDelayedDelivery(EndpointConfiguration endpointConfiguration) { #region 4to5-configure-native-delayed-delivery var transport = endpointConfiguration.UseTransport<S...
src/Umbraco.Core/Persistence/Mappers/TagMapper.cs
ismailmayat/Umbraco-CMS
0
7029798
using System.Collections.Concurrent; using Umbraco.Core.Models; using Umbraco.Core.Persistence.Dtos; namespace Umbraco.Core.Persistence.Mappers { /// <summary> /// Represents a <see cref="Tag"/> to DTO mapper used to translate the properties of the public api /// implementation to that of the data...
src/TMF.NET/Responses/GetOnlineProfileResponse.cs
Laiteux/TMF.NET
1
7029799
<gh_stars>1-10 using System.ComponentModel; using System.Xml.Serialization; using TMF.NET.Requests; namespace TMF.NET.Responses; public class GetOnlineProfileResponse : ResponseBase<GetOnlineProfileRequest, GetOnlineProfileResponse> { public int OnlineRanking => _B.OnlineRanking; public string Location => _D...
SUNRUSE.PatternMatchingActorSystems.Shared.Tests/Expressions/IsBooleanTests.cs
jameswilddev/SUNRUSE.PatternMatchingActorSystems
0
7029800
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com using System.Collections.Generic; namespace SUNRUSE.PatternMatchingActorSystems.Shared.Expressions { public sealed class IsBooleanTests : TypeCheckTestBas...
Assets/Scripts/FaceSwap.cs
kemushiboy/FaceMeshBarracuda
1
7029801
using System.Collections; using System.Collections.Generic; using Unity.Mathematics; using UnityEngine; using System.Threading.Tasks; namespace MediaPipe.FaceMesh { public class FaceSwap : MonoBehaviour { [SerializeField] PipeLineManager _pipeline = null; [SerializeField] FaceMesh _faceMesh =...
AzureBlobFileEntry.cs
adhurwit/AzureBlobFtp
8
7029802
<reponame>adhurwit/AzureBlobFtp using FubarDev.FtpServer.FileSystem; using Microsoft.WindowsAzure.Storage.Blob; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdamHurwitz.FtpServer.FileSystem.AzureBlob { class AzureBlobFileEntry : Azur...
src/SFA.Apprenticeships.Web.Recruit.UnitTests/Mediators/VacancyManagement/DeleteVacancyTests.cs
BugsUK/FindApprenticeship
2
7029803
namespace SFA.Apprenticeships.Web.Recruit.UnitTests.Mediators.VacancyManagement { using Apprenticeships.Application.Interfaces.Service; using Apprenticeships.Application.Vacancy; using Common.Constants; using Moq; using NUnit.Framework; using Raa.Common.ViewModels.Vacancy; using Recruit.Medi...
Core/GithubDatabase/Persistence.cs
Reddit-Mud/RMUD
27
7029804
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Newtonsoft.Json; namespace RMUD { public partial class GithubDatabase { override public void PersistInstance(MudObject Object) { if (Object.IsPersistent) return; //The objec...
src/Essensoft.Paylink.Alipay/Domain/AlipayCommerceEducateCreditbankStudyprofileModifyModel.cs
essensoft/paymen
522
7029805
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// AlipayCommerceEducateCreditbankStudyprofileModifyModel Data Structure. /// </summary> public class AlipayCommerceEducateCreditbankStudyprofileModifyModel : AlipayObject...
Source/FakeItEasy.Tests/ArgumentConstraintManagerExtensions/StringEndsWithTests.cs
bondsbw/FakeItEasy
0
7029806
<gh_stars>0 namespace FakeItEasy.Tests.ArgumentConstraintManagerExtensions { using System.Collections.Generic; using NUnit.Framework; [TestFixture] internal class StringEndsWithTests : ArgumentConstraintTestBase<string> { protected override IEnumerable<object> InvalidValues...
src/Marcus.Bus.Abstractions/IBusSession.cs
belczyk/Marcus.Bus
2
7029807
using System; namespace Marcus.Bus { public interface IBusSession { Guid UserId { get; } Guid TenantId { get; } Guid? TenantIdSafe { get; } Guid? UserIdSafe { get; } string SessionId { get; } string RequestId { get; } DateTime Now { get; } } }
BackEnd/AspNetWebApi/AspNetWebApi/Controllers/MensagensController.cs
jsalmeida1101/Angular-Teste
0
7029808
<filename>BackEnd/AspNetWebApi/AspNetWebApi/Controllers/MensagensController.cs using AspNetWebApi.Context; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace AspNetWebApi.Controllers { public class MensagensController : ApiC...
src/M5x.DEC/Snapshot/ISnapshotMetadata.cs
rgfaber/m5x-sdk
2
7029809
using M5x.DEC.Core; namespace M5x.DEC.Snapshot; public interface ISnapshotMetadata : IMetadataContainer { ISnapshotId SnapshotId { get; } string SnapshotName { get; } int SnapshotVersion { get; } long AggregateSequenceNumber { get; } string AggregateId { get; } string AggregateName { get; } }
IconsRestorerConsole/Model/Win32.cs
Sparin/IconsRestorerConsole
2
7029810
<reponame>Sparin/IconsRestorerConsole<gh_stars>1-10 using System; using System.Runtime.InteropServices; using System.Text; namespace IconsRestorer.Model { internal static class Win32 { public const uint WM_KEYDOWN = 0x0100; public const int VK_F5 = 0x74; public const uint LVM...
LightInject-Fallback/DragonSpark/Diagnostics/Logging/Text/TimestampFormat.cs
Mike-EEE/LightInject-Fallback
10
7029811
namespace DragonSpark.Diagnostics.Logging.Text { public sealed class TimestampFormat : DragonSpark.Text.Text { public static TimestampFormat Default { get; } = new TimestampFormat(); TimestampFormat() : base("HH:mm:ss:fff") {} } }
src/Gallio/Gallio.Tests/Common/Text/RegularExpression/ElementLiteralTest.cs
soelske/mbunit-v3
49
7029812
<filename>src/Gallio/Gallio.Tests/Common/Text/RegularExpression/ElementLiteralTest.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 t...
src/App/NetDaemon.App/Common/Reactive/Services/MediaPlayerEntity.cs
suddenelfilio/netdaemon
0
7029813
<reponame>suddenelfilio/netdaemon using System.Collections.Generic; namespace NetDaemon.Common.Reactive.Services { /// <inheritdoc /> public class MediaPlayerEntity : RxEntityBase { /// <inheritdoc /> public MediaPlayerEntity(INetDaemonRxApp daemon, IEnumerable<string> entityIds) : base(d...
DGP.Genshin/Service/HutaoStatisticService.cs
uranium2333/Snap.Genshin
0
7029814
<gh_stars>0 using DGP.Genshin.DataModel; using DGP.Genshin.DataModel.HutaoAPI; using DGP.Genshin.HutaoAPI; using DGP.Genshin.HutaoAPI.GetModel; using DGP.Genshin.HutaoAPI.PostModel; using DGP.Genshin.MiHoYoAPI.Calculation; using DGP.Genshin.MiHoYoAPI.Response; using DGP.Genshin.Service.Abstratcion; using Snap.Core.Dep...
Xamarin.Forms.Platform.MacOS/Renderers/DatePickerRenderer.cs
hadi-zamani/Xamarin.Forms
16
7029816
<filename>Xamarin.Forms.Platform.MacOS/Renderers/DatePickerRenderer.cs using System.ComponentModel; using AppKit; using Foundation; namespace Xamarin.Forms.Platform.MacOS { public class DatePickerRenderer : ViewRenderer<DatePicker, NSDatePicker> { NSDatePicker _picker; NSColor _defaultTextColor; NSColor _defa...
Mdo/MdoCachedStore.cs
neorayer/SkyNLib
1
7029817
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sky.Mdo { public class MdoCachedStore : Sky.Mdo.IMdoStore { private MdoStore realStore; public MdoStore RealStore { get { return realStore; } } private IMdoCache cache = new MdoLocalCache(); public MdoCachedSto...
src/Admin/Definux.Emeraude.Admin.ClientBuilder/Models/PropertyDescription.cs
Definux/Emeraude
6
7029818
namespace Definux.Emeraude.Admin.ClientBuilder.Models { /// <summary> /// Simplified description for a property extracted via reflection. /// </summary> public class PropertyDescription { /// <summary> /// Name of the property. /// </summary> public string Name { get...
07.High-Quality Code/Unit-Testing-ArmyOfCreatures/ArmyOfCreatures/Logic/Creatures/Devil.cs
b-slavov/Telerik-Software-Academy
2
7029819
namespace ArmyOfCreatures.Logic.Creatures { using ArmyOfCreatures.Logic.Specialties; public class Devil : Creature { public Devil() : base(19, 26, 160, 35) { this.AddSpecialty(new Hate(typeof(Angel))); this.AddSpecialty(new Hate(typeof(Archangel))); ...
BCAudiobookPlayer/BCAudiobookPlayer/PlaylistTemplateSelector.cs
BionicCode/BCAudiobookPlayer
0
7029820
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using BCAudiobookPlayer.Player.Playback.Contract; using JetBrains.An...
Presupuestos/Models/OrdLotesProducao.cs
YukiGibson/Presupuestos
0
7029821
<reponame>YukiGibson/Presupuestos namespace Presupuestos.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("OrdLotesProducao")] public partial cla...
Ashirvad-main/Ashirvad.API/Controllers/BannerController.cs
ShailUniqtech/Ashirvad
0
7029822
using Ashirvad.API.Filter; using Ashirvad.Common; using Ashirvad.Data; using Ashirvad.ServiceAPI.ServiceAPI.Area.Banner; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Web; using System.Web.Http; namespace Ashirvad.API.Controll...
ChainUtils/OpenAsset/Asset.cs
assinnata/ChainUtils
0
7029823
<reponame>assinnata/ChainUtils using System; namespace ChainUtils.OpenAsset { public class Asset : IBitcoinSerializable { ulong _quantity; public ulong Quantity { get { return _quantity; } set { _quantity = value; } } AssetId _id = new AssetId(0); public ...
src/RhinoInside.Revit.GH/Parameters/GeometryObject.cs
dandepoe/rhino.inside-revit
1
7029824
<reponame>dandepoe/rhino.inside-revit<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using Autodesk.Revit.UI.Selection; using RhinoInside.Revit.External.UI.Selection; using Grasshopper.Kernel; using DB = Autodesk.Revit.DB; namespace RhinoInside.Revit.GH.Parameters { public class Ver...
AppData/CommandDelete.cs
DrusTheAxe/AppData
5
7029825
using System; using Windows.Storage; namespace AppData { class CommandDelete : Command { #pragma warning disable 414 static string Usage = @"USAGE: AppData Delete <packagefamilyname> <path> [options] - Alter application data where: path = Path to the data, in the form of ROOT\Container ...
CoAP.NET/Threading/Executors.NET40.cs
fancycoconut/CoAP.NET
141
7029826
/* * Copyright (c) 2011-2014, <NAME> <<EMAIL>>, * SmeshLink Technology Co. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY. * * This file is part of the CoAP.NET, a CoAP framework in C#. * Please see README for more information. */ namespace CoAP.Threading { ...
src/Jobs/Recruit.Vacancies.Jobs/AnalyticsSummaryProcessor/AnalyticsEventStore.cs
uk-gov-mirror/SkillsFundingAgency.das-recruit
0
7029827
<filename>src/Jobs/Recruit.Vacancies.Jobs/AnalyticsSummaryProcessor/AnalyticsEventStore.cs using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Threading.Tasks; using Esfa.Recruit.Vacancies.Client.Infrastructure.QueryStore.Projections.Vac...
Pebtos.GatewayApi.Core/Recipient.cs
Tornfeldt/GatewayAPI
0
7029828
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace Pebtos.GatewayApi.Core { public class Recipient { /// <summary> /// Mobile phone number of the recipient. /// Duplicates are not allowed in the same message. ...
Assets/Scripts/Managers/GameData.cs
iremsevim/Wooden_Runner-
2
7029829
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameData : MonoBehaviour { public static GameData instance; public GeneralData generalData; public void Awake() { if(instance==null) { instance = this; ...
code/Plexiglass/Networking/Packets/PacketPing.cs
moemura/infiniminer
1
7029830
namespace Plexiglass.Networking.Packets { public class PacketPing : IPacket { public static uint PacketId = 0xFFFFFF; private uint pingValue; public PacketPing() { pingValue = 0; } public PacketPing(uint pingValue) { this.pingVa...