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
blackthorn/SimpleCalculator/Program.cs
revlucio/coding-tests
0
7059995
<gh_stars>0  namespace SimpleCalculator { public static class Program { public static void Main() { var prompt = new Prompt(new ConsoleWrapper(), new Calculator(new OperationFactory()), new Validator(new OperationFactory()), new FakeLogger()); prompt.Run(); } ...
Game1/Game1/Base/GameLauncherTask.cs
IndiegameGarden/IndieGig
0
7059996
<reponame>IndiegameGarden/IndieGig // (c) 2010-2015 IndiegameGarden.com. Distributed under the FreeBSD license in LICENSE.txt using System; using System.IO; using System.Threading; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Runtime.InteropServices; //required for SetFo...
GameOfLife.Services.Tests/FieldTest.cs
Stelmashenko-A/GameOfLife
2
7059997
using NUnit.Framework; namespace GameOfLife.Services.Tests { public class FieldTest { public const bool IsDead = false; public const bool IsAlive = true; [Test] public void CopyTest() { bool[,] array = { { IsDead, IsDead, IsDead }, { IsDead, IsAlive, IsDead ...
src/Yaapii.Zip/ZipUpdated.cs
icarus-consulting/Yaapii.ZIP
1
7059998
using System; using System.IO; using System.IO.Compression; using Yaapii.Atoms; using Yaapii.Atoms.Enumerable; using Yaapii.Atoms.Error; using Yaapii.Atoms.IO; using Yaapii.Atoms.Scalar; namespace Yaapii.Zip { /// <summary> /// A zip from which a file has been updated or added. /// If the file to update d...
FileDB/Structure/DataPage.cs
yevgenish/FileDB
236
7059999
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Numeria.IO { internal class DataPage : BasePage { public const long HEADER_SIZE = 8; public const long DATA_PER_PAGE = 4088; public override PageType Type { get { return Pa...
UiaDbus/UiaDbus/Interfaces/InterfaceConverter.cs
ABEMBARKA/monoUI
1
7060000
// 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, // distribute, sublicense, and/or ...
src/Shake/Helpers/ReflectionHelper.cs
speier/shake
0
7060001
<gh_stars>0 // // Shake - C# Make // // Reflection helper // // Author: // <NAME> (<EMAIL>) // // Licensed under the terms of the MIT X11 // // Copyright (c) 2010 <NAME> // using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace Shake....
src/webapp/WebApp/Models/WebAppConfiguration.cs
qbituniverse/titanicai.dev
0
7060002
namespace WebApp.Models { public class WebAppConfiguration { public string ApplicationName { get; set; } = string.Empty; public AiApiConfiguration AiApi { get; set; } = new AiApiConfiguration(); } public class AiApiConfiguration { public string BaseUri { get; set; } = strin...
TTPsolverTests/ProgramTester.cs
Kulawy/TTP_GeneticAlgorithm
1
7060003
<reponame>Kulawy/TTP_GeneticAlgorithm<filename>TTPsolverTests/ProgramTester.cs<gh_stars>1-10 using NUnit.Framework; using System; using System.Collections.Generic; using TravellingThiefProblemSolver; using TravellingThiefProblemSolver.Data; using TravellingThiefProblemSolver.Loaders; using TravellingThiefProblemSolver...
DialogConfigure.cs
vgpastor/SDR-Tetra-Plugin
23
7060004
<reponame>vgpastor/SDR-Tetra-Plugin<filename>DialogConfigure.cs using System; using System.Windows.Forms; namespace SDRSharp.Tetra { public partial class DialogConfigure : Form { private TetraSettings _tetraSettings; private TetraPanel _tetra; public DialogConfigure(TetraSettings tetr...
SeventhGate/SeventhGate/winapi/Logger.cs
hpbox/seventhgate_zh_hant
1
7060005
<filename>SeventhGate/SeventhGate/winapi/Logger.cs<gh_stars>1-10 using System; namespace winapi { /// <summary> /// Logging class /// </summary> public static class Logger { /// <summary> /// Delegate for receiving events conveying debug event arguments /// </summary> /// <param name="sender"></param> ...
MVVM/MVVM/Pages/Main/Main_Page.xaml.cs
B1GSt4R/MVVM
2
7060006
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace MVVM { public partial class Main_Page : ContentPage { public Main_Page() { InitializeComponent(); } } }
Assets/Scripts/CameraController.cs
kharalos/Climbing-Game
0
7060007
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraController : MonoBehaviour { private Camera cam; [SerializeField] private Transform cameraTarget; [SerializeField] private float camY = 2f, camZ = -5f; [SerializeField] [Range(0,1f)] private float camLerpT...
Source/Applications/openXDA/openXDA/wwwroot/Config/XSLTemplate.cshtml
GridProtectionAlliance/openXDA
13
7060008
@*//****************************************************************************************************** // XSLTemplate.cshtml - Gbtc // // Copyright © 2016, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See /...
Engine/Visualization/IActiveVisualizer.cs
vladkar/pulse-project-open
1
7060010
<gh_stars>1-10 using Pulse.MultiagentEngine.ExternalAPI; namespace Pulse.MultiagentEngine.Visualization { public enum VisualizationConnectionType { /// <summary> /// Each visualization update cycle the simulation method DoStep will be called. /// In this case visualization FPS will dic...
Cachet-Monitor/Models/Configuration/Monitor/MonitorSettings.cs
exsersewo/Cachet-Monitor
0
7060011
namespace Cachet_Monitor.Models.Config { public class MonitorSettings { //Http public string Method = "GET"; public int ExpectedStatusCode = 200; //TCP public int Port; public int TTL; } }
C# Programming Basics/Exercises/Nested Loops/Ex.01.NumberPyramidModV1/Program.cs
denismironov97/Software-Engineering-SoftUni
0
7060013
<reponame>denismironov97/Software-Engineering-SoftUni<filename>C# Programming Basics/Exercises/Nested Loops/Ex.01.NumberPyramidModV1/Program.cs using System; namespace Ex._01.NumberPyramidModV1 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()...
AlertToCareTest/DatabaseTestContext.cs
AdarshSrivatsa98/alert-to-care-s22b6
0
7060014
using DatabaseManager; using Microsoft.EntityFrameworkCore; using Models; namespace AlertToCareTest { public class DatabaseTest { private static readonly object _lock = new object(); private static bool _databaseInitialized; protected DatabaseTest(DbContextOptions<DatabaseContext> con...
FlightManager/FlightManager.Web/Views/Reservation/PassengerConfirmationEmail.cshtml
NaskoVasilev/FlightManager
4
7060015
@model ReservationPassengerConfirmationEmailViewModel <p> Hello, @($"{Model.Passenger.Name} {Model.Passenger.MiddleName} {Model.Passenger.Surname}") </p> <div> You have reserved ticket for the following flight: <p>Origin: @Model.Flight.Origin</p> <p>Destination: @Model.Flight.Destination</p> <p>Ta...
C# Fundamentals/C# Advanced/Matrices/The Heigan Dance/StartUp.cs
Koceto/SoftUni
2
7060016
using System; using System.Globalization; namespace The_Heigan_Dance { public static class StartUp { public const int RoomWidth = 15; public const int PlagueDamage = 3500; public const int EruptionDamage = 6000; public const int PlayerStartHealth = 18500; public const i...
ZBasicCPU/ZBasicInstance.cs
cessnao3/ZBasicCPU
0
7060017
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZBasicCPU { class ZBasicInstance { static ZBasic.Interpreter interpreter = new ZBasic.Interpreter(); static public ZBasic.Interpreter GetInstance() { ...
simple/01_Admin/Demo.Admin.Web/Controllers/ModulesController.cs
doordie1991/EasyModular
12
7060018
using EasyModular.Auth; using EasyModular.Utils; using Demo.Admin.Application; using Demo.Admin.Application.ModulesService; using Demo.Admin.Domain; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; using System; using System.Collections.Generic; us...
src/MikoIam.Workflows.Engine/WorkflowExtensions.cs
mikoiam/masstransit-workflows
0
7060019
using System; namespace MikoIam.Workflows.Engine { public static class WorkflowExtensions { public static WorkflowTask<TWfContext> CreateTask<TWfContext>( this Workflow<TWfContext> workflow, string taskId, Action<TWfContext> action) where TWfContext : new() { return new ...
ImageEditor/PaletteDialog.cs
aurigma/WinControls
1
7060021
// Copyright (c) 2018 Aurigma Inc. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace Main { public class PaletteDialog : System.Windows.Forms.Form { #region " Windows Form Designer generated code " public Pale...
sharpmake/common_project.sharpmake.cs
jgavert/redesigned-giggle
0
7060022
<filename>sharpmake/common_project.sharpmake.cs using System.IO; using Sharpmake; // Both the library and the executable can share these base settings, so create // a base class for both projects. namespace CoroutineStealer { abstract class CommonProject : Project { public string ProjectBasePath = @"[p...
InedoCore/InedoExtension/VariableFunctions/Servers/AllEnvironmentsVariableFunction.cs
Inedo/inedox-inedocore
8
7060023
<gh_stars>1-10 using System.Collections; using System.ComponentModel; using System.Linq; using Inedo.Documentation; using Inedo.Extensibility; using Inedo.Extensibility.VariableFunctions; namespace Inedo.Extensions.VariableFunctions.Server { [ScriptAlias("AllEnvironments")] [Description("Returns a l...
StopInstanceOptions.cs
Udo-usis/usis.Data.LocalDb
3
7060024
<filename>StopInstanceOptions.cs // // @(#) StopInstanceOptions.cs // // Project: usis.Data.LocalDb // System: Microsoft Visual Studio 2019 // Author: <NAME> // // Copyright (c) 2018,2019 usis GmbH. All rights reserved. using System; namespace usis.Data.LocalDb { // ----------------...
Application/FireRTC Caller ID Changer/AboutForm.cs
ccman32/FireRTCCallerIDChanger
10
7060025
using System.Windows.Forms; namespace FireRTC_Caller_ID_Changer { public partial class AboutForm : Form { public AboutForm() { InitializeComponent(); versionLabel.Text = string.Format("Version {0}", Application.ProductVersion); } } }
ThetaNetCore/Wifi/Response/InfoResponse.cs
rysaproject/ThetaNetCore
6
7060026
using System; using System.Runtime.Serialization; namespace ThetaNetCore.Wifi { [DataContract] public class InfoResponse { public enum THETA_MODEL : short { UNSUPPORTED, S, SC, V, Z1 } /// <summary> /// Manufacturer /// </summary> [DataMember(Name = "manufacturer")] public String Manufacturer {...
src/Directory/Biobanks.Web/Models/ADAC/ReadServiceOfferingModel.cs
biobankinguk/biobankinguk
5
7060027
<reponame>biobankinguk/biobankinguk using System; using System.Collections.Generic; using System.Linq; using System.Web; using Biobanks.Web.Models.Shared; namespace Biobanks.Web.Models.ADAC { public class ReadServiceOfferingModel : Shared.ServiceOfferingModel { public int OrganisationCount { get; set;...
src/Moryx.Orders/Documents/WebDocument.cs
dacky179/MORYX-Factory
0
7060028
<reponame>dacky179/MORYX-Factory<filename>src/Moryx.Orders/Documents/WebDocument.cs // Copyright (c) 2021, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using System.IO; using System.Net; using System.Runtime.Serialization; namespace Moryx.Orders.Documents { /// <summary> //...
CSharpAdvance/Matrices - Exercises/Matrices - Exercises/05. RubiksMatrix/RubiksMatrix.cs
PhilipYordanov/Software-University-C-Fundamentals-track
2
7060029
using System; using System.Linq; public class RubiksMatrix { public static void Main() { var rubikParams = Console.ReadLine() .Split(new[] { ' ', ',' }, StringSplitOptions.RemoveEmptyEntries) .Select(int.Parse) .ToArray(); var numberOfCommands = int.Parse(C...
LogUserAction/DI/LogUserActionConfiguration.cs
dnartub/netcore-LogUserAction
0
7060030
using System; using System.Collections.Generic; using System.Net; using System.Net.Http.Headers; using System.Text; using Microsoft.Extensions.DependencyInjection; namespace LogUserAction { public static class LogUserActionConfiguration { /// <summary> /// Add LogUserAction infrastructure to D...
AD3D_DeepEngineMod/BO/Config/DeepEngineConfig.cs
AndreaDev3D/SubnauticaMod
0
7060031
using AD3D_DeepEngineMod; using QModManager.Utility; using SMLHelper.V2.Json; using SMLHelper.V2.Options; using SMLHelper.V2.Options.Attributes; namespace AD3D_DeepEngineMod.BO.Config { [Menu("DeepEngine Settings")] public class DeepEngineConfig : ConfigFile { [Slider("Max Power Allowed", 500, 750...
src/Potato.Core.Shared.Test/Database/TestDatabaseModel.cs
phogue/Potato
5
7060032
<reponame>phogue/Potato<filename>src/Potato.Core.Shared.Test/Database/TestDatabaseModel.cs #region Copyright // Copyright 2014 Myrcon Pty. Ltd. // // 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 Lice...
Styx/Illias/Partly.cs
Vanaheimr/Styx
10
7060033
<reponame>Vanaheimr/Styx /* * Copyright (c) 2010-2021 <NAME> <<EMAIL>> * This file is part of Illias <https://www.github.com/Vanaheimr/Illias> * * 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 Lice...
WebScraping/Views/AnalysisUrl/Index.cshtml
RaimundoLima/WebScraping
1
7060034
<filename>WebScraping/Views/AnalysisUrl/Index.cshtml @model UrlModel @{ ViewData["Title"] = "Altudo"; } <div> <h1 class="display-4">URL Analyzer</h1> @using (Html.BeginForm("AnalysisUrl","AnalysisUrl", FormMethod.Get, new { @name = "frmUrl", id = "frmUrl" })) { @Html.TextBoxFor(modelo => modelo.U...
Analysis/SummaryHandlers/SummaryReaders/CalleeSummaryReader.cs
ravimad/SEAL
1
7060035
<reponame>ravimad/SEAL using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics.Contracts; using System.Diagnostics; using SafetyAnalysis.Util; using SafetyAnalysis.Framework.Graphs; using SafetyAnalysis.Purity; using SafetyAnalysis.TypeUtil; using Syst...
scripts/levels/Level.cs
MiniDigger/ProjectTD-Godot
5
7060036
<filename>scripts/levels/Level.cs using System; using System.Collections.Generic; using Godot; using Godot.Collections; using ProjectTD.scripts.data; using ProjectTD.scripts.screens; using ProjectTD.scripts.wave; using Array = Godot.Collections.Array; namespace ProjectTD.scripts { public class Level : Node2D { [Expo...
SongDataCore/Downloader/CacheableDownloaderHandler.cs
PlasmaPower/BeatSaberSongDataCore
14
7060037
<reponame>PlasmaPower/BeatSaberSongDataCore using UnityEngine.Networking; using System.IO; using System.Security.Cryptography; using System.Text; using System; using UnityEngine; namespace SongDataCore.Downloader { // Modified Version of: // https://github.com/mob-sakai/AssetSystem/blob/master/Assets/Mobcast/...
src/AuctionsApi/Models/Data/Makers.Mongo/DataAuctionMakers.cs
oshmykov/auctionsApi
0
7060039
using AuctionsApi.Models.Data.Impl.Mongo.Documents; using System; using System.Collections.Generic; using System.Linq; namespace AuctionsApi.Models.Data.Makers.Mongo { public class DataAuctionMakers { private static readonly IList<AuctionDoc> auctions = new List<AuctionDoc> { new A...
Assets/Scripts/BehaviorTest.cs
zakyrion/Nexus
0
7060040
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using UnityEngine; using Debug = UnityEngine.Debug; public class BehaviorTest : MonoBehaviour { public static int Count = 1000000; // Start is called before the first frame update private async void Awake() { Core.RunC...
src/Services/Identity/Identity.API/Models/UserViewModel/Login.cs
samuele-cozzi/vueStoreFrontOnContainers
0
7060041
using System.ComponentModel.DataAnnotations; namespace Microsoft.eShopOnContainers.Services.Identity.API.Models.UserViewModel { public class Login { [Required] public string username { get; set; } [Required] public string password { get; set; } } }
ex28datasmedia/Program.cs
CleAurora/CSharp
0
7060042
using System; namespace ex28datasmedia { class Program { static void Main(string[] args) { System.Console.WriteLine("Notas dos alunos"); string [] nomes = new string[2]; string[] sobreNomes = new string[2]; DateTime[] datasNascimentos = new Date...
src/Api/Controllers/v2/ItemsController.cs
raschmitt/.net-core-docker-sample
0
7060044
using System.Threading.Tasks; using Domain.Interfaces.Services; using Microsoft.AspNetCore.Mvc; namespace Api.Controllers.v2 { [ApiController] [ApiVersion("2")] [Route("api/v{version:apiVersion}/[controller]")] public class ItemsController : ControllerBase { private readonly IItemService _i...
GameDLL/Game/Unity/DefaultBounceSurface.cs
RoryDungan/Unity-TDD-Example
8
7060045
using Game.BreakoutGame; using UnityEngine; namespace Game.Unity { /// <summary> /// Wrap our default bounce surface up in a scriptable object so that it can be /// plugged-in elsewhere. /// </summary> public class DefaultBounceSurface : MonoBehaviour, IBounceSurface { BreakoutGame.De...
coderush/Areas/Identity/Pages/Account/ResetPassword.cshtml
newusertesr26/New-Coderush
31
7060046
@page @model ResetPasswordModel @{ ViewData["Title"] = "Reset password"; Layout = null; } <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title> @ViewData...
libraries/GaryPretty.Bot.Builder.Dialogs.Location/PostalAddress.cs
garypretty/botbuilder-dotnet-extensions
3
7060047
<reponame>garypretty/botbuilder-dotnet-extensions namespace GaryPretty.Bot.Builder.Dialogs.Location { public class PostalAddress { /// <summary> /// Gets or sets the formatted address. /// </summary> /// <example>One Microsoft Way, Redmond, WA, United States (98052)</example> ...
TestApplications/SimpleQA/SimpleQA.WebApp/Helpers/PaginationHelper.cs
vtortola/RedisClient
5
7060048
using SimpleQA.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; namespace SimpleQA.WebApp.Helpers { public static class PaginationHelper { public static MvcHtmlString Pagination<T>(this HtmlHelper<T> helper, Int32 pag...
csharp/ex338.cs
sonnypdx/lcoj-ex
0
7060049
<reponame>sonnypdx/lcoj-ex /** Exercise: #338 - Counting Bits Description: Given a non negative integer number *num*. For every numbers *i* in the range 0 *≤ i ≤ num* calculate the number of 1's in their binary representation and return them as an array. Example: For num = 5, it should return [0, 1, 1, 2, 1, 2]. Sourc...
src/MatrixDotNet/Extensions/Determinants/Schur.cs
toor1245/MatrixDotNet
6
7060050
<gh_stars>1-10 using MatrixDotNet.Exceptions; using MatrixDotNet.Extensions.Complement; namespace MatrixDotNet.Extensions.Determinants { public static partial class Determinant { /// <summary> /// Gets determinant by Shur`s complement. /// </summary> /// <param name="matrix">th...
Source/Deployer.Core/Scripting/Functions/DateConventionDirectoryMostRecent.cs
WoA-project/WoA-Deployer
102
7060051
using System; using System.Globalization; using System.IO; using System.Linq; using System.Threading.Tasks; using Deployer.Core.Scripting.Core; using Zafiro.Core.FileSystem; namespace Deployer.Core.Scripting.Functions { public class DateConventionDirectoryMostRecent : DeployerFunction { public DateCon...
src/Core/src/Core/ISearchBar.cs
tondat/maui
0
7060052
<reponame>tondat/maui<gh_stars>0 namespace Microsoft.Maui { /// <summary> /// Represents a View used to initiating a search. /// </summary> public interface ISearchBar : IView, IPlaceholder, ITextAlignment { /// <summary> /// Gets a string containing the query text in the SearchBar. /// </summary> string ...
explorer-backend/src/Services/Core/UtilityService.cs
steel97/veil-explorer
3
7060053
<filename>explorer-backend/src/Services/Core/UtilityService.cs using System.Text.RegularExpressions; namespace ExplorerBackend.Services.Core; public class UtilityService : IUtilityService { private static Regex hexRegex = new("^[A-Fa-f0-9]+$", RegexOptions.Compiled); private static Regex numericRegex = new("^...
projects/Epicycle.Graphics_cs/Color/Spaces/CieXYZUtils.cs
open-epicycle/Epicycle.Graphics-cs
0
7060054
<filename>projects/Epicycle.Graphics_cs/Color/Spaces/CieXYZUtils.cs // [[[[INFO> // Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtai...
DatilClientLibrary/Item.cs
patorey3/link-dotnet
0
7060055
<filename>DatilClientLibrary/Item.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DatilClientLibrary { /// <summary> /// Clase del Item que le pertenece a un comprobante. /// </summary> /// <see cref="Factura"/> public class Item { ...
Udon/Misc/BallBlockerReset.cs
pyralix/VRC-Skee-Ball
11
7060056
 using UdonSharp; using UnityEngine; using VRC.SDKBase; namespace Pyralix.SkeeBall { [UdonBehaviourSyncMode(BehaviourSyncMode.None)] public class BallBlockerReset : UdonSharpBehaviour { [SerializeField] private SkeeballMain SkeeballMain; private int _ballCount; private vo...
TokanPages.Backend/TokanPages.Backend.Cqrs/Handlers/Queries/Content/GetContentQuery.cs
TomaszKandula/TokanPages
2
7060057
namespace TokanPages.Backend.Cqrs.Handlers.Queries.Content { using MediatR; public class GetContentQuery : IRequest<GetContentQueryResult> { public string Type { get; set; } public string Name { get; set; } public string Language { get; set; } } }
libraries/Microsoft.Bot.Streaming/Payloads/Disassemblers/CancelDisassembler.cs
yeze322/botbuilder-dotnet
425
7060058
<reponame>yeze322/botbuilder-dotnet // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; using Microsoft.Bot.Streaming.PayloadTransport; namespace Microsoft.Bot.Streaming.Payloads { /// <summary> /// The <see cref="Payload...
Assets/src code/Legacy/s_save.cs
PixelBrownieSoftware/Bounty-Hunter-III
0
7060059
<filename>Assets/src code/Legacy/s_save.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; /* public class s_save : MonoBehaviour { public GameObject loadedLevel; public GameObject res; GameObject targetLevel; struct save_dat { ...
Magic/Net/Extensions/ValueTypWriteExtensions.cs
rolbeh/magic
1
7060060
using JetBrains.Annotations; // ReSharper disable once CheckNamespace namespace System { public static class ValueTypWriteExtensions { public static void ToBuffer(this Int32 value, byte[] buffer, int offset = 0) { buffer[offset + 3] = (byte)(value >> 24); buffer[offset...
src/cloudscribe.Web.Navigation/ServiceCollectionExtensions.cs
moljac/cloudscribe.Web.Navigation
31
7060061
<gh_stars>10-100 using cloudscribe.Web.Navigation; using cloudscribe.Web.Navigation.Caching; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Microsoft.Extensions.DependencyInj...
diverse/forum-samples/beta-users/Spin2Win/Spin2Win.WP7/MainPage.xaml.cs
moljac/Samples.Xamarin.Forms
6
7060062
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Navigation; using System.Windows.S...
src/Interfaces/InterfaceDelegates/ArgonClient001Delegates.cs
emily33901/Argon
19
7060063
<reponame>emily33901/Argon using System; using System.Runtime.InteropServices; // Autogenerated @ 21/08/18 namespace InterfaceCore { /// <summary> /// Exports the delegates for all interfaces that implement ArgonClient001 /// </summary> [Core.Interface.Delegate(Name = "ArgonClient001")] class Argon...
zoro.one.compiler/vercopytool/Program.cs
gitter-badger/zoro.one
2
7060064
using System; namespace vercopytool { class Program { static void Main(string[] args) { var srcfile = args[0]; var outdir = args[1]; //show version var info = System.Diagnostics.FileVersionInfo.GetVersionInfo(srcfile); Console.WriteL...
Framework/Atf.Gui.Wpf/Models/CommandItem.cs
jethac/ATF
821
7060065
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Primitives; using System.Linq; using System.Windows; using System.Windows....
MvcFramework/MvcFramework.Common/MimeTypes.cs
NaskoVasilev/CSharp-MVC-Framework
2
7060067
namespace MvcFramework.Common { public static class MimeTypes { public const string TextPlain = "text/plain; charset=utf-8"; public const string TextHtml = "text/html; charset=utf-8"; public const string ApplicationJson = "application/json"; public const string ApplicationXml = "application/xml"; } }
HoloLearn-Unity/Assets/MixedRealityToolkit.Extensions/SpectatorView/Scripts/IPlayerService.cs
mennetorelli/HoloLearn
0
7060068
<gh_stars>0 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace Microsoft.MixedReality.SpectatorView { /// <summary> /// Delegate that is called when a new player enters a shared application /// ...
XmlDocTableCli/TexTableWalker.cs
myfreeweb/XmlDocTable
3
7060069
<filename>XmlDocTableCli/TexTableWalker.cs using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace XmlDocTableCli { /// <summary> /// A documentation generator that makes se...
Kata/Kata/KataWindow.xaml.cs
dbpiper/Kata
0
7060070
<filename>Kata/Kata/KataWindow.xaml.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Resources; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using ...
DataAPI.DataStructures/DataSubscription/SubscriptionInfo.cs
mindleaving/dataapi
0
7060071
<gh_stars>0 using System.Collections.Generic; using Newtonsoft.Json; namespace DataAPI.DataStructures.DataSubscription { public class SubscriptionInfo { [JsonConstructor] public SubscriptionInfo( string id, string dataType, List<DataModificationTy...
Scripts/UI/UISide.cs
nikolozc/PathFinderUnity
0
7060072
<reponame>nikolozc/PathFinderUnity<filename>Scripts/UI/UISide.cs using UnityEngine; using Michsky.UI.ModernUIPack; using UnityEngine.EventSystems; using UnityEngine.UI; public class UISide : MonoBehaviour { public HorizontalSelector algoSelector; //horizontal selector that determines which algorithm should run whe...
src/Moryx.AbstractionLayer/Drivers/PickByLight/InstructionConfirmation.cs
MarisaGoergen/MORYX-AbstractionLayer
10
7060073
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using System; namespace Moryx.AbstractionLayer.Drivers.PickByLight { /// <summary> /// Instruction was confirmed /// </summary> public class InstructionConfirmation : EventArgs { /// <sum...
App/Src/LearningTerraform.BusinessLogic/DataAccess/Abstractions/IUnitOfWork.cs
BalazsArva/learning-terraform
0
7060074
<gh_stars>0 using System; using System.Threading.Tasks; namespace LearningTerraform.BusinessLogic.DataAccess.Abstractions { public interface IUnitOfWork : IDisposable { IPetReadRepository PetReadRepository { get; } IPetWriteRepository PetWriteRepository { get; } IOwnerReadRepository O...
InfoDialog.cs
jmark9706/Pinger
0
7060075
<filename>InfoDialog.cs<gh_stars>0 using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace pinger { /// <summary> /// Summary description for InfoDialog. /// </summary> public class InfoDialog : System.Windows.Forms.Form { public int ping_...
TddToolkit/Helpers/Constraints/EqualityOperator/StateBasedUnEqualityMustBeImplementedInTermsOfEqualityOperator.cs
grzesiek-galezowski/tdd-toolkit
12
7060076
<reponame>grzesiek-galezowski/tdd-toolkit<gh_stars>10-100 using TddEbook.TddToolkit.ImplementationDetails; using TddEbook.TddToolkit.ImplementationDetails.Common; using TddEbook.TddToolkit.ImplementationDetails.ConstraintAssertions; using System.Linq; using TddEbook.TddToolkit.ImplementationDetails.ConstraintAssertion...
Sample/PluginAssembly/MyPlugin.cs
lestera/LazyAssemblyLoading
5
7060077
<reponame>lestera/LazyAssemblyLoading using System; using Interfaces; namespace PluginAssembly { [PluginExport("My Plugin", "1.0")] public class MyPlugin : IPlugin { public void Initialize() { Console.WriteLine("{0} initialized!", GetType().FullName); } } }
src/Wave.Extensions.Esri/ESRI/ArcGIS/Geodatabase/Extensions/FeatureExtensions.cs
Jumpercables/Wave
21
7060078
using System; using System.Collections.Generic; using ESRI.ArcGIS.Carto; using ESRI.ArcGIS.Controls; using ESRI.ArcGIS.Display; using ESRI.ArcGIS.esriSystem; using ESRI.ArcGIS.Framework; using ESRI.ArcGIS.Geometry; namespace ESRI.ArcGIS.Geodatabase { /// <summary> /// Provides extension methods for the <...
apps/dotnetcore/Scm.Search/Adc.Scm.Search.Api/Models/ContactSearch.cs
cdennig/container-apps-real-world
2
7060079
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Adc.Scm.Search.Api.Models { public class ContactSearch { public string Phrase { get; set; } public List<string> SearchFields { get; set; } public List<string> SelectFields { get; ...
FileLookout/InfoForm.Designer.cs
PhilippeGagne/filelookout
0
7060080
<filename>FileLookout/InfoForm.Designer.cs namespace FileLookout { partial class InfoForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resource...
Assets/Playcraft/Interaction/IInteractable.cs
Will9371/PDX-GGJ-2021-Playcraft
18
7060081
<reponame>Will9371/PDX-GGJ-2021-Playcraft<filename>Assets/Playcraft/Interaction/IInteractable.cs using UnityEngine; namespace Playcraft { public interface IMessage { void Message(SO value); } public interface ISetObject { void SetObject(GameObject value); } }
DM.DataValidator.Common/Helper/ConsoleHelper.cs
mehulchandroliya/DM.DataValidator
0
7060082
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DM.DataValidator.Common.Helper { public class ConsoleHelper { public static void Error(string message) { Console.BackgroundColor = ConsoleColor....
Tools/CmdTool/Projects/MsBuildProject.cs
git-thinh/CSharpTest.Net-source-v2.12.810.409
0
7060083
#region Copyright 2010-2012 by <NAME>, Licensed under the Apache License, Version 2.0 /* 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 * ...
sample/UUAC.WebApp/Features/Home/Login.cshtml
wantaotao1994/Vulcan
2
7060084
@{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width"/> <link rel="stylesheet" href="~/css/bootstrap.min.css" type="text/css"/> <link rel="stylesheet" href="~/css/font-awesome.min.css" type="text/css" /> <title></title> <style> html, body {...
Framework/Zerra.Test/Models/MapTest.ModelA.cs
szawaski/Zerra
5
7060085
// Copyright © KaKush LLC // Written By <NAME> // Licensed to you under the MIT license using System.Collections.Generic; namespace Zerra.Test { public partial class MapTest { public class ModelA { public int PropA { get; set; } public int PropC { get; set; } ...
Chronograph/Chronograph/Session.cs
drwill/mash
6
7060086
<reponame>drwill/mash using System; namespace Mash.Chronograph { /// <summary> /// chrono capture statistics for a session of lap times /// </summary> public class Session { /// <summary> /// The name of the chronograph /// </summary> public string Name { get; inter...
blqw.MIS/Api/ApiPropertyAttribute.cs
blqw/blqw.UIF
0
7060087
using System; namespace blqw.MIS { /// <summary> /// 表示API属性 /// </summary> [AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = false)] public sealed class ApiPropertyAttribute : Attribute, IApiAttribute { /// <summary> /// 初始化接口特性 /// </summar...
Mail/ChinaUnion_DataAccess/AgentContactDao.cs
ZhouAnPing/Mail
1
7060088
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using MySql.Data.MySqlClient; using ChinaUnion_BO; using ChinaUnion_DataAccess.Properties; namespace ChinaUnion_DataAccess { public class AgentContactDao { public const string mysqlConnection = DBConstant.mysqlCon...
gamepad-intercepts/GamePad Intercepts/Source/UserControls/WifiSetup/WifiSetupProgressUserControl.cs
linoagli/gamepad-intercepts
1
7060089
<filename>gamepad-intercepts/GamePad Intercepts/Source/UserControls/WifiSetup/WifiSetupProgressUserControl.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Fo...
src/ChiquinhoTec.GerenciadorContratacao.Graphql/Schema/InterviewSchema/InterviewMutationType.cs
boflynn/ChiquinhoTec
2
7060090
using ChiquinhoTec.GerenciadorContratacao.Domain.Commands; using ChiquinhoTec.GerenciadorContratacao.Domain.Entities; using ChiquinhoTec.GerenciadorContratacao.Domain.Interfaces.Services; using GraphQL; using GraphQL.Types; using System; using System.Linq; namespace ChiquinhoTec.GerenciadorContratacao.Graphql.Schema....
src/TheFlow/CoreConcepts/HandleResult.cs
ElemarJR/TheFlow
81
7060091
<filename>src/TheFlow/CoreConcepts/HandleResult.cs using System; using System.Collections.Generic; namespace TheFlow.CoreConcepts { public class HandleResult { public Guid ProcessModelId { get; } public Guid ProcessInstanceId { get; } public IEnumerable<Guid> AffectedTokens { get; } ...
pkgdiff.tests/TestTextFileReader.cs
fluffynuts/pkgdiff
0
7060092
<filename>pkgdiff.tests/TestTextFileReader.cs<gh_stars>0 using System.Text; using NUnit.Framework; using PeanutButter.Utils; using static PeanutButter.RandomGenerators.RandomValueGen; namespace pkgdiff.tests { [TestFixture] public class TestTextFileReader: AssertionHelper { [Test] public vo...
src/Dsp.Web/Areas/Members/Models/RosterIndexModel.cs
deltasig/sphinx
0
7060093
namespace Dsp.Web.Areas.Members.Models { using Dsp.Data.Entities; using System.Collections.Generic; using System.Web.Mvc; public class RosterIndexModel { public int SelectedSemester { get; set; } public Semester Semester { get; set; } public IEnumerable<SelectListItem> Seme...
tests/ShareCounts/LinkedInTests.cs
dotnetgeek/shariff-backend-dotnet
0
7060094
using System; using System.Net.Http; using System.Threading.Tasks; using Flurl.Http.Testing; using Shariff.Backend.ShareCounts; using Xunit; using Moq; using Microsoft.Extensions.Logging; namespace Shariff.Backend.Tests.ShareCounts { public class LinkedInTests { [Fact] public async Task Shoul...
src/CodeGenerator/TypedAutobahn.CodeGenerator/TypedAutobahn.CodeGenerator/ContractGenerator.cs
darkl/TypedAutobahn
4
7060095
<reponame>darkl/TypedAutobahn using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace TypedAutobahn.CodeGenerator { internal class ContractGenerator { private readonly ContractMapper mMapper; private readonly ContractType mContractType; pri...
C#/Arrays As Objects/ArraysAsObjects.cs
dipakpawar152000/programming
33
7060096
using System; namespace Programming { class ArraysAsObjects { static void Main(string[] args) { int[] numbersArray = { 1, 2, 3, 4, 5 }; Console.WriteLine("numbersArray:"); foreach (int i in numbersArray) { Console.WriteLine(i); ...
Assets/UnityXD/Editor/XDLayout.cs
mossyblog/UnityXD
0
7060097
<gh_stars>0 using UnityEditor; using UnityEngine; namespace UnityXD.Editor { public class XDLayout : GUI.Scope { public XDLayout(params GUILayoutOption[] options) { Rect = EditorGUILayout.BeginVertical(options); } public XDLayout(bool isHorizontal, params GUILayoutO...
sdk/machinelearningservices/Azure.ResourceManager.MachineLearningServices/src/Generated/Models/EnvironmentImageRequestEnvironment.cs
gjy5885/azure-sdk-for-net
3,268
7060098
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.ResourceManager.MachineLearningServices.Models { /// <summary> The details of the AZURE ML environment. </summary> public partial class EnvironmentImageReques...
tests/JacksonVeroneze.CatalogService.Common/Integration/TestApiResponseError.cs
jacksonveroneze/catalog-service
0
7060099
<filename>tests/JacksonVeroneze.CatalogService.Common/Integration/TestApiResponseError.cs using System.Collections.Generic; using System.Net.Http; using JacksonVeroneze.NET.Commons.Notifications; namespace JacksonVeroneze.CatalogService.Common.Integration { public abstract class TestApiResponseError { ...
Assets/CameraMovementTest.cs
LeSphax/HermitHome
0
7060100
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraMovementTest : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { var speed = Input.GetButto...