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
Assets/Scripts/AI.cs
WZH94/Anxious-Intelligence-TecArt-2020
0
7059253
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Experimental.VFX; using FMODUnity; using UnityEngine.UI; public class AI : MonoBehaviour { private float leftCameraPos; private float rightCameraPos; private float crowdAverageDirection = 1500f; private float pe...
src/Desktop/Program.cs
vividos/RetroFantasyRolePlayingGame
2
7059254
using Game.Core; using Game.Core.Models; using System; using System.IO; namespace Game.Desktop { /// <summary> /// Program class for desktop game /// </summary> public static class Program { /// <summary> /// Main method for desktop game /// </summary> [STAThread] ...
PDP.DREAM.CoreDataLib/Pages/Shared/EditorTemplates/_RestrictionAndGuid.cshtml
BHAVIUS/PDP-DREAM
0
7059255
@model Guid @{ var restAndList = (System.Collections.IList)ViewData["RestrictionAndList"]; var listCount = restAndList.Count; } @(Html.Kendo().DropDownListFor(p => p) .BindTo(new SelectList(restAndList, "Value", "Text")) .HtmlAttributes(new { style = "width: 21em;", title = "Select RestrictionAnd Concep...
SchoolManagement/Forms/Settings/frmCreateUser.cs
joemash/school-erp
1
7059256
using System; using System.Windows.Forms; using System.Data; using SchoolManagement.Classes.General; using SchoolManagement.Classes.Info; using SchoolManagement.Classes.SP; using SchoolManagement.Forms.Settings; namespace SchoolManagement.Settings { public partial class frmCreateUser : Form ...
src/Views/Shared/_Record.cshtml
shpsyte/HackQuestion
2
7059257
<div class="modal fade" id="record" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> @*<h5 class="modal-title...
src/SteamSpy/Servers/ServerSteamPortRetranslator.cs
elamaunt/W40kDoWSS-GameSpy
4
7059258
using GSMasterServer.Data; using ThunderHawk.Utils; using Steamworks; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ...
Commands/EventCommandMap.cs
tromagon/gonity
2
7059259
<filename>Commands/EventCommandMap.cs using System; using System.Collections.Generic; namespace Gonity { public class EventCommandMap : IEventCommandMap { private IEventDispatcher _eventDispatcher; private IInjector _injector; private Dictionary<Enum, List<ICoreCommand>> _commandMap; ...
03 Arrays/3.Fold-and-Sum/Program.cs
nikolaydechev/Programming-Fundamentals
0
7059260
using System; using System.Linq; namespace _3.Fold_and_Sum { class Program { public static void Main(string[] args) { int[] numbers = Console.ReadLine().Split().Select(int.Parse).ToArray(); int k = numbers.Length / 4; int[] middleElements = new int[2 * k];...
Day 12/Day12/Ship.cs
joko-dev/AdventOfCode2020
0
7059261
<filename>Day 12/Day12/Ship.cs using System; using System.Collections.Generic; using System.Text; namespace Day12 { class Ship { private char currentlyFacing; public Position Position { get; set; } public char CurrentlyFacing { get => currentlyFacing; } public Ship(int northS...
Accounts_Registration/Accounts_Registration/Account_Registration.cs
JahanzebNawaz/Social-Accounts-Record-Keeping-C-Sharp-Desktop-App
0
7059262
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.OleDb; namespace Accounts_Registration { public partial class Account...
data/train/csharp/1925e9bb8d457158088d2db3f19904037cf8b29fMessageDispatchException.cs
aliostad/deep-learning-lang-detection
84
7059263
<filename>data/train/csharp/1925e9bb8d457158088d2db3f19904037cf8b29fMessageDispatchException.cs using NetFusion.Base.Exceptions; using NetFusion.Common; using NetFusion.Messaging.Core; using System; using System.Collections.Generic; using System.Linq; #if NET461 using System.Runtime.Serialization; #endif namespace N...
src/Infrastructure/WebApi/Attributes/NoHumanUserAttribute.cs
ildoc/Extensions
0
7059264
<reponame>ildoc/Extensions<filename>src/Infrastructure/WebApi/Attributes/NoHumanUserAttribute.cs using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace Infrastructure.WebApi.Attributes { [AttributeUsage(AttributeTargets.Method)] public sealed class NoHumanUser : Attribute, IAuthoriz...
src/Cake.7zip.Tests/FluentBuilder/SwitchArchiveTypeBuilderTests.cs
augustoproiete-forks/cake-contrib--Cake.7zip
0
7059265
<filename>src/Cake.7zip.Tests/FluentBuilder/SwitchArchiveTypeBuilderTests.cs using Cake.SevenZip.Builder; using Cake.SevenZip.Switches; using FluentAssertions; using Moq; using Xunit; namespace Cake.SevenZip.Tests.FluentBuilder { public class SwitchArchiveTypeBuilderTests { [Fact] public voi...
src/Bumblebee.IntegrationTests/Shared/HeadlessChrome.cs
chrisblock/Bumblebee
1
7059266
using Bumblebee.Setup; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; namespace Bumblebee.IntegrationTests.Shared { public class HeadlessChrome : IDriverEnvironment { public virtual IWebDriver CreateWebDriver() { var options = new ChromeOptions(); options.AddArgu...
api/src/Microsoft.Azure.IIoT.OpcUa.Api.Twin/src/Models/AttributeReadResponseApiModel.cs
garolion/Industrial-IoT
2
7059267
<reponame>garolion/Industrial-IoT // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // --------------------------------------------------------...
src/RedisDemo/RedisDemo.Common/RedisConnectionHelper.cs
justin0522/hello_azure
0
7059268
<reponame>justin0522/hello_azure using StackExchange.Redis; using System; using System.Configuration; namespace RedisDemo.Common { class RedisConnectionHelper { static string ConfigurationString = ConfigurationManager.AppSettings["RedisConnection"]; public static ConnectionMultiplexer Connect...
sdk/dotnet/Volume.cs
rienafairefr/pulumi-docker
0
7059269
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
Source/C#/RiceDoctor/RiceDoctor.Tests/OntologyManagerTests.cs
comfyneet/BachelorThesis
0
7059270
using JetBrains.Annotations; using RiceDoctor.OntologyManager; using RiceDoctor.Shared; using Xunit; using static RiceDoctor.OntologyManager.GetType; namespace RiceDoctor.Tests { [Collection("Test collection")] public class OntologyManagerTests : IClassFixture<OntologyFixture> { public OntologyMan...
src/Remy.Console/Help.cs
yetanotherchris/Ainsley
9
7059271
using System; using System.Diagnostics; using System.IO; using System.Reflection; namespace Remy.Console { public class Help { public static string GetHelpText() { return GetStringFromResource("Remy.Console.help.txt") .Replace("{version}", GetVersion()); } private static string GetStringFromResourc...
Source/DotSpatial.Controls/ClipArgs.cs
sdrmaps/dotspatial
0
7059272
<gh_stars>0 // ******************************************************************************************************** // Product Name: DotSpatial.Controls.dll // Description: The Windows Forms user interface controls like the map, legend, toolbox, ribbon and others. // ********************************************...
src/Application/Auths/Config/Auth.cs
khalifa005/EComTemplate
9
7059273
<filename>src/Application/Auths/Config/Auth.cs using System; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; using Domain.Common; using Microsoft.IdentityModel.Tokens; namespace Application.Auths.Config { public static class Auth { public static string GenerateJ...
Sample/ECommerce/Shipments/Shipments/Storage/ShipmentsDbContext.cs
TheRubble/EventSourcing.NetCore
1,917
7059274
<filename>Sample/ECommerce/Shipments/Shipments/Storage/ShipmentsDbContext.cs using Microsoft.EntityFrameworkCore; using Shipments.Packages; namespace Shipments.Storage { internal class ShipmentsDbContext: DbContext { public ShipmentsDbContext(DbContextOptions<ShipmentsDbContext> options) : ...
Microsoft.Research/Contracts/MsCorlib/System.Security.Principal.WellKnownSidType.cs
jeroen-mostert/CodeContracts
778
7059275
<reponame>jeroen-mostert/CodeContracts // CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 Soft...
02.C# Part 2/06.Strings-and-Text-Processing/23.SeriesOfLetters/SeriesOfLetters.cs
b-slavov/Telerik-Software-Academy
2
7059276
using System; using System.Linq; class SeriesOfLetters { static void Main() { string input = Console.ReadLine(); input.Distinct().Select(c => c.ToString()).ToList() .ForEach(c => { while (input.Contains(c + c)) { inpu...
PlayerScripts/PlayerController.cs
LemonaInc/Hexastella-Codebase
1
7059277
<reponame>LemonaInc/Hexastella-Codebase using System.Collections; using UnityEngine; using UnityEngine.UI; public class PlayerController : Unit { public float speed; public float slowSpeed; public float dashForce; public float dodgeLength; public float dashTime = 0.4f; [HideInInspector] public...
src/Kaponata.Api/Guacamole/AuthorizationRequest.cs
kaponata-io/kaponata
10
7059278
// <copyright file="AuthorizationRequest.cs" company="Quamotion bv"> // Copyright (c) Quamotion bv. All rights reserved. // </copyright> using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text.Json.Serialization; namespace Kaponata.Api.Guacamole { /// <summary> /// Represent...
ROC_IDNumber/ROC_IDNumber/ROCID.cs
lag945/ROCID
0
7059279
using System; using System.Collections.Generic; using System.Text; namespace ROC_IDNumber { class ROCID { private int m_IDLength = 10; private Dictionary<string, int> m_AreaMap = new Dictionary<string, int>(); public ROCID() { InitAreaMap(); } /// <...
packagedependencyreporter/Processor.cs
ikathegreat/nugetdependencyreporter
0
7059280
<filename>packagedependencyreporter/Processor.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Xml.Serialization; namespace packagedependencyreporter { public class Processor { private Li...
src/froGH/froGH/Geometry/RTreeClosestPoint.cs
Co-de-iT/froGH
34
7059281
<reponame>Co-de-iT/froGH using froGH.Properties; using froGH.Utils; using Grasshopper.Kernel; using Grasshopper.Kernel.Data; using Grasshopper.Kernel.Types; using Rhino.Geometry; using System; using System.Collections.Generic; namespace froGH.Geometry { public class RTreeClosestPoint : GH_Component { ...
src/VRChat.API/Model/ModerateUserRequest.cs
binn/vrchatapi-csharp
0
7059282
/* * VRChat API Documentation * * * The version of the OpenAPI document: 1.6.0 * Contact: <EMAIL> * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Sys...
Assets/IntruderMM/Scripts/TimedObjectDestructor.cs
KarmaAlon/IntruderMafia
1
7059283
using UnityEngine; using System; public class TimedObjectDestructor:MonoBehaviour { public float timeOut = 1.0f; public bool detachChildren = false; public void Awake() { Invoke ("DestroyNow", timeOut); } public void DestroyNow() { if (detachChildren) { transform.DetachChildren (); } DestroyObje...
src/Pando/Serialization/PrimitiveSerializers/Int32LittleEndianSerializer.cs
schultzcole/Pando
1
7059284
<reponame>schultzcole/Pando<gh_stars>1-10 using System; using System.Buffers.Binary; namespace Pando.Serialization.PrimitiveSerializers; /// Serializes/deserializes <c>int</c> values in little endian encoding (least significant byte first) public class Int32LittleEndianSerializer : FixedSizeBaseSerializer<int> { ///...
LRW3/LovRubWeb/Modules/Checkout/PaymentBox.ascx.cs
lanekp/LovRubWeb
0
7059285
#region dCPL Version 1.1.1 /* The contents of this file are subject to the dashCommerce Public License Version 1.1.1 (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.dashcommerce.org Software distributed under the License is distribute...
Metro/Julmar.Windows.Interactivity/Interactivity/Behavior.cs
AsimKhan2019/MVVM-Helpers
22
7059286
<gh_stars>10-100 using Windows.UI.Xaml; namespace System.Windows.Interactivity { /// <summary> /// An attachable behavior /// </summary> public abstract class Behavior : AttachedObject { /// <summary> /// Constructor /// </summary> /// <param name="assoc...
Otel Otomasyon Projesi-YZM3101/Otel Otomasyon Projesi-YZM3101/Business Layer/RezervasyonIslem.cs
tugrulcan/Otel-Otomasyon-Sistemi
0
7059287
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Otel_Otomasyon_Projesi_YZM3101.Business_Layer { class RezervasyonIslem { private static DBOtelEntities db = new DBOtelEntities(); public static string Rez...
RageBMLRealizer/BMLRealizer/BMLPose.cs
bernuly/BML-Realizer
1
7059288
<filename>RageBMLRealizer/BMLRealizer/BMLPose.cs<gh_stars>1-10 /* Copyright 2016 Utrecht University http://www.uu.nl/ This software has been created in the context of the EU-funded RAGE project. Realising and Applied Gaming Eco-System (RAGE), Grant agreement No 644187, http://rageproject.eu/ The Behavi...
Assets/Scripts/Ambient/SitPose.cs
firoball/Morbius
1
7059289
using UnityEngine; using Morbius.Scripts.Messages; namespace Morbius.Scripts.Ambient { public class SitPose : MonoBehaviour, ISitMessage { [SerializeField] private Transform m_leftLegBone; [SerializeField] private Transform m_rightLegBone; [SerializeField] priv...
LocalBusinessApi/Migrations/20210405055539_SEED_DATA_AUTH.cs
Tien96ng/tacoma-local-business-api
1
7059290
<gh_stars>1-10 using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace LocalBusinessApi.Migrations { public partial class SEED_DATA_AUTH : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.Cr...
grade-management/Ahk.GradeManagement/Functions/ResultProcessing/IResultProcessor.cs
gergoradeczki/ahk-github-automation
1
7059291
using System.Threading.Tasks; using Ahk.GradeManagement.ResultProcessing.Dto; namespace Ahk.GradeManagement.ResultProcessing { public interface IResultProcessor { Task<string> GetSecretForToken(string token); Task ProcessResult(AhkProcessResult value, System.DateTime dateTime); } }
Day16_TicketTranslation/Main.cs
ArtzTJU/AdventOfCode2020
0
7059292
using System; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Collections.Generic; namespace AdventOfCode.Day16 { public class Main { public static string PartOne() { var lines = File.ReadLines(@"Day16_TicketTranslation\input.txt"); ...
Source/Cored/Fabric/ServiceCollectionExtensions.cs
JefferyAdusei/Fabric
0
7059293
namespace Cored.Fabric { using Microsoft.Extensions.DependencyInjection; using Construction; /// <summary> /// Extension methods for <see cref="IServiceCollection"/> /// </summary> public static class ServiceCollectionExtensions { /// <summary> /// Used in a hosted environm...
DataMonitoring/Controllers/ConnectorController.cs
SoDevLog/DataMonitoring
0
7059294
<reponame>SoDevLog/DataMonitoring using DataMonitoring.Business; using DataMonitoring.Model; using DataMonitoring.ViewModel; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Sodevlog.CoreServices; using Sodevlog.Tools; using System; using System.Collec...
Systems/HierarchicalSystem/Scripts/ParentAsset.cs
jorgejgnz/MVC-System-Skeleton
3
7059295
using UnityEngine; namespace JorgeJGnz.MVC.System.Hierarchical { // Configuration model: Can be shared between models. Cannot be modified in build [CreateAssetMenu(menuName = "JorgeJGnz/Parent Asset", order = 1)] public class ParentAsset : ScriptableObject { // ... } }
07.ExceptionHandling/04.DownloadFile/DownloadFile.cs
Maskln/CSharp-Part-2
0
7059296
<reponame>Maskln/CSharp-Part-2 /*Problem 4. Download file Write a program that downloads a file from Internet (e.g. Ninja image) and stores it the current directory. Find in Google how to download files in C#. Be sure to catch all exceptions and to free any used resources in the finally block. */ using System; using...
Examples/CSharp/Working-Shapes/MoveVisioShape.cs
aliahmedaspose/Aspose.Diagram-for-.NET
18
7059297
using Aspose.Diagram; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Aspose.Diagram.Examples.CSharp.Working_Shapes { public class MoveVisioShape { public static void Run() { // ExStart:MoveVisioShape // The path to the do...
SmartifyBotStudio/RobotDesigner/TaskModel/DataBase/OleDbConnString.cs
codertuhin/BotStudio
0
7059298
<reponame>codertuhin/BotStudio using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.OleDb; using ADODB; using System.Text.RegularExpressions; using Microsoft.Win32; using System.Windows; using System.Windows.In...
Source/TheStore.Core/Domain/ProductPicture.cs
MarioZisov/TheStore
0
7059299
<gh_stars>0 namespace TheStore.Core.Domain { using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; public class ProductPicture : BaseEntity { [Key] [Column(Order = 1)] public int ProductId { get; set; } [ForeignKey(nameof(Prod...
LaboratoryWork7/Form1.cs
ValDagon/LaboratoryWorksCSharp
0
7059300
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace LaboratoryWork7 { public partial class Form1 : Form { public Form1() {...
Armarios/Sobre.Designer.cs
vitordm/Projeto_Armarios
0
7059301
namespace Armarios { partial class Sobre { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param nam...
Advanced C# Algorithms Lab/Prime Factorization/Program.cs
ivajlotokiew/CSharp_Advanced
0
7059302
<reponame>ivajlotokiew/CSharp_Advanced<gh_stars>0 using System; using System.Collections.Generic; class PrimeFactorization { static void Main() { int N = int.Parse(Console.ReadLine()); int divisor = 2; int currentResult = N; List<int> primeMultiple = new List<int>(); w...
C#-OOP/Interfaces-And-Abstraction/Exercise/Telephony/Smartphone.cs
rafalohaki/SoftUni
2
7059303
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Telephony { public class Smartphone : ICall, IBrowse { private string number; private string website; public string Number { get { return thi...
Sources/Sandbox.Game/Game/Screens/Helpers/MyGuiControlQuestlog.cs
phundio/SpaceEngineers
3,359
7059304
<reponame>phundio/SpaceEngineers using Sandbox.Game.Gui; using Sandbox.Graphics; using Sandbox.Graphics.GUI; using Sandbox.Game.Entities; using System; using System; using VRage.Audio; using VRage.Game.ObjectBuilders.Gui; using VRage.Utils; using VRageMath; namespace Sandbox.Game.Screens { class MyGuiControlQues...
ImageViewer/Utilities/StudyComposer/ImageItem.cs
SNBnani/Xian
1
7059305
<filename>ImageViewer/Utilities/StudyComposer/ImageItem.cs #region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #end...
a20201226/Confused_02/tmpsol/Elsa20200001/PostUnknownThemistoQuery.cs
soleil-taruto/Hatena
0
7059306
<reponame>soleil-taruto/Hatena using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Charlotte { /// <summary> /// Confused by ConfuserElsa /// </summary> public class ConstructTemporaryKallichoreIndentation { /// <summary> /// Confused by ConfuserElsa /// </summar...
SQLandEmailwithBlazorPage/SQLandEmailwithBlazorPage/Controllers/PeopleController.cs
coding-flamingo/SQLandEmail
1
7059307
<reponame>coding-flamingo/SQLandEmail using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using SQLandEmailwithBlazorPage.Data; using SQLandEmailwithBlazorPage.Managers; using SQLandEmailwithBlazorPage.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threadi...
BuildCaddyShared/BuildStatus.cs
bargle/BuildCaddy
0
7059308
<filename>BuildCaddyShared/BuildStatus.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BuildCaddyShared { public class BuildStatus { public enum Status { Idle = 0, Running = 1, ...
src/Manufactures/EventHandlers/OnManufactureOrderPlacedHandler.cs
afandylamusu/nasab-extcore
0
7059309
<filename>src/Manufactures/EventHandlers/OnManufactureOrderPlacedHandler.cs using System.Threading; using System.Threading.Tasks; namespace Manufactures.Domain.Events { public class OnManufactureOrderPlacedHandler : IManufactureEventHandler<OnManufactureOrderPlaced> { public Task Handle(OnManufactureO...
Specifications/ExamplesBasedSpecifications.cs
BrunoJuchli/StyleCop.CSharp.Async.Rules
2
7059310
using System.Diagnostics; namespace Specifications { using FluentAssertions; using Machine.Specifications; using MSBuild; using Rules; using System; using System.Collections.Generic; using System.IO; using System.Linq; class ExamplesBasedSpecifications { private static...
System.ServiceModel/System/ServiceModel/Security/Tokens/SecurityContextSecurityTokenHelper.cs
cnork/referencesource
911
7059311
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using System.Collections.Generic; using System.Collections.ObjectModel; using System.IdentityMod...
Assets/ScriptableRenderPipeline/HDRenderPipeline/Shadow/ShadowUtilities.cs
sjb8100/SRP
0
7059312
<reponame>sjb8100/SRP<gh_stars>0 namespace UnityEngine.Experimental.Rendering.HDPipeline { public class ShadowUtils { public static Matrix4x4 ExtractSpotLightMatrix(VisibleLight vl, out Matrix4x4 view, out Matrix4x4 proj, out Vector4 lightDir, out ShadowSplitData splitData) { splitDa...
PayPalNvp/Shared.cs
neosmart/paypalnvp-dotnet
2
7059313
<reponame>neosmart/paypalnvp-dotnet using System; using System.Collections.Generic; using System.Text; namespace NeoSmart.PayPalNvp { public partial class PayPal { public double NvpVersion = 88.0; public EndPoint EndPoint { get; set; } private string NvpEndPoint => EndPoint == EndPoin...
Clinic/BusinessLayer/Authorization.cs
roosa123/Clinic---databases-project
0
7059316
<reponame>roosa123/Clinic---databases-project using DataLayer; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace BusinessLayer { public class Authorization { public...
ClickableTransparentOverlay/ImGuiController.cs
morelli690/ClickableTransparentOverlay
0
7059318
// <auto-generated /> namespace ClickableTransparentOverlay { using System; using System.Collections.Generic; using System.IO; using System.Numerics; using System.Reflection; using System.Runtime.CompilerServices; using ImGuiNET; using NativeLibraryLoader; using Veldrid; /// <s...
ThriveWebApp/Tools/SampleTemplateV6/SampleTemplateV6/SampleTemplateV6/SampleTemplate/Controllers/CourseController.cs
douglasforte/ThriveWebApp
1
7059319
<filename>ThriveWebApp/Tools/SampleTemplateV6/SampleTemplateV6/SampleTemplateV6/SampleTemplate/Controllers/CourseController.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using SampleTemplate.Models; namespace SampleTemplate.Controllers { public class...
src/SFA.DAS.Campaign/Application/Queries/PreviewHub/GetPreviewHubQueryHandler.cs
SkillsFundingAgency/das-apim-endpoints
4
7059320
using System.Threading; using System.Threading.Tasks; using MediatR; using SFA.DAS.Campaign.Application.Queries.PreviewArticles; using SFA.DAS.Campaign.Configuration; using SFA.DAS.Campaign.Extensions; using SFA.DAS.Campaign.ExternalApi.Requests; using SFA.DAS.Campaign.ExternalApi.Responses; using SFA.DAS.Campaign.Int...
MobileCenterApiClient/Models/TestRunSummary.cs
colbylwilliams/mobile-center-api-client
0
7059322
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace MobileCenterApi.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; using Microsoft.Re...
Barembo.UnoApp/Barembo.UnoApp.Shared/Views/Shell.xaml.cs
TopperDEL/Barembo.UnoApp
0
7059323
using Barembo.App.Core.Interfaces; using Barembo.App.Core.Messages; using Barembo.App.Core.ViewModels; using Barembo.Models; using Microsoft.AppCenter.Analytics; using Prism; using Prism.DryIoc; using Prism.Events; using Prism.Ioc; using Prism.Regions; using System; using System.Collections.Generic; using System.IO; u...
message-builder-core/Main/Ca/Infoway/Messagebuilder/Marshalling/HL7/Formatter/AbstractNullFlavorPropertyFormatter.cs
freddycoder/message-builder-dotnet
1
7059324
/** * Copyright 2013 Canada Health Infoway, Inc. * * 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...
AoC2021.Tests/Day4Tests.cs
mgrosperrin/adventofcode
0
7059325
<gh_stars>0 using System.Linq; using Xunit; namespace AoC2021.Tests { public class Day4Tests { private static readonly string[] lines = { "7,4,9,5,11,17,23,2,0,14,21,24,10,16,13,6,15,25,12,22,18,20,8,19,3,26,1", "", "22 13 17 11 0", "8 2 23 4 24", "21 9 1...
tests/Umbraco.Tests.UnitTests/Umbraco.Web.Common/Routing/EndpointRouteBuilderExtensionsTests.cs
nul800sebastiaan/Umbraco-CMS
3,375
7059326
<gh_stars>1000+ // Copyright (c) Umbraco. // See LICENSE for more details. using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; using NUnit.Framework; using Umbraco.Extensions; using static Umbraco.Cms.Core.Constants.Web.Routing; using Constants = Umbraco.Cms.Core.Constants; namespac...
src/CSum.Abp.Data/Volo/Abp/Data/Enumer/EnumerAccessor.cs
yinboxie/CSum.Abp
1
7059327
using System; using System.Collections.Generic; using System.Text; namespace Volo.Abp.Data.Enumer { internal class EnumerAccessor : IEnumerAccessor { public Dictionary<string, Dictionary<int, string>> Enumer { get; set; } public Dictionary<string, string> AllEnumType { get; set; } } }
Source/Forms/Tabs/TabCharts.Designer.cs
romanio/mview
6
7059328
 namespace mview { partial class TabCharts { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param...
210723_Demon02_JsonDIIOptionsSnapshot/Root.cs
AlbertZhaoz/DotNet
0
7059329
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _210723_Demon02_JsonDIIOptionsSnapshot { public class Root { /// <summary> /// /// </summary> public AppConfig AppConfig { get; set; } /// <summary...
SmartLMS/App_Start/IdentityConfig.cs
arifgit12/SmartLMS
9
7059330
using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using SmartLMS.Models; using Microsoft.Owin.Security; using System.Security.Claims; namespace SmartLMS { public class EmailService : IIdentity...
Contextos/ControleOrcamento.ContextoClassificacao.Domain/ObjetosValor/NomeLancamentoPadrao.cs
MarcioDeAlmeidaRosa/ControleOrcamentoWebApi
0
7059331
<reponame>MarcioDeAlmeidaRosa/ControleOrcamentoWebApi using ControleOrcamento.Contexto.Domain.ObjetosValor; using Flunt.Validations; namespace ControleOrcamento.ContextoClassificacao.Domain.ObjetosValor { /// <summary> /// Representa um nome válido no contexto de classificação /// </summary> public se...
GroBuf/Readers/TimeSpanReaderBuilder.cs
azrinsani/GroBuf
53
7059332
using System; namespace GroBuf.Readers { internal class TimeSpanReaderBuilder : ReaderBuilderBase { public TimeSpanReaderBuilder() : base(typeof(TimeSpan)) { } protected override void BuildConstantsInternal(ReaderConstantsBuilderContext context) { ...
src/packages/EmbedIO/Routing/RouteResolutionResult.cs
radioegor146/embedio
1,240
7059333
namespace EmbedIO.Routing { /// <summary> /// Represents the outcome of resolving a context and a path against a route. /// </summary> public enum RouteResolutionResult { /* DO NOT reorder members! * RouteNotMatched < NoHandlerSelected < NoHandlerSuccessful < Success * ...
source/R5T.Code.VisualStudio.ProjectFile.Types.Construction/Code/Construction.cs
MinexAutomation/R5T.Code.VisualStudio.ProjectFile.Types
0
7059334
using System; using R5T.Code.VisualStudio.ProjectFile.Raw; using XmlElements = R5T.Code.VisualStudio.ProjectFile.Raw.XmlElements; namespace R5T.Code.VisualStudio.ProjectFile.Types.Construction { public static class Construction { public static void SubMain() { //Con...
ScriptMain/Script/TVortex.cs
CamxxCore/TornadoScript
4
7059335
using GTA; using GTA.Math; using GTA.Native; using System; using System.Collections.Generic; using System.Drawing; using System.Runtime.CompilerServices; using TornadoScript.ScriptCore.Game; using TornadoScript.ScriptMain.Memory; using TornadoScript.ScriptMain.Utility; namespace TornadoScript.ScriptMain.Script { ...
src/csfe/operations/ServiceOperation.cs
ralfw/csfe
1
7059336
using System; using System.IO; using csfe.adapters; namespace csfe.operations { public class ServiceOperation { private readonly Service _service; public ServiceOperation(string path, string executablename, string arguments) { _service = new Service(path, executablename, arguments); ...
SpecsAndDemos/SpecsAndDemos/10StepTransformation/Transformations/DateConverter.cs
marcusoftnet/SpecFlowDemos
5
7059337
using System; using TechTalk.SpecFlow; namespace Specs.StepTransformation.Transformations { [Binding] public class DateConverter { [StepArgumentTransformation("date (.*)")] public DateTime Transform(string dateString) { return DateTime.Parse(dateString); ...
Source/PixivNet/Clients/V1/User/MeClient.cs
mika-f/Pixiv.NET
4
7059338
<reponame>mika-f/Pixiv.NET<filename>Source/PixivNet/Clients/V1/User/MeClient.cs using System.Threading.Tasks; using Pixiv.Attributes; using Pixiv.Extensions; using Pixiv.Models; namespace Pixiv.Clients.V1.User { public class MeClient : ApiClient { internal MeClient(PixivClient client) : base(client, "...
WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/HoloLens/HolographicOs.cs
elbuhofantasma/WindowsDevicePortalWrapper
140
7059339
<reponame>elbuhofantasma/WindowsDevicePortalWrapper // <copyright file="HolographicOs.cs" company="Microsoft Corporation"> // Licensed under the MIT License. See LICENSE.TXT in the project root license information. // </copyright> //----------------------------------------------------------------------------------...
src/Akka.Serialization.Testkit/IncapsulationTests.cs
ismaelhamed/Akka.Serialization.MessagePack
11
7059340
<reponame>ismaelhamed/Akka.Serialization.MessagePack //----------------------------------------------------------------------- // <copyright file="IncapsulationTests.cs" company="Akka.NET Project"> // Copyright (C) 2017 Akka.NET Contrib <https://github.com/AkkaNetContrib/Akka.Serialization.MessagePack> // </copyri...
Sannel.House.Controller/Sannel.House.Controller/ApplicationSettings.cs
holtsoftware/House
0
7059341
<filename>Sannel.House.Controller/Sannel.House.Controller/ApplicationSettings.cs /* Copyright 2016 <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....
SurviveCovid-19/Assets/Scripts/Slime.cs
RishaLab/SurviveCovid-19
0
7059342
<reponame>RishaLab/SurviveCovid-19 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Slime : MonoBehaviour { private Rigidbody2D myRigidbody; public Transform target; public Transform avoid; public float chaseRadius; public float attackRadius; public ...
04.EncapsulationAndPolymorphism/Exercise/04. OOP-Encapsulation-and-Polymorphism-Exercise-2/Battleships/Ships/Destroyer.cs
ivayloivanof/OOP-CSharp
0
7059343
<filename>04.EncapsulationAndPolymorphism/Exercise/04. OOP-Encapsulation-and-Polymorphism-Exercise-2/Battleships/Ships/Destroyer.cs namespace Battleships.Ships { using System; public class Destroyer : Battleships { private string name; private double lengthInMeters; private double ...
Src/Bsp/GoldSource/Lump.cs
AbitTheGray/BspLib
15
7059345
<gh_stars>10-100 using System; namespace BspLib.Bsp.GoldSource { /// <summary> /// struct /// { /// int32_t nOffset; // File offset to data /// int32_t nLength; // Length of data /// } /// </summary> public struct Lump { public Lump(int offset, int size) { ...
PIO.ServerLib/Rows/TransitionRow.cs
dfgs/PIO
0
7059346
using NetORMLib.Columns; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PIOServerLib.Rows { public class TransitionRow { public int TransitionID {get;set;} public int StateID {get;set;} public int NextStateID {get;set;} public int EventID {get;set;} } }
GardenersMultitool.Domain/ValueObjects/HumanUses/Coppice/Coppice.cs
RedSyndicate/GardenerMultitool
0
7059347
<reponame>RedSyndicate/GardenerMultitool<filename>GardenersMultitool.Domain/ValueObjects/HumanUses/Coppice/Coppice.cs using System; using System.Collections.Generic; using CSharpFunctionalExtensions; namespace GardenersMultitool.Domain.ValueObjects.HumanUses.Coppice { public class Coppice : ValueObject, ICoppice,...
source/Marten.AspNetCore.Identity/Models/MartenIdentityRecoveryCode.cs
soernt/AspNetCore.Identity.Marten
0
7059348
<gh_stars>0 namespace Marten.AspNetCore.Identity.Models; /// <summary> /// A class representing a recovery code (User Two Factor Recovery.) /// </summary> public class MartenIdentityRecoveryCode { public string Code { get; set; } public MartenIdentityRecoveryCode() { Code = string.Empty; } ...
source/Examples/Common/Resonance.Examples.Common/Logging/LoggingConfiguration.cs
royben/Resonance
16
7059349
using Microsoft.Extensions.Logging; using Serilog; using Serilog.Core; using Serilog.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Resonance.Examples.Common.Logging { public static class LoggingConfiguration { publ...
test/StockportWebappTests_UI/StepDefinitions/HomepageSteps.cs
smbc-digital/iag-webapp
5
7059350
namespace StockportWebappTests_UI.StepDefinitions { [Binding, Scope(Tag = "homepage")] public class HomepageSteps : UiTestBase { [Then("I should not see the additional categories section")] public void ThenIShouldNotSeeSection() { Assert.False(BrowserSession.FindAllCss("...
FormImportFields.cs
trevorprinn/CsvXlsImport
1
7059351
#region Licence /* The MIT License (MIT) Copyright (c) 2016 Babbacombe Computers Ltd 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 ...
UnsafeCollections/Collections/Unsafe/UnsafeSortedSet.cs
njelly/TofuECS
27
7059352
<gh_stars>10-100 /* The MIT License (MIT) Copyright (c) 2019 <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, modi...
ResgateClient/Resgate/ErrorException.cs
Shelim/ResGateClientNet
2
7059353
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Resgate.Resgate { public sealed class ErrorException : Exception { public readonly string Code; public readonly string Message; public readonly JToken DataJso...
src/Common/src/Interop/Windows/mincore/Interop.IsWellKnownSid.cs
Realtao/corefx
3
7059354
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class mincore { [DllImport(Interop....
WalletWasabi/Crypto/ZeroKnowledge/CredentialPresentation.cs
planquer/WalletWasabi
0
7059355
<filename>WalletWasabi/Crypto/ZeroKnowledge/CredentialPresentation.cs using Newtonsoft.Json; using WalletWasabi.Crypto.Groups; namespace WalletWasabi.Crypto.ZeroKnowledge { /// <summary> /// Represents a randomized credential that can be presented to the coordinator. /// A randomized credential is a tuple that cons...
Scaffold/Tests/UnitTests/Scaffold.Application.UnitTests/Components/Bucket/GetBucketsUnitTests.cs
hannahchan/Scaffold.WebApi
10
7059356
<reponame>hannahchan/Scaffold.WebApi namespace Scaffold.Application.UnitTests.Components.Bucket; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Scaffold.Application.Common.Messaging; using Scaffold.Application.Common.Models; using Scaff...
SalesApp.Droid/Components/UIComponents/ActivityProgress.cs
mkopadev/salesapp
0
7059357
using Android.App; using Android.Content.PM; using Android.OS; namespace SalesApp.Droid.Components.UIComponents { [Activity(Theme = "@style/AppTheme", ScreenOrientation = ScreenOrientation.Portrait, NoHistory = true)] public class ActivityProgress : ActivityBase { public const string Title = "Title...