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
AMS/Models/Address.cs
x3r/AMS
0
7034348
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace AMS.Models { public class Address { [Key] public int AddressId { get; set; } public int UserId { get; set; } public String Hou...
Source Server/SourceQuest4.5/Newtonsoft.Json/Newtonsoft.Json.Utilities/CollectionWrapper.cs
itspaiva/DDTank4.1
4
7034349
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; namespace Newtonsoft.Json.Utilities { internal class CollectionWrapper<T> : ICollection<T>, IEnumerable<T>, IWrappedCollection, IList, ICollection, IEnumerable { private ...
Source/SharpDebug.DbgEng/DbgEng/__MIDL___MIDL_itf_output_0001_0083_0001.cs
sdmaclea/SharpDebug
50
7034351
using System; using System.Runtime.InteropServices; namespace DbgEng { [ComConversionLoss] [StructLayout(LayoutKind.Explicit, Pack = 8, Size = 24)] public struct __MIDL___MIDL_itf_output_0001_0083_0001 { [FieldOffset(0)] public byte I8; [FieldOffset(0)] public ushort I16; [FieldOffset(0)] public uint...
tests/MongoDB.Driver.Core.Tests/CreateIndexCommitQuorumTests.cs
b11p/mongo-csharp-driver
2,208
7034352
/* Copyright 2020-present MongoDB Inc. * * 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 wr...
_no_namespace/Enumerable.--TakeIterator--d__25--TSource--.cs
SinsofSloth/RF5-global-metadata
1
7034353
[CompilerGeneratedAttribute] // RVA: 0xBE0F0 Offset: 0xBE1F1 VA: 0xBE0F0 private sealed class Enumerable.<TakeIterator>d__25<TSource> : IEnumerable<TSource>, IEnumerable, IEnumerator<TSource>, IDisposable, IEnumerator // TypeDefIndex: 2174 { // Fields private int <>1__state; // 0x0 private TSource <>2__current; // 0...
application/Modules/WebBrowser/Producers/CloseTabEventProducer.cs
insightmind/MORR
5
7034354
using System.Text.Json; using MORR.Modules.WebBrowser.Events; namespace MORR.Modules.WebBrowser.Producers { /// <summary> /// Provides a single-writer-multiple-reader queue for CloseTabEvent /// </summary> public class CloseTabEventProducer : WebBrowserEventProducer<CloseTabEvent> { pub...
NPlatform/Domains/Entity/IEntity.cs
Dongliang-y/NPlatform
0
7034357
<gh_stars>0 /*********************************************************** **项目名称: **功能描述: 的摘要说明 **作 者: 易栋梁 **版 本 号: 1.0 **创建日期: 2015/5/15 11:1...
src/API/POC/CQRS/Queries/QueryBus.cs
BigOsDev/cqrspoc2
0
7034358
<gh_stars>0 using MediatR; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace CQRS.Queries { public class QueryBus : IQueryBus { private readonly IMediator mediator; public QueryBus(IMediator mediator) ...
src/Analiser/Models/Player.cs
patrickhacens/pubg-report-bot
1
7034359
<reponame>patrickhacens/pubg-report-bot<filename>src/Analiser/Models/Player.cs using System.Collections.Generic; namespace PUBG.Models { public class Player : PubgObject<PlayerAttributes> { public IEnumerable<PubgObject> Matches => Relationships?["matches"]?.Data; public IEnumerable<PubgObjec...
samples/MicroServices/NBB.Payments/NBB.Payments.Migrations/PaymentsDatabaseMigrator.cs
osstotalsoft/nbb
76
7034360
<gh_stars>10-100 // Copyright (c) TotalSoft. // This source code is licensed under the MIT license. using Microsoft.EntityFrameworkCore; using System.Threading; using System.Threading.Tasks; namespace NBB.Payments.Migrations { public class PaymentsDatabaseMigrator { public async Task MigrateDataba...
src/CosmosDBStudio/View/StoredProcedureParametersView.xaml.cs
ricardopinedathen/CosmosDBStudio
29
7034361
<gh_stars>10-100 using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace CosmosDBStudio.View { /// <summary> /// Interaction logic for StoredProcedureParametersView.xaml /// </summary> public partial class StoredProcedureParametersView : UserControl { pub...
MvcApplication1/DynamicFiles/VirtualPathFile.cs
Q42/System.Web.Optimization.Less
0
7034362
<gh_stars>0 using System.IO; using System.Web.Hosting; namespace MvcApplication1.DynamicFiles { /// <summary> /// Simple <see cref="HostingEnvironment.MapPath" /> based implementation of <see cref="VirtualFile" />. /// </summary> internal sealed class VirtualPathFile : VirtualFile { in...
src/ON.Authorization/Paypal/Service/Data/FileSystemPlanRecordProvider.cs
OpenNetworkFoundation/NodeInstall
3
7034363
using Google.Protobuf; using Microsoft.Extensions.Options; using ON.Authorization.Paypal.Service.Models; using ON.Fragments.Authorization; using ON.Fragments.Authorization.Payments.Paypal; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace ON.Au...
Models/NetCoreAuthenticationContext.cs
Baadjie/WepAPi
0
7034364
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Configuration; using System.Data; using System.Data.SqlClient; using WebApiApplication.Models; using Microsoft.Extensions.Configuration; using System.IO; namespace WebApiA...
temp/TruncateLongLines.cs
blakepell/AvalonMudClient
23
7034365
<reponame>blakepell/AvalonMudClient using System; using System.Collections.Generic; using System.Text; using ICSharpCode.AvalonEdit.Document; using ICSharpCode.AvalonEdit.Rendering; namespace Avalon.Controls { public class TruncateLongLines : VisualLineElementGenerator { const int maxLength = 180; ...
Networking_Game/Core/PlayerSelect.cs
AlexanderReaper7/Networking_Game
1
7034366
using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; namespace Networking_Game { public class PlayerSelect : GameCore { MouseState previousMouseState; Player[] selectedPlayers; public PlayerSelect(int playerTot) { selected...
SolidCP/Sources/ACMESharp/ACMESharp/ACMESharp.POSH/UpdateCertificate.cs
NAGeorge/SolidCP-fork
2
7034367
<reponame>NAGeorge/SolidCP-fork using ACMESharp.POSH.Util; using ACMESharp.Vault; using ACMESharp.Vault.Model; using System; using System.IO; using System.Linq; using System.Management.Automation; using System.Net; using System.Security.Cryptography.X509Certificates; using ACMESharp.HTTP; using ACMESharp.PKI; using AC...
src/System.IO.FileSystem/tests/Enumeration/RootTests.netcoreapp.cs
vkvenkat/corefx
15
7034368
// 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.IO.Enumeration; using Xunit; namespace System.IO.Tests.Enumeration { public class RootTests {...
src/sdk/dotnet/src/OsduClient.Test/Model/StorageRecordTests.cs
mstest123/self-managed-osdu_from_Daniel
3
7034369
/* * self-managed-osdu * * Rest API Documentation for Self Managed OSDU * * OpenAPI spec version: 0.11.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; using System.Collections.Generic; using OsduClient.Api; u...
DatabaseLibrary/Helpers/WorksAtHelper_db.cs
hudaabbas/CPSC471_API
0
7034370
using DatabaseLibrary.Core; using DatabaseLibrary.Models; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Net; using System.Text; namespace DatabaseLibrary.Helpers { public class WorksAtHelper_db { /// <summary> /// Adds a new instance ...
code/Kingdom.OrTools.Sat.CodeGeneration.Tool/Managers/OrToolsSatGeneratedSyntaxTreeRegistryJsonConverter.Reader.cs
mwpowellhtx/Kingdom.ConstraintSolvers
7
7034371
using System; using System.Linq; namespace Kingdom.OrTools.Sat.CodeGeneration { using Newtonsoft.Json.Linq; using Registry = OrToolsSatGeneratedSyntaxTreeRegistry; internal partial class OrToolsSatGeneratedSyntaxTreeRegistryJsonConverter { /// <inheritdoc /> public override Registry D...
Assets/Hardlight SDK/Demos/Haptics Explorer/Scripts/General UI/TooltipDescriptor.cs
HardlightVR/HL-Unity-pluginSDK
5
7034372
using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using System.Collections; namespace Hardlight.SDK.Demos { /// <summary> /// A component that stores the tooltip information. /// For the act of tooltip display look at ExplorerTooltip.cs /// </summary> [RequireComponent(typeof(EventTrigger)...
src/EA.Iws.Web/Areas/AdminExportAssessment/Views/FinancialGuaranteeAssessment/Complete.cshtml
DEFRA/prsd-iws
1
7034373
<filename>src/EA.Iws.Web/Areas/AdminExportAssessment/Views/FinancialGuaranteeAssessment/Complete.cshtml @model EA.Iws.Web.Areas.AdminExportAssessment.ViewModels.FinancialGuaranteeAssessment.CompleteFinancialGuaranteeViewModel @using Resources = EA.Iws.Web.Areas.AdminExportAssessment.Views.FinancialGuaranteeAssessment....
src/Wave.Extensions.Esri/System/Windows/Observable.cs
Jumpercables/Wave
21
7034374
<reponame>Jumpercables/Wave using System.ComponentModel; using System.Linq.Expressions; namespace System.Windows { /// <summary> /// A partial abstract binding class that implements the <see cref="INotifyPropertyChanged" /> and /// <see cref="INotifyPropertyChanging" /> interface /// and e...
src/app-ropio/AppRopio.Payments/YandexKassa/API/Models/OrderValue.cs
pocheshire/AppRopio.Mobile
0
7034375
using System; namespace AppRopio.Payments.YandexKassa.API.Models { public class OrderValue { public decimal Amount { get; set; } public string Currency { get; set; } } }
samples/csharp/getting-started/BinaryClassification_SentimentAnalysis/SentimentAnalysis/SentimentAnalysisConsoleApp/Program.cs
taranais/machinelearning-samples
0
7034376
using System; using System.IO; using Microsoft.ML.Runtime.Learners; using Microsoft.ML.Runtime.Data; using Microsoft.ML.Core.Data; using Microsoft.ML; using Microsoft.ML.Trainers; using SentimentAnalysisConsoleApp.DataStructures; using Microsoft.ML.Transforms.Text; namespace SentimentAnalysisConsoleApp { intern...
TinderSharp/Services/Messages/SpotifySongMessage.cs
HaxThePlanet/TinderSharp
2
7034377
<reponame>HaxThePlanet/TinderSharp using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace TinderSharp.Services.Messages { public class SpotifySongMessage : ISongMessage { private readonly string trackId; public SpotifySongMessage(Uri ...
DVFSModeling.Core/Entities/StampedLoad.cs
Stanislav-Sartasov/DVFSModeling
0
7034378
<reponame>Stanislav-Sartasov/DVFSModeling using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DVFSModeling.Core.Entities { public class StampedLoad { public double Timestamp { get; set; } public int OriginalFrequency { g...
New-XElement.cs
PetSerAl/PetSerAl.PowerShell.Xml.Linq
1
7034379
<reponame>PetSerAl/PetSerAl.PowerShell.Xml.Linq using System; using System.Management.Automation; using System.Xml.Linq; namespace PetSerAl.PowerShell.Xml.Linq { [Cmdlet(VerbsCommon.New, nameof(XElement), DefaultParameterSetName = ParameterSetNames.New), OutputType(typeof(XElement))] public sealed class NewXEl...
Druid/Druid/Xaml/Assets.cs
Roman-Dementiev/Dwares
0
7034380
<gh_stars>0 using System; using Dwares.Dwarf; namespace Dwares.Druid.Xaml { public interface IAsset { object AssetValue { get; } } public interface IAsset<T> { T AssetValue { get; } } //public interface IResourceAsset<T> : IAsset<T> //{ // ResourceId ResourceId { get; } //} public abstract class As...
ReplayEditor2/Program.cs
silvio0497/OsuReplayEditorV2
3
7034381
<reponame>silvio0497/OsuReplayEditorV2<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; using System.Runtime.InteropServices; namespace ReplayEditor2 { public static class Program { [DllImport("us...
code/stable/nopcm/src/csharp/OutputFormat.cs
Danki567/Drasil
2
7034382
/** \file OutputFormat.cs \author <NAME> \brief Provides the function for writing outputs */ using System; using System.IO; public class OutputFormat { /** \brief Writes the output values to output.txt \param T_W temperature of the water: the average kinetic energy of the particles within the ...
Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/ExchangeRate.cs
NathanClouseAX/AAXDataEntityPerfTest
1
7034383
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
LazZiya.TagHelpers/PagingTagHelper.cs
GhislainL/TagHelpers
1
7034384
<filename>LazZiya.TagHelpers/PagingTagHelper.cs using LazZiya.TagHelpers.Utilities; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System; using Syste...
shared/src/managed-src/Datadog.Logging.Emission/internal/DefaultFormat.cs
theletterf/signalfx-dotnet-tracing
13
7034385
<reponame>theletterf/signalfx-dotnet-tracing // <copyright file="DefaultFormat.cs" company="Datadog"> // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2022 Datadog, I...
src/Simplic.DocumentProcessing/Pdf/IPdfService.cs
simplic/simplic-document-processing
2
7034386
<reponame>simplic/simplic-document-processing<gh_stars>1-10 namespace Simplic.DocumentProcessing { /// <summary> /// General pdf service /// </summary> public interface IPdfService { /// <summary> /// Get page count /// </summary> /// <param name="pdf">Pdf<...
src/IdentityUI.Admin/Areas/IdentityAdmin/Models/User/UserMenuViewModel.cs
pedroparmeggianiB2B/admin-ui
58
7034387
using SSRD.IdentityUI.Admin.Areas.IdentityAdmin.Views.User.Components.UserMenu; using System; using System.Collections.Generic; using System.Text; namespace SSRD.IdentityUI.Admin.Areas.IdentityAdmin.Models.User { public class UserMenuViewModel { public string UserId { get; set; } public string...
NFT.cs
fishonetoken/FishOneFisheryNeo
0
7034388
<filename>NFT.cs using Neo.SmartContract.Framework; using Neo.SmartContract.Framework.Services.Neo; using Neo.SmartContract.Framework.Services.System; using Helper = Neo.SmartContract.Framework.Helper; using System; using System.ComponentModel; using System.Numerics; namespace NFTContract { /** * smart con...
samples/snippets/csharp/VS_Snippets_CFX/faults/cs/service.cs
Domanser/docs
2
7034389
 // Copyright (c) Microsoft Corporation. All Rights Reserved. using System; using System.IO; using System.ServiceModel; using System.Runtime.Serialization; namespace Microsoft.ServiceModel.Samples { // Define a service contract. [ServiceContract(Namespace="http://Microsoft.ServiceModel.Samples")] publi...
Source/Hapil/ImplementationConvention.cs
felix-b/Hapil
7
7034390
<reponame>felix-b/Hapil using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Hapil.Members; using Hapil.Writers; namespace Hapil { public abstract class ImplementationConvention : IObjectFactoryConvention { private readonly Will m_Will; //---...
08. JSON Processing/08. JSON-Processing-Exercises/Solutions/07. Export Categories By Products Count/ProductShop/Dtos/Output/ProductOutputDto.cs
NeSh74/Entity-Framework-Core-October-2021
0
7034391
<gh_stars>0 namespace ProductShop.Dtos.Output { public class ProductOutputDto { public string Name { get; set; } public decimal Price { get; set; } public string Seller { get; set; } } }
src/Arcus.API.Bacon/Controllers/BaconController.cs
stijnmoreels/arcus-api-gateway-poc
0
7034392
using System.Threading.Tasks; using Arcus.API.Bacon.Repositories.Interfaces; using GuardNet; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Diagnostics.HealthChecks; using Microsoft.Extensions.Logging; using Swashbuckle.AspNetCore.Filters; namespace Arcus.API.Bacon.Control...
Square/Models/SearchOrdersFilter.cs
HostMeApp/square-dotnet-sdk
0
7034393
using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Square; using Square.Utilities; namespace Square.Models { public class Sea...
Scripts/Items/Special/Mutation Core/PlagueBeastGland.cs
greeduomacro/vivre-uo
0
7034394
<gh_stars>0 using System; using Server; namespace Server.Items { public class PlagueBeastGland : Item { [Constructable] public PlagueBeastGland() : base( 0x1CEF ) { Name = "A Healthy Gland"; Weight = 1.0; Hue = 0x6; } public PlagueBeastGland( Serial serial ) : base( serial ) { } public ove...
Assets/Scripts/UI/Particle.cs
zxsean/2021_GCORES_GameJame
3
7034395
using UnityEngine; using UnityEngine.UI; public class Particle : MonoBehaviour { private int TintColorID = Shader.PropertyToID("_TintColor"); private Material Material { get; set; } private RectTransform Trans { get; set; } private RawImage Image { get; set; } private void Awake() { ...
SterilRoomTempSensorGUI/ToastNotifTypes.cs
han-daru/monitoring_sterilisasi_GUI
0
7034396
<filename>SterilRoomTempSensorGUI/ToastNotifTypes.cs using System; using System.Collections.Generic; using Microsoft.Toolkit.Uwp.Notifications; using OxyPlot.Series; namespace SterilRoomTempSensorGUI { static class NotificationToasts { public static ToastContentBuilder DisconnectedToast = new ToastCon...
src/EasyAbp.Abp.EntityUi.Blazor/AbpEntityUiBlazorModule.cs
EasyAbp/Abp.EntityUi
16
7034397
<gh_stars>10-100 using Microsoft.Extensions.DependencyInjection; using Volo.Abp.AspNetCore.Components.Web.Theming; using Volo.Abp.AspNetCore.Components.Web.Theming.Routing; using Volo.Abp.AutoMapper; using Volo.Abp.Modularity; using Volo.Abp.UI.Navigation; namespace EasyAbp.Abp.EntityUi.Blazor { [DependsOn( ...
Sdl.Community.GroupShareKit/Models/Response/DashboardCount.cs
ekuchynski/groupsharekit.net
11
7034398
<filename>Sdl.Community.GroupShareKit/Models/Response/DashboardCount.cs namespace Sdl.Community.GroupShareKit.Models.Response { public class DashboardCount { public int Year { get; set; } public int Month { get; set; } public int Count { get; set; } } }
src/ConsoleGame/Events/SavePlayHistory.cs
alperkonuralp/console-game
2
7034399
using ConsoleGame.Entities; using System; namespace ConsoleGame.Events { public class SavePlayHistory : IEvent { public Guid RowGuid { get; set; } public Guid UserId { get; set; } public GameStatus Status { get; set; } public GameLevel Level { get; set; } public DateTime StartTime { get...
Assets/MapMagic/Tools/Extensions/ScriptableAssetsExtensions.cs
AJ213/Awitu
0
7034400
using System; using System.Reflection; using System.Collections; using System.Collections.Generic; using UnityEngine; //using UnityEngine.Profiling; namespace Den.Tools { public static class ScriptableAssetExtensions { public static T SaveAsset<T> (this T asset, string savePath=null, string filename="Data", strin...
ClassicWrapped/ClassicWrapped.cs
umby24/Hypercube
1
7034401
<reponame>umby24/Hypercube<gh_stars>1-10 using System; using System.IO; using System.Text; using System.Net.Sockets; namespace ClassicWrapped { public class ClassicWrapped { public NetworkStream Stream; private byte[] _buffer; public byte ReadByte() { return (byte)Stream.R...
Src/CSharpier/SyntaxPrinter/SyntaxNodePrinters/ConditionalAccessExpression.cs
belav/prettier-plugin-csharpier
0
7034402
namespace CSharpier.SyntaxPrinter.SyntaxNodePrinters; internal static class ConditionalAccessExpression { public static Doc Print(ConditionalAccessExpressionSyntax node, FormattingContext context) { return InvocationExpression.PrintMemberChain(node, context); } }
src/EFCore/Storage/IDatabaseCreatorWithCanConnect.cs
jdeprato/EntityFrameworkCoreGraph
5
7034403
// 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.Threading; using System.Threading.Tasks; namespace Microsoft.EntityFrameworkCore.Storage { /// <summary> /// <para> /// ...
MaterialSkin/Controls/MaterialComboBox.cs
GitHub-Pan/MaterialSkin
1
7034404
<filename>MaterialSkin/Controls/MaterialComboBox.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MaterialSkin.Controls { /// <summary> /...
ExampleMod/Items/Placeable/ElementalPurge.cs
peteyus/tModLoader
1
7034405
<gh_stars>1-10 using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace ExampleMod.Items.Placeable { public class ElementalPurge : ModItem { public override void SetDefaults() { item.name = "Elemental Purge"; item.width = 22; item.height = 32; item.maxStack = 99; item.useTurn = true;...
WebVella.Erp.Plugins.Project/Utils/EntityRecordUtils.cs
joangilabert/WebVella-ERP
848
7034406
<reponame>joangilabert/WebVella-ERP using System; using System.Collections.Generic; using System.Linq; using System.Text; using WebVella.Erp.Api.Models; namespace WebVella.Erp.Plugins.Project.Utils { public static class EntityRecordUtils { public static List<EntityRecord> ConvertRecordListToTree(List<EntityRecord...
API/Types/CreateProductInputType.cs
HaMster21/graphql-showcase
0
7034407
<gh_stars>0 using HotChocolate; using HotChocolate.Types; namespace graphql_showcase.API.Types { public class CreateProductInput { [GraphQLName("name")] [GraphQLDescription("the name of the new product")] [GraphQLNonNullType] public string ProductName { get; set; } [Gr...
Assets/scripts/randomGenerator/roomBasic/FloorGenerator.cs
fedexu/NeverEndDungeon
0
7034408
<filename>Assets/scripts/randomGenerator/roomBasic/FloorGenerator.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class FloorGenerator : MonoBehaviour { public LevelSpriteElements elements; // 100 for 1% => (1) , 1000 for 0.1% => (1) && 1% => (10) ecc...
TemporalWars 3D Engine/Dev/XNA_RTS2008/PostProcessEffects/BloomEffect/BloomExtract.cs
TemporalWars/TWEngine
0
7034409
#region File Description //----------------------------------------------------------------------------- // BloomExtract.cs // // <NAME> - XNA Community Game Platform // Copyright (C) Image-Nexus, LLC. All rights reserved. //----------------------------------------------------------------------------- #endregion...
src/AD.ApiExtensions/Attributes/Numeric4Attribute.cs
austindrenski/AD.ApiExtensions
2
7034410
<reponame>austindrenski/AD.ApiExtensions<filename>src/AD.ApiExtensions/Attributes/Numeric4Attribute.cs using System.ComponentModel.DataAnnotations; using JetBrains.Annotations; namespace AD.ApiExtensions.Attributes { /// <inheritdoc /> /// <summary> /// Validates that a property contains three numeric cha...
Monster RPG Game Kit/MonsterRPGGameKit/Assets/Monster RPG/Scripts/Editor/World/Tiles/RandomTileEditor.cs
larsolm/Archives
0
7034411
using PiRhoSoft.MonsterRpgEngine; using PiRhoSoft.UtilityEditor; using System.Linq; using UnityEditor; using UnityEngine; namespace PiRhoSoft.MonsterRpgEditor { [CustomEditor(typeof(RandomTile))] public class RandomTileEditor : Editor { private static readonly IconButton _createTilesButton = new IconButton(IconB...
Script/KeyboardForm.cs
KyleADOlson/advanced-microkeys
0
7034412
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Script { [System.ComponentModel.DesignerCategory("Code")] class KeyboardForm : Form { bool ShowFunctionKeyRow = false; bool ...
src/VanishFlare/Windows.Forms/IFieldComtrolMaps.cs
takiru/VanishFlare
0
7034413
<reponame>takiru/VanishFlare using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace VanishFlare.Windows.Forms { interface IFieldComtrolMaps<T> where T : FieldControlMapBase { [DesignerSerializationVisibility(DesignerSerializationVisibility.Co...
Source/Eto/Forms/Controls/ProgressBar.cs
M1C/Eto
2
7034414
using System; namespace Eto.Forms { public interface IProgressBar : IControl { int MaxValue { get; set; } int MinValue { get; set; } int Value { get; set; } } public class ProgressBar : Control { IProgressBar inner; public ProgressBar () : this(Generator.Current) { } public Progress...
Shoko.Server/Commands/TvDB/CommandRequest_TvDBUpdateSeries.cs
Hitsounds/ShokoServer
183
7034415
<reponame>Hitsounds/ShokoServer<gh_stars>100-1000 using System; using System.Xml; using Shoko.Commons.Queue; using Shoko.Models.Queue; using Shoko.Models.Server; using Shoko.Server.Providers.TvDB; using Shoko.Server.Repositories; using Shoko.Server.Server; namespace Shoko.Server.Commands { [Serializable] [Com...
St8-ment.Tests/Units/States/StateReducerFactoryTests.cs
emprax/St8-ment
2
7034416
using System; using System.Collections.Concurrent; using System.Collections.Generic; using Moq; using St8Ment.States; using St8Ment.Tests.Units.Utilities; using Xunit; namespace St8Ment.Tests.Units.States { public class StateReducerFactoryTests { private readonly ConcurrentDictionary<string, Func<ISta...
SenseGlove/Scripts/Feedback/SG_Waveform.cs
Adjuvo/SenseGlove-Unity
20
7034417
using UnityEngine; namespace SG { /// <summary> A utility class where one can create a vibration waveform based on a Unity AnimationCurve. </summary> public class SG_Waveform : MonoBehaviour { /// <summary> The waveform over time. On horizontal axis; 0s to duration_s, vertical axis; 0 = off, 1 = magnitude. </sum...
perf/csharp/Adaptive.SimpleBinaryEncoding.PerfTests/Bench/SBE/FIX/MassQuote.cs
saleyn/simple-binary-encoding
0
7034418
/* Generated SBE (Simple Binary Encoding) message codec */ #pragma warning disable 1591 // disable warning on missing comments using System; using Adaptive.SimpleBinaryEncoding; namespace Adaptive.SimpleBinaryEncoding.PerfTests.Bench.SBE.FIX { public sealed partial class MassQuote { public const ushort Bl...
AvalonStudio/AvalonStudio.Extensibility/Editor/TextTransformation.cs
FlaviusHouk/AvalonStudio
1
7034419
namespace AvalonStudio.Extensibility.Editor { using Avalonia.Media; using AvaloniaEdit.Document; using AvalonStudio.CodeEditor; using AvalonStudio.Languages; public abstract class TextTransformation : TextSegment { public TextTransformation(object tag, int startOffset, int endOffset) ...
src/Promitor.Core/Metrics/Sinks/MetricSinkWriter.cs
smholvoet/promitor-docs-poc
203
7034420
<reponame>smholvoet/promitor-docs-poc using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using GuardNet; using Microsoft.Extensions.Logging; namespace Promitor.Core.Metrics.Sinks { public class MetricSinkWriter { private readonly List<IMetricSink> _configu...
Boards.API/Controllers/BoardsController.cs
m0wo/boards-api
0
7034421
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using Boards.API.Domain.Models; using Boards.API.Domain.Services; using Boards.API.Extensions; using Boards.API.Resources; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespa...
MoreLinq.Test/DistinctByTest.cs
johnmbaughman/MoreLINQ
2,999
7034422
<filename>MoreLinq.Test/DistinctByTest.cs #region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 <NAME>. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a...
Moonlib Project/Assets/Moon Antonio/Moonlib/Extensiones/Encriptacion/AES.cs
MoonAntonio/Moonlib
1
7034423
<filename>Moonlib Project/Assets/Moon Antonio/Moonlib/Extensiones/Encriptacion/AES.cs // ┌∩┐(◣_◢)┌∩┐ // \\ // AES.cs (05/10/2017) \\ // Autor: <NAME> (Moon Antonio) <EMAIL> \\ // Descripcion: Extension para encriptacion avanzada \\ // Fecha Mo...
lib/DomainModel/Configuration/MapDefinition.cs
darfink/Muwesome
2
7034424
using System; using System.Collections.Generic; using Muwesome.DomainModel.Components; namespace Muwesome.DomainModel.Configuration { /// <summary>A map definition.</summary> public class MapDefinition : Identifiable { /// <summary>Initializes a new instance of the <see cref="MapDefinition"/> class.</summary> ...
src/Learn/WpfCozy/A/TemplateDemo.xaml.cs
zpublic/cozy
48
7034425
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
src/SmartCode.ETL/ETLProjectBuilder.cs
xclw2000/SmartCode
323
7034426
using System.Threading.Tasks; using Microsoft.Extensions.Logging; using SmartCode.Configuration; namespace SmartCode.ETL { public class ETLProjectBuilder : IProjectBuilder { private readonly Project _project; private readonly IPluginManager _pluginManager; private readonly ILogger<ETLPr...
3-Business/3-Modules/lm.Comol.Modules.Standard/ProjectManagement/Domain/Entities/lite/liteProjectActivityAssignment.cs
EdutechSRL/Adevico
1
7034427
<filename>3-Business/3-Modules/lm.Comol.Modules.Standard/ProjectManagement/Domain/Entities/lite/liteProjectActivityAssignment.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using lm.Comol.Core.DomainModel; namespace lm.Comol.Modules.Standard.ProjectManagement.Do...
Runtime/Data/Theme.cs
BennyKok/unity-runtime-debug-system
4
7034429
using System; using BennyKok.RuntimeDebug.Components.UI; using BennyKok.RuntimeDebug.Utils; using UnityEngine; namespace BennyKok.RuntimeDebug.Data { [Serializable] public class Theme { public string themeName; public GameObject prefab; } [Serializable] public class ThemeList :...
src/Data/TicketStore.Data.Models/Category.cs
DimitarLilov/Ticket-Store
0
7034430
<gh_stars>0 namespace TicketStore.Data.Models { using System.Collections.Generic; using TicketStore.Data.Common.Models; public class Category : BaseModel<int> { public Category() { this.Events = new HashSet<Event>(); } public string Name { get; set; } ...
src/HelloWorld/Program.cs
ddpruitt/DC.CoreOData
0
7034431
using System; namespace HelloWorld { class Program { static void Main (string[] args) { if (args.Length > 0) { Console.WriteLine ($"Hello {args[0]}!"); } else { Console.WriteLine ("Hello!"); } Console.WriteLine ("Fibonacci Nu...
Assets/Game/UI/Triggers/Processors/BaseConstructionProcessor.cs
POC-Unity/UntitledRPGv2018
0
7034432
using Game.Inputs; using UnityEngine; namespace Game.UI.Triggers.Processors { public abstract class BaseConstructionProcessor<TConfig> : MonoBehaviour, IConstructionProcessor where TConfig : ConstructionProcessorConfig { public TConfig Config { get; private set; } protected Trigger Trigger { g...
FirebaseFCM.Standard/Http/Client/FileStreamInfo.cs
AliRafay/FirebaseFCM
0
7034433
<reponame>AliRafay/FirebaseFCM<gh_stars>0 // <copyright file="FileStreamInfo.cs" company="APIMatic"> // Copyright (c) APIMatic. All rights reserved. // </copyright> namespace FirebaseFCM.Standard.Http.Client { using System; using System.IO; /// <summary> /// An DTO class to capture information for file...
src/ServiceManagement/Network/Commands.Network.Test/Routes/SetSubnetRouteTableTests.cs
muwaqar/azure-powershell
10
7034434
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
CSharpCompiler/CSharpCompilerLib/obj/Debug/CSharpParserBaseVisitor.cs
bhabesh7/bhabeshgitprojects
1
7034435
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // ANTLR Version: 4.6.6 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--------------...
Library/PackageCache/com.unity.recorder@2.4.0-preview.1/Editor/Sources/PanelSplitter.cs
chills-hub/CryptDivers
1
7034436
<gh_stars>1-10 using System; using UnityEngine; #if UNITY_2019_1_OR_NEWER using UnityEditor.UIElements; using UnityEngine.UIElements; #else using UnityEditor.Experimental.UIElements; using UnityEngine.Experimental.UIElements; #endif namespace UnityEditor.Recorder { class PanelSplitter : VisualElement { ...
src/Tests/Nest.Tests.Integration/Core/Map/SourceField/SourceFieldTests.cs
alanprot/elasticsearch-net
2
7034437
using NUnit.Framework; using Nest.Tests.MockData.Domain; using System.Reflection; namespace Nest.Tests.Integration.Core.Map.SourceField { [TestFixture] public class SourceFieldTests : BaseMappingTests { [Test] public void SourceFieldSerializesFully() { var result = this._client.Map<ElasticsearchProject>(m...
CrewChiefV4/Events/AbstractEvent.cs
dallongo/CrewChiefV4
2
7034438
<reponame>dallongo/CrewChiefV4 using System; using System.Collections.Generic; using System.Linq; using System.Text; using CrewChiefV4.GameState; using CrewChiefV4.Audio; namespace CrewChiefV4.Events { public abstract class AbstractEvent { private static String folderCelsius = "conditions/celsius"; ...
Source/Server/Mediachase.Ibn.Calendar/EventProviderLink.cs
InstantBusinessNetwork/IBN
21
7034439
using System; using System.Collections.Generic; using System.Text; using Mediachase.Ibn.Data; using Mediachase.Ibn.Data.Meta; namespace Mediachase.Ibn.Calendar { /// <summary> /// Represents: Calendar event link source provider. /// </summary> internal class EventProviderLink : IEventProvider { ...
BetterMe/Models/PrizeWithout.cs
rupi452021/BetterMeF
0
7034440
using BetterMe.Models.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BetterMe.Models { public class PrizeWithout { int id; int idClass; string prizetype; int priceinstore; int bonus; public int Id { get => i...
FaceDetection/FacialRecog/FaceRecog.cs
DimitryRakhlei/CST
0
7034441
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using AForge.Math.Metrics; using AForge.Video; using AForge.Video.DirectShow; using FacialRecog.Vio...
src/main/Owin.Types/OwinRequest.Spec-CommonKeys.cs
owin/museum-piece-owin-hosting
11
7034444
// <copyright file="OwinRequest.Spec-CommonKeys.cs" company="Microsoft Open Technologies, Inc."> // Copyright 2013 Microsoft Open Technologies, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
Wallet/ScryptParameters.cs
BrunoFreitasgit/NeoWalletStandard
0
7034446
using System; using Newtonsoft.Json; namespace Wallet { public class ScryptParameters { /// <summary> /// A parameter that defines the CPU/memory cost. Must be a value 2^N. /// </summary> [JsonProperty("n")] public int N { get; } /// <summary> /// A tu...
src/Orc.Sort/NSort.Generic/ComboSort11.cs
Orcomp/Orc.Sort
18
7034447
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ComboSort11.cs" company="WildGums"> // Copyright (c) 2008 - 2017 WildGums. All rights reserved. // </copyright> // ---------------------------------------------------------------...
SystemExtensions.DependencyInjection.Tests/Logging/CVLoggerTests.cs
AlexMacocian/SystemExtensions
0
7034449
using FluentAssertions; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Logging; namespace SystemExtensions.DependencyInjection.Tests.Logging { [TestClass] public class CVLoggerTests { private readonly Mock<ICVLoggerProv...
DotNet/DotNet/UE4/Generated/MediaAssets/Native/MediaTexture.cs
UE4DotNet/Plugin
2
7034450
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; namespace UE4.MediaAssets.N...
src/PosDirUtility.cs
moto2002/tianqi_src
5
7034451
<reponame>moto2002/tianqi_src using Package; using System; using System.Collections.Generic; using UnityEngine; public class PosDirUtility { public enum PositionFlagType { Self, Player, Pet, Monster } public enum DirectionFlagType { Self, Player, Pet, Monster } protected static GameObject flag...
Standard/essentialMix.Data/Extensions/ITableColumnExtension.cs
asm2025/asm
0
7034452
<reponame>asm2025/asm using System; using System.Data; using System.Globalization; using System.Reflection; using JetBrains.Annotations; using essentialMix.Data.Patterns.Table; // ReSharper disable once CheckNamespace namespace essentialMix.Extensions { public static class ITableColumnExtension { public static obj...
SF.WebHost/Modules/SF.Module.Backend/Views/User/Form.cshtml
blueskybcl/SF-Boilerplate
74
7034453
@{ ViewBag.Title = "角色管理"; Layout = "~/Views/Shared/_Form.cshtml"; } <!--表格组件end--> <script type="text/javascript"> var keyValue = SF.utility.request('keyValue'); var organizeId = SF.utility.request('organizeId'); $(function () { initControl(); }) //初始化控件 function initControl(...
ThreadCallbacks.cs
ChiragKalia/MultithreadingAndTPL
0
7034454
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace MultiThreadingandTPL { public delegate void SumOfNumbersCallback(int sum); public class ThreadCallbacks { public ThreadCallbacks() { Console.WriteLine("Please enter ...
src/NServiceBus.Core.Tests.x64/ConventionBasedHandler.cs
ianbattersby/NServiceBus
0
7034455
namespace NServiceBus.Core.Tests.x64 { using ConventionBasedMessages; public class ConventionBasedHandler: IHandleMessages<MyMessage> { public void Handle(MyMessage message) { throw new System.NotImplementedException(); } } }