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
POYA/Areas/WeEduHub/Controllers/WeEduHubArticleClassHelper.cs
Larry-Wei/POYA
7
7066421
<reponame>Larry-Wei/POYA using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using CsvHelper; using Microsoft.AspNetCore.Hosting; using POYA.Areas.WeEduHub.Models; namespace POYA.Areas.WeEduHub.Controllers { public class WeEduHubArticleClassHe...
Source/EasyBrailleEdit.Common/AppGlobals.cs
huanlin/easy-braille-edit
3
7066422
<gh_stars>1-10 using System; using System.IO; using System.Reflection; using EasyBrailleEdit.Common.Config; namespace EasyBrailleEdit.Common { public static class AppGlobals { public static IAppConfig Config { get; private set; } = ConfigHelper.CreateConfig(); public static string TempPath { g...
Part 5 Layered Architecture/UsersApi.DataAccess/Repositories/Implementations/UsersRepository.cs
BlackOpts/RestAPIASP.NET
0
7066423
<reponame>BlackOpts/RestAPIASP.NET using System; using System.Collections.Generic; using System.Linq; using System.Text; using UsersApi.Common; using UsersApi.DataAccess.Repositories.Interfaces; namespace UsersApi.DataAccess.Repositories.Implementations { public class UsersRepository : IUsersRespository { ...
src/SkyApm.Diagnostics.CAP/CapDiagnosticProcessor.cs
ctbasic/SkyAPM-dotnet
1
7066424
/* * Licensed to the SkyAPM under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The SkyAPM licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file exce...
ValveQuery/GameServer/QueryMsg.cs
Deathreus/ValveQuery
3
7066425
<gh_stars>1-10 namespace ValveQuery.GameServer { internal static class QueryMsg { internal static readonly byte[] InfoQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x54, 0x53, 0x6F, 0x75, 0x72, 0x63, 0x65, 0x20, 0x45, 0x6E, 0x67, 0x69, 0x6E, 0x65, 0x20, 0x51, 0x75, 0x65, 0x72, 0x79, 0x00 }; internal static readonly byte[] In...
FirebaseAdmin/FirebaseAdmin/Util/ErrorHandlingHttpClientArgs.cs
OUTBOXIT/firebase-admin-dotnet
265
7066426
<filename>FirebaseAdmin/FirebaseAdmin/Util/ErrorHandlingHttpClientArgs.cs // Copyright 2019, Google 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 obtain a copy of the License at // // htt...
Code/IPFilter/Formats/Address.cs
galeksandrp/ipfilter
307
7066427
using System.Runtime.InteropServices; namespace IPFilter.Formats { /// <summary> /// IP Addresses are in Big Endian order, while Windows is Little Endian. This structure /// allows us to read and store in Little Endian. /// </summary> [StructLayout(LayoutKind.Explicit)] public struct Address ...
src/WebSdk/Publish/Tasks/WebConfigTransform.cs
0x53A/sdk
1,671
7066428
<reponame>0x53A/sdk using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; using Microsoft.NET.Sdk.Publish.Tasks.Properties; namespace Microsoft.NET.Sdk.Publish.Tasks { public static class WebConfigTransform { public static XDocument Transform(XDocume...
Assets/Scripts/UI/ControllerDetectedLabel.cs
NoisyBass/Top-Down-Shooter
1
7066429
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ControllerDetectedLabel : MonoBehaviour { void OnEnable() { if (!GameManager.Instance.IsControllerConnected()) gameObject.SetActive(false); } }
SharePoint Manager 2010 v2/Src/Main/SPM2.SharePoint/Model/Custom/SPFileNode.cs
keutmann/SPM
11
7066430
/* --------------------------- * SharePoint Manager 2010 v2 * Created by <NAME> * --------------------------- */ using System; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; using SPM2.Framework; using Microsoft.SharePoint.Utilities; using Microsoft.SharePoint.WebPartPages; namespace SPM2...
HetznerCloud.Net/Objects/Images/RequestResults/SingleImageRequestResult.cs
ferensz/HetznerCloud.Net
1
7066431
using System.Text.Json.Serialization; using HetznerCloud.Net.Objects.Images.Models; namespace HetznerCloud.Net.Objects.Images.RequestResults { public class SingleImageRequestResult : SingleObjectResultBase<Image> { [JsonPropertyName("image")] public override Image Data { get; set; } } }
ClubPenguin.PartyGames/AbstractMmoItemObserver-T-.cs
smdx24/CPI-Source-Code
8
7066432
<reponame>smdx24/CPI-Source-Code // AbstractMmoItemObserver<T> using ClubPenguin.Core; using ClubPenguin.Net.Domain; using Disney.Kelowna.Common.DataModel; using Disney.MobileNetwork; using System.Collections.Generic; using UnityEngine; public abstract class AbstractMmoItemObserver<T> : MonoBehaviour where T : CPMMOIt...
DataAccessLayer/ChiTietHoaDon.cs
hk2d-nmcnpm/BookstoreManager
1
7066433
<reponame>hk2d-nmcnpm/BookstoreManager<filename>DataAccessLayer/ChiTietHoaDon.cs<gh_stars>1-10 using System; using System.Data.SqlClient; using DataTransferObject; using System.Data; using System.Collections.Generic; namespace DataAccessLayer { public class ChiTietHoaDonTable: DBConnection { public Ch...
src/Harald.Tests/TestDoubles/StubCapabilityRepository.cs
dfds/harald
1
7066435
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Harald.WebApi.Domain; using Harald.Infrastructure.Slack; using System.Linq.Expressions; namespace Harald.Tests.TestDoubles { public class StubCapabilityRepository : ICapabilityRepository { private rea...
Src/DependentSelection/Constants.cs
emilssonn/EPiDependentSelection
0
7066436
<filename>Src/DependentSelection/Constants.cs namespace DependentSelection { internal static class Constants { public const string DependentOn = "dependentOn"; public const string ReadOnlyOnEmpty = "readOnlyOnEmpty"; public const string Selections = "selections"; public const st...
src/Application/Groups/Query/GetMessages/GetMessagesCommandHandler.cs
IndyNaessens/WebApi-Ucll-Mobile
1
7066437
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Application.Common.Interfaces; using Domain.Exceptions.Group; using MediatR; using Microsoft.EntityFrameworkCore; namespace Application.Groups.Query.GetMessages { public class GetMessagesCommandHandler ...
book-management-be/book-management-persistence/Repositories/IUnitOfWorks.cs
trungtruongpham/book-management
1
7066438
using System.Threading.Tasks; using book_management_models; using book_management_persistence.Implements; namespace book_management_persistence.Repositories { public interface IUnitOfWorks { void Commit(); Task<bool> SaveAsync(); BookRepositoryImpl BookRepository(); CategoryRep...
DataStructures/SequenceData/SequenceData.cs
biswaroopmukherjee/breadboard-cicero
0
7066439
<filename>DataStructures/SequenceData/SequenceData.cs /* Cicero Word Generator. A software suite for intuitive computer control of atomic physics experiments. Copyright (C) 2008 <NAME> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as...
src/Baasic.Client.Model/BatchResult.cs
Baasic/baasic-sdk-net
3
7066440
using System; namespace Baasic.Client.Model { /// <summary> /// The batch result class. /// </summary> /// <typeparam name="T">The response type.</typeparam> /// <seealso cref="IBatchResult{T}" /> public class BatchResult<T> : IBatchResult<T> { #region Properties /// <summ...
src/CleanArchitecture.Core/ApiModels/TransactionParseResponse.cs
JoshiBiz/Jsl-Arc
0
7066443
<filename>src/CleanArchitecture.Core/ApiModels/TransactionParseResponse.cs using System; using System.Collections.Generic; using System.Text; namespace CleanArchitecture.Core.ApiModels { public class TransactionParseResponse { public int Status { get; set; } public string ResponseCode { get; s...
CoreAndFood/CoreAndFood/Controllers/CategoryController.cs
ebruaktas99/aspnetcorefood
0
7066444
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CoreAndFood.Data.Models; using CoreAndFood.Repositories; using Microsoft.AspNetCore.Mvc; namespace CoreAndFood.Controllers { /*Validation ekleme adımları : 1-) İlgili sınıfın ilgili alanına requ...
PholioVisualisationWS/DataConstruction/MapCoordinateConverter.cs
publichealthengland/fingertips-open
2
7066445
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using PholioVisualisation.PholioObjects; namespace PholioVisualisation.DataConstruction { public static class MapCoordinateConverter { public static LatitudeLongitude GetLatitudeLongitude(EastingNorthi...
SharpEcs/Entity.cs
Steslos/SharpEcs
0
7066446
namespace SharpEcs { public sealed class Entity { public const int MaximumEntities = 8000; internal Signature Signature { get; } = new Signature(); } }
CustomerFinder/CustomerFinderDA/ApiLimit.cs
pticostaricags/CustomerFinder
0
7066447
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CustomerFinderDA { [Table("ApiLimit")] public class ApiLimit { ...
src/SkeMapper/Exceptions/MappingNotExistsException.cs
keke1210/SkeMapper
6
7066448
<reponame>keke1210/SkeMapper namespace SkeMapper.Exceptions { public class MappingNotExistsException : BaseCustomException { public MappingNotExistsException() : base() { } public MappingNotExistsException(string message) : base(message) { } public MappingNotExi...
TCC.Core/Game.cs
Roukanken42/Tera-custom-cooldowns
91
7066449
using Newtonsoft.Json.Linq; using Nostrum; using Nostrum.Extensions; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Globalization; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows; using TCC.Data; using TCC.Data.Abn...
Jarvis.Framework.Tests/SharedTests/IdentitySupport/AuxClasses.cs
kimoapp/Jarvis.Framework
20
7066450
<reponame>kimoapp/Jarvis.Framework<filename>Jarvis.Framework.Tests/SharedTests/IdentitySupport/AuxClasses.cs using Jarvis.Framework.Shared.IdentitySupport; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Jarvis.Framewo...
akset.data/Vitrinler.cs
stackdeveloper11/dama
0
7066451
using System; using System.ComponentModel.DataAnnotations; namespace akset.data { public class Vitrinler { public int Id { get; set; } [Required(ErrorMessage = "Set Title!")] public string baslik { get; set; } [Required(ErrorMessage = "Set Url Address!")] public ...
src_wip/Tests.Unit.Core/Email/FakeEmailProviderTest.cs
brianmains/Nucleo.NET
2
7066453
using System; using System.Net.Mail; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Nucleo.Email { [TestClass] public class FakeEmailProviderTest { #region " Tests " [TestMethod] public void SendingFakeEmailMarksEmailSent() { //Arrange var provider = new FakeEmailProvider(); var m...
ReportUnit/Design/Styles.cs
miki-bgd/reportunit
0
7066454
<gh_stars>0 namespace ReportUnit.Design { using ReportUnit.Support; internal static class Styles { public static string Apply(this string html, Theme theme) { string css = ""; switch (theme) { case Theme.Dark: css = D...
PureDITest/DeferredDependencyInjectionTest.cs
mikedamay/SimpleIOCContainer
1
7066455
<reponame>mikedamay/SimpleIOCContainer using IOCCTest.DeferredTestCode; using Microsoft.VisualStudio.TestTools.UnitTesting; using PureDI; namespace IOCCTest { [TestClass] public class DeferredDependencyInjectionTest { [TestMethod] public void ShouldNotInitializeMembersWhenDDIFlagSetForRoot...
AdventureWorksMVC/Models/SiteLayoutModel.cs
aws-samples/legacy-cycle-store-mvc-app
1
7066456
<filename>AdventureWorksMVC/Models/SiteLayoutModel.cs using System.Collections.Generic; using AdventureWorks.Business; namespace AdventureWorks.Models { public class SiteLayoutModel { public string AnonymousTemplateVisibility { get; set; } public string LoggedInTemplateVisibility { get; set; ...
BurningKnight/entity/creature/pet/Pet.cs
kwokfu/BurningKnight
282
7066457
using System; using BurningKnight.entity.component; using Lens.entity; namespace BurningKnight.entity.creature.pet { public class Pet : Creature { public Entity Owner; public Action<float> Controller; protected bool Saveable; private bool findOwner; public override void Update(float dt) { base.Update(d...
src/Ctf4e.Server/Views/AdminScoreboard.cshtml
Licanias/ctf4e
0
7066458
@using Ctf4e.Server.Models @using Ctf4e.Server.ViewModels @using Microsoft.AspNetCore.Mvc.Localization @model AdminScoreboard @inject IViewLocalizer Localizer @{ ViewData["Title"] = "Admin-Scoreboard"; var currentUser = (User)ViewData["CurrentUser"]; } <div class="container"> <div class="float-end"> ...
ornithopter/cs/Coffee/Coffee/Services/Salad/Uploader/LiteGroup.cs
stackprobe/Post2
0
7066459
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Tools; using System.IO; namespace Charlotte.Services.Salad.Uploader { public class LiteGroup { public string Dir; public string AccessKey; public LiteGroup(string dir) { this.Dir = FileTools.MakeFullPat...
StirlingLabs.Utilities.Yaml/Events/YamlEventsAdapter.cs
StirlingLabs/Utilities.Net
0
7066460
using System.Collections; using System.Collections.Generic; using JetBrains.Annotations; using YamlDotNet.Core.Events; using YamlDotNet.RepresentationModel; namespace StirlingLabs.Utilities.Yaml.Events; [PublicAPI] public sealed class YamlEventsAdapter : YamlDotNet.Core.IParser, IEnumerator<ParsingEvent> { priva...
objectdet-20191230/csharp/core/Models/RecognizeVehicleDashboardResponse.cs
atptro/alibabacloud-sdk
0
7066461
<filename>objectdet-20191230/csharp/core/Models/RecognizeVehicleDashboardResponse.cs<gh_stars>0 // This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Objectdet20191230.Models { public class RecognizeVehicleDas...
AcademyResidentInformationApi.Tests/V1/E2ETests/ListClaimantsReturnsAListOfAllClaimants.cs
elcorbs/academy-resident-information-api
0
7066462
using System; using System.Threading.Tasks; using AcademyResidentInformationApi.V1.Boundary.Responses; using AutoFixture; using FluentAssertions; using Newtonsoft.Json; using NUnit.Framework; namespace AcademyResidentInformationApi.Tests.V1.E2ETests { [TestFixture] public class ListClaimantsReturnsAListOfAllC...
Fanda.Core/Extensions/ExceptionExtension.cs
fanda-org/fanda-apps2
0
7066463
using System; namespace Fanda.Core.Extensions { public static class ExceptionExtension { public static string InnerMessage(this Exception ex) { var exception = ex; if (exception.InnerException != null) { exception = exception.InnerException; ...
Src/Scree.DataBase/DbParameterProxy.cs
winal/Scree
5
7066464
<filename>Src/Scree.DataBase/DbParameterProxy.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Data; using System.Data.Common; using System.Xml; using System.Xml.Linq; using Scree.Log; using System.Reflection; using Scree.Common; namesp...
Quilt4.Service/Areas/Admin/Controllers/HomeController.cs
Quilt4/Quilt4.Api
4
7066467
<gh_stars>1-10 using System.Linq; using System.Web.Mvc; using Quilt4.Service.Areas.Admin.Models; using Quilt4.Service.Interface.Business; namespace Quilt4.Service.Areas.Admin.Controllers { [Authorize(Roles = Constants.Administrators)] public class HomeController : Controller { private readonly ISe...
Active Diagrams/DiagramInfoTaskPane.cs
SlavekRydval/ActiveDiagrams
1
7066468
<reponame>SlavekRydval/ActiveDiagrams using Microsoft.Win32; using System; using System.Globalization; using System.Windows.Forms; namespace Active_Diagrams { public partial class DiagramInfoTaskPane : UserControl { public DiagramInfoTaskPane() { InitializeComponent(); } ...
PlatformAgileFrameworkCore/PlatformAgileFrameworkCoreStandard/Execution/Pipeline/PAFBaseExePipelineInitialize.cs
Platform-Agile-Software/PAF-Community
0
7066469
using System; using PlatformAgileFramework.TypeHandling; namespace PlatformAgileFramework.Execution.Pipeline { /// <summary> /// Default implementation of the interface. Often used as a nested class. /// </summary> /// <remarks> /// See the interface. /// </remarks> /// <history> /// <contributio...
BallGameFinalScripts/CameraControler.cs
KorzenGameDev/CSharpScripts
0
7066470
<reponame>KorzenGameDev/CSharpScripts<filename>BallGameFinalScripts/CameraControler.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraControler : MonoBehaviour { public Transform sphere; void Update () { Rigidbody rigidbody = sphere.GetComponent<Ri...
PlayFabServerSDK/source/PlayFabLocalizationInstanceAPI.cs
HelloKitty/PlayFab.CSharpSDK
0
7066471
<filename>PlayFabServerSDK/source/PlayFabLocalizationInstanceAPI.cs<gh_stars>0 #if !DISABLE_PLAYFABENTITY_API using PlayFab.LocalizationModels; using PlayFab.Internal; using PlayFab.Json; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace PlayFab { /// <summary> /// The Lo...
Assets/protect.cs
yuriyarabskyy/SpeedTanks-Unity-
0
7066472
<gh_stars>0 using UnityEngine; using System.Collections; public class protect : MonoBehaviour { void OnTriggerEnter2D(Collider2D other){ if (other.gameObject.tag == "Finish"||other.gameObject.tag=="bullet") { Destroy(other.gameObject); Destroy(gameObject); } } }
tests/Interop/Windows/Windows/um/winnt/PPMTests.cs
reflectronic/terrafx.interop.windows
0
7066473
<filename>tests/Interop/Windows/Windows/um/winnt/PPMTests.cs // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/winnt.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All right...
MicroinvestOOP/MicroinvestOOPInheritance/PhoneTask/Common/GlobalConstants.cs
BorislavVladimirov/Microinvest-Academy
0
7066474
using System; using System.Collections.Generic; using System.Text; namespace PhoneTask.Common { public static class GlobalConstants { public const string InvalidModel = "Invalid model!"; public const string InvalidSimNumber = "Invalid sim number!"; public const string InvalidCallDura...
SystemDotMessaging/Projects/Examples/Metro/RequestReplySender/Handlers/ResponseHandler.cs
SystemDot/SystemDotServiceBus
1
7066475
using RequestReplySender.ViewModels; using Messages; namespace RequestReplySender.Handlers { public class ResponseHandler : IMessageConsumer { readonly MainPageViewModel viewModel; public ResponseHandler(MainPageViewModel viewModel) { this.viewModel = viewModel; } ...
Assets/Scripts/IngameUi.cs
Telroshan/Jam-Let-It-Rock
2
7066476
<reponame>Telroshan/Jam-Let-It-Rock<gh_stars>1-10 using System; using System.Collections; using UnityEngine; public class IngameUi : MonoBehaviour { [SerializeField] private Animator playerOneInputs; [SerializeField] private Animator playerTwoInputs; [SerializeField] private Animator preparationOverlay; ...
ImagePackingTest/FolderResizerTests.cs
RopleyIT/ImagePacking
1
7066477
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using ImagePacking; using System.IO; namespace ImagePackingTest { [TestClass] public class FolderResizerTests { [TestMethod] public void CanCreate() { string currPath = Path.GetFullPath("."); v...
Public/Tools/Code/Logging/ILogStream.cs
EvgenyMuryshkin/quokka
1
7066479
<gh_stars>1-10 using Quokka.Public.Content; using System; using System.Collections.Generic; using System.Linq; namespace Quokka.Public.Logging { public interface ILogStream { void Log(LogRecord record); } public static class ILogStreamExtensions { public static IEnum...
Otel Otomasyon/Otel Otomasyon/Bilgi Sınıfları/Kisi.cs
cihancifci/Hotel-Automation
2
7066480
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Otel_Otomasyon { public class Kisi { public string tcKimlikNo { get; set; } public string tamAdi { get; set; } public string ePosta { get; set; } } }
resources/csharp-essential-materials/008_Structures/002_Covariant/ArrayCovariant2/Program.cs
6e3veR6k/codewars-csharp
0
7066481
<filename>resources/csharp-essential-materials/008_Structures/002_Covariant/ArrayCovariant2/Program.cs using System; // Ковариантность структурных типов. namespace Covariant { class Program { static void Main() { uint[] array = new uint[3]; Console.WriteLine("array {...
src/MechanicGrip/Cards/ICard.cs
kgiszewski/MechanicGrip
0
7066482
using MechanicGrip.Ranks; using MechanicGrip.Suits; namespace MechanicGrip.Cards { public interface ICard { IRank Rank { get; } ISuit Suit { get; } } }
Src/Launchers/Main/Utils/CookieHandler.cs
Cleancodefactory/CoreKraft
7
7066483
<gh_stars>1-10 using Microsoft.AspNetCore.CookiePolicy; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Localization; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Ccf.Ck.Launchers.Main.Utils { public class CookieHandler { public...
demo.webdriver/demo.webdriver/Browsers/BaseBrowserInstance.cs
drusellers/demos
3
7066484
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing.Imaging; using System.Linq; using Castle.Windsor; using demo.webdriver.Pages; using OpenQA.Selenium; using OpenQA.Selenium.Remote; using OpenQA.Selenium.Support.UI; namespace demo.webdriver.Browsers { publi...
Packages/com.unity.inputsystem/InputSystem/Actions/InputInteractionContext.cs
Kaosumaru/InputSystem
0
7066485
<gh_stars>0 using System; using UnityEngine.InputSystem.LowLevel; namespace UnityEngine.InputSystem { /// <summary> /// Information passed to <see cref="IInputInteraction">interactions</see> /// when their associated controls trigger. /// </summary> /// <seealso cref="IInputInteraction.Process"/> ...
tests/AdventOfCode.Tests/Year2017/Day09Tests.cs
andreibsk/AdventOfCode
2
7066486
<gh_stars>1-10 using AdventOfCode.Year2017; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AdventOfCode.Tests.Year2017; [TestClass] public class Day09Tests : PuzzleTests<Day09> { [TestMethod] [DataRow("{}", "1")] [DataRow("{{{}}}", "6")] [DataRow("{{},{}}", "5")] [DataRow("{{{},{},{{}}}}", "16")] ...
admins/om.net/OmControlLibrary/OMEClasses/DemoDb.cs
iboxdb/db4o-gpl
24
7066487
<reponame>iboxdb/db4o-gpl using System; using OMAddinDataTransferLayer; using OManager.BusinessLayer.UIHelper; using OManager.BusinessLayer.Login; using OME.Logging.Common; using System.IO; namespace OMControlLibrary { public class DemoDb { private static string demoFilePath = Environment.GetFolderPa...
src/Neblina.Api/Communicators/RegisterBank.cs
leonaascimento/Neblina
1
7066489
<reponame>leonaascimento/Neblina using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Neblina.Api.Communicators { public class RegisterBank { private readonly int _bankId; ...
SqlAnalyseLibrary/EvaluationState.cs
FlorianGrimm/SqlAnalyse
0
7066490
using Microsoft.SqlServer.TransactSql.ScriptDom; using System; namespace SqlAnalyseLibrary { public class EvaluationState { public EvaluationState(SqlEnvironment sqlEnvironment, GlobalScope? globalScope) { this.SqlEnvironment = sqlEnvironment ?? throw new System.ArgumentNullException(nameof(s...
src/BoboBrowse.Net/BoboBrowse.Net.Tests/BoboFacetIteratorTest.cs
JTOne123/BoboBrowse.Net
0
7066491
//* Bobo Browse Engine - High performance faceted/parametric search implementation //* that handles various types of semi-structured data. Originally written in Java. //* //* Ported and adapted for C# by <NAME>. //* //* Copyright (C) 2005-2015 <NAME> //* //* Licensed under the Apache License, Version 2.0 (the "Lice...
src/HyperMap.DependencyInjection/MappingFactoryExtensions.cs
hypersolutions/hypermap
1
7066492
<filename>src/HyperMap.DependencyInjection/MappingFactoryExtensions.cs using System.Linq; using Microsoft.Extensions.DependencyInjection; namespace HyperMap.DependencyInjection { public static class MappingFactoryExtensions { public static IMappingFactory RegisterWith(this IMappingFactory factory, ISer...
wuziqi/Assets/Script/Title.cs
Chunxiaojiu/-unity-
1
7066493
<filename>wuziqi/Assets/Script/Title.cs using UnityEngine; using UnityEngine.UI; using System.Collections; public class Title : MonoBehaviour { public Button StartButton; public Button ExitButton; public Button DoubleButton; // board窗口 public GameObject board; public MainLoop loop; // Us...
UpkManager.Dds/DdsSaveConfig.cs
GoneUp/GPK_RePack
30
7066494
<reponame>GoneUp/GPK_RePack using System.Diagnostics.CodeAnalysis; using UpkManager.Dds.Constants; namespace UpkManager.Dds { [SuppressMessage("ReSharper", "MemberCanBeInternal")] [SuppressMessage("ReSharper", "MemberCanBePrivate.Global")] public sealed class DdsSaveConfig { #region Constructor pub...
Data Structures Fundamentals/05.Trees-Representation-and-Traversal-(BFS-DFS)-Exercise/Tree/TreeFactory.cs
stanislavyv/softuni-projects
0
7066495
<reponame>stanislavyv/softuni-projects namespace Tree { using System.Collections.Generic; public class TreeFactory { private Dictionary<int, Tree<int>> nodesByKeys; public TreeFactory() { this.nodesByKeys = new Dictionary<int, Tree<int>>(); } public Tr...
Source/Plugins/demoArcFace.designer.cs
comsmobiler/SmobilerTutorials
31
7066496
<reponame>comsmobiler/SmobilerTutorials<gh_stars>10-100 using System; using Smobiler.Core; namespace Smobiler.Tutorials.Plugins { partial class demoArcFace : Smobiler.Core.Controls.MobileForm { #region "SmobilerForm generated code " //SmobilerForm overrides dispose to clean up the component li...
main/Smartsheet/Api/Models/SheetUserPermissions.cs
tcc-sejohnson/smartsheet-csharp-sdk
23
7066497
<reponame>tcc-sejohnson/smartsheet-csharp-sdk<filename>main/Smartsheet/Api/Models/SheetUserPermissions.cs // #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file ...
Clase 1/TGL/TGL.PrimeraAplicacion/Clases/Pantalla.cs
Elkinssm/Tgl-3
0
7066498
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace TGL.PrimeraAplicacion.Clases { public class Pantalla { public string Color { get; set; } public int Tamaño { get; set; } public string Marca { get; set; } } }
Form_VersionInfo.Designer.cs
GCer-Hidenori/MinerGunBuilderCalculator
7
7066499
 namespace MinerGunBuilderCalculator { partial class Form_VersionInfo { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
DjvuNet.DjvuLibre/Enums/PageRotation.cs
ivs/DjvuNet
0
7066500
namespace DjvuNet.DjvuLibre { public enum PageRotation : sbyte { Rotate0 = 0, Rotate90 = 1, Rotate180 = 2, Rotate270 = 3, } }
src/esencialAdmin/Services/ISubscriptionService.cs
Che4ter/specialized-subscription-management-system
0
7066501
using esencialAdmin.Models.GoodiesViewModels; using esencialAdmin.Models.SubscriptionViewModels; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace esencialAdmin.Services { public interface ISubscriptionService ...
Backend/Northwind/Controllers/FornecedorController.cs
Romulo-Freire/Desafio-DotNet
0
7066502
using BusinessLogic.FornecedorBll; using DataAccess.Model; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Northwind.Controllers { [Route("api/[controller]")] [ApiController] public class FornecedorController: Cont...
FrontEnd/Semantics/Mutability/ClassPropertyMutabilityChecker.cs
lbrugnara/flsharp
0
7066503
using Zenit.Ast; namespace Zenit.Semantics.Mutability { class ClassPropertyMutabilityChecker : INodeVisitor<MutabilityCheckerVisitor, ClassPropertyNode, MutabilityCheckResult> { public MutabilityCheckResult Visit(MutabilityCheckerVisitor checker, ClassPropertyNode node) { node.Defi...
src/Libraries/FaraMedia.Services/Querying/Systematic/ResourceKeyQuery.fixed.cs
m-sadegh-sh/FaraMedia
0
7066504
namespace FaraMedia.Services.Querying.Systematic { using System.Collections.Generic; using System.Linq; using FaraMedia.Core; using FaraMedia.Core.Domain.Systematic; using FaraMedia.Core.Operators; public sealed class ResourceKeyQuery : EntityQueryBase<ResourceKey, ResourceKeyQuery> { public ResourceKeyQuery(...
Roadie.Api.Library/SearchEngines/MetaData/Discogs/DiscogsHelper.cs
sphildreth/roadie
38
7066505
<gh_stars>10-100 using Microsoft.Extensions.Logging; using RestSharp; using Roadie.Library.Caching; using Roadie.Library.Configuration; using Roadie.Library.Extensions; using Roadie.Library.MetaData; using Roadie.Library.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Net; usin...
FluentJsonNet/JsonMapsTreeNode.cs
masbicudo/Fluent-Json.NET
28
7066506
using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace FluentJsonNet { internal class JsonMapsTreeNode { public JsonMapsTreeNode(JsonMapBase mapper, Type parent, Type[] children) { this.Mapper = mapper; this.Parent = parent; ...
ExceptionMarshaling/iOS/AppDelegate.cs
xamarin/mac-ios-samples
63
7066507
<filename>ExceptionMarshaling/iOS/AppDelegate.cs using System; using Foundation; using ObjCRuntime; using UIKit; using MonoTouch.Dialog; namespace ExceptionMarshaling.IOS { [Register ("AppDelegate")] public class AppDelegate : UIApplicationDelegate { UIWindow window; UINavigationController nav; DialogViewC...
Assets/AssetBookmarker/Editor/Project/Editor/Model/ExportConfig.cs
instance-id/Unity-AssetBookmarker
9
7066508
<filename>Assets/AssetBookmarker/Editor/Project/Editor/Model/ExportConfig.cs ///----------------------------------------- /// AssetBookmarker /// @ 2016 RNGTM(https://github.com/rngtm) ///----------------------------------------- namespace AssetBookmarker.Project { /// <summary> /// Export設定 /// </summary>...
source/Application/Notification/NotificationFactory.cs
ammoti/Northland.Monitor
0
7066509
using System; using Architecture.Domain; using Architecture.Model; namespace Architecture.Application { public class NotificationFactory : INotificationFactory { public Notification Create(NotificationModel model) { return new Notification (model.Message, model.ContactTo...
AdventOfCSharp/Utilities/ConsolePrinting.cs
AlFasGD/AdventOfCSharp
2
7066510
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Console; namespace AdventOfCSharp.Utilities; public static class ConsolePrinting { // This kind of functionality must be available somewhere // I should browse some package...
CBreeze/UncommonSense.CBreeze.Core/Report/Classic/Section/Properties/TransHeaderSectionProperties.cs
niku-live/UncommonSense.CBreeze
0
7066511
using UncommonSense.CBreeze.Core.Report.Classic.Section.Contracts; namespace UncommonSense.CBreeze.Core.Report.Classic.Section.Properties { public class TransHeaderSectionProperties : SectionPropertiesBase { public TransHeaderSectionProperties(SectionBase section) : base(section) { } ...
src/Microsoft.Bot.Connector.Client/Generated/Models/MediaEventValue.cs
EricDahlvang/TempAutoRestV3Connector
0
7066512
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Microsoft.Bot.Connector.Client.Models { /// <summary> Supplementary parameter for media events. </summary> internal partial class MediaEventValue { /// ...
server/API_SYS/ViewModels/ChamadosViewModel.cs
kfurfles/Management-System-Tickets
0
7066513
<reponame>kfurfles/Management-System-Tickets using System; using System.ComponentModel.DataAnnotations; using API_SYS.Models; namespace API_SYS.ViewModels { public class ChamadosViewModel { public int IdChamados { get; set; } [Required] public string Status { get; set; } [Req...
SelectQuery.Lambda/ArrayPoolExtensions.cs
will14smith/SelectQuery
2
7066514
using System; using System.Buffers; namespace SelectQuery.Lambda { public static class ArrayPoolExtensions { public static void Resize<T>(this ArrayPool<T> pool, ref T[] array, int newSize) { var newArray = pool.Rent(newSize); var length = newSize < array.Length ? newS...
CatFactory/Markdown/Md.cs
hherzl/CatFactory
60
7066515
namespace CatFactory.Markdown { /// <summary> /// Provides static methods for markdown syntax /// </summary> /// <remarks>For more info: https://en.wikipedia.org/wiki/Markdown</remarks> public static class Md { /// <summary> /// Gets a bold string /// </summary> ...
Plugin.cs
somebofy/Anti079
0
7066516
<reponame>somebofy/Anti079<filename>Plugin.cs using Qurre.Events; namespace Anti079 { public class Plugin : Qurre.Plugin { public EventHandlers EventHandlers; public override string Developer { get; } = "nekto"; public override string Name { get; } = "Anti079"; public override ...
Editor/ShaderGUI/LitShader.cs
yoship1639/UniToon
31
7066517
<filename>Editor/ShaderGUI/LitShader.cs<gh_stars>10-100 using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.Rendering; namespace UniToon { class LitShader : ShaderGUI { private bool firstTime = true; SavedBool fo_workflow; ...
Xania.Graphs.EntityFramework.Tests/Relational/Primitive.cs
ibrahimbensalah/Xania.Finance
1
7066518
namespace Xania.Graphs.EntityFramework.Tests.Relational { public class Primitive : IGraphValue { public string Value { get; set; } public string Id { get; set; } } }
src/ResourceManagement/Sql/Domain/SqlServerAutomaticTuning/Update/IUpdate.cs
abharath27/azure-libraries-for-net
365
7066519
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.Sql.Fluent.SqlServerAutomaticTuning.Update { using Microsoft.Azure.Management.Sql.Fluent.Models; using System.Collecti...
AinDecompiler/Compiler/Compiler-main.cs
UserUnknownFactor/AinDecompiler
4
7066520
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Diagnostics; namespace AinDecompiler.Compiler { public partial class Compiler { //VariableDictionaryWithParent scope = new DictionaryWithParent<string, IVariable>(); ...
Source/Eto.Wpf/Forms/Controls/ProgressBarHandler.cs
RandallFlagg/Eto
1
7066521
using sw = System.Windows; using swc = System.Windows.Controls; using Eto.Forms; using Eto.Drawing; namespace Eto.Wpf.Forms.Controls { public class ProgressBarHandler : WpfControl<swc.ProgressBar, ProgressBar, ProgressBar.ICallback>, ProgressBar.IHandler { protected override Size DefaultSize { get { return new Siz...
Core/Enums/FileAccess.cs
vonderborch/FenrirFS
1
7066522
// *********************************************************************** // Assembly : FenrirFS // Component : FileAccess.cs // Author : vonderborch // Created : 07-13-2016 // // Version : 2.0.0 // Last Modified By : vonderborch // Last Modified On : 09-24-2016 // ********...
Web/BeGorgeous.Web.ViewModels/Salons/SalonViewModel.cs
dinikolaeva/BeGorgeous
2
7066523
namespace BeGorgeous.Web.ViewModels.Salons { using BeGorgeous.Data.Models; using BeGorgeous.Services.Mapping; public class SalonViewModel : IMapFrom<Salon> { public int Id { get; set; } public string Name { get; set; } public string ImageUrl { get; set; } ...
Assets/Scripts/FuelIgnite/FuelIgniteEvents.cs
unstablesun/FuelSDKRedux
0
7066525
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using FuelSDKIntegration.Structures; //----------------------------------------------------------------- /* IGNITE EVENTS */ //----------------------------------------------------------------- public partial class Fu...
src/RSBLib/Interfaces/IRandom.cs
dmarciano/RandomStringGenerator
0
7066526
namespace SMC.Utilities.RSG { public interface IRandom { /// <summary> /// Returns a nonnegative random number less than the specified maximum. /// </summary> /// <param name="maxValue">The exclusive upper bound of the random number to be generated. <paramref name="maxValue"/> m...
MeuMemed/Controllers/MemedController.cs
joaocarias/Memed-Minha-Prescricao
0
7066527
using System; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using MeuMemed.Data; using MeuMemed.Data.IRepositorios; using MeuMemed.Models; using MeuMemed.Models.Json.Memed; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; namespace MeuMemed.Controllers { public cl...
Source/Nett/Parser/ParseInput.cs
bash/Nett
236
7066528
<filename>Source/Nett/Parser/ParseInput.cs using System; using System.Collections.Generic; using Nett.Parser.Nodes; namespace Nett.Parser { internal sealed partial class ParseInput : IParseInput { private const int EofTokenCount = 1; private readonly List<Token> tokens; private int i...
Jc.Core.AntChain/AntChainHelper/AntChainModel.cs
279328316/JcCore
7
7066529
<gh_stars>1-10  using System; using System.Collections.Generic; namespace Jc.AntChain { public enum Method { /// <summary> /// 存证 /// </summary> DEPOSIT, /// <summary> /// 部署WASM合约 /// </summary> DEPLOYWASMCONTRACT, /// <summary> ...