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
csharp/LanderNet.Game.Tests/CollisionTests.cs
kefir0/LanderNet
3
7056273
using LanderNet.Game.Components; using LanderNet.Game.GameObject; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LanderNet.Game.Tests { [TestClass] public class CollisionTests { #region public methods [TestMethod] public void TestCollisionDetection() { ...
test/Microsoft.AspNetCore.Mvc.Acceptance.Tests/Mvc/ByNamespace/Controllers/V2/OrdersController.cs
wangpengzong/aspnet-api-versioning
1,248
7056274
<reponame>wangpengzong/aspnet-api-versioning<gh_stars>1000+ namespace Microsoft.AspNetCore.Mvc.ByNamespace.Controllers.V2 { using Microsoft.AspNetCore.Mvc.ByNamespace.Models; using System; [ApiController] [Route( "api/[controller]" )] public class OrdersController : V1.OrdersController { ...
Assets/EditorSandbox/Scripts/Sandbox.cs
SpiralBlack15/UnityEditorSandbox
0
7056275
<gh_stars>0 // ********************************************************************************* // The MIT License (MIT) // Copyright (c) 2020 SpiralBlack https://github.com/SpiralBlack15 // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR...
src/Auction.WebApi/Authorization/Requirements/OwnerOfUserIdRequirementHandler.cs
Zankomag/AuctionApi
0
7056277
<gh_stars>0 using System.Threading.Tasks; using Auction.WebApi.Authorization.Abstractions; using Auction.WebApi.Authorization.Types; using Microsoft.AspNetCore.Authorization; // ReSharper disable InheritdocConsiderUsage namespace Auction.WebApi.Authorization.Requirements { /// <summary> /// Policy requirement...
Sklep_test_2/Sklep_test_2/Cart.cs
rudek1212/Sklep
0
7056278
using System; using System.Collections.Generic; using System.Linq; namespace Sklep_test_2 { /// <summary> /// Koszyk będący wzorcem do dalszego zamówienia. /// </summary> internal class Cart { public List<Item> list = new List<Item>(); //logika odpowiedzialna za d...
DTE2802/ProjectREST/ProjectREST/Models/Entities/ApplicationUser.cs
Unicron2k/dte_bsc
0
7056279
<gh_stars>0 using System.Collections.Generic; using Microsoft.AspNetCore.Identity; namespace ProjectREST.Models.Entities { public class ApplicationUser : IdentityUser { public virtual List<Blog> SubscribedBlogs { get; set; } } }
AwesomeMvcDemo/AwesomeMvcDemo/Views/MultiLookupDemo/Misc.cshtml
kansiris/AwesomeMvc
0
7056280
<reponame>kansiris/AwesomeMvc @model AwesomeMvcDemo.ViewModels.Input.MultiLookupDemoInput @using AwesomeMvcDemo.Controllers.Awesome.MultiLookup @using AwesomeMvcDemo.Models @{ ViewBag.Title = "MultiLookup Demo Misc"; } <div class="demosec"> <h3>MultiLookup Grid</h3> <div class="efield"> <div class=...
src/Bicep.Core/Registry/OciModuleRegistry.cs
emilguden/bicep
0
7056281
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Azure.Identity; using Bicep.Core.Diagnostics; using Bicep.Core.Features; using Bicep.Core.FileSystem; using Bicep.Core.Modules; using Bicep.Core.Registry.Oci; using Bicep.Core.Tracing; using System; using System.Collections.Generic; using...
HMagicShell/CPluginCreateInfo.cs
dybb8999/HMagicShell
2
7056282
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HMagicShell { class CPluginCreateInfo { public CWebShellInfo WebShellInfo { get; set; } public string Plugin { get; set; } } }
Raindrops.UI.WebView/Miniblink/Event/RunJsEventArgs.cs
TKKChina/Raindrops.UI.WebView
31
7056283
using System; using Raindrops.UI.WebView.Miniblink; using Raindrops.UI.WebView.Miniblink.PInvoke; using Raindrops.UI.WebView.Miniblink.PInvoke.Handle; namespace Raindrops.UI.WebView.Miniblink.Event { public class RunJsEventArgs : EventArgs { [Map(Name = "webView")] public mbWebView WebView { g...
Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/RetailEodTransactionAggregationHeaderPostingStatus.cs
NathanClouseAX/AAXDataEntityPerfTest
1
7056284
<filename>Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/RetailEodTransactionAggregationHeaderPostingStatus.cs //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // ...
01Basics/03ConditionalStatementsAdvanced/ConditionalStatementsAdvanced/StartUp.cs
NIKONaaaaa/Basic
0
7056285
namespace DayOfWeek { using System; class StartUp { static void Main(string[] args) { int dayNumber = int.Parse(Console.ReadLine()); string dayName = ""; switch (dayNumber) { case 1: dayName = "Monday"; ...
Edc.Infrastructure.DataAccess/Repositories/DocumentRepository.cs
gerinka/EnhancedDocumentCreator
1
7056286
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Edc.Infrastructure.DataAccess.Interfaces; using MtcModel; namespace Edc.Infrastructure.DataAccess.Repositories { public class DocumentRepository : BaseRepository<DOCUMENT>, IDocumentRepository...
DoubleDoubleComplexTest/Complex/ComplexFunctionTests.cs
tk-yoshimura/DoubleDoubleComplex
0
7056287
using DoubleDoubleComplex; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DoubleDoubleComplexTests { using NComplex = System.Numerics.Complex; [TestClass()] public class ComplexFunctionTests { [TestMethod()] public void InverseTest() { foreach (Complex z in new[...
Protogame.Docs/walkthrough/snippet/add_a_player_entity_factory_interface.cs
yurisouza/Protogame
163
7056288
using System; using Protoinject; namespace MyGame { public interface IEntityFactory : IGenerateFactory { ExampleEntity CreateExampleEntity(string name); PlayerEntity CreatePlayerEntity(); } }
TeamCity.MSBuild.Logger/EventHandlers/ProjectFinishedHandler.cs
gokul59/teamcity-msbuild-logger
10
7056289
<filename>TeamCity.MSBuild.Logger/EventHandlers/ProjectFinishedHandler.cs namespace TeamCity.MSBuild.Logger.EventHandlers { using System; using JetBrains.Annotations; using Microsoft.Build.Framework; // ReSharper disable once ClassNeverInstantiated.Global internal class ProjectFinishedHandler : IB...
HaloOnline.Server.Model/TitleResource/GetTitleTagsPatchConfigurationRequest.cs
no1dead/HaloOnlineServer
0
7056290
using Newtonsoft.Json; namespace HaloOnline.Server.Model.TitleResource { public class GetTitleTagsPatchConfigurationRequest { [JsonProperty(PropertyName = "combinationHash")] public string CombinationHash { get; set; } } }
Source/Web/SmartConnect.Web.Areas/Admin/Quotes/AdminQuotesAreaRegistration.cs
vassildinev/Smart-Connect
1
7056291
namespace SmartConnect.Web.Areas.Admin.Quotes { using System.Web.Mvc; public class AdminQuotesAreaRegistration : AreaRegistration { public override string AreaName => "Admin/Quotes"; public override void RegisterArea(AreaRegistrationContext context) { context.MapRo...
ld39/Assets/_Scripts/GameRunner.cs
Kerr1291/ld39
0
7056292
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; public class GameRunner : MonoBehaviour { public TextMesh scoreText; public TextMesh timeRemainingText; public List<Module> allModules; public float levelTime; //public float minEventTime; //p...
iClient60ForWinRT/SuperMap.WinRT/Actions/ZoomIn.cs
SuperMap/iClient-for-Win8
2
7056293
using System.Windows.Input; using SuperMap.WinRT.Core; using SuperMap.WinRT.Mapping; namespace SuperMap.WinRT.Actions { /// <summary> /// <para>${ui_action_ZoomIn_Title}。</para> /// <para>${ui_action_ZoomIn_Description_sl}</para> /// </summary> /// <seealso cref="DrawRectangle">DrawRectangle Cla...
src/Day02/PasswordValidationLogic.cs
david1995/AdventOfCode2020
0
7056294
using System.Linq; namespace Day02 { public class PasswordValidationLogic : IPasswordValidationLogic { private readonly IInputParser _inputParser; private readonly IPasswordValidator _passwordValidator; public PasswordValidationLogic(IInputParser inputParser, IPasswordValidato...
ExampleODataFromDocumentDb/Models/Car.cs
nkinnan/DocumentDbExtensions
1
7056295
<filename>ExampleODataFromDocumentDb/Models/Car.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; using System.IO; using System.IO.Compression; using System.Reflection; using System.Runtime.Serialization; using System.Text; using Syst...
src/Extensions/Senparc.Xncf.XncfBuilder/Senparc.Xncf.XncfBuilder.Template/templates/template1/Domain/Models/MultipleDatabase/Template_XncfNameSenparcEntities_SqlServer.cs
wqzgh/NcfPackageSources
50
7056296
<gh_stars>10-100  using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Senparc.Ncf.Database; using Senparc.Ncf.Core.Models; using Senparc.Ncf.XncfBase.Database; using System; using System.IO; using Template_OrgName.Xncf.Template_XncfName.Models.DatabaseModel; namespace Template_O...
DeveImageOptimizer.Tests/FileProcessing/ImageLoadTests.cs
devedse/DeveImageOptimizer
7
7056297
<gh_stars>1-10 using DeveImageOptimizer.Helpers; using ExifLibrary; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; using System.IO; using System.Linq; using Xunit; namespace DeveImageOptimizer.Tests.FileProcessing { public class ImageLoadTests { [Fact] public void Correct...
HastaneProgrami/Views/Muayene/Index.cshtml
FurkanAltintas/Hospital_Management_System
0
7056298
<reponame>FurkanAltintas/Hospital_Management_System<filename>HastaneProgrami/Views/Muayene/Index.cshtml @using HastaneProgrami.Models.Entity_Framework @model List<muayene> @{ Layout = "~/Views/Shared/_LayoutAdmin.cshtml"; } <div> <table id="muayene" class="table table-bordered table-hover text-center"> ...
SimulacionDeTestMasiva/SimulacionSuperMasiva/SimSuperMasiva.Designer.cs
diegolarrosa/Test-covid-19-super-masivo
0
7056299
<reponame>diegolarrosa/Test-covid-19-super-masivo<gh_stars>0 namespace SimulacionSuperMasiva { partial class SimSuperMasiva { /// <summary> /// Variable del diseñador necesaria. /// </summary> private System.ComponentModel.IContainer components = null; /// <sum...
GovernCMSWeb/Azure/BlobUtils.cs
ptenn/govern-cms
0
7056300
<reponame>ptenn/govern-cms<gh_stars>0 using System; using System.IO; using System.Threading.Tasks; using System.Web; using log4net; using Microsoft.WindowsAzure.Storage.Blob; namespace GovernCMS.Azure { public static class BlobUtils { private static ILog logger = LogManager.GetLogger(typeof(BlobUtils)...
src/TomatoLog.Server/Startup.cs
lianggx/TomatoLog
59
7056301
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using NLog.Extensions.Logging; using System; using System.Collections.Generic; using S...
MyPad/ViewModels/Dialogs/ChangeSyntaxDialogViewModel.cs
kawasawa/mypad.netcore
1
7056302
using MyPad.Models; using Prism.Services.Dialogs; using Reactive.Bindings; using Reactive.Bindings.Extensions; using Unity; namespace MyPad.ViewModels.Dialogs; /// <summary> /// <see cref="Views.Dialogs.ChangeSyntaxDialog"/> に対応する ViewModel を表します。 /// </summary> public class ChangeSyntaxDialogViewModel : DialogViewM...
InboundExtensions.Tests/ConsoleLogger.cs
RabaGhast/InRiverJS
0
7056303
using inRiver.Remoting.Extension; using System; using inRiver.Remoting.Log; namespace InboundExtension.Tests { public class ConsoleLogger : IExtensionLog { public void Log(LogLevel level, string message) { Console.WriteLine($"{level}: {message}"); } public void Log(...
Models/Area.cs
raihanM95/city-problem-solver
2
7056304
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace CityProblemSolver.Models { public class Area { public int ID { get; set; } [Required] [StringLength(10)] public string Name {...
src/AElf.OS.Core/Node/Application/GenesisSmartContractDto.cs
wikiluo/AElf
948
7056305
<gh_stars>100-1000 using System.Collections.Generic; using AElf.Kernel.SmartContract.Application; using AElf.Types; namespace AElf.OS.Node.Application { public class GenesisSmartContractDto { public byte[] Code { get; set; } public Hash SystemSmartContractName { get; set; } public List...
MyFirstProject/Assets/Spin.cs
django83/unityFirstProjects
0
7056306
<reponame>django83/unityFirstProjects using UnityEngine; using System.Collections; public class Spin : MonoBehaviour { public float rotatingSpeed = 3.0f; // Use this for initialization void Start () { Debug.Log("Spinning Started!"); } // Update is called once per frame void Update () { De...
EXAMS/Programming Basics Exam - 19 March 2017 - Evening/Problem 02 - Styrofoam/Program.cs
PavelIvanov96/Programming-Basics-C-Sharp
0
7056307
<reponame>PavelIvanov96/Programming-Basics-C-Sharp using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02.Styrofoam { class Program { static void Main(string[] args) { double budget = double.Parse(Console.Re...
CDesktopWallper/Hooking/LoggingHooking.cs
cuongtm93/CDesktopWallper
0
7056308
<reponame>cuongtm93/CDesktopWallper using NConcern; using Ninject; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace CDesktopWallper { class LoggingHooking : IApplicationHooking { public void Start() ...
countDownBackEnd/Countdown ASP.NET/Models/Product.cs
qelbert/CountdownLiftOffGroupProject
2
7056309
<reponame>qelbert/CountdownLiftOffGroupProject using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; using System.Dynamic; using Countdown_ASP.NET.Controllers; namespace Countdown_ASP.NET.Models { public class Product : UniqueEntity ...
SipperLibrary/Model/ResultImageOutputter.cs
PNNL-Comp-Mass-Spec/Sipper
2
7056310
using System; using System.ComponentModel; using System.IO; using System.Linq; using DeconTools.Backend; using DeconTools.Backend.Core; using DeconTools.Backend.Data; using DeconTools.Backend.Runs; using DeconTools.Backend.Utilities.IsotopeDistributionCalculation; using DeconTools.Backend.Workflows; using De...
src/Synapse/Synapse/Commands/ManagementCommands/Auditing/SynapseWorkspaceAuditCmdlet.cs
mbentancour/azure-powershell
3,336
7056311
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
src/LionFire.Hosting/Structures/NamedSingletons/NamedSingletonProviderOptionsExtensions.cs
jaredthirsk/LionFire.Core
0
7056312
<filename>src/LionFire.Hosting/Structures/NamedSingletons/NamedSingletonProviderOptionsExtensions.cs #nullable enable using System.Linq; namespace LionFire.Structures { public static class NamedSingletonProviderOptionsExtensions { public static object[] Augment<TItem>(this NamedSingletonProviderOption...
LiveSplit/LiveSplit.Core/UI/Components/ILayoutComponent.cs
glacials/LiveSplit
0
7056313
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LiveSplit.UI.Components { public interface ILayoutComponent { String Path { get; set; } IComponent Component { get; set; } } }
Assets/Oculus/Interaction/Runtime/Scripts/Input/Hands/DataModifiers/JointRotationHistoryModifier.cs
studentutu/interaction_urp
12
7056314
/************************************************************************************ Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. Your use of this SDK or tool is subject to the Oculus SDK License Agreement, available at https://developer.oculus.com/licenses/oculussdk/ ...
src/LagoVista.Simulator/App.xaml.cs
LagoVista/Simulator
0
7056315
<gh_stars>0 //#define ENV_LOCAL #define ENV_DEV //#define ENV_TEST //#define ENV_PROD using LagoVista.Client.Core; using LagoVista.Client.Core.Models; using LagoVista.Client.Core.ViewModels; using LagoVista.Core.Interfaces; using LagoVista.Core.IOC; using LagoVista.Core.ViewModels; using LagoVista.Simulator.Core.View...
Online_Store_Tests/Commands/FeedbackCommands/ListFeedbacksCommandTests/Execute_Should.cs
Indeavr/Online-Store
0
7056316
<filename>Online_Store_Tests/Commands/FeedbackCommands/ListFeedbacksCommandTests/Execute_Should.cs using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Online_Store.Commands; using Online_Store.Commands.FeedbackCommands; using Online_Store.Core.Providers; using Online_Store.Data; using Online_Store.Mod...
SaveAndPlay/UI/Controls/MediasControl.xaml.cs
rlecole/SaveAndPlay
2
7056317
#region Apache License, Version 2.0 // 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, V...
Palmtree.Math/Formatter/HexaDecimalBaseNumberInfo.cs
rougemeilland/palmtreemath
0
7056318
<reponame>rougemeilland/palmtreemath /* HexaDecimalBaseNumberInfo.cs Copyright (c) 2017 Palmtree Software This software is released under the MIT License. https://opensource.org/licenses/MIT */ using System.Diagnostics; using Palmtree.Math.Implements; namespace Palmtree.Math.Formatter { /// <summary> ...
GreenPeople/Green_People/Entidades/Usuario.cs
JVMarks/GreenPeople
1
7056319
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace Green_People.Entidades { public class Usuario { public int id { get; set; } [Required] public string Nome { get; set; } [StringL...
EssentialCore/Assets/Essential/Core/Scripts/UI/Table/TableEditor.cs
lars-wobus/unity-essential-core
0
7056320
<reponame>lars-wobus/unity-essential-core using System.Collections.Generic; using System.Linq; using Essential.Core.UI.Table.Data; using Essential.Core.UI.Table.Interfaces; using UnityEngine; namespace Essential.Core.UI.Table { public class TableEditor : MonoBehaviour { private const int MaxDepth = 10...
EWSTraceListener.cs
David-Barrett-MS/EWS-Sample-Code
0
7056321
<reponame>David-Barrett-MS/EWS-Sample-Code /* * By <NAME>, Microsoft Ltd. 2016-2021. Use at your own risk. No warranties are given. * * DISCLAIMER: * THIS CODE IS SAMPLE CODE. THESE SAMPLES ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. * MICROSOFT FURTHER DISCLAIMS ALL IMPLIED WARRANTIES INCLUDING WITHOUT LI...
src/Czar.Cms.Test.Xunit/GeneratorTest.cs
1961117443/Czar.Cms
0
7056322
<reponame>1961117443/Czar.Cms using Czar.Cms.Core.CodeGenerator; using Czar.Cms.Core.Models; using Czar.Cms.Core.Options; using Czar.Cms.IRepository; using Czar.Cms.Models; using Czar.Cms.Repository.SqlServer; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using...
Reports/TotalSalesReport.cs
MatteoPiovanelli-Laser/Nwazet.Commerce
32
7056323
using System.Collections.Generic; using System.Linq; using Nwazet.Commerce.Models; using Nwazet.Commerce.Models.Reporting; using Orchard.ContentManagement; using Orchard.Environment.Extensions; namespace Nwazet.Commerce.Reports { [OrchardFeature("Nwazet.Reports")] public class TotalSalesReport : Base...
MonoGame/SMLimitless/SMLimitless/Sounds/SoundManager.cs
smldev/smlimitless
3
7056324
<reponame>smldev/smlimitless<filename>MonoGame/SMLimitless/SMLimitless/Sounds/SoundManager.cs<gh_stars>1-10 //----------------------------------------------------------------------- // <copyright file="SoundManager.cs" company="The Limitless Development Team"> // Copyrighted under the MIT Public License. // </copy...
src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeExtensionData.gen.cs
qhdwight/silk-net
1,142
7056325
<filename>src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeExtensionData.gen.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System...
C# Advanced 2019/6.Defining_Classes/EXRC-Family_Tree/StartUp.cs
bodyquest/SoftwareUniversity-Bulgaria
2
7056326
using System; using System.Collections.Generic; using System.Linq; namespace EXRC_Family_Tree { public class Program { static void Main() { List<Relation> relations = new List<Relation>(); List<Person> peopleInfo = new List<Person>(); string input = Console....
common/src/Extensions/UriExtensions.cs
voicebridge/most
3
7056328
using System; using System.Collections.Generic; using System.Text; namespace VoiceBridge.Common.Extensions { /// <summary> /// Extenstions methods for System.Uri /// </summary> public static class UriExtensions { /// <summary> /// Convert this Uri to a SecureUrl /// </summa...
src/Alipay.AopSdk/Response/AlipayEbppInvoiceMerchantlistEnterApplyResponse.cs
ArcherTrister/LeXun.Alipay.AopSdk
4
7056329
<gh_stars>1-10 using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Response { /// <summary> /// AlipayEbppInvoiceMerchantlistEnterApplyResponse. /// </summary> public class AlipayEbppInvoiceMerchantlistEnterApplyResponse : AopResponse { } }
EntryExSample/EntryExSample/EntryExSample.iOS/Renderers/EntryExRenderer.cs
gagikkyurkchyan/xamarin-samples
20
7056330
<filename>EntryExSample/EntryExSample/EntryExSample.iOS/Renderers/EntryExRenderer.cs<gh_stars>10-100 using System; using CoreGraphics; using EntryExSample.Controls; using EntryExSample.iOS.Renderers; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(EntryEx), typeof(...
DIGNDB.App.SmitteStop.Core/Helpers/DateTimeExtension.cs
folkehelseinstituttet/Fhi.Smittestopp.Backend
49
7056331
using System; namespace DIGNDB.App.SmitteStop.Core.Helpers { public static class DateTimeExtension { public static DateTime ChangeTime(this DateTime dateTime, int hour) { return new DateTime( dateTime.Year, dateTime.Month, dateTime.Da...
GeneralMods/StardustCore/UIUtilities/SpriteFonts/Fonts/GenericFont.cs
atravita-mods/Stardew_Valley_Mods
36
7056332
using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Xna.Framework; using StardustCore.UIUtilities.SpriteFonts.CharacterSheets; using StardustCore.UIUtilities.SpriteFonts.Components; namespace StardustCore.UIUtilities.SpriteFonts.Fonts { public class GenericFont { publi...
Hungabor01Website/Hungabor01Website/Startup.cs
hungabor01/Hungabor01Website
0
7056333
using Hungabor01Website.StartupConfiguration; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Authorization; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyIn...
src/Blun.AspNet.Identity.RavenDB/Entity/IdentityRole.cs
BLun78/BLun.AspNet.Identity.RavenDB
0
7056334
<filename>src/Blun.AspNet.Identity.RavenDB/Entity/IdentityRole.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using RavenDB.AspNet.Identity; namespace Blun.AspNet.Identity.RavenDB { public class IdentityRole :...
ahbsd.lib.Nutrients/Data/NutritionData.cs
Alexandra-Hermann-BSD/ahbsd.lib.Nutrients
0
7056335
<reponame>Alexandra-Hermann-BSD/ahbsd.lib.Nutrients<filename>ahbsd.lib.Nutrients/Data/NutritionData.cs // // Copyright 2021 <NAME> – Beratung, Software, Design // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
src/Microsoft/Silk.NET.Direct3D11/Enums/ShaderType.gen.cs
storm32600/Silk.NET
0
7056336
<gh_stars>0 // This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.Direct3D11 { [NativeName("Name", "D3D11_SHADER_TYPE")...
syncservertrigger/syncservertrigger/commands/ServerCmd.cs
PlasticSCM/syncservertrigger
3
7056337
<filename>syncservertrigger/syncservertrigger/commands/ServerCmd.cs<gh_stars>1-10 using System; using System.Collections.Generic; using Codice.SyncServerTrigger.Configuration; namespace Codice.SyncServerTrigger.Commands { internal class ServerCmd : ICmd { string ICmd.Help { get { return HELP; } } ...
IoTDeviceReader/IoTDeviceReader/Functions/ProcessReadings.cs
willvelida/IoT-Device-Reader
1
7056338
<filename>IoTDeviceReader/IoTDeviceReader/Functions/ProcessReadings.cs using IoTDeviceReader.Models; using IoTDeviceReader.Repositories; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using System; using System.Threading.Tasks; namespace IoTDeviceReader.Functions { public...
MockWebApi/Routing/RouteGraphMatcher.cs
mnemonic-bit/MockWebApi
1
7056339
using MockWebApi.Extension; using System; using System.Collections.Generic; using System.Linq; namespace MockWebApi.Routing { public class RouteGraphMatcher<TInfo> : IRouteMatcher<TInfo> where TInfo : class { private readonly IRouteParser _routeParser; private readonly RouteGraphNode...
Assets/EditorScript/Controller/Service/WwwService/Request/Path/GetPaths.cs
kicholen/GamePrototype
0
7056340
using Newtonsoft.Json; using System.Collections.Generic; public class GetPaths : WwwRequest { public List<PathModel> Paths; public GetPaths() { urlData.Add("paths/all"); } public override void ParseResult() { Paths = JsonConvert.DeserializeObject<List<PathModel>>(result)...
Assets/Scripts/GameLobby/PlayerListLoader.cs
Subterfuge-Revived/Revived-Frontend
3
7056341
<reponame>Subterfuge-Revived/Revived-Frontend<filename>Assets/Scripts/GameLobby/PlayerListLoader.cs using SubterfugeRemakeService; using UnityEngine; namespace Rooms.Multiplayer.GameLobby { public class PlayerListLoader : MonoBehaviour { public GameObject scrollContent; public PlayerProfile sc...
JsonDirectorySerializer/JsonDirectoryToClassDeserializer.cs
fredatgithub/SpreadsheetSerializer
0
7056342
using Newtonsoft.Json; namespace JsonDirectorySerializer { public class JsonDirectoryToClassDeserializer<T> { public T Deserialize(string jsonDirectoryPath) { return JsonConvert.DeserializeObject<T>(new JsonDirectoryToStringDeserializer().Deserialize(jsonDirectoryPath)); } ...
source/SqlServerReportRunner/Reporting/Writers/AbstractReportWriter.cs
mrsalmon1976/SqlServerReportRunner
0
7056343
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlServerReportRunner.Models; namespace SqlServerReportRunner.Reporting.Writers { public abstract class AbstractReportWriter : IReportWriter { public string File...
Assets/PlayerController.cs
a-tharva/Dimentional-jump
1
7056344
<reponame>a-tharva/Dimentional-jump<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PlayerController : MonoBehaviour { public Rigidbody2D rb; public int gems = 0; [SerializeField] private Text gemstext; privat...
Programming Fundamentals/C# Intro and Basic Syntax - Exercises/IntrondBasicSyntaxExercises/Program.cs
gzaxariev/Technologies-Fundamentals
1
7056345
<gh_stars>1-10 using System; namespace DebitCardNumber { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int j = int.Parse(Console.ReadLine()); int k = int.Parse(Console.ReadLine()); int m = int.Parse(Cons...
LANSearch/Data/Server/ServerManager.cs
hiiru/LANSearch
0
7056346
<filename>LANSearch/Data/Server/ServerManager.cs using LANSearch.Data.Jobs.Ftp; using LANSearch.Data.Redis; using LANSearch.Data.User; using LANSearch.Models.Server; using Nancy; using System; using System.Collections.Generic; using System.Linq; namespace LANSearch.Data.Server { public class ServerManager { ...
FindMyTutor/Web/FindMyTutor.Web/ViewModels/HomeView/HomeViewModel.cs
dilyanaGl/FindMyTutor
0
7056348
<reponame>dilyanaGl/FindMyTutor<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FindMyTutor.Web.ViewModels.Common; namespace FindMyTutor.Web.ViewModels.Home { public class HomeViewModel { public IEnumerable<SubjectViewModel> Subjects { ...
Toggl.iOS/ViewControllers/OnboardingViewController.cs
moljac/mobileapp
0
7056349
<filename>Toggl.iOS/ViewControllers/OnboardingViewController.cs using System; using System.Linq; using AuthenticationServices; using CoreGraphics; using Foundation; using Toggl.Core.Analytics; using Toggl.Core.UI.Helper; using Toggl.Core.UI.Models; using Toggl.Core.UI.ViewModels; using Toggl.iOS.Extensions; using Togg...
SimpleSample/Managers/SyncManager.cs
Clancey/SimpleSample
9
7056350
<reponame>Clancey/SimpleSample<filename>SimpleSample/Managers/SyncManager.cs using System; using System.Linq; using System.Threading.Tasks; using SimpleSample.Data; namespace SimpleSample.Managers { public class SyncManager : ManagerBase<SyncManager> { public SyncManager () { } MyApi api = new MyApi ();...
src/CMS/CMSModules/Newsletters/Controls/RecipientContactGroups.ascx.cs
Kentico/xperience-module-intercom
1
7056352
<reponame>Kentico/xperience-module-intercom using System.Linq; using System.Collections.Generic; using CMS.Base; using CMS.DocumentEngine.Web.UI; using CMS.Helpers; public partial class CMSModules_Newsletters_Controls_RecipientContactGroups : CMSAbstractTransformation { protected const int MAX_DISPLAY...
AwsS3Hash.Net45/Framework.Cloud.Aws/S3Reader.cs
tsujimic/s3hash-net
0
7056353
<gh_stars>0 using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Threading; using System.Linq; using Framework; using Amazon; using Amazon.S3; using Amazon.S3.Model; namespace Framework.Cloud.Aws { public class S3Reader : IReaderCloser, IDisposable { ...
InfiniEngine/Components/ObjectComponent.cs
Toxoid49b/InfiniEngine
0
7056354
using System; using UnityEngine; using InfiniEngine; public class ObjectComponent : MonoBehaviour { // Should be applied to all gameobjects to be managed by the engine public InfiniObject infiniObject { get { if (isInitialized) { return infiniObject; } els...
tests/NuGetGallery.Facts/Services/CertificatesConfigurationFacts.cs
augustoproiete-forks/NuGet--NuGetGallery
1,022
7056356
<filename>tests/NuGetGallery.Facts/Services/CertificatesConfigurationFacts.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.Linq; using NuGet.Services.Entities; using Xun...
test/Day13UnitTests.cs
Elgolfin/adventofcode-2016
0
7056357
<reponame>Elgolfin/adventofcode-2016 using System; using Xunit; using AdventOfCode1016; using System.Linq; using System.Collections; using System.Collections.Generic; namespace AdventOfCode1016Tests { public class Day13UnitTests { [Theory] [InlineData(0, 0)] [InlineData(0, 1)]...
CUE4Parse/CUE4Parse/UE4/IO/Objects/FIoStoreTocCompressedBlockEntry.cs
Tamely/ProSwapper
34
7056358
<reponame>Tamely/ProSwapper<filename>CUE4Parse/CUE4Parse/UE4/IO/Objects/FIoStoreTocCompressedBlockEntry.cs using CUE4Parse.UE4.Readers; namespace CUE4Parse.UE4.IO.Objects { public readonly struct FIoStoreTocCompressedBlockEntry { private const int OffsetBits = 40; private const ulong OffsetMas...
MonoJavaBridge/android/generated/android/text/style/LineBackgroundSpan.cs
JeroMiya/androidmono
3
7056359
<filename>MonoJavaBridge/android/generated/android/text/style/LineBackgroundSpan.cs namespace android.text.style { [global::MonoJavaBridge.JavaInterface(typeof(global::android.text.style.LineBackgroundSpan_))] public partial interface LineBackgroundSpan : ParagraphStyle { void drawBackground(android.graphics.Canva...
backEnd/modules/TT.Abp.Audit/TT/Abp/AuditManagement/Application/AuditManagementAppService.cs
lwqwag/SoMall
483
7056360
<reponame>lwqwag/SoMall using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using TT.Abp.AuditManagement.Audits; using TT.Abp.AuditManagement.Domain; using Volo.Abp.Application.Services; namespace TT.Abp.AuditManagement.Application { public interface IAudi...
src/SecondaryOpenStepWindow.xaml.cs
mcraiha/WhisperDragonAvalonia
0
7056361
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using System; using System.Collections.Generic; using CSCommonSecrets; namespace WhisperDragonAvalonia { /// <summary> /// Interaction logic for SecondaryOpenStepWindow.xaml /// </summary> public class SecondaryOpenStepWindow : Window { priva...
Echo/Echo/Program.cs
HiteshMah-Jan/InnerEye-DICOM-RT
4
7056362
<filename>Echo/Echo/Program.cs<gh_stars>1-10 // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; namespace Echo { class Program { static void Main(string[] args) { if (args.Length < 1) { throw new Exception("Require ...
TurboYang.Utility.Jwt/Algorithms/NoneAlgorithm.cs
turboyang-cn/TurboYang.Utility.Jwt
4
7056363
using System; using System.Collections.Generic; using System.Text; namespace TurboYang.Utility.Jwt.Algorithms { public sealed class NoneAlgorithm : Algorithm { public override String Name => "none"; public override Byte[] Sign(Byte[] data) { return new Byte[0]; } ...
IdSort/Restructure/PlanException.cs
mitchfizz05/IdSort
0
7056364
using System; namespace IdSort.Restructure { public class PlanException : Exception { public Plan RevertPlan; public Operation Operation; public PlanException(Plan revertPlan, Operation operation, string? message, Exception? innerException) : base(message, innerException) { ...
8. Text Processing - Lab/Repeat Strings/Program.cs
dzhanetGerdzhikova/Fundamentals
0
7056365
<reponame>dzhanetGerdzhikova/Fundamentals<filename>8. Text Processing - Lab/Repeat Strings/Program.cs using System; namespace Repeat_Strings { internal class Program { private static void Main(string[] args) { string[] input = Console.ReadLine().Split(); for (int i = 0...
AppDuolingoClone/ContentViews/LessonGroupBonusContentView.xaml.cs
ionixjunior/XFAppDuolingoClone
73
7056366
<gh_stars>10-100 using System; using System.Collections.Generic; using Xamarin.Forms; namespace AppDuolingoClone.ContentViews { public partial class LessonGroupBonusContentView : ContentView { public LessonGroupBonusContentView() { InitializeComponent(); } } }
src/MemberService/Pages/Signup/Status.cshtml
bardarswingclub/MemberService
0
7056367
<filename>src/MemberService/Pages/Signup/Status.cshtml @using MemberService.Data.ValueTypes @using MemberService.Pages.Signup @model SignupModel @{ ViewData["Title"] = Model.Title; Layout = "~/Pages/_CoverLayout.cshtml"; var options = Model.Options; var user = Model.User; } <div class="card shadow mt-...
EpgTimer/EpgTimer/Common/NWConnectClass.cs
abt8WG/EDCB
13
7056368
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Sockets; using System.IO; using System.Threading; namespace EpgTimer { public class NWConnect { private Action<CMD_STREAM, CMD_STREAM> cmdProc = null...
src/EtsyAccessTests/OAuthTests.cs
agileharbor/etsyAccess
6
7056369
<filename>src/EtsyAccessTests/OAuthTests.cs using EtsyAccess.Services.Authentication; using FluentAssertions; using NUnit.Framework; namespace EtsyAccessTests { [ TestFixture ] public class OAuthTests { private OAuthenticator _authenticator; [ SetUp ] public void Init() { this._authentica...
Script/Trigger/T23_OnNetworkReady.cs
hoke946/Trigger2to3
18
7056370
<filename>Script/Trigger/T23_OnNetworkReady.cs  using UdonSharp; using UnityEngine; using VRC.SDKBase; using VRC.Udon; using VRC.Udon.Common.Interfaces; #if UNITY_EDITOR && !COMPILER_UDONSHARP using UnityEditor; #endif public class T23_OnNetworkReady : UdonSharpBehaviour { public int groupID; public string t...
sources/Interop/Windows/shared/ws2def/Windows.cs
DaZombieKiller/terrafx.interop.windows
146
7056371
<reponame>DaZombieKiller/terrafx.interop.windows<gh_stars>100-1000 // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/ws2def.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft...
oxide/plugins/other/WantedForMurder.cs
john-clark/rust-oxide-umod
13
7056373
<filename>oxide/plugins/other/WantedForMurder.cs<gh_stars>10-100 using System; using System.Text; using System.Collections.Generic; using UnityEngine; using Facepunch; using Rust; using Oxide.Core; using Oxide.Core.Libraries; namespace Oxide.Plugins { [Info( "Wanted For Murder", "Raptor007", "1.0.7" )] [Description...
src/Yardarm/Enrichment/CompilationEnrichmentPriority.cs
gitter-badger/Yardarm
0
7056374
namespace Yardarm.Enrichment { public static class CompilationEnrichmentPriority { public const int References = 0; public const int SyntaxTreeGeneration = 100; public const int WellKnownTypeEnrichment = 200; public const int OpenApiSyntaxTreeEnrichment = 300; } }
OfaSchlupfer.ModelODataTests/ODataRepositoryTest.cs
FlorianGrimm/OfaSchlupfer
1
7056376
namespace OfaSchlupfer.ModelOData { using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using OfaSchlupfer.Model; using Xunit; public class ODataRepositoryTest { [Fact] public ...
ZeldaOracle/GameEditor/Undo/Variables/ActionNewVariable.cs
trigger-death/ZeldaOracle
16
7056377
using ZeldaEditor.Control; using ZeldaEditor.Windows; using ZeldaOracle.Common.Scripting; namespace ZeldaEditor.Undo { /// <summary>Create a new variable within the Variables Editor.</summary> public class ActionNewVariable : UndoAction<ObjectEditor> { protected Variables variables; protected Variable variable;...
src/Presentation/FaraMedia.FrontEnd.Administration/Models/Common/ShareModel.cs
m-sadegh-sh/FaraMedia
0
7056378
<filename>src/Presentation/FaraMedia.FrontEnd.Administration/Models/Common/ShareModel.cs namespace FaraMedia.FrontEnd.Administration.Models.Common { using FaraMedia.Core.Globalization; public class ShareModel : UserContentModelBase { public long OwnerId { get; set; } public MultiFormatDateTime...
TournamentsMVC.ServicesTests.UnitTests/RatingServiceTests/GetRating_Should.cs
Krassimir-ILLIEV/TournamentsMVC
0
7056379
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Moq; using NUnit.Framework; using TournamentsMVC.Services; using TournamentsMVC.Data.Contracts; using TournamentsMVC.Models; namespace TournamentsMVC.ServicesTests.UnitTest.RatingServiceTests { ...