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
Spin.WebSite/obj/Debug/net5.0/Razor/Spin/Shared/spin-sys/Generator/Controls/RangeDateSpinFilter.cshtml.g.cs
Alejandroidev/Spin-gRPC-Tutoria
0
7031625
<gh_stars>0 #pragma checksum "C:\Users\57300\Documents\Repositorios\Spin-gRPC-Tutoria\Spin.WebSite\Spin\Shared\spin-sys\Generator\Controls\RangeDateSpinFilter.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "04ff15ddebad27afd6c73213c57d5ab27a209569" // <auto-generated/> #pragma warning disable 1591 [assembly: global::...
LeonaStore/ViewModels/ListingDetailViewModel.cs
Tortu-Ch/Leona-Store
45
7031626
<filename>LeonaStore/ViewModels/ListingDetailViewModel.cs using Prism.Commands; using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; using Prism.Navigation; using Like.ViewModels; using Xamarin.Forms; using System.Windows.Input; using Prism.Services; using System.Collections; using List...
UnityProject/Assets/Scripts/UI/EndGameScreen.cs
platelk/portal-runner
0
7031627
using UnityEngine; using System.Collections; using System.Security.Cryptography; public class EndGameScreen : MonoBehaviour { public GameObject player; public GameObject gamePlay; public static EndGameScreen endScreen; public AudioClip deathSound; // Use this for initialization void Start (...
Models/Siniflar/DinamikFaturalarClass.cs
niyazisahin/MvcOnlineTicariOtomasyon
0
7031629
<reponame>niyazisahin/MvcOnlineTicariOtomasyon using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MvcOnlineTicariOtomasyon.Models.Siniflar { public class DinamikFaturalarClass { public IEnumerable<Fatura> fatura { get; set; } public IEnumerable<Fatur...
Employee/Program.cs
ajaybharathi0820/EmployeeDetails
0
7031630
//Title : Employee Details //Author Name: Ajaybharathi //Created at : 27-09-2021 //Updated at : 13-10-2021 //Reviewed by: Akshaya using System; using System.Data.SqlClient; namespace EmployeeDetails { class Program { static void Main(string[] args) { MainMe...
src/Go.Interop/GoLib.cs
gundermanc/vs-go
10
7031631
namespace Go.Interop { internal static class GoLib { #if WINDOWS public const string LibName = "golib.dll"; #else public const string LibName = "golib.so"; #endif } }
src/AddonCraft.CommandLineInterface/Handlers/InstallHandler.cs
fedeantuna/addoncraft
0
7031632
<reponame>fedeantuna/addoncraft using System; using System.Collections.Generic; namespace AddonCraft.CommandLineInterface.Handlers { public class InstallHandler { public void Install(IEnumerable<String> packageNames, String release, String gameFlavor) { Console.WriteLine($"Release: ...
Sample.ViewModel/ViewModels/SomeWorkloadObjectViewModel.cs
Yeah69/BFF.DataVirtualizingCollection
40
7031633
<filename>Sample.ViewModel/ViewModels/SomeWorkloadObjectViewModel.cs using BFF.DataVirtualizingCollection.Sample.Model.Models; namespace BFF.DataVirtualizingCollection.Sample.ViewModel.ViewModels { public interface ISomeWorkloadObjectViewModel { public int Number { get; } } public class So...
Source/nHydrate.Generator.SQLInstaller/ProjectItemGenerators/DatabaseCreateData/CreateDataGenerator.cs
aTiKhan/nHydrate
77
7031634
<filename>Source/nHydrate.Generator.SQLInstaller/ProjectItemGenerators/DatabaseCreateData/CreateDataGenerator.cs using nHydrate.Generator.Common.EventArgs; using nHydrate.Generator.Common.GeneratorFramework; using System.IO; namespace nHydrate.Generator.SQLInstaller.ProjectItemGenerators.DatabaseCreateData { ...
src/Eventso.Subscription/PooledList.cs
eventso/subscriptions
1
7031635
<gh_stars>1-10 using System; using System.Buffers; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; namespace Eventso.Subscription { [DebuggerDisplay("Count = {Count}")] public class PooledList<T> : IMemoryOwner<T>, IConvertibleCollec...
SocketAppServer.Standard/Security/AuthorizationController.cs
adrbarros/SocketAppServer
5
7031636
/* MIT License Copyright (c) 2020 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
02. ProgFund/Exams/Prog Fund (Extended) Exam - 20 August 2017/04. Trainlands/Trainlands.cs
origami99/SoftUni
1
7031638
using System; using System.Collections.Generic; using System.Linq; class Trainlands { static void Main() { Dictionary<string, Dictionary<string, int>> trains = new Dictionary<string, Dictionary<string, int>>(); while (true) { string input = Console.ReadLine(); i...
src/Oddin.OddsFeedSdk/Oddin.OddsFeedSdk/Sessions/OddsFeedSessionBuilder.cs
oddin-gg/netcoresdk
1
7031639
using Oddin.OddsFeedSdk.Sessions.Abstractions; using System; namespace Oddin.OddsFeedSdk.Sessions { internal class OddsFeedSessionBuilder : IOddsFeedSessionBuilder, ISessionBuilder { private readonly Feed _feed; private MessageInterest _msgInterest; private bool _hasBeenSessionBuild; ...
Sigma.Core/Utils/ThreadUtils.cs
LunarWorld/Sigma
119
7031640
<reponame>LunarWorld/Sigma /* MIT License Copyright (c) 2016-2017 <NAME>, <NAME> For full license see LICENSE in the root directory of this project. */ using System; using System.Threading; namespace Sigma.Core.Utils { /// <summary> /// Some helping wrappers for threads. /// </summary> public static class T...
NemerleWeb.SC2Score/Views/Shared/_Layout.cshtml
Heather/NemerleWeb
0
7031641
<reponame>Heather/NemerleWeb<filename>NemerleWeb.SC2Score/Views/Shared/_Layout.cshtml<gh_stars>0 <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> <link href="@Url.Content("~/Content/metro-bootstrap.css")" rel="stylesheet" type="text/css" /> ...
Tools.Infrastructure/Database/MongoConfigurator.cs
kwiniarski97/Tools-in-Garage
0
7031642
<gh_stars>0 using System.Collections.Generic; using MongoDB.Bson; using MongoDB.Bson.Serialization.Conventions; namespace Tools.Infrastructure.Database { public class MongoConfigurator { private static bool _initialized; public static void _Init() { if (_initialized) ...
EliteJournalReader/Events/SAASignalsFoundEvent.cs
WarmedxMints/EliteJournalReader
0
7031643
namespace EliteJournalReader.Events { //When written: when using SAA scanner on a planet or rings //Parameters: //� SystemAddress //� BodyName //� BodyID //� Signals: (array) // o Type // o Count public partial class SAASignalsFoundEvent : JournalEvent<SAASignalsFoundEvent.SAAS...
src/NuGetGallery.Core/Cookies/ICookieComplianceService.cs
rasodu/NuGetGallery
1
7031644
// 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.Collections.Generic; using System.Web; namespace NuGetGallery.Cookies { /// <summary> /// Cookie compliance service, used to comp...
Summer.Batch.Common/Collections/PriorityBlockingQueue.cs
Andrey-Ostapenko/SummerBatch
29
7031646
<reponame>Andrey-Ostapenko/SummerBatch using System; using System.Collections; using System.Collections.Generic; using System.Threading; namespace Summer.Batch.Common.Collections { /// <summary> /// Priority Blocking Queue; inherits from AbstractPriorityQueue /// </summary> /// <typeparam na...
src/core/Search/NumericRangeQuery.cs
Anomalous-Software/Lucene.NET
0
7031647
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
SpanLinq/MethodToGenerate.cs
YairHalberstadt/SpanLinq
19
7031648
using System.Linq; using Microsoft.CodeAnalysis; using static SpanLinq.Method; namespace SpanLinq { internal record GeneratedType(string Name, bool IsSpan, bool IsReadOnlySpan, bool HasLength, string[] TypeParameters); internal record MethodTogenerate(GeneratedType RecieverType, Method Method) { p...
BeatBoxer/Library/PackageCache/com.unity.inputsystem@1.0.0-preview.7/InputSystem/Plugins/XR/XRLayoutBuilder.cs
theorolinoProg/RapGame
1
7031650
#if UNITY_INPUT_SYSTEM_ENABLE_XR using System; using System.Collections.Generic; using UnityEngine.InputSystem.LowLevel; using UnityEngine.InputSystem.Utilities; using System.Text; using UnityEngine.InputSystem.Layouts; using UnityEngine.XR; namespace UnityEngine.InputSystem.XR { internal class XRLayout...
CompletelyOptional/InternalTranslator.cs
PJB3005/CompletelyOptional
8
7031651
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Reflection; using System.Text.RegularExpressions; using UnityEngine; namespace CompletelyOptional { /// <summary> /// ConfigMachine's internal translator. /// </summary> public static class Intern...
src/Type.cs
ClauParser/ClauParser-CS
0
7031652
<filename>src/Type.cs using System; using System.Collections.Generic; using System.Text; namespace ClauParser_sharp { class Type { public string Name { set; get; } public Type () { Name = new string(""); } ...
Capnp.Net.Runtime/Util/ThreadExtensions.cs
FabInfra/capnproto-dotnetcore_Runtime
94
7031653
<filename>Capnp.Net.Runtime/Util/ThreadExtensions.cs<gh_stars>10-100 using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Threading; namespace Capnp.Util { internal static class ThreadExtensions { class ThreadExte...
Amathus/Amathus.Common/Util/TextUtil.cs
meteatamel/amathus
7
7031654
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
Util/AIStudio.Core/ControlHelpers/HyperlinkHelper.cs
DavosLi0bnip/daranguizu
0
7031655
<reponame>DavosLi0bnip/daranguizu using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Documents; namespace AIStudio.Core { public class HyperlinkHelper { public static r...
Karl/Entities/CollisionGroup.cs
DanielKlier/Karl
0
7031656
 namespace Karl.Entities { public static class CollisionGroup { public const uint None = 0x00000000; public const uint World = 0x00000001; public const uint Player = 0x00000002; public const uint Projectiles = 0x00000004; public const uint E...
Utilities/TileMaker.cs
egocarib/Caves-of-Qud
5
7031658
using XRL.Core; using XRL.World; using XRL.World.Parts; using ConsoleLib.Console; using GameObject = XRL.World.GameObject; using QudColorUtility = ConsoleLib.Console.ColorUtility; using Color = UnityEngine.Color; namespace QudUX.Utilities { public class TileMaker { public string Tile; ...
Assets/Scripts/DataBind/BindColor.cs
paidgeek/SimpleGameTemplate
0
7031659
using UnityEngine; using UnityEngine.UI; public class BindColor : MonoBehaviour, IBindable { [SerializeField] private Graphic m_Graphic; [SerializeField] private string m_Key; public string key { get { return m_Key; } } public void Bind(DataContext context) { if (context.Contains...
src/RoyalLibrary.Tests/Factories/TestPersonFactory.cs
ByteDecoder/RoyalLibrary
1
7031660
using System.Collections.Generic; namespace RoyalLibrary.Tests.Factories { internal struct TestPerson { public TestPerson(string name, int age) { Name = name; Age = age; } public string Name { get; set; } public int Age { get; set; } } i...
My Projects/main/game/content/xa/notc/core/shapes/rfl1/trail/p1/materials.cs
fr1tz/terminal-overload
46
7031661
<reponame>fr1tz/terminal-overload singleton Material(xa_notc_core_shapes_rfl1_trail_p1_lasertrail0mat0) { diffuseColor[0] = "0.996078 0.996078 0.996078 1"; doubleSided = "0"; translucentBlendOp = "AddAlpha"; castShadows = "0"; translucent = "1"; showFootprints = "0"; glow[0] = "0"; gl...
Education/Default.aspx.cs
chungthanhphuoc1990/education-center
0
7031662
using System; using System.Web.UI.HtmlControls; using LibBusinessLayer; public partial class _Default : System.Web.UI.Page { #region[Define] protected string _htmNewsMain = string.Empty; protected string _htmSlideShow = string.Empty; protected string _htmPage = string.Empty; protected st...
Services/Game/Domain/ProcessEvents/GameEvent.cs
swpuzhang/CleanGameArchitecture
3
7031663
<filename>Services/Game/Domain/ProcessEvents/GameEvent.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Game.Domain.Entitys; using Game.ViewModels; using Commons.Buses.ProcessBus; namespace Game.Domain.ProcessEvents { public class GameEvent : ProcessEvent ...
src/Util.Biz.Payments/Core/PayParamBase.cs
panyoujin/Util
0
7031664
using System.ComponentModel.DataAnnotations; using System.Linq; using Util.Exceptions; using Util.Maps; using Util.Validations; namespace Util.Biz.Payments.Core { /// <summary> /// 支付参数 /// </summary> public class PayParamBase : IValidation { /// <summary> /// 订单标题 /// </summar...
src/Lykke.MatchingEngine.Connector/Models/Api/LimitOrderModel.cs
swisschain/MatchingEngineConnector
1
7031665
<gh_stars>1-10 using System.Collections.Generic; using Lykke.MatchingEngine.Connector.Models.Common; namespace Lykke.MatchingEngine.Connector.Models.Api { /// <summary> /// Limit order model. /// </summary> public class LimitOrderModel { public string Id { get; set; } public strin...
Sunshine/LogManagerService.cs
rpwjanzen/Sunshine
0
7031666
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace Sunshine { public class LogManagerServ...
MixedRemoteViewCompositor/Samples/MRVC/Unity/Assets/Scripts/GuiButtons.cs
lemonGunn/Spectator
204
7031667
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; using System.Collections; public class GuiButtons : MonoBehaviour { public bool showUI = false; public MixedRemoteViewComposit...
TypewiseAlert/EmailStatus/lowTemp.cs
clean-code-craft-tcq-2/coverage-in-cs-RicardoMoralesG
0
7031668
using System; using System.Collections.Generic; using System.Text; using TypewiseAlert.Interfaces; namespace TypewiseAlert.EmailStatus { public class lowTemp : ISenderEmail { public bool SenderEmail(string result) { Console.WriteLine("To: {0}\n", result); ...
Assets/Project/Scripts/Settings Modifier/v003-AddHighScores.cs
OmiyaGames/everybody-plays-golf
0
7031669
using System; using OmiyaGames.Settings; namespace LudumDare39 { /// <summary> /// Adds high score settings to <see cref="GameSettings"/>. /// </summary> public class AddHighScores : SettingsVersionGeneratorDecorator { public const ushort AppVersion = 3; public const int...
SaveMW.Models/Mappings/NoteMap.cs
SappingEr/SaveMW
1
7031670
<gh_stars>1-10 using FluentNHibernate.Mapping; namespace SaveMW.Models.Mappings { public class NoteMap : ClassMap<Note> { public NoteMap() { Id(n => n.Id); Map(n => n.Name).Length(300); Map(n => n.Text).Length(10000); Map(n => n.CreationDate); ...
src/Octokit.Webhooks/Events/ProjectCard/ProjectCardConvertedEvent.cs
nwf/octokit-webhooks.net
15
7031671
<filename>src/Octokit.Webhooks/Events/ProjectCard/ProjectCardConvertedEvent.cs namespace Octokit.Webhooks.Events.ProjectCard { using System.Text.Json.Serialization; using JetBrains.Annotations; using Octokit.Webhooks.Models.ProjectCardEvent; [PublicAPI] [WebhookActionType(ProjectCardActionValue.Con...
src/Cake.Issues.EsLint/EsLintIssuesAliases.RuleUrlResolver.cs
eoehen/Cake.Issues.EsLint
1
7031672
<gh_stars>1-10 namespace Cake.Issues.EsLint { using System; using Cake.Core; using Cake.Core.Annotations; /// <content> /// Contains functionality related to rule url resolving. /// </content> public static partial class EsLintIssuesAliases { /// <summary> /// Registers...
src/NuGetGallery/Infrastructure/Mail/Messages/OrganizationTransformRejectedMessage.cs
augustoproiete-forks/NuGet--NuGetGallery
1,022
7031673
<filename>src/NuGetGallery/Infrastructure/Mail/Messages/OrganizationTransformRejectedMessage.cs // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Globalization; using System....
ILStubDiagnostic/TraceEvent/Utilities/StreamReaderWriter.cs
clrinterop/ILStubDiagnostics
2
7031674
<gh_stars>1-10 /////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. /////////////////////////////////////////////////////////////////////////////// // This file is best viewed using outline mode (Ctrl-M Ctrl-O) // This program us...
Assisticant.UnitTest/ContactListData/ContactViewModel.cs
smasihemami/Assisticant
31
7031675
<filename>Assisticant.UnitTest/ContactListData/ContactViewModel.cs<gh_stars>10-100 using System; namespace Assisticant.UnitTest.ContactListData { public class ContactViewModel { private Contact _contact; public ContactViewModel(Contact contact) { _contact = contact; ...
ScreenSaver/ScreenSaver/ConfigurationForm.cs
t081as/ScreenSaver
0
7031676
<reponame>t081as/ScreenSaver #region MIT License // The MIT License (MIT) // // Copyright © 2017-2019 <NAME> <<EMAIL>> // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the “Software”), to deal in the Software without // restri...
OnlineTechnicalSupport/OnlineTechnicalSupport/Views/Manager/LiveSupportRequests.cshtml
ozgurguclu/OnlineTechnicalSupport
0
7031677
@model LiveSupportRequestsViewModel @using OnlineTechnicalSupport.Models.ViewModels @{ ViewBag.Title = "Canlı destek talepleri"; Layout = "~/Views/Shared/_ManagerLayout.cshtml"; } <h2>Canlı destek talepleri</h2> <hr /> <button id="btn1" class="border-bottom-0 bg-white position-absolute mt-1">Talep havuzu</but...
src/NFCerta.NFe/Json/NFCertaJsonSerializer.cs
nfcerta/NFCerta.NFe
1
7031678
<reponame>nfcerta/NFCerta.NFe namespace NFCerta.NFe.Json { using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; public sealed class NFCertaJsonSerializer : JsonSerializer { public NFCertaJsonSerializer() { Con...
Kooboo.CMS/Kooboo.CMS.Web/Areas/Contents/Menu/RepositoriesMenu.cs
syberside/CMS
288
7031679
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using Kooboo.CMS.Common.Persistence.Non_Relational; using Kooboo.CMS.Content.Models; using Kooboo.CMS.Content.Services; using Kooboo.Web.Mvc; using Kooboo.Web.Mvc.Menu; u...
src/IsblCheck.Context.Development/Database/Handlers/LocalizationStringDatabaseHandler.cs
arhipovdv/IsblCheck
13
7031681
<filename>src/IsblCheck.Context.Development/Database/Handlers/LocalizationStringDatabaseHandler.cs using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using IsblCheck.Core.Context.Development; namespace IsblCheck.Context.Development.Database.Handlers { /// <summary> ///...
Models/Family/Family.cs
GschwindSoftware/lighthouse-examples-net
0
7031682
using System.Collections.Generic; namespace Gschwind.Lighthouse.Example.Models.Family { /// <summary> /// Der Stammbaum eines Kunden /// </summary> public record Family { /// <summary> /// Auflistung der Familienmitglieder /// </summary> public ICollection<FamilyMember...
Route4MeSDKTest/Examples/Orders/RemoveOrders.cs
dameeks/route4me-csharp-sdk
7
7031683
<gh_stars>1-10 using System; namespace Route4MeSDK.Examples { public sealed partial class Route4MeExamples { /// <summary> /// Remove Orders /// </summary> /// <param name="orderIds"> Order Ids </param> public void RemoveOrders(string[] orderIds = null) { ...
MyLogs/MyLogs/RenameForm.Designer.cs
Twake56/Timber-Tail
0
7031684
namespace MyLogs { partial class RenameForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
Assets/Plugins/CodeStage/Maintainer/Editor/Scripts/Modules/RecordsBased/Issues/IssueKind.cs
Stulk3/ITario-plus
0
7031685
#region copyright //------------------------------------------------------------------------ // Copyright (C) <NAME> - focus [http://codestage.net] //------------------------------------------------------------------------ #endregion namespace CodeStage.Maintainer.Issues { /// <summary> /// Kinds of Issues Finder r...
Examples/CSharp/Text/ManageEmbeddedFonts.cs
aspose-slides/Aspose.Slides-for-.NET
39
7031687
<filename>Examples/CSharp/Text/ManageEmbeddedFonts.cs using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using Aspose.Slides; using Aspose.Slides.Export; /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Slides for .NET API reference when the project is ...
src/EditorFeatures/Core/ExternalAccess/VSTypeScript/VSTypeScriptNavigationBarItemService.cs
vorotynsky/roslyn
0
7031688
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Composition; using...
Softeq.XToolkit.Chat.Droid/Views/ChatDetailsActivity.cs
Softeq/XToolkit.Chat
15
7031689
<reponame>Softeq/XToolkit.Chat // Developed by Softeq Development Corporation // http://www.softeq.com using System; using System.Collections.Generic; using Android.App; using Android.Graphics; using Android.OS; using Android.Support.V7.Widget; using Android.Support.V7.Widget.Helper; using Android.Views; using Androi...
src/DotNetty.Codecs/UnsupportedMessageTypeException.cs
mgravell/DotNetty
12
7031690
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DotNetty.Codecs { using System; using System.Text; /// <summary> /// Thrown if an unsupported message is received by an codec. /// <...
Gloson.Games/Nim/Gloson.Games.Nim.GameOfSticks.cs
Dmitry-Bychenko/Gloson.Standard.Solution
5
7031691
using System; using System.Collections.Generic; using System.Linq; namespace Gloson.Games.Nim { //------------------------------------------------------------------------------------------------------------------- // /// <summary> /// Generalized 3, 5, 7 sticks game /// </summary> // //---------------...
sdk/formrecognizer/Azure.AI.FormRecognizer/src/CustomLabeledModel.cs
gogowings/azure-sdk-for-net
0
7031692
<filename>sdk/formrecognizer/Azure.AI.FormRecognizer/src/CustomLabeledModel.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using Azure.AI.FormRecognizer.Models; namespace Azure.AI.FormRecognizer.Custom { public class CustomLabe...
10 - 12 Data Types and Var/2017-06-02/11 Convert SU/11 Convert SU.cs
Bullsized/Assignments-Fundamentals-Normal
1
7031693
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _11_Convert_SU { class Program { static void Main(string[] args) { float distanceInMeters = float.Parse(Console.ReadLine()); float hours = float...
src/SpaceInvadersRemake/Assets/VFW Examples/Scripts/Serialization/InterfacesExample.cs
skahal/SpaceInvadersRemake
7
7031694
<reponame>skahal/SpaceInvadersRemake using System; using System.Collections.Generic; using UnityEngine; using Vexe.Runtime.Types; namespace VFWExamples { public class InterfacesExample : BetterBehaviour { public ITest test0; public ITest[] test1; public List<ITest> test2; } public interfac...
src/Avalonia.Visuals/Media/GlyphRun.cs
ShadowDancer/Avalonia
3
7031695
using System; using System.Collections.Generic; using Avalonia.Platform; using Avalonia.Utilities; namespace Avalonia.Media { /// <summary> /// Represents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style. /// </summary> public sealed clas...
dfalex/DfaStateImpl.cs
magne/dfalex.net
1
7031696
/* * Copyright 2015 <NAME> * Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Kean.Domain.Identity/Commands/ModifyPasswordCommand.cs
snr4978/DotNetService4
0
7031697
using FluentValidation; namespace Kean.Domain.Identity.Commands { /// <summary> /// 修改密码命令 /// </summary> public class ModifyPasswordCommand : CommandValidator<ModifyPasswordCommand>, ICommand { /// <summary> /// 身份标识 /// </summary> public int Id { get; set; } ...
mcs/class/System.ServiceModel/Test/System.ServiceModel/EndpointIdentityTest.cs
lefb766/mono
469
7031699
// // EndpointIdentityTest.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (C) 2007 Novell, Inc. http://www.novell.com // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without res...
src/Cohesity.Powershell.Models/OracleCloudCredentials.cs
bseltz-cohesity/cohesity-powershell-module
37
7031700
<reponame>bseltz-cohesity/cohesity-powershell-module // Copyright 2019 Cohesity Inc. using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serializ...
SeeSharp.Tests/Core/Geometry/Mesh_Sampling.cs
PearCoding/SeeSharp
19
7031701
using SeeSharp.Geometry; using System; using System.Numerics; using Xunit; namespace SeeSharp.Tests.Core.Geometry { public class Mesh_Sampling { [Fact] public void Distribution_TwoTriangles_ShouldBeUniform() { var vertices = new Vector3[] { new Vector3(-1, 0, -1), ...
src/Editor/Editor.Client/GUI/Controls/ToolBarContainer.cs
tritao/flood
0
7031702
<filename>src/Editor/Editor.Client/GUI/Controls/ToolBarContainer.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Flood.GUI; using Flood.GUI.Controls; namespace Editor.Client.GUI.Controls { /// <summary> /// Container that can have to...
dotnet/Tests/Setup.cs
dtopuzov/win-app-driver-demos
0
7031703
using Framework.Server; using NUnit.Framework; namespace Tests { /// <summary> /// A SetUpFixture outside of any namespace provides /// SetUp and TearDown for the entire assembly. /// </summary> [SetUpFixture] public class Setup { /// <summary> /// Executes once before the t...
Core/Utilities/Results/ErrorDataResult.cs
rabianur412/ReCapProject
27
7031704
<reponame>rabianur412/ReCapProject using System; using System.Collections.Generic; using System.Text; namespace Core.Utilities.Results { public class ErrorDataResult<T>:DataResult<T> { public ErrorDataResult(T data,bool success,string message):base(data,false,message) { } publ...
UI.List/MonoBehaviours/ItemBehaviour.cs
d4160/UnityGameFramework
0
7031705
using System.Collections.Generic; using UnityEngine; public class ItemBehaviour<T> : ListBehaviour { [SerializeField] protected T _item; public virtual T Item { get => _item; set => _item = value; } } public abstract class ItemBehaviour : MonoBehaviour { }
Assets/Scripts/AudioManager.cs
GabrielMottaDev/Destroying-Minecraft
1
7031706
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Minecraft { public sealed class AudioManager : MonoBehaviour { [SerializeField] private List<Entry> allSoundsList; private readonly IDictionary<string, GameObject> allSoundsDictionary = new Dictio...
Gigya.Microdot.Hosting/Events/ServiceCallEvent.cs
locmxse60602/microdot
1,452
7031707
<reponame>locmxse60602/microdot #region Copyright // Copyright 2017 Gigya 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 // // http://www.apache.org...
backend/dal/Helpers/Extensions/EnumExtensions.cs
FuriousLlama/PSP
20
7031708
<gh_stars>10-100 using Pims.Dal.Security; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Pims.Dal.Helpers.Extensions { /// <summary> /// EnumExtensions static class, provides extension methods for enum values. /// </summary> public static class EnumExtensions { //...
Supahunt/GraphBase.cs
upendra-rusm/supahands-coding-test
0
7031709
<reponame>upendra-rusm/supahands-coding-test<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Supahunt { public abstract class GraphBase { protected abstract IEnumerable<NodeBase> _nodes { get; set; } // ...
CS/GrowthWare.WebApplication/Controllers/SessionableControllerHandler.cs
Kahiko/Growthware
4
7031710
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http.WebHost; using System.Web.Routing; using System.Web.SessionState; namespace GrowthWare.WebApplication.Controllers { public class SessionableControllerHandler : HttpControllerHandler,...
src/NlogEventLogSample/Program.cs
ShotaGoto/NLogEventlogSample
0
7031711
using NLog; using System; namespace NlogEventLogSample { internal static class Program { private static Logger Logger = LogManager.GetCurrentClassLogger(); private static void Main(string[] args) { try { Logger.Info("Hello World"); }...
Backend/Controllers/NewsController.cs
SpeedcuberM/KhSM
2
7031712
<filename>Backend/Controllers/NewsController.cs using System.Collections.Generic; using System.Net; using Backend.Data.Entities; using Backend.Domain; using Microsoft.AspNetCore.Mvc; namespace Backend.Controllers { public class NewsController : ApiController { private readonly NewsManager _newsManager...
src/libs/SoloX.BlazorJsonLocalization/Core/Impl/JsonStringLocalizerFactory.cs
xaviersolau/BlazorJsonLocalizer
5
7031713
// ---------------------------------------------------------------------- // <copyright file="JsonStringLocalizerFactory.cs" company="<NAME>"> // Copyright © 2021 <NAME>. // Licensed under the MIT license. // See LICENSE file in the project root for full license information. // </copyright> // ------------------------...
Forms/Controls/SizeControl.designer.cs
mousebyte/MouseNet
0
7031714
namespace MouseNet.Forms.Controls { partial class SizeControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
Source/EventFlow.Tests/IntegrationTests/Sagas/AggregateSagaTests.cs
aTiKhan/EventFlow
0
7031715
// The MIT License (MIT) // // Copyright (c) 2015-2020 <NAME> // Copyright (c) 2015-2020 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to dea...
Assets/IMMATERIA/Binders/BindHairBuffer.cs
cabbibo/cafp4k
0
7031716
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace IMMATERIA { public class BindHairBuffer : Binder { public Hair hair; public override void Bind(){ toBind.BindForm( "_HairBuffer" , hair ); toBind.BindInt( "_NumVertsPerHair" , () => hair.numVertsPerHair ); } } }
Assets/Scripts/Types/DNABlockType.cs
jmvogt/Unity-LPC-Character-Animator
11
7031717
<gh_stars>10-100 using System; namespace Assets.Scripts.Types { public static class DNABlockType { public const string Body = "BODY"; public const string Face = "FACE"; public const string Hair = "HAIR"; public const string Head = "HEAD"; public const string FacialHair ...
OpusCatMTEngine/Marian/MarianDecoderConfig.cs
Helsinki-NLP/OPUS-CAT
21
7031718
<gh_stars>10-100 using System.Collections.Generic; using YamlDotNet.Serialization; using YamlDotNet.RepresentationModel; using YamlDotNet.Helpers; using YamlDotNet.Core; namespace OpusCatMTEngine { public class MarianDecoderConfig { public string log { get; set; } public string alignment { get...
Protobuild.Internal/Generation/IServiceInputGenerator.cs
SjB/Protobuild
0
7031719
<filename>Protobuild.Internal/Generation/IServiceInputGenerator.cs using System; using System.Xml; using System.Collections.Generic; using Protobuild.Services; namespace Protobuild { public interface IServiceInputGenerator { XmlNode Generate(XmlDocument doc, string projectName, IEnumerable<Service> se...
lrcmeteer/DrawGraph.cs
linncy/TesterAutomation-CVCf
0
7031720
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Windows.Forms.DataVisualization.Charting; using System.Drawing; namespace lrcmeteer { class DrawGraph {     #region 绘制曲线函数     /// <summary>     /// 绘制曲线函数 /// </summary> ...
BetterLoadSaveGame/Settings.cs
linuxgurugamer/BetterLoadSaveGame
2
7031722
 using System.Collections; using System.Reflection; namespace BetterLoadSaveGame { // http://forum.kerbalspaceprogram.com/index.php?/topic/147576-modders-notes-for-ksp-12/#comment-2754813 // search for "Mod integration into Stock Settings // HighLogic.CurrentGame.Parameters.CustomParams<BLSG1>().useAlter...
Content/Projectiles/Weapons/Melee/AnimatedSwordProjectile.cs
MikhailMCraft/DestinyMod
0
7031723
<reponame>MikhailMCraft/DestinyMod using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.ID; using Terraria.ModLoader; using Terraria.Audio; using Terraria.GameContent; using DestinyMod.Common.Projectiles; namespace DestinyMod.Content.Projectiles.Weapons.Melee { publ...
src/EfficientDynamoDb/Internal/Operations/Shared/BatchItemHttpContent.cs
playhardlab/EfficientDynamoDb
104
7031724
<filename>src/EfficientDynamoDb/Internal/Operations/Shared/BatchItemHttpContent.cs using System; using System.Buffers; using System.Text.Json; using EfficientDynamoDb.Internal.Core; namespace EfficientDynamoDb.Internal.Operations.Shared { internal abstract class BatchItemHttpContent : DynamoDbHttpContent { ...
build/src/PureCloudPlatform.Client.V2/Model/PhoneChangeTopicPhoneStatus.cs
F-V-L/platform-client-sdk-dotnet
13
7031725
<reponame>F-V-L/platform-client-sdk-dotnet using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPl...
RhythmGameUtility.cs
PassingG/GenericUtility
0
7031726
<reponame>PassingG/GenericUtility using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using UnityEngine; using UnityEngine.Events; public class RhythmGameUtility { public static void AddVertexToMesh(NoteObject noteMesh, NoteData curNoteData) {...
spjam-timetravelgame/Assets/Scripts/EnemyMovementController.cs
gregoriobenatti/spjam2015
0
7031727
<filename>spjam-timetravelgame/Assets/Scripts/EnemyMovementController.cs using UnityEngine; using System.Collections; public class EnemyMovementController : MonoBehaviour { [SerializeField] public float m_EnemySpeed = 5.0f; public int m_EnemyDirection = 1; void Awake() { Rigidbody2D rigidBody2D = GetComponent<...
HomeManagement.Models/Storage/FileModel.cs
infinitydirico/homemanagement
1
7031728
using System.IO; using System.Linq; namespace HomeManagement.Models { public class FileModel { private string name; public string Name { get => name; set { name = value; SetExtension(); SetContentTyp...
Pure.NetCoreExtensions/FriendlyExceptions/Extensions/HttpContextExtensions.cs
purestackorg/Pure.NETCoreExtensions
27
7031729
<gh_stars>10-100 using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Options; using Pure.NetCoreExtensions.FriendlyExceptions.Options; using System; using System.Text; using System.Threading.Tasks; namespace Pure.NetCoreExtensions.FriendlyExceptions { internal sta...
WpfBreakthrough/WpfNappula/NappulaMustaControl.xaml.cs
miimatku/wpfBreakthrough
0
7031730
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.Med...
Problems/Problem357.cs
fireheadmx/ProjectEuler
0
7031731
using System; using System.Collections.Generic; using System.IO; using System.Numerics; namespace ProjectEuler.Problems { class Problem357 { private static Sieve s; private static bool SumDivIsPrime(long num) { // divisor d of n, d+n/d is prime long top = (long)...
src/Thalus.Iqt.Core/Contracts/DTO/IqtIdentitySetDTO.cs
ThalusUlysses/Thalus.Iqt.App
0
7031732
<gh_stars>0 namespace Thalus.Iqt.Core.Contracts.DTO { public class IqtIdentitySetDTO : IIqtIdentitySet { public IIqtIdentity[] Identities { get; set; } public IIqtExcludes Excludes { get; set; } } }
C# Advanced/C# ADVANCED/Lab 5 - Functional Programming/02.SumNumbers/Program.cs
HNochev/SoftUni-CSharp-Software-Engineering
1
7031733
<reponame>HNochev/SoftUni-CSharp-Software-Engineering using System; using System.Linq; namespace _02.SumNumbers { class Program { static void Main(string[] args) { PrintSumAndCount( int.Parse, a => a.Length, array => array.Sum()); ...