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
MRRC.Data/Vehicle.cs
Alduino/Mate-Rates-Rent-a-Car
3
7060416
using MRRC.Cursive; namespace MCCR.Data { public class Vehicle { public string Registration { get; set; } public VehicleGrade Grade { get; set; } public string Make { get; set; } public string Model { get; set; } public int Year { get; set; } [Name("NumSeats")] ...
FRBDK/AIEditor/AIEditor/AIEditor/Gui/Menu.cs
patridge/FlatRedBall
110
7060417
<filename>FRBDK/AIEditor/AIEditor/AIEditor/Gui/Menu.cs using System; using System.Collections.Generic; using System.Text; using FlatRedBall; using FlatRedBall.AI; using FlatRedBall.AI.Pathfinding; using FlatRedBall.Content; using FlatRedBall.Content.AI.Pathfinding; using FlatRedBall.Content.Polygon; using FlatRedBa...
MediaCentreServer/Controllers/RunController.cs
simontaylor81/HomeAutomation
0
7060418
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace MediaCentreServer.Controllers { // Controller for running an application. public class RunController : ApiController { // POST /api/run?path=... ...
algs/Bipartite.cs
franklzt/DataStruct
0
7060419
/****************************************************************************** * Compilation: javac Bipartite.java * Execution: java Bipartite V E F * Dependencies: Graph.java * Data files: https://algs4.cs.princeton.edu/41graph/tinyG.txt * https://algs4.cs.princeton.edu/41graph/mediumG...
Assets/ThirdParty/TK2DROOT/tk2dUI/Code/Core/tk2dUITime.cs
knexer/Chinese-Rooms-what-do-they-know-do-they-know-things-lets-find-out
53
7060420
using UnityEngine; using System.Collections; /// <summary> /// Time proxy class, independent to Time.timeScale /// </summary> public static class tk2dUITime { /// <summary> /// Use this in UI classes / when you need deltaTime unaffected by Time.timeScale /// </summary> public static float deltaTime { get { r...
samples/DataLoaderWithEFCore/DataLoaderWithEFCore/Data/Repositories/MovieRepository.cs
john-obrien/conventions
220
7060421
<filename>samples/DataLoaderWithEFCore/DataLoaderWithEFCore/Data/Repositories/MovieRepository.cs using System; using System.Threading.Tasks; using DataLoaderWithEFCore.Data.Models; using Microsoft.EntityFrameworkCore; namespace DataLoaderWithEFCore.Data.Repositories { public interface IMovieRepository { ...
assets/Networking/versionChecker.cs
TheOmag/God-Powers-Muck-Mod
1
7060422
<filename>assets/Networking/versionChecker.cs using System.IO; using System.Net; using UnityEngine; namespace versionChecker { public class checker : MonoBehaviour { private static string githubFileChecker = "http://versioncheckers.crafterbot.com/MuckGodPower"; private static string p...
src/WeSay.UI/SingleOptionControl.cs
sillsdev/wesay
17
7060423
using SIL.i18n; using SIL.Lift; using SIL.Lift.Options; using SIL.Reporting; using SIL.UiBindings; using SIL.WritingSystems; using System; using System.Drawing; using System.Windows.Forms; using WeSay.LexicalModel.Foundation; using WeSay.UI.TextBoxes; namespace WeSay.UI { public partial class SingleOptionControl : Us...
SortByCategory.cs
xoffmod/SortByCategory
0
7060424
using System; using System.Linq; namespace SortByCategory { public static class SortByCategory { enum CustomItemType { None, Junk, } private static CustomItemType GetCustomItemType(Kingmaker.Items.ItemEntity item) { if (!Main.Setting...
source/scripting_v3/RDR2/Console.cs
MoosheTV/ScriptHookRDR2DotNet
68
7060425
<reponame>MoosheTV/ScriptHookRDR2DotNet<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /*namespace RDR2.Console { public class Console { static RDR2DN.Console _console; public static void PrintError(string message) { _con...
AngleSharp/Dom/Html/HtmlDocument.cs
Livven/AngleSharp
0
7060426
<reponame>Livven/AngleSharp namespace AngleSharp.Dom.Html { using AngleSharp.Events; using AngleSharp.Extensions; using AngleSharp.Network; using AngleSharp.Parser.Html; using System; using System.Threading; using System.Threading.Tasks; /// <summary> /// Represents a document node...
ExpeditionListPluginTests/ExpeditionInfoTests.cs
ly2314/ExpeditionListPlugin
11
7060427
using Microsoft.VisualStudio.TestTools.UnitTesting; using ExpeditionListPlugin; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ExpeditionListPlugin.Tests { [TestClass] public class ExpeditionInfoTests { [TestMethod] ...
samples/Cdr.Banking/Cdr.Banking.Api/Startup.cs
ualehosaini/Beef
11
7060428
<gh_stars>10-100 using Beef; using Beef.AspNetCore.WebApi; using Beef.Caching.Policy; using Beef.Entities; using Beef.Validation; using Cdr.Banking.Business; using Cdr.Banking.Business.Data; using Cdr.Banking.Business.DataSvc; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsof...
src/DeepEqual/BasicDifference.cs
Dykam/DeepEqual
178
7060429
<gh_stars>100-1000 namespace DeepEqual { public class BasicDifference : Difference { public BasicDifference(string breadcrumb, object value1, object value2, string childProperty) : base(breadcrumb) { Value1 = value1; Value2 = value2; ChildProperty = childProperty; } public object Value1 { get; } ...
Labs/HallamNathan_Final/Assets/Scripts/Managers/RPCManager.cs
Knightofthewind5/NHTIAGGP225C
0
7060430
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using Photon; using Photon.Pun; using Photon.Realtime; using UnityEngine.SceneManagement; public class RPCManager : MonoBehaviour { public static RPCManager Instance; public PhotonView PV; void Awake() { if (Instance) {...
src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/IProjectItemProviderExtensions.cs
adamint/project-system
0
7060431
// Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE.md file in the project root for more information. namespace Microsoft.VisualStudio.ProjectSystem { internal static class IProjectItemProviderExtensions { ...
NSysWeb/src/Core/Application/DTOs/DireccionDTO.cs
NSysX/NSysWeb
0
7060432
<filename>NSysWeb/src/Core/Application/DTOs/DireccionDTO.cs namespace Application.DTOs { public class DireccionDTO { public int IdDireccion { get; set; } public int IdAsentamiento { get; set; } public string Estatus { get; set; } public string Calle { get; set; } public ...
API/Platform/Controllers/ProjectManagerController.cs
AminRana/SOFT7003-Project
0
7060433
<gh_stars>0 using DBManager; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace Platform.Controllers { public class ProjectManagerController : ApiController { private DataManager dataManager; // PUT: api...
top down shooter/Assets/Scripts/Settings/AISettings.cs
1ZouLTReX1/FP-MOG
21
7060434
using UnityEngine; public class AISettings : MonoBehaviour { [SerializeField] ushort ticksPerSecond = 60; void Awake() { if (Screen.fullScreen) Screen.fullScreen = !Screen.fullScreen; Application.runInBackground = true; Application.targetFrameRate = Mathf.Max(ticksPer...
Sort/SortTests/CompareSortTimeTests.cs
kdm-korea/Algorithm
0
7060435
<reponame>kdm-korea/Algorithm using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Sort.Tests { [TestClass()] public class CompareSortTimeTests { CompareSortTime com = new CompareSortTime(); [TestMethod()] public void CollectRandomNumberTest() { Assert.IsTrue(...
AsyncInDotNet/Demo/Thread/ThreadPoolDemo.cs
xiong-ang/AsyncInDotNet
0
7060436
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Demo { class ThreadPoolDemo:IDemo { public void Demo() { //https://blog.csdn.net/zhaoguanghui2012/article/details/52910035 ...
S7.Web/Controllers/HomeController.cs
sunbingqiang/s7netplus
0
7060437
<filename>S7.Web/Controllers/HomeController.cs<gh_stars>0 using Microsoft.AspNetCore.Mvc; using S7.Net; using S7.Web.Models; using System.Diagnostics; namespace S7.Web.Controllers { public class HomeController : Controller { private readonly ILogger<HomeController> _logger; private Plc plc; ...
NAudio.Wasapi/Dmo/Effect/IDmoEffector.cs
izzyus/NAudio
54
7060438
using System; namespace NAudio.Dmo.Effect { /// <summary> /// Interface of DMO Effectors /// </summary> /// <typeparam name="TParameters">Parameters of the effect to be used</typeparam> public interface IDmoEffector<out TParameters> : IDisposable { /// <summary> /// Media Objec...
Towers of Hanoi/TowersOfHanoi/Core/SolverIterative.cs
origami99/Towers-of-Hanoi
0
7060439
using System; using System.Collections.Generic; using System.Linq; using TowersOfHanoi.Common; using TowersOfHanoi.DataBase; using TowersOfHanoi.Models; namespace TowersOfHanoi.Core { public class SolverIterative : ISolver { private int previusElement = -1; private List<Stack<int>> pegs = new ...
sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/SessionHostsRestOperations.cs
maincotech/azure-sdk-for-net
0
7060440
<reponame>maincotech/azure-sdk-for-net<filename>sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/SessionHostsRestOperations.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using ...
Product/Zentity.Web.UI.Explorer/Services/VisualExplorer.svc.cs
jdm7dv/Zenity
1
7060441
// ******************************************************* // // Copyright (C) Microsoft. All rights reserved. // // ******************************************************* namespace Zentity.Servi...
src/GCore.WinForms/Controls/RuntimeProperty/Utils/IRealValueHolder.cs
KevinGliewe/GCore
2
7060442
<reponame>KevinGliewe/GCore /* **************************************************************************** * RuntimeObjectEditor * * Copyright (c) 2005 <NAME> * * This software is provided 'as-is', without any express or implied warranty. * In no event will the author be held liable for any damages arising fr...
src/Windows/Markdown/Editor/Impl/Preview/CSS/CssCreationListener.cs
skeptycal/RTVS
429
7060443
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.ComponentModel.Composition; using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Edit...
Lists - Exercises/03. House Party/HouseParty.cs
Vladimir-Dodnikov/C-Fundamentals-May-2019
0
7060444
<filename>Lists - Exercises/03. House Party/HouseParty.cs using System; using System.Linq; using System.Collections.Generic; namespace _03._House_Party { class HouseParty { static void Main() { int countCommands = int.Parse(Console.ReadLine()); List<string> names = new...
Machinery/Mechanism/Rocker/RockerSpring.cs
mogoson/MGS-CommonCode
21
7060445
<filename>Machinery/Mechanism/Rocker/RockerSpring.cs /************************************************************************* * Copyright © 2015-2018 Mogoson. All rights reserved. *------------------------------------------------------------------------ * File : RockerSpring.cs * Description : Defi...
src/ClickBusAPIIntegration/Models/Rodoviaria.cs
Murillofilho86/ClickBusAPIIntegration
0
7060446
<reponame>Murillofilho86/ClickBusAPIIntegration<filename>src/ClickBusAPIIntegration/Models/Rodoviaria.cs namespace ClickBusIntegration.Model { public class Rodoviaria { public string Name { get; set; } public string Localidade { get; set; } public string Latitude { get; set; } ...
TrueCraft.Client/Rendering/Blocks/SugarcaneRenderer.cs
woodvale/TrueCraft
10
7060447
using System; using Microsoft.Xna.Framework; using TrueCraft.Core.Logic.Blocks; namespace TrueCraft.Client.Rendering.Blocks { public class SugarcaneRenderer : FlatQuadRenderer { static SugarcaneRenderer() { BlockRenderer.RegisterRenderer(SugarcaneBlock.BlockID, new SugarcaneRendere...
Alword.Communigate.Logic/ServiceProvider.cs
Alword/CommunigateService
0
7060448
using Microsoft.Extensions.DependencyInjection; namespace Alword.Communigate.Logic { internal static class ServiceProvider { public static IServiceCollection AddCommunigate(this IServiceCollection services) { return services; } } }
DataTestGenerator.XUnit.UnitTest/Tests/ContactGeneratorTest.cs
Nivaes/Nivaes.DataTestGenerator
1
7060449
using Xunit; using Xunit.Abstractions; namespace Nivaes.DataTestGenerator.Xunit.UnitTest { using System.Collections.Generic; using FluentAssertions; public class ContactGeneratorTest { private readonly ITestOutputHelper mOutput; public ContactGeneratorTest(ITestOutputHelper output) ...
src/AuctionHunterFront/Pages/Auth/ForgotPassword.cshtml.cs
spanishprisoner/AuctionHunter
0
7060450
<gh_stars>0 using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using AuctionHunterFront.Extensions; using AuctionHunterFront.Models; using AuctionHunterFront.Services; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Auct...
sample/eSDK_IVS_OCX_Demo_V2.1.00.100_CSharp/ivs_cs_demo/Common/Business/PTZBusiness.cs
yingtodayang/eSDK_VCN_API_Windows_CPP
0
7060451
<filename>sample/eSDK_IVS_OCX_Demo_V2.1.00.100_CSharp/ivs_cs_demo/Common/Business/PTZBusiness.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ivs_cs_demo { public class PTZBusiness { private PtzService ptzService = new PtzService(); ...
Benchmarks/PostQueryTests.cs
martinnormark/ef-exp
0
7060452
<reponame>martinnormark/ef-exp using BenchmarkDotNet.Attributes; using Microsoft.EntityFrameworkCore; using EfExp.Models; namespace EfExp.Benchmarks { public class PostQueryTests { private readonly ExpDbContext _context; public PostQueryTests() { _context = new ExpDbContext(); } [Params(10, 100, 5000,...
OfoLight/View/ContentView/SettingContentView.xaml.cs
realLiangshiwei/ofo
1
7060453
using OfoLight.ViewModel; using Windows.UI.Xaml.Controls; namespace OfoLight.View { public sealed partial class SettingContentView : UserControl { public SettingContentView() { this.InitializeComponent(); DataContext = new SettingContentViewModel(); } } }
src/Common/Snippr.Startup/ServiceConfigurationExtensions.cs
Physer/Snippr-API-backend
2
7060454
<gh_stars>1-10 using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Snippr.Application.Data; using Snippr.Application.Options; using Snippr.Mongo; namespace Snippr.Startup { public static class ServiceConfigurationExtensions { public static void ConfigureCus...
UKFast.API.Client.DRaaS/Operations/BillingTypeOperations.cs
ukfast/sdk-dotnet-draas
0
7060455
using System.Collections.Generic; using System.Threading.Tasks; using UKFast.API.Client.DRaaS.Models; using UKFast.API.Client.Exception; using UKFast.API.Client.Models; using UKFast.API.Client.Request; namespace UKFast.API.Client.DRaaS.Operations { public class BillingTypeOperations<T> : DRaaSOperations, IBilling...
src/Api/Controllers/IdentityController.cs
remware/coreApi
0
7060457
<reponame>remware/coreApi<filename>src/Api/Controllers/IdentityController.cs using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using System.IO; namespace Api { [Route("identity")] public class IdentityController : ControllerBase { [HttpGet] [Author...
BachelorDiploma/SilverClient/Instruments/GuitarSoundBoard.xaml.cs
KvanTTT/Education
1
7060458
<filename>BachelorDiploma/SilverClient/Instruments/GuitarSoundBoard.xaml.cs 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.Wind...
src/main/cs/ProtoPrimitives.NET/Temporal/PastOrPresentTimestamp.cs
lsolano/ProtoPrimitives.NET
7
7060459
using Triplex.ProtoDomainPrimitives.Exceptions; namespace Triplex.ProtoDomainPrimitives.Temporal; /// <summary> /// Represents a <see cref="DateTimeOffset"/> in the past or exactly as current time. /// </summary> public sealed class PastOrPresentTimestamp : AbstractDomainPrimitive<DateTimeOffset>, IComparable<Pa...
SafeDictionary.cs
GodLesZ/godlesz.library
0
7060460
<reponame>GodLesZ/godlesz.library using System; using System.Collections.Generic; namespace GodLesZ.Library { public class SafeDictionary<TKey, TValue> : Dictionary<TKey, TValue> { private Object mLock = new Object(); public new ValueCollection Values { get { lock (mLock) { return base.Values; ...
KeLi.ModelDesign.RVT/LightPolymesh.cs
kelicto/DesignStandard
0
7060461
<filename>KeLi.ModelDesign.RVT/LightPolymesh.cs using System.Collections.Generic; using System.Linq; namespace KeLi.ModelDesign.RVT { public class LightPolymesh { private static List<LightTriangleFace> _triangleFaces; public LightPolymesh() { _triangleFaces = new List<Ligh...
Exam Preparation/20. Critical Breakpoint/Point.cs
pirocorp/CSharp-Fundamentals
0
7060462
namespace _20.Critical_Breakpoint { public class Point { public Point(long x, long y) { X = x; Y = y; } public long X { get; set; } public long Y { get; set; } } }
src/Core/Types/Types/Scalars/ScalarType~2.cs
dmeenhuis/hotchocolate
0
7060463
<filename>src/Core/Types/Types/Scalars/ScalarType~2.cs using System; using HotChocolate.Language; using HotChocolate.Properties; namespace HotChocolate.Types { /// <summary> /// Scalar types represent primitive leaf values in a GraphQL type system. /// GraphQL responses take the form of a hierarchical tree...
Assets/GameMain/Scripts/Photon/PhotonExtension.cs
JohnConstine/untiy
1
7060464
<filename>Assets/GameMain/Scripts/Photon/PhotonExtension.cs using GameFramework; using GameFramework.Photon; namespace SG1 { public static class PhotonExtension { public static bool Login(this IPhotonChannel photonChannel,string userName,string password) { return ReferencePool.Acqui...
Source/Assembly-CSharp/NatureManager.cs
Shadowrabbit/BigBiaDecompilation
1
7060465
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class NatureManager : MonoBehaviour { private void Awake() { NatureManager.Instance = this; } public void RegisterMinion(CardData minion) { this.m_AllNatureMinions.Add(minion); } public void UnRegisterMini...
RndGen/Generators/NumberGenerator.cs
Jukata/RndGen
0
7060466
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RndGen.Generators { public class NumberGenerator { // int generator public static int[] GenerateNumbers (int upperLimit, int number = 1) { int[] ge...
src/Superfly.AspNetCore.Authentication.Custom/CustomTokenDefaults.cs
smjura/dotnet-core-custom-authentication
0
7060467
<reponame>smjura/dotnet-core-custom-authentication<filename>src/Superfly.AspNetCore.Authentication.Custom/CustomTokenDefaults.cs<gh_stars>0 namespace Superfly.AspNetCore.Authentication.Custom { /// <summary> /// Default values used by bearer authentication. /// </summary> public static class CustomToken...
TestsStorage.API/RequestResponseModels/KeyParameter.cs
GataullinRR/Testkit
0
7060468
using Newtonsoft.Json; using System; using System.ComponentModel.DataAnnotations; namespace TestsStorageService.API { public class KeyParameter { [Required] public string Key { get; set; } [Required] public string Value { get; set; } KeyParameter() { } // For ...
camunda-bpmn-model-net/src/main/java/org/camunda/bpm/model/bpmn/builder/AbstractBpmnModelElementBuilder.cs
luizfbicalho/Camunda.NET
6
7060470
using System; /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, ...
Guu.SRMLBridge/Patches/Console/GuuConsole_Patch.cs
RicardoTheCoder/GuuFramework
5
7060471
<gh_stars>1-10 using Eden.Patching.Harmony; using Guu.Console; namespace Guu.SRMLBridge { [EdenHarmony.Wrapper(typeof(GuuConsole))] internal static class GuuConsole_Patch { private static void InvokeCatchers_Postfix(ref bool @return, string cmd, string[] args) { if (!@return) return; @return...
519. Random Flip Matrix/519_Original_Random.cs
webigboss/Leetcode
0
7060472
public class Solution { private int[] _array; private int _last; private Random _rdm; private int _cols; public Solution(int n_rows, int n_cols) { _rdm = new Random(); _last = n_rows * n_cols - 1; _array = new int[n_rows * n_cols]; _cols = n_cols; for(var i =...
src/DotNet/PropertyDef.cs
liangran10000/dnlib
0
7060473
<gh_stars>0 /* Copyright (C) 2012-2014 <EMAIL> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
test/EFCore.Jet.FunctionalTests/TestUtilities/DbContextOptionsBuilderExtensions.cs
lauxjpn/EntityFrameworkCore.Jet
0
7060474
using EntityFrameworkCore.Jet.Infrastructure; namespace EntityFramework.Jet.FunctionalTests.TestUtilities { public static class DbContextOptionsBuilderExtensions { public static JetDbContextOptionsBuilder ApplyConfiguration(this JetDbContextOptionsBuilder optionsBuilder) { System.D...
Assets/Atoms/UnityEvents/ClickableLetterUnityEvent.cs
gtoto007/Learning-alphabet-letters-game
0
7060475
using System; using UnityEngine.Events; namespace UnityAtoms { /// <summary> /// None generic Unity Event of type `ClickableLetter`. Inherits from `UnityEvent&lt;ClickableLetter&gt;`. /// </summary> [Serializable] public sealed class ClickableLetterUnityEvent : UnityEvent<ClickableLetter> { } }
GMTK GameJam 2021/Assets/Scripts/StateMachine/Dridd/DriddMoveState.cs
kodalli/GMTK-GameJam-2021
0
7060476
using UnityEngine; [CreateAssetMenu(menuName = "PluggableAI/State/Dridd/MoveState")] public class DriddMoveState : State<Dridd> { private float timeLeftInMove; public bool isMovingDone; public bool playerDetected; public override void OnEnter(Dridd type) { timeLeftInMove = 4f; isMovin...
Classes/ONeuron.cs
Killers2/K2host.AI
0
7060477
<gh_stars>0 /* ' /====================================================\ '| Developed <NAME> (www.k2host.co.uk) | '| Projected Started: 2019-03-20 | '| Use: General | ' \====================================================/ */ using System; usi...
src/WiredBrainCoffee/Pages/Feedback.cshtml
bhageshpuri/wired-brain-coffee-1
0
7060478
<filename>src/WiredBrainCoffee/Pages/Feedback.cshtml @page "/thoughts/{token:promo}" @model ContactModel <div class="container"> <h1 class="mt-4 mb-3"> Feedback <small>Let us know how we're doing.</small> </h1> <hr /> <div class="row"> <p>We care about what you thoughts and...
StarManager.cs
LucoseGlucose/Penguin-Dash-3D
0
7060479
<reponame>LucoseGlucose/Penguin-Dash-3D using UnityEngine; public class StarManager : MonoBehaviour { public StarScript[] stars; public float starRadius; GameObject starObject; public Transform pos; public LayerMask starMask; Collider[] starColliders; public int starCount; b...
apps/AppMvc/Controllers/ErrorController.cs
bencgreen/jeebs
3
7060480
// Jeebs Test Applications // Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013 using System; using System.Threading.Tasks; using Jeebs; using Jeebs.Mvc; using Microsoft.AspNetCore.Mvc; namespace AppMvc.Controllers { public class ErrorController : Jeebs.Mvc.ErrorController { public ErrorControlle...
Assets/Package/AsepriteImporter/Runtime/Data/Aseprite.cs
RenanDresch/UnityAsepriteImporter
4
7060481
using AsepriteImporter.Runtime.Enums; using System; using System.Collections.Generic; using System.IO; using UnityEngine; namespace AsepriteImporter.Runtime.Data { [Serializable] public class Aseprite { #region Fields private List<AseFrame> _frames = new List<AseFrame>(); [Serial...
src/Catel.MVVM/Catel.MVVM.Shared/MVVM/Views/ViewModelWrapper.ios.cs
nix63/Catel
722
7060482
<filename>src/Catel.MVVM/Catel.MVVM.Shared/MVVM/Views/ViewModelWrapper.ios.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="ViewModelWrapper.ios.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel devel...
src/GR.Extensions/GR.Crm.Extension/GR.Crm.Extensions/GR.Crm.Organizations/GR.Crm.Organizations.Razor/GR.Crm.Organizations.Razor/Controllers/OrganizationAddressesController.cs
indrivo/bizon360_crm
1
7060483
<filename>src/GR.Extensions/GR.Crm.Extension/GR.Crm.Extensions/GR.Crm.Organizations/GR.Crm.Organizations.Razor/GR.Crm.Organizations.Razor/Controllers/OrganizationAddressesController.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using GR.Co...
TAP_Chestionar.Console/SavingsAccount.cs
IonitaA/TAP_Chestionar
0
7060484
<filename>TAP_Chestionar.Console/SavingsAccount.cs namespace TAP_Chestionar.Console { public class SavingsAccount : Account { protected override decimal Calculeazawithdrawfee(decimal amount) { return amount * 0.5m /100m; } } }
Tests/Williamsonfamily.Tests/Controllers/HomeControllerTests.cs
sgwill/familyblog
0
7060486
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using MvcContrib.TestHelper; using WilliamsonFamily.Web.Controllers; namespace WilliamsonFamily.Web.Tests.Controllers { [TestClass] public class HomeControllerTests { ...
Editor/LinksListEditor.cs
ChaosMage/list-of-links
0
7060487
<gh_stars>0 // // Copyright (c) 2014 <NAME> // using System; using System.Linq; using UnityEditor; using UnityEngine; using Object = UnityEngine.Object; [CustomEditor(typeof(LinksList))] public class LinksListEditor : Editor { private string _prefix; private bool _tex2spr; public override void OnInspec...
Source/DestroyItemDefOf.cs
GarwelGarwel/DestroyItem
1
7060488
using RimWorld; using Verse; namespace DestroyItem { [DefOf] class DestroyItemDefOf { public static DesignationDef Designation_DestroyItem; public static JobDef Job_DestroyItem; public static RecordDef Record_ItemsDestroyed; public static ThoughtDef Thought_DestroyedCorp...
src/Code/Giacomelli.Buildron.SlackBotMod/SlackService.cs
giacomelli/Buildron.SlackBotMod
1
7060489
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Buildron.Domain.Mods; using Skahal.Logging; using Skahal.Threading; using UnityEngine; using WebSocketSharp; namespace Giacomelli.Buildron.SlackBotMod { public class SlackService { #regio...
C# Advanced 2019/6.Defining_Classes/EXRC-Car_Salesman/Program.cs
bodyquest/SoftwareUniversity-Bulgaria
2
7060490
<filename>C# Advanced 2019/6.Defining_Classes/EXRC-Car_Salesman/Program.cs using System; using System.Collections.Generic; using System.Linq; namespace EXRC_Car_Salesman { public class Program { static void Main() { int n = int.Parse(Console.ReadLine()); List<Engine> en...
MusixmatchClientLib/Auth/MusixmatchToken.cs
Eimaen/MusixmatchClientLib
7
7060491
using MusixmatchClientLib.API; using MusixmatchClientLib.API.Contexts; using MusixmatchClientLib.API.Model.Requests; namespace MusixmatchClientLib.Auth { public class MusixmatchToken // Lambda meme class { public string Token { get; private set; } public ApiContext Context { get; private set; ...
src/Integrations/Moneywave.Net/Responses/ChargeResponse.cs
theslyone/frapid
2
7060492
<filename>src/Integrations/Moneywave.Net/Responses/ChargeResponse.cs using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Moneywave.Net.Responses { public class ChargeResponse { //the total amount we will s...
Frends.Excel.ConvertToCSV/Frends.Excel.ConvertToCSV/Definitions/Result.cs
FrendsPlatform/Frends.Excel
0
7060493
<reponame>FrendsPlatform/Frends.Excel using System.ComponentModel; namespace Frends.Excel.ConvertToCSV.Definitions; public class Result { private readonly string _csv; /// <summary> /// False if conversion fails. /// </summary> [DefaultValue("false")] public bool Success { get; set; } /...
API/Sinqia.CoreBank.Services.CUC/Constantes/ConstantesInegracao.cs
bielmirandaalcantara/implantacaoSinqia
2
7060494
<reponame>bielmirandaalcantara/implantacaoSinqia using System; using System.Collections.Generic; using System.Text; namespace Sinqia.CoreBank.Services.CUC.Constantes { public class ConstantesInegracao { public static class URLConfiguracao { public const string Autenticacao = "AUTEN...
src/NeoSharp.VM/ExecutionContextBase.cs
jlgaffney/neo-sharp
0
7060495
<reponame>jlgaffney/neo-sharp using NeoSharp.VM.Extensions; namespace NeoSharp.VM { public abstract class ExecutionContextBase { /// <summary> /// ScriptHashLength /// </summary> public const int ScriptHashLength = 20; /// <summary> /// Evaluation Stack ...
WindowsSensorClient/SensorMonitoringService.cs
Hekku2/home-dashboard-windowsclient
0
7060496
using System.ServiceProcess; using WindowsSensorClient.Properties; namespace WindowsSensorClient { partial class SensorMonitoringService : ServiceBase { private readonly MonitoringWorker _monitoringWorker; public SensorMonitoringService() { InitializeComponent(); ...
test/Tests/FluentRegistration/Components/NonAttributedComponent.cs
clay-one/composer-core
0
7060497
namespace ComposerCore.Tests.FluentRegistration.Components { public class NonAttributedComponent : INonAttributedContract { public bool InitCalled; public bool InitCalled2; public int InitValue; public IComponentOne ComponentOne { get; set; } public IComponentTwo Compon...
EnvironmentAssessment.Wizard/Common/VimApi/D/DistributedVirtualSwitchPortConnectee_LinkedView.cs
octansIt/environmentassessment
1
7060498
<reponame>octansIt/environmentassessment namespace EnvironmentAssessment.Common.VimApi { public class DistributedVirtualSwitchPortConnectee_LinkedView { protected ManagedEntity _connectedEntity; public ManagedEntity ConnectedEntity { get { return this._connectedEntity; } set { this._conne...
src/Configuration/Abstractions/IBusRunner.cs
albedoteam/sdk-messageconsumer
0
7060499
namespace AlbedoTeam.Sdk.MessageConsumer.Configuration.Abstractions { using System.Threading; using System.Threading.Tasks; public interface IBusRunner { string Who { get; } Task StartAsync(CancellationToken cancellationToken); Task StopAsync(CancellationToken cancellationToken)...
NdisApiDotNet/Filters/NetworkFilter.cs
DorCoMaNdO/ndisapi.net
0
7060500
<reponame>DorCoMaNdO/ndisapi.net // ---------------------------------------------- // <copyright file="NdisApi.NETWORK_LAYER_FILTER.cs" company="NT Kernel"> // Copyright (c) 2000-2018 NT Kernel Resources / Contributors // All Rights Reserved. // http://www.ntkernel.com // ...
test/FunctionalTests/Taupo/Source/Taupo.Astoria/Contracts/EntityModel/SetActionDefaultEntitySetFixup.cs
Sreejithpin/odata.net
629
7060501
//--------------------------------------------------------------------- // <copyright file="SetActionDefaultEntitySetFixup.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //----------------------...
src/QuikSharp/TestQuik/TestTransactions.cs
x5500/QUIKSharp
0
7060502
<reponame>x5500/QUIKSharp // Copyright (c) 2021 <NAME>, https://github.com/x8800 // Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. using QUIKSharp.DataStructures.Transaction; using QUIKSharp.Functions; using System; using System.Threading; using System.Thr...
BudgetAnalyser.Engine/Services/BurnDownChartsService.cs
thetjyoung/BudgetAnalyser
7
7060503
using System; using System.Collections.Generic; using System.Linq; using BudgetAnalyser.Engine.Budget; using BudgetAnalyser.Engine.Ledger; using BudgetAnalyser.Engine.Reports; using BudgetAnalyser.Engine.Statement; using JetBrains.Annotations; namespace BudgetAnalyser.Engine.Services { [AutoRegisterWithIoC] i...
Views/OrderSummaryAdmin.cshtml
MatteoPiovanelli-Laser/Nwazet.Commerce
32
7060504
@using Nwazet.Commerce.Models @{ var items = (IEnumerable<CheckoutItem>)Model.OrderedProducts; } <div class="order-contents">@(Html.Raw(String.Join(", ", items.Select(i => String.Format(T("{0} &times; {1}").Text, i.Quantity, i.Title)))))</div> <div class="order-metadata">@T("Ordered {0}", Display.DateTimeRela...
axisymm/LIN.cs
bhrnjica/quenching_simulation
0
7060505
<filename>axisymm/LIN.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using Daany.MathStuff; using FEMCommon.Entities; using FEMCommon.Interfaces; using FEMCommon.Types; using FEMHeat.Lib; using FEMHe...
Src/AutoFixtureUnitTest/CreatingAbstractClassWithPublicConstructorTests.cs
TeaDrivenDev/AutoFixture
0
7060506
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ploeh.AutoFixture; using Ploeh.AutoFixture.Kernel; using Ploeh.TestTypeFoundation; using Xunit; namespace Ploeh.AutoFixtureUnitTest { public class CreatingAbstractClassWithPublicConstructorTests { [Fact] ...
CSL RFID Demo Apps/Source/CSL CheckStatus/Form1.Designer.cs
cslrfid/CSL-Callback-Unified-SDK-App
0
7060507
<gh_stars>0 namespace CS203_CheckStatus { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
Cake.PlasticSCM.Tests/Fixtures/PlasticSCMFixtureBase.cs
unatecict/Cake.PlasticSCM
0
7060508
<filename>Cake.PlasticSCM.Tests/Fixtures/PlasticSCMFixtureBase.cs using System.Collections.Generic; using System.IO; using Cake.Core.Tooling; using Cake.Testing.Fixtures; namespace Cake.PlasticSCM.Tests.Fixtures { public abstract class PlasticSCMFixtureBase<TSettings, TResult> : ToolFixture<TSettings, TRes...
src/Windows/Host/Client/Test/RtvsPackage/JsonTest.cs
skeptycal/RTVS
429
7060509
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using FluentAssertions; using Microsoft.Common.Core.Services; using Microsoft.Common.Core.Test.F...
src/Services/Identity/Identity.API/Infrastructure/ConfigurationDbContextFactory.cs
muralib91dotnet/eShopOnContainers-1
0
7060510
<gh_stars>0 using IdentityServer4.EntityFramework.DbContexts; using IdentityServer4.EntityFramework.Options; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Identity.API...
Platform/PlatformBindingsBootstrapper.cs
WilliamABradley/.NETPlatformBindingsFramework
4
7060511
<gh_stars>1-10 // ****************************************************************** // Copyright (c) <NAME> // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITN...
sources/CodeBits.Tests/MruCollectionTests.cs
MichalSiatkowski/CodeBits
0
7060512
<reponame>MichalSiatkowski/CodeBits using System; using System.Collections.Generic; using Shouldly; using Xunit; namespace CodeBits.Tests { public sealed class MruCollectionTests { [Theory] [InlineData(1)] [InlineData(2)] [InlineData(100)] public void Create_instance_...
GetEmFinal/Assets/Scripts/Networked/CameraMove.cs
brettratner/Get-EM
0
7060513
using UnityEngine; using System.Collections; using UnityEngine.Networking; public class CameraMove : NetworkBehaviour { public GameObject player; private Vector3 offset; void Start () { // Set the initial camera position based on the difference between the // Camera prefab location and the player prefab ...
Second Semester/AMW/AMW.Data/Models/Diplomas/Diploma.cs
Saria-houloubi/svu-master-projects
1
7060514
<reponame>Saria-houloubi/svu-master-projects using AMW.Data.Attributes; using AMW.Data.Attributes.Swagger; using AMW.Data.Models.Base; using AMW.Shared.Extensions; using AMW.Shared.Models; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; namespace AMW.Data.Models.Diplomas { public class Diploma...
C#/C# 2/1. Arrays-HW/Remove-Min-Els-Increasing-Array-Memory/RemoveMinElsIncrArray.cs
petyakostova/Telerik-Academy
15
7060515
/* Problem 18. Remove elements from array Write a program that reads an array of integers and removes from it a minimal number of elements in such a way that the remaining array is sorted in increasing order. Print the minimal number of elements that need to be removed in order for the array to become s...
Antd2/02_cmds/Dmesg.cs
Anthilla/Antd
37
7060516
<reponame>Anthilla/Antd using System.Collections.Generic; namespace Antd2.cmds { public class Dmesg { private const string dmesgCommand = "dmesg"; public static IEnumerable<string> GetLog() { return Bash.Execute(dmesgCommand); } } }
C# OOP/03Interfaces/5BirthdayCelebrations/Program.cs
zjelev/SoftUni
0
7060517
<filename>C# OOP/03Interfaces/5BirthdayCelebrations/Program.cs using System; using System.Collections.Generic; namespace BorderControl { class Program { static void Main(string[] args) { string input; List<IBirthable> tresspassers = new List<IBirthable>(); ...
CapsLockIndicatorV3/ProgressInfo.cs
vladtepesch/CapsLockIndicator
151
7060518
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CapsLockIndicatorV3 { public struct ProgressInfo { public int Current; public int Total; public string Message; } }