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
Unity/PlayGen.ITAlert.Unity/PlayGen.ITAlert.Unity/Behaviours/PressedState.cs
playgen/it-alert
1
7038969
<reponame>playgen/it-alert using UnityEngine; using UnityEngine.EventSystems; namespace PlayGen.ITAlert.Unity.Behaviours { public class PressedState : MonoBehaviour, IPointerDownHandler, IPointerUpHandler { private bool _isDownFrame; private bool _isUpFrame; public bool IsDown...
TurboSnail3001/Assets/Scripts/BezierMaster/Scripts/BezierMaster.cs
dextero/KrakJam2019
1
7038970
using BezierMaster.MeshesCreating; using UnityEditor; using UnityEngine; namespace BezierMaster { public enum Using { Objects, Mesh, None } public enum MeshType { Line, Cylinder, Tube } [SelectionBase] [RequireCompone...
src/PartsUnlimitedWebsite/Models/Havok.cs
ganeshtodkar20/GDBC-PartsUnlimited
0
7038971
<reponame>ganeshtodkar20/GDBC-PartsUnlimited<filename>src/PartsUnlimitedWebsite/Models/Havok.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PartsUnlimited.Models { public class Havok { public long Id { get; set; } public String Nam...
src/Microsoft.ServiceFabric.AspNetCore/ApplicationBuilderExtensions.cs
PavanKunapareddyMSFT/service-fabric-aspnetcore
1
7038972
<filename>src/Microsoft.ServiceFabric.AspNetCore/ApplicationBuilderExtensions.cs // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------...
MvcNG/Controllers/HomeController.cs
dmorosinotto/MVC_NG_TS
0
7038973
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MvcNG.Controllers { public class HomeController : BaseTSController { // // GET: /Home/ - THIS DON'T WORKS! public ActionResult Index() { ...
src/Support2100287/Factories/WerkzeugeFactory.cs
compori/dotnet-alphaplan-plugin-core
0
7038974
<reponame>compori/dotnet-alphaplan-plugin-core<gh_stars>0 using Base; namespace Compori.Alphaplan.Plugin.Support.Factories { public class WerkzeugeFactory : Version2100287.WerkzeugeFactory { /// <summary> /// Initializes a new instance of the <see cref="WerkzeugeFactory"/> class. /// <...
src/BlazorFluentUI.CoreComponents/SearchBox/SearchBox.razor.cs
BlazorHub/BlazorFabric
653
7038975
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; namespace BlazorFluentUI { public partial class SearchBox<T> : FluentUIComponentBase { [Parameter] public int Delay { get; set; } string? filter; [Parameter] public strin...
src/ZeroFootprintSociety/Scenes/MainMenuScene.cs
EnigmaDragons/MonoGameJam
4
7038976
using Microsoft.Xna.Framework; using MonoDragons.Core.Inputs; using MonoDragons.Core.Scenes; using MonoDragons.Core.UserInterface; using MonoDragons.Core.PhysicsEngine; using MonoDragons.Core.AudioSystem; using ZeroFootPrintSociety.CoreGame; using System; using MonoDragons.Core.Animations; using ZeroFootPrintSociety.G...
Ashirvad-main/Ashirvad.API/Controllers/MarksController.cs
Shail218/Ashirvad
0
7038977
using Ashirvad.API.Filter; using Ashirvad.Common; using Ashirvad.Data; using Ashirvad.ServiceAPI.ServiceAPI.Area; using Ashirvad.ServiceAPI.ServiceAPI.Area.Student; using Ashirvad.ServiceAPI.ServiceAPI.Area.Test; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; usin...
src/Storagr.Shared/Core/Interfaces/IStoragrListArgs.cs
talaryonlabs/storagr
0
7038978
<reponame>talaryonlabs/storagr<filename>src/Storagr.Shared/Core/Interfaces/IStoragrListArgs.cs namespace Storagr.Shared { public interface IStoragrListArgs { int Limit { get; set; } string Cursor { get; set; } int Skip { get; set; } } }
GetCartRequest.cs
daniela1991/hack4europecontest
0
7038979
<filename>GetCartRequest.cs<gh_stars>0 using System; using Newtonsoft.Json; namespace Cdiscount.OpenApi.ProxyClient.Contract.GetCart { /// <summary> /// GetCart request object /// </summary> public class GetCartRequest { /// <summary> /// Cart identifier /// </summary> ...
test/TimCodes.ApiAbstractions.Http.UnitTests/Serialization/FormHttpApiRequestSerializerShould.cs
timcodesdotnet/api-abstractions
0
7038980
<filename>test/TimCodes.ApiAbstractions.Http.UnitTests/Serialization/FormHttpApiRequestSerializerShould.cs namespace TimCodes.ApiAbstractions.Http.UnitTests.Serialization; public class FormHttpApiRequestSerializerShould { private readonly FormHttpApiRequestSerializer _serializer = new FormHttpApiRequestSerializer...
Sources/Sandbox.Game/Game/GameSystems/MyGroupControlSystem.cs
Legion2/PCSS
0
7038981
<gh_stars>0 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Sandbox.Common.ObjectBuilders; using Sandbox.Engine.Physics; using Sandbox.Engine.Utils; using Sandbox.Game.Entities; using Sandbox.Game.GameSystems.Electricit...
sysdata/Compare/Compare.cs
fjiang2/sqlcli
0
7038982
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; using Sys.Stdio; namespace Sys.Data.Comparison { public static class Compare { #region compare database schema/data public static string DatabaseSchemaDifference(CompareS...
Source/deployment/lib/lib.cs
ljpung/cs-script
7
7038983
<filename>Source/deployment/lib/lib.cs using System; using System.IO; class Script { const string usage = "Usage: cscscript lib \n\tShows Script Library content.\n"; static public void Main(string[] args) { if ((args.Length == 1 && (args[0] == "?" || args[0] == "/?" || args[0] == "-?" || args[0].ToLower() == "h...
Engine.WindowsForms.Controls/ToolStrip/ToolStripToolStripItem.cs
Shkyrockett/engine
4
7038984
// <copyright file="ToolStripToolStripItem.cs" company="Shkyrockett" > // Copyright © 2016 - 2020 Shkyrockett. All rights reserved. // </copyright> // <author id="shkyrockett">Shkyrockett</author> // <license> // Licensed under the MIT License. See LICENSE file in the project root for full license information....
BackEnd/MotherOut/MotherOut/Models/TeamsRepository.cs
juanlujdev/MotherOut
0
7038985
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MotherOut_BackEnd.Models { public class TeamsRepository { internal MotherOutContext context = new MotherOutContext(); #region saveNewTeam /// <summary> /// Método que se encarga de ...
ApplensBackend/Models/SignalResponse.cs
khaled-zayed/Azure-AppServices-Diagnostics-Portal
40
7038987
using System.Collections.Generic; namespace AppLensV3 { public class SignalResponse { public SignalMetaData MetaData { get; set; } public List<DiagnosticData> Data { get; set; } public SignalResponse() { MetaData = new SignalMetaData(); Data = new List...
Website/Portals/_default/HotcakesViews/Bootstrap4/Views/Shared/_RenderSingleProduct.cshtml
puresystems/hotcakes-commerce-core
29
7038988
<filename>Website/Portals/_default/HotcakesViews/Bootstrap4/Views/Shared/_RenderSingleProduct.cshtml @model Hotcakes.Modules.Core.Models.SingleProductViewModel @{ var userPrice = Model.UserPrice.DisplayPrice(true, false); var isSale = userPrice.Contains("strike"); var hasOptions = (Model.Item.HasOptions())...
KrogerScrape/Entities/Models/SignInEntity.cs
phyllis-vance/KrogerScrape
4
7038989
using KrogerScrape.Client; namespace KrogerScrape.Entities { public class SignInEntity : OperationEntity { public SignInEntity() { Type = OperationType.SignIn; } } }
Unity-Project/Assets/Scripts/TurbineData/WindTurbineMetaData.cs
hferrone/mslearn-mr-adt-in-unity
27
7038990
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using UnityEngine; /// <summary> /// Wind Turbine Meta data provides additional information on turbine. /// </summary> [Serializable] public class WindTurbineMetaData { /// <summary> /// Gets or sets Turbine facility locat...
Octgn.Communication/ConnectionProvider.cs
octgn/Octgn.Communication
1
7038991
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Octgn.Communication { public class ConnectionProvider : IConnectionProvider { private IConnection[] _connections; private readonly object _connectionLocker = new object(); public Con...
Khernet.UI/Khernet.UI.Presentation/Converters/ZIndexConverter.cs
lemalcs/Khernet
1
7038992
using System; using System.Globalization; namespace Khernet.UI.Converters { public class ZIndexConverter : BaseValueConverter<ZIndexConverter> { public override object Convert(object value, Type targetType, object parameter, CultureInfo culture) { //If message box is visible return...
dFakto.AppDataPath/DefaultAppDataMigrationProvider.cs
depfac/dFakto.AppDataPath
0
7038993
using System; using System.Collections.Generic; using Microsoft.Extensions.DependencyInjection; namespace dFakto.AppDataPath { internal class DefaultAppDataMigrationProvider : IAppDataMigrationProvider { private readonly IServiceProvider _serviceProvider; public DefaultAppDataMigrationProvider...
test/AtataSampleApp.UITests.Components/Controls/ValidationMessageList`1.cs
dhairyahetal/atata-sample-app-tests
26
7038994
using System; using Atata; using OpenQA.Selenium; namespace AtataSampleApp.UITests { public class ValidationMessageList<TOwner> : ControlList<ValidationMessage<TOwner>, TOwner> where TOwner : PageObject<TOwner> { public ValidationMessage<TOwner> this[Func<TOwner, IControl<TOwner>> controlSelec...
src/SRS/Models/Tables/SRSContext.cs
myopicmage/yunamsaeng
0
7038995
<filename>src/SRS/Models/Tables/SRSContext.cs using Microsoft.Data.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SRS.Models.Tables { public class SRSContext : DbContext { public virtual DbSet<History> Histories { get; set; } publ...
cv19ResSupportV3/V3/Gateways/HelpRequestGateway.cs
LBHSPreston/cv-19-res-support-v3
0
7038996
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Amazon.Lambda.Core; using cv19ResSupportV3.V3.Domain; using cv19ResSupportV3.V3.Domain.Commands; using cv19ResSupportV3.V3.Domain.Queries; using cv19ResSupportV3.V3.Factories; using cv19ResSupportV3.V3.Factories.Comm...
src/Tubumu.Modules.Framework/Extensions/ModelStateExtensions.cs
albyho/Tubumu
17
7038997
using System; using System.Linq; using Microsoft.AspNetCore.Mvc.ModelBinding; using Tubumu.Core.Extensions; namespace Tubumu.Modules.Framework.Extensions { /// <summary> /// ModelStateExtensions /// </summary> public static class ModelStateExtensions { /// <summary> /// FirstErrorM...
DumpBullet/DumpBullet/Program.cs
catvirt/RepoSekser
5
7038998
<filename>DumpBullet/DumpBullet/Program.cs using Leaf.xNet; using System; using System.IO; using System.IO.Compression; namespace DumpBullet { internal static class Program { /// <summary> /// Shit code but it works! /// </summary> private static void Main() ...
native-net-drone-monitor/Model/Drone.cs
faizainur/native-net-drone-monitor
0
7038999
<filename>native-net-drone-monitor/Model/Drone.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace native_net_drone_monitor { public class Drone { public string profileName { get; set; } public string connMethod { get...
BDataGrid.Library/DataGridColBuilder.cs
pascx64/BDataGrid
0
7039000
<gh_stars>0 using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace BDataGrid.Library { public class DataGridColBuilder<TItem, TProperty> : DataGridCellBuilder<TItem, TProperty> where TI...
Bastis.Web/obj/Release/Package/PackageTmp/Views/Permissions/Edit.cshtml
JuanCarlosReyesGuerrero/BastisProjects-AdminLte
0
7039001
@model Bastis.Models.Entities.Permission @{ ViewBag.Title = "Edit"; } <h2>Edit</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <h4>Permission</h4> <hr /> @Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html....
src/Marvin.Cache.Headers/Interfaces/IValidatorValueInvalidator.cs
ryan-h/HttpCacheHeaders
0
7039002
<gh_stars>0 // Any comments, input: @KevinDockx // Any issues, requests: https://github.com/KevinDockx/HttpCacheHeaders using System.Collections.Generic; using System.Threading.Tasks; namespace Marvin.Cache.Headers.Interfaces { /// <summary> /// Contract for the <see cref="ValidatorValueInvalidator" /> /...
C# 2/Strings/Palindromes/Palindromes.cs
ivannk0900/Telerik-Academy
0
7039003
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Palindromes { class Palindromes { public static String Reorder(string word) { StringBuilder newWord = new StringBuilder(); for (int i = word....
Src/CSharpier/SyntaxPrinter/SyntaxNodePrinters/ConstructorConstraint.cs
martinothamar/csharpier
0
7039004
namespace CSharpier.SyntaxPrinter.SyntaxNodePrinters; internal static class ConstructorConstraint { public static Doc Print(ConstructorConstraintSyntax node) { return Doc.Concat( Token.Print(node.NewKeyword), Token.Print(node.OpenParenToken), Token.Print(node.ClosePa...
Noob.Core/Ddd/Domain/Entities/EntityHelper.cs
noobwu/DncZeus
0
7039005
// *********************************************************************** // Assembly : Noob.D2CMSApi // Author : Administrator // Created : 04-05-2020 // // Last Modified By : Administrator // Last Modified On : 2020-04-05 // *****************************************************************...
source/Lexicala.NET.ConsoleApp/Program.cs
HannoZ/Lexicala.NET
0
7039006
<reponame>HannoZ/Lexicala.NET using Lexicala.NET.Parsing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Threading.Tasks; using Lexicala.NET.MicrosoftDependencyInjection; using Lexicala.NET.Request; namespace Lexicala.NET.ConsoleApp { public cl...
Editor/Primitives/BoolVariableEditor.cs
varguiniano/ScriptableBase
0
7039007
using UnityEditor; using Varguiniano.ScriptableCore.Events; using Varguiniano.ScriptableCore.Primitives; namespace Varguiniano.ScriptableCore.Editor.Primitives { /// <inheritdoc /> /// <summary> /// Custom editor for bool variable. /// </summary> [CustomEditor(typeof(BoolVariable))] public clas...
src/FubuMVC.Tests/Resources/Hypermedia/LinksSourceTester.cs
RyanHauert/fubumvc
100
7039008
<reponame>RyanHauert/fubumvc using System; using System.Linq; using FubuCore; using FubuMVC.Core.Projections; using FubuMVC.Core.Registration.Routes; using FubuMVC.Core.Resources.Hypermedia; using FubuMVC.Core.Urls; using Shouldly; using NUnit.Framework; namespace FubuMVC.Tests.Resources.Hypermedia { [...
TimeLog.TransactionalAPI.SDK/OrganisationHandler.cs
TimeLog/TransactionalApiSdk
0
7039009
<filename>TimeLog.TransactionalAPI.SDK/OrganisationHandler.cs using System; using System.ServiceModel; using System.ServiceModel.Channels; using TimeLog.TransactionalAPI.SDK.OrganisationService; using TimeLog.TransactionalAPI.SDK.RawHelper; namespace TimeLog.TransactionalAPI.SDK; /// <summary> /// Handler of fun...
src/ImageSharp/Processing/Processors/Quantization/FrameQuantizerExtensions.cs
pauliver/ImageSharp
0
7039010
// Copyright (c) <NAME> and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Runtime.CompilerServices; using SixLabors.ImageSharp.Advanced; using SixLabors.ImageSharp.Memory; using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing.Processors.Dithering; ...
GeorgiaTechLibrary/Application/Books/Queries/GetBooksByTitleQuery.cs
ciprianprohozescu/georgia-tech-library
0
7039011
using System.Linq; using System.Collections.Generic; using System.Threading.Tasks; using MediatR; using AutoMapper; using AutoMapper.QueryableExtensions; using Application.Interfaces; using System.Threading; using Microsoft.EntityFrameworkCore; using System; namespace Application.Books.Queries { public class GetB...
CP77.CR2W/Types/cp77/questShowWorldNode_NodeType.cs
MasterScott/CP77Tools
1
7039012
<gh_stars>1-10 using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class questShowWorldNode_NodeType : questIWorldDataManagerNodeType { [Ordinal(0)] [RED("componentName")] public CName ComponentName { get; set; ...
DubletterneAPP/Core/IResourceRepository.cs
antonPalmFolkmann/DubletterneProject
0
7039013
<gh_stars>0 namespace Core; public interface IResourceRepository { Task<(Response, int resourceID)> CreateAsync(ResourceCreateDTO resource); Task<Option<ResourceDetailsDTO>> ReadAsync(int resourceID); Task<IReadOnlyCollection<ResourceDTO>> ReadAllByAuthorAsync(string username); Task<IReadOnlyCollection<...
source/AspNetCore/CreativeCoders.AspNetCore.Blazor/Components/Base/ContainerControlBase.cs
CreativeCodersTeam/Core
0
7039014
<filename>source/AspNetCore/CreativeCoders.AspNetCore.Blazor/Components/Base/ContainerControlBase.cs<gh_stars>0 using Microsoft.AspNetCore.Components; namespace CreativeCoders.AspNetCore.Blazor.Components.Base { public class ContainerControlBase : ControlBase { [Parameter] public RenderFragment ChildC...
KBS/Settings.xaml.cs
Kriger/KrimmelBatterySaver
1
7039015
<reponame>Kriger/KrimmelBatterySaver using System; using System.Collections.Generic; using System.Windows; namespace KBS { public partial class Settings { private readonly string _highPerformance = Properties.Resources.HighPerformanceGUID; private readonly string _balanceMode = Properties.Reso...
SharePointProject/SharePointProject/CustomControls/CurrentUserControl.cs
michalurbanski/SharePointTraining
0
7039016
using Microsoft.SharePoint; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.UI; namespace SharePointProject.CustomControls { public class CurrentUserControl : Control { private SPUser CurrentUser { get { return SPContext.Current.Web.CurrentUser; }...
Assets/Scripts/Menus/MainMenu.cs
Berserker1523/GGJ2021
0
7039017
using UnityEngine; using UnityEngine.SceneManagement; /// <summary> /// Listens for the onClick events for the main menu menu buttons /// </summary> public class MainMenu : MonoBehaviour { /// <summary> /// Handles the onClick event from the play button /// </summary> public void HandlePlayButtonOn...
Botje.Messaging/Messaging/Events/InlineQueryEventArgs.cs
JTOne123/botje
0
7039018
using Botje.Messaging.Models; using System; namespace Botje.Messaging.Events { /// <summary> /// Event arguments /// </summary> public class InlineQueryEventArgs : EventArgs { /// <summary> /// /// </summary> public long UpdateID { get; private set; } /// ...
libs/lambda/test/Lambda.Tests/SynchronousFunctionBaseTests.cs
logicality-io/dotnet-libs
1
7039019
using System.Threading.Tasks; using Amazon.Lambda.TestUtilities; using Logicality.Lambda.Example; using Shouldly; using Xunit; namespace Logicality.Lambda { public class SynchronousFunctionBaseTests { [Fact] public async Task Can_activate_lambda() { var testFunction = new Ex...
tests/ManageCourses.Tests/DbIntegration/TransitionServiceTestsBase.cs
DFE-Digital/manage-courses-api
0
7039020
<filename>tests/ManageCourses.Tests/DbIntegration/TransitionServiceTestsBase.cs using FluentAssertions; using GovUk.Education.ManageCourses.Api.Services; using GovUk.Education.ManageCourses.Domain.Models; using GovUk.Education.ManageCourses.Tests.ImporterTests.DbBuilders; using NUnit.Framework; using System; using Sys...
src/IcpcResolver/Utils/Assert.cs
hktkqj/IcpcResolver.Net
9
7039021
<filename>src/IcpcResolver/Utils/Assert.cs using System; using System.Windows; namespace IcpcResolver.Utils { public static class Assertion { public static void Assert(bool condition, string message="") { if (condition) return; MessageBox.Show(message, "AssertionError"...
13. Interfaces and Abstraction - Exercise/3. Telephone/Smartphone.cs
ZornitsaM/CSharp-OOP-Tasks
0
7039023
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Metadata.Ecma335; using System.Text; namespace PersonInfo { public class Smartphone : ICallable, IBrowsable { public void Browse(string url) { if (url.Any(x=>char.IsDigit(x))) { ...
DFC.FutureAccessModel.LocalAuthorities/Registration/Internal/ContainerRegistrationAttribute.cs
SkillsFundingAgency/dfc-futureaccessmodel-localauthorities
0
7039024
<filename>DFC.FutureAccessModel.LocalAuthorities/Registration/Internal/ContainerRegistrationAttribute.cs using System; namespace DFC.FutureAccessModel.LocalAuthorities.Registration { [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)] internal abstract class ContainerRegistrat...
Assets/Scripts/CTvideo/CTvideostuff.cs
cycronix/CTrollaball
1
7039025
/* Copyright 2018 Cycronix 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 writing, software di...
VotingWeb/VotingCoreWeb/Pages/Body.cshtml
jirikoud/MunicipalityVoting
0
7039026
@page @model VotingCoreWeb.BodyModel @{ ViewData["Title"] = Model.BodyName; } <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a asp-page="/Index">@VotingRes.TITLE_HOME</a></li> <li class="breadcrumb-item"><a asp-page="/Municipality" asp-route-id="@Model.Munic...
AzureMapsRestToolkit/AzureMapsRestToolkit/Route/Coordinate.cs
0xced/AzureMapsRestServices
0
7039027
using Newtonsoft.Json; namespace AzureMapsToolkit.Common { /// <summary> /// A location represented as a latitude and longitude. /// </summary> public class Coordinate { /// <summary> /// Latitude property /// </summary> [JsonProperty("latitude")] public dou...
src/APS_6.Infra.Data.Sql/Data/Mapping/RuralPropertyMapping.cs
FelipeAlves99/APS_6_Semestre
1
7039029
using APS_6.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace APS_6.Infra.Data.Sql.Data.Mapping { public class RuralPropertyMapping : IEntityTypeConfiguration<RuralProperty> { public void Configure(EntityTypeBuilder<RuralProperty> bu...
DUMS.Client.UI.Contract/Login/Enums/LoginResultType.cs
keeed/DUMS
0
7039030
namespace DUMS.Client.UI.Contract.Login.Enums { /// <summary> /// Indicates the Login Result /// </summary> public enum LoginResultType { /// <summary> /// Login success. /// </summary> Success, /// <summary> /// Login failed. /// </summary> ...
QRScanner/Forms/MainForm.Designer.cs
Stefangansevles/QR-Capture
4
7039031
namespace QRScanner.Forms { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
src/framework/Composable.PerformanceTests/Persistence/DocumentDb/DocumentDbPerformanceTests.cs
mlidbom/Composable
10
7039032
using Composable.DependencyInjection; using Composable.Testing; using Composable.Testing.Performance; using FluentAssertions.Extensions; using JetBrains.Annotations; using NUnit.Framework; namespace Composable.Tests.Persistence.DocumentDb { [LongRunning] class DocumentDbPerformanceTests : DocumentDbTestsBase ...
src/Common/src/Interop/Unix/System.Native/Interop.WaitId.cs
MisinformedDNA/corefx
2
7039033
<gh_stars>1-10 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; internal static partial class Interop { inte...
PurchaseOrdersHub.Server.App/Persistence/PurchaseOrderLiteDB1.cs
peterson1/PurchaseOrdersHub
0
7039034
using PocketHub.Client.Lib.UserInterfaces.Logging; using PocketHub.Server.Lib.Configuration; using PocketHub.Server.Lib.Databases; using PurchaseOrdersHub.Common.API.DTOs; using Repo2.Core.ns11.FileSystems; namespace PurchaseOrdersHub.Server.App.Persistence { internal class PurchaseOrderLiteDB1 : MonoTypeLocalDB<...
source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs
tyb-dev/nuke
1,520
7039036
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using ...
Demo/Assets/Scripts/TestDemo_0/TestMono.cs
su9257/FamilyBucket
1
7039037
using SheetData; using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Reflection; public class TestMono : MonoBehaviour { // Start is called before the first frame update void Start() { //JobRow jobRow = new JobRow(); //var type = typeof(JobRow); ...
LeetCode/0701-0750/0723-CandyCrush.cs
BigEggStudy/LeetCode-CS
16
7039038
//----------------------------------------------------------------------------- // Runtime: 260ms // Memory Usage: 32.7 MB // Link: https://leetcode.com/submissions/detail/361676731/ //----------------------------------------------------------------------------- using System; namespace LeetCode { public class _07...
src/Obelisk.Agi/IObeliskContext.cs
troytowson/obeliskagi-csharp
0
7039039
<gh_stars>0 namespace Obelisk.Agi { public interface IObeliskChannelContext { /// <summary> /// The first argument that was passed to the AGI() or EAGI() application. For process-based AGI, this is the name of the AGI application that has been executed. For FastAGI, this would be the URL that wa...
src/LionFire.Assets/Data/Id/IdAdapter/NamedIdAdapterStrategy.cs
jaredthirsk/LionFire.Core
0
7039041
<gh_stars>0 using LionFire.Structures; namespace LionFire.Data.Id { public class NamedIdAdapterStrategy : IIdMappingStrategy { public (bool, string) TryGetId(object obj) { if (obj is IKeyed k) { return (true, k.Key); } return (fal...
src/tests/Axis/MultiAxis.cs
EFeru/ScottPlot
0
7039042
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ScottPlotTests.Axis { internal class MultiAxis { [Test] public void Test_RemoveAxis_Works() { var plt = new ScottPlot.Plot(60...
05. Methods Debugging and Troubleshooting Code/Exercises Methods Debugging/10. Cube Properties/10. Cube Properties.cs
AneliaDoychinova/Programming-Fundamentals
0
7039043
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _10.Cube_Properties { class Program { static void Main(string[] args) { var side = double.Parse(Console.ReadLine()); var parameter = Console.Rea...
CommandEditor/Utils/BracketSearcher.cs
cafemoca/MinecraftCommandStudio
0
7039044
using System; using System.Collections.Generic; using System.Linq; using Cafemoca.CommandEditor.Extensions; using ICSharpCode.AvalonEdit.Document; namespace Cafemoca.CommandEditor.Utils { public class BracketSearcher { private IEnumerable<char> openBrackets = "({["; private IEnumerable<char> c...
LediBackup/Dom/Worker/Backup/BackupWorker_WorkerItem.cs
lellid/LediBackup
0
7039045
<reponame>lellid/LediBackup ///////////////////////////////////////////////////////////////////////////// // LediBackup: Copyright (C) 2020 Dr. <NAME> // All rights reserved. // This file is licensed to you under the MIT license. // See the LICENSE file in the project root for more information. ///////////...
CS_LIB/Functions/colormap.cs
neonkingfr/LeptonicaSharp
8
7039046
using System; using System.IO; using Enumerations; using System.Collections.Generic; using System.Runtime.InteropServices; namespace LeptonicaSharp { public partial class _All { // colormap.c (110, 1) // pixcmapCreate(depth) as PixColormap // pixcmapCreate(l_int32) as PIXCMAP * /// <summary> ...
Trowel.BspEditor/Providers/Processors/HandleSelection.cs
mattiascibien/trowel
2
7039047
<gh_stars>1-10 using Trowel.BspEditor.Documents; using System.ComponentModel.Composition; using System.Threading.Tasks; namespace Trowel.BspEditor.Providers.Processors { /// <summary> /// Ensure that objects marked as "is selected" are added to the selection /// </summary> [Export(typeof(IBspSourcePro...
THREE/Extras/Geometries/PolyhedronGeometry.cs
jdarc/webgl.net
1
7039048
using System.Collections.Generic; using WebGL; namespace THREE { public class PolyhedronGeometry : Geometry { private class PolyhedronVertex { public readonly Vector3 vector; public int index; public Vector2 uv; public PolyhedronVertex(Vector3 vector) { this.vector = vector; } } prot...
PageObjectPattern/PageObjectPatternExamples.cs
jimevans/stpcon-selenium-201
4
7039049
// <copyright file="PageObjectPatternExamples.cs" company="<NAME>"> // Copyright © 2018 <NAME> // Licensed under the Apache 2.0 license, as found in the LICENSE file accompanying this source code. // </copyright> namespace PageObjectPatternExamples { using System; using OpenQA.Selenium; using WebDriverExa...
tests/Narvalo.T4.Testbed/MonadOr`1.cs
chtoucas/Narvalo.NET
17
7039050
<gh_stars>10-100 // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.T4.Testbed { using System; using System.Diagnostics.CodeAnalysis; using Narvalo.Applicative; public partial class MonadOr<T> { [SuppressMessa...
Tests/OSS.Tools.Tests/CacheTests/CacheTests.cs
hezlog/OSS.Tools
0
7039051
<reponame>hezlog/OSS.Tools using System; using System.Collections.Generic; using System.Threading.Tasks; using NUnit.Framework; using OSS.Common.BasicMos.Resp; using OSS.Tools.Cache; using OSS.Tools.DirConfig; namespace OSS.Tools.Tests.CacheTests { public class CacheTests { [SetUp] public void ...
Assets/MapEditor/Editor/Managers/ShortcutManager.cs
jamesalbert/Editor
0
7039052
using UnityEditor; using UnityEditor.ShortcutManagement; using RustMapEditor.UI; using RustMapEditor.Data; using RustMapEditor.Variables; using UnityEngine; using UnityEditor.EditorTools; public static class ShortcutManager { [Shortcut("RustMapEditor/Load Map")] public static void LoadMap() { Func...
Assets/scripts/SkillSystem/CharacterSkillManager.cs
plumefox/ChessDemo
0
7039053
using System; using System.Collections; using System.Collections.Generic; using ChessDemo.Character; using Common; using UnityEngine; namespace ChessDemo.Skill { /// <summary> /// 技能管理器 /// </summary> public class CharacterSkillManager : MonoBehaviour { //技能列表 public SkillData...
Tests/ProcessTests.Api.ProcessTests/Infrastructure/TestPriorityAttribute.cs
TomaszSynak/ProcessTests
0
7039054
namespace ProcessTests.Api.ProcessTests.Infrastructure { using System; [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] internal class TestPriorityAttribute : Attribute { public TestPriorityAttribute(int priority) { Priority = priority; } pu...
src/GameLibrary.Domain/Entities/Games/GameValidator.cs
evertonrps/game-library
0
7039055
<filename>src/GameLibrary.Domain/Entities/Games/GameValidator.cs<gh_stars>0 using FluentValidation; using GameLibrary.Domain.Core; using GameLibrary.Domain.Core.Resources; using System; using System.Collections.Generic; using System.Text; namespace GameLibrary.Domain.Entities.Games { public class GameValidator : ...
apps/public-web/src/EShopOnAbp.PublicWeb/Pages/OrderReceived.cshtml
hpstory/eShopOnAbp
242
7039056
<filename>apps/public-web/src/EShopOnAbp.PublicWeb/Pages/OrderReceived.cshtml @page "{orderNo:int}" @using System.Globalization @using EShopOnAbp.Localization @using EShopOnAbp.PublicWeb.PaymentMethods @using Microsoft.Extensions.Localization @using Microsoft.Extensions.Options @model EShopOnAbp.PublicWeb.Pages.OrderR...
src/PathfinderDb.Sql/Datas/ApplicationDbContext.cs
Pathfinder-Fr/PathfinderDb
0
7039057
<gh_stars>0 using Microsoft.AspNet.Identity.EntityFramework; using PathfinderDb.Models; namespace PathfinderDb.Datas { public class ApplicationDbContext : IdentityDbContext<ApplicationUser> { public ApplicationDbContext() : base("DefaultConnection", throwIfV1Schema: false) { } } }
src/Slugity/IDefaultStopWords.cs
JosephWoodward/Slugity
10
7039058
namespace SlugityLib { internal static class DefaultStopWords { public static string[] StopWordList = { "the", "a", "an", "am", "is", "can", "and", "or", "but", "while", "if", "then", "thus", "of", "that", "on", "for", "he", "we", "which", "her" }; } }
K4AdotNet.Samples.Core.BodyTrackingSpeed/ProcessingParameters.cs
fujita0109/k4a.net
140
7039059
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; namespace K4AdotNet.Samples.Core.BodyTrackingSpeed { internal sealed class ProcessingParameters { public const string MKV_FILE_EXTENSION = ".mkv"; public static readonly ...
Assets/GameMain/Procedure/ProcedureSplash.cs
feng1995911/demo_tankWar3D
1
7039060
<reponame>feng1995911/demo_tankWar3D using GameFramework.Resource; using GameMain.Procedure; using UnityEngine; using UnityGameFramework.Runtime; using ProcedureOwner = GameFramework.Fsm.IFsm<GameFramework.Procedure.IProcedureManager>; namespace GameMain { /// <summary> /// Splash动画流程 /// </summary> p...
Hinode.Izumi.Services/BackgroundJobs/ContractJob/IContractJob.cs
envyvox/Hinode.Izumi
1
7039061
<reponame>envyvox/Hinode.Izumi using System.Threading.Tasks; namespace Hinode.Izumi.Services.BackgroundJobs.ContractJob { public interface IContractJob { /// <summary> /// Завершает работу над контрактом. /// </summary> /// <param name="userId">Id пользователя.</param> ...
DirectN/DirectN/Generated/_D3DKMT_CREATEDCFROMMEMORY.cs
Steph55/DirectN
124
7039062
<reponame>Steph55/DirectN<filename>DirectN/DirectN/Generated/_D3DKMT_CREATEDCFROMMEMORY.cs // c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmthk.h(4106,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partia...
Creational Patterns/Builder/Builders/IBuilder.cs
saimib/oops-design-patterns
1
7039063
<filename>Creational Patterns/Builder/Builders/IBuilder.cs namespace design_patterns.Builder.Builders { interface IBuilder { void reset(); void setSeats(); void setEngine(); void setTripComputer(); void setGPS(); } }
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/DatePicker/DatePicker_Placement.xaml.cs
mikebmcl/uno
0
7039064
using Windows.UI.Xaml.Controls; using Uno.UI.Samples.Controls; namespace UITests.Windows_UI_Xaml_Controls.DatePicker { [Sample("Pickers", IgnoreInSnapshotTests = true)] public sealed partial class DatePicker_Placement : Page { public DatePicker_Placement() { this.InitializeComponent(); } } }
test/utilstests/BinaryTreeTests/TreeTests.cs
mrjavaguy/adventofcode2017
0
7039065
<reponame>mrjavaguy/adventofcode2017<gh_stars>0  namespace utilstests.BinaryTreeTests { using System.Collections.Generic; using Utils.BinaryTree; using Xunit; public class TreeTests { // 1 // / \ // / \ // / \ // ...
Demo.AspNetCore.SignalR.ServerToClientRpc.Client/Program.cs
tpeczek/Demo.AspNetCore.SignalR.ServerToClientRpc
13
7039066
using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.DependencyInjection; namespace Demo.AspNetCore.SignalR.ServerToClientRpc.Client { class Program { static async Task Main(string[] args) { IHost host = new HostBuilder() .Con...
src/Leeax.Web.Components/LxComponentBase.cs
Ieeax/web
2
7039067
<filename>src/Leeax.Web.Components/LxComponentBase.cs<gh_stars>1-10 using Leeax.Web.Builders; using Leeax.Web.Components.Theme; using Microsoft.AspNetCore.Components; namespace Leeax.Web.Components { public class LxComponentBase : ComponentBase { protected virtual void BuildAttributeSet(AttributeSetBu...
ReflectionUtilites/ReflectionProperty.cs
ApmeM/reflection-cache
4
7039068
namespace ReflectionUtilites { #region Using Directives using System; using System.Linq; using System.Reflection; using ReflectionUtilites.Exceptions; #endregion public class ReflectionProperty { #region Constants and Fields private readonly ReflectionAttributeList ...
src/Coldairarrow.IBusiness/Report/IReport_MaterialSummaryBussiness.cs
jxnkwlp/WMS
40
7039069
using Coldairarrow.Entity.PB; using Coldairarrow.Util; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Coldairarrow.IBusiness.Report { /// <summary> /// 货品统计 /// </summary> public interface IReport_MaterialSummaryBussiness { Task<P...
MeshEdgeSample/Assets/MeshEdgeBakerEditor.cs
SquallLiu99/MeshEdgeBaker
1
7039070
using System.Collections.Generic; using UnityEngine; using UnityEditor; using System.Runtime.InteropServices; using System.IO; /// <summary> /// mesh edge baker /// </summary> public class MeshEdgeBakerEditor : EditorWindow { struct MeshData { /// <summary> /// vertex /// </summary> ...
mko.BI/Repositories/Addresses/CompanyAddresses.cs
mk-prg-net/mk-prg-net.lib
0
7039071
//<unit_header> //---------------------------------------------------------------- // // <NAME>: IT Beratung/Softwareentwicklung // Stuttgart, den 21.4.2016 // // Projekt.......: mko.BI // Name..........: CompanyAddresses.cs // Aufgabe/Fkt...: Allegemeine Struktur eines Repository für Firmenanschriften // ...
demos/DependencyInjection/src/Microsoft.Framework.DependencyInjection.Ninject/ScopeParameter.cs
lozanotek/aspnet5-unleashed
3
7039072
<gh_stars>1-10 // 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 Ninject.Activation; using Ninject.Infrastructure.Disposal; using Ninject.Parameters; using Ninject.Planning.Targets; ...
AddMultipleChildNodesForm.Designer.cs
michaelstephensonuk/IntegrationPlaybook-DataTransformationModeller
0
7039073
namespace DataMappingDesigner { partial class AddMultipleChildNodesForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </...