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/SimonSemiboss/SimonSemibossHandler.cs
VFlyer/FlyersOtherModules
0
7062642
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using uernd = UnityEngine.Random; using System; public class SimonSemibossHandler : MonoBehaviour { public KMSelectable[] possibleButtons = new KMSelectable[8]; public MeshRenderer[] buttonRenderers; public Light[] b...
MyCrmSampleClient/Auth/AuthClient.cs
loanmarket/mycrm-api-sample
0
7062643
<gh_stars>0 using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; using Serilog; namespace MyCrmSampleClient.Auth { public class AuthClient { p...
LinksOrganizer.Tests/Utils/NotifyPropertyChangedHarness.cs
ivotabako/links-organizer
0
7062644
using System; using System.Collections.Generic; using System.ComponentModel; namespace LinksOrganizer.Tests.Utils { public class NotifyPropertyChangedHarness { private readonly List<string> changes; public List<string> Changes => changes; public NotifyPropertyChangedHarness(INotifyPr...
Assets/Scripts/Commands/Agents/Active/CameraControl.cs
HDonovan96/Project-Glass-Nomad
3
7062645
using UnityEngine; [CreateAssetMenu(fileName = "DefaultCameraMovement", menuName = "Commands/Active/Camera Controls")] public class CameraControl : ActiveCommandObject { protected override void OnEnable() { } public override void RunCommandOnStart(AgentInputHandler agentInputHandler) { i...
RHarbor/ViewModels/ExternalProgramDefinitionViewModel.cs
der1122/rharbor
6
7062646
<filename>RHarbor/ViewModels/ExternalProgramDefinitionViewModel.cs using kenzauros.RHarbor.Models; using kenzauros.RHarbor.MvvmDialog; using kenzauros.RHarbor.Properties; using Reactive.Bindings; using Reactive.Bindings.Extensions; using System; using System.Threading.Tasks; namespace kenzauros.RHarbor.ViewModels { ...
UltraStar Play/Assets/Scenes/SingingResults/SingingResultsPlayerUi/SongRatingImage.cs
paradigmn/Play
183
7062647
<gh_stars>100-1000 using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; using UniInject; // Disable warning about fields that are never assigned, their values are injected. #pragma warning disable CS0649 [RequireComponent(typeof(Image))] public class...
MagicJunimoPet/PetState.cs
Scartiana/StardewMods
40
7062648
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MagicJunimoPet { public enum PetState { Wandering, Following, Idling } }
DataTypes/01PracticeIntegerNumbers/Program.cs
Avarea/Programming-Fundamentals
0
7062649
<filename>DataTypes/01PracticeIntegerNumbers/Program.cs using System; namespace _01PracticeIntegerNumbers { class Program { static void Main() { sbyte num1 = -100; byte num2 = 128; short num3 = -3540; int num4 = 64876; long num5 = 214...
KitchenRP.DataAccess/Repositories/Internal/ReservationRepository.cs
ProjectKitchen/superdruck
2
7062650
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using KitchenRP.DataAccess.Models; using KitchenRP.DataAccess.Queries; using Microsoft.EntityFrameworkCore; using NodaTime; namespace KitchenRP.DataAccess.Repositories.Internal { public class ReservationRepository : IReservationRepo...
System.ServiceModel/System/ServiceModel/Channels/RetryException.cs
cnork/referencesource
911
7062651
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Channels { using System.Runtime.Serialization; using System.Security; [Serializable] ...
src/GTControl/Control/LayoutSettingDialog.Designer.cs
vip00112/GTLauncher
2
7062652
<reponame>vip00112/GTLauncher namespace GTControl { partial class LayoutSettingDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
DailyStatusTests/WorkDaysHelperTests.cs
Toumash/toumash.dailystatus
2
7062653
<reponame>Toumash/toumash.dailystatus using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using DailyStatus.Common.Extensions; namespace DailyStatus.Tests { [TestClass()] public class WorkDaysHelperTests { [TestMethod()] public void GivenFullWeekFromMondayToSunday_ShouldRetur...
RiddleSolve/Model/RotatedTile.cs
Dzerillious/SmilesRiddle
0
7062654
<reponame>Dzerillious/SmilesRiddle using System; using System.Diagnostics; using static RiddleSolve.Model.ITile; namespace RiddleSolve.Model { [DebuggerDisplay("l:{Left} t:{Top} r:{Right} b:{Bottom}")] public class RotatedTile : ITile, IEquatable<RotatedTile> { private readonly ITile _innerTile; ...
Examples_GridWeb/CSharp/Cells/AccessCellHyperlink.aspx.cs
sergioruizdeveloper/Aspose.Cells-for-.NET
157
7062655
using Aspose.Cells.GridWeb.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Aspose.Cells.GridWeb.Examples.CSharp.Cells { public partial class AccessCellHyperlink : System.Web.UI.Page { protected v...
DbShell.Core/GetFiles.cs
dbshell/dbshell
2
7062656
<gh_stars>1-10 using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using DbShell.Driver.Common.Interfaces; using DbShell.Core.Utility; using DbShell.Driver.Common.Utility; namespace DbShell.Core { public class GetFiles : ElementBase, ILi...
Leetcode/Leetcode/Dynamic_Programming/ClimbingStairs.cs
CHYGO1985/C_Sharp_Garage
0
7062657
using System; /* * * @jingjiejiang Apr 12, 2019 */ public class Class1 { public int ClimbStairs(int n) { int[] steps = new int[n + 2]; steps[0] = 0; steps[1] = 1; for (int idx = 1; idx <= n; idx++) { steps[idx + 1] = steps[idx] + steps[idx - 1]; ...
TFVC migrator/CommonUtils.cs
rfennell/tfvc-migrator
6
7062658
<filename>TFVC migrator/CommonUtils.cs using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace TfvcMigrator { internal static class CommonUtils { /// <exception cref="ArgumentNullException"> /// Thrown when <paramref name="enum...
src/Butter/Internal/NotificationContextImpl.cs
dominiqueplante/Butter
0
7062659
<reponame>dominiqueplante/Butter<filename>src/Butter/Internal/NotificationContextImpl.cs // *********************************************************************************** // Copyright 2019 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance...
RobotView/DriveView.designer.cs
wtjerry/hslu_csa
0
7062660
namespace RobotView { partial class DriveView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
Mobile.RefApp.Lib/ADAL/CacheToken.cs
costoda-ey/XF-RefApp-Enterprise
1
7062661
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using Microsoft.IdentityModel.Clients.ActiveDirectory; namespace Mobile.RefApp.Lib.ADAL { public class CacheToken { public Endpoint Endpoint { get; set; } public string Name => Endpoint.Name;...
FpML.V5r3.Components/ValuationEngine/Factory/PriceableInstrumentsFactory.cs
mmrath/Highlander.Net
0
7062662
<reponame>mmrath/Highlander.Net /* Copyright (C) 2019 <NAME> (<EMAIL>) This file is part of Highlander Project https://github.com/alexanderwatt/Highlander.Net Highlander is free software: you can redistribute it and/or modify it under the terms of the Highlander license. You should have received a copy of the ...
C# Fundamentals/Objects and Classes/MoreExercise/ShoppingSpree/Product.cs
TatyanaBeneva/SoftUni-Courses
0
7062663
using System; using System.Collections.Generic; using System.Text; namespace ShoppingSpree { class Product { public Product(string nameOfProduct, int cost) { Name = nameOfProduct; Cost = cost; } public string Name { get; set; } public int Cost ...
src/dotnet/IntelligentComments/src/Comments/Caches/Text/Trie/Node.cs
aerooneqq/IntelligentComments
0
7062664
using System.Collections.Generic; using JetBrains.Annotations; namespace IntelligentComments.Comments.Caches.Text.Trie; public class Node { [NotNull] private readonly Dictionary<char, Node> myChildren; public int Value { get; set; } public Node() { myChildren = new Dictionary<char, Node>(); } ...
src/NbaStats.Application/Queries/Handlers/GetGameHandler.cs
Pietrzaaq/nba-stats-app
0
7062665
using System.Threading.Tasks; using NbaStats.Application.Abstractions; using NbaStats.Application.DTO; using NbaStats.Domain.Repositories; namespace NbaStats.Application.Queries.Handlers { public class GetGameHandler : IQueryHandler<GetGame, GameDto> { private readonly IGameRepository _gameRepository;...
src/CoreUI.Web/Views/CoreUI/pages-register.cshtml
manhnguyenv/AspNetCoreMvcCoreUI
0
7062666
<filename>src/CoreUI.Web/Views/CoreUI/pages-register.cshtml<gh_stars>0 @{ Layout = ""; } <!-- * CoreUI - Open Source Bootstrap Admin Template * @@version v1.0.4 * @@link http://coreui.io * Copyright (c) 2017 creativeLabs <NAME> * @@license MIT --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="ut...
Hoops.Core/Entities/SchGameTimes.cs
rsalit1516/Hoops
0
7062668
<filename>Hoops.Core/Entities/SchGameTimes.cs<gh_stars>0 using System; using System.Collections.Generic; namespace Hoops.Core.Entities { public partial class SchGameTimes { public int ScheduleNumber { get; set; } public int TeamNumber { get; set; } public int LocationNumber { get; set;...
src/Implementations/Android/SharpReact.Support.v7.AppCompat/Components/AppCompatRatingBar.cs
MihaMarkic/SharpReact
2
7062669
using SharpReact.Core; using SharpReact.Core.Properties; using System.Collections.Generic; using SharpReact.Android.Components; namespace SharpReact.Support.v7.AppCompat.Components { public partial class AppCompatRatingBar<TProps, TElement>: RatingBar<TProps, TElement> where TProps : Props.AppCompatRatingBar whe...
Zeron.Demand/ZServices/ServerInfo.cs
inwazy/Zeron
0
7062671
<reponame>inwazy/Zeron // Zeron - Scheduled Task Application for Windows OS // Copyright (c) 2019 Jiowcl. All rights reserved. using Newtonsoft.Json; using System.Dynamic; using System.Globalization; using Zeron.ZAttribute; using Zeron.ZCore; using Zeron.ZInterfaces; using Zeron.ZServers; namespace Zeron.Demand.ZSer...
Assets/Scripts/PlayerController.cs
RealVincentBerthet/BackToTheGameJam
4
7062672
<reponame>RealVincentBerthet/BackToTheGameJam using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; public class PlayerController : MonoBehaviour { public CharacterController2D controller; public AudioSource[] tab_audio; public float runSpeed = 40f; private bool m_a...
MonoGame.Imaging/Attributes/Format/ImageColorPalettePosition.cs
TechnologicalPizza/MonoGame
0
7062673
<reponame>TechnologicalPizza/MonoGame  namespace MonoGame.Imaging.Attributes.Format { /// <summary> /// Determines where in the stream the image color palette will be stored. /// </summary> public enum ImageColorPalettePosition { First, Last } }
src/DotNet.Plus/Tasks/TaskDelay.cs
tcunning/DotNet.Plus
1
7062674
<reponame>tcunning/DotNet.Plus using System; using System.Threading; using System.Threading.Tasks; using DotNet.Plus.Core; namespace DotNet.Plus.Tasks { /// <summary> /// Adds various extensions to allow a delay to be performed /// </summary> public static class TaskDelay { ///...
src/NetUtils.Common/DateTimeOffsetUtils.cs
hanabi1224/NetUtils.MemoryCache
2
7062675
<filename>src/NetUtils.Common/DateTimeOffsetUtils.cs using System; using System.Diagnostics; namespace NetUtils { public static class DateTimeOffsetUtils { public static DateTimeOffset AddSafe(this DateTimeOffset dateTimeOffset, TimeSpan timeSpan) { try { ...
mainline/SocketEngine/MarshalAppServer.cs
ARLM-Attic/SuperSocket
1
7062676
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SuperSocket.SocketBase; using SuperSocket.SocketBase.Provider; using SuperSocket.SocketBase.Config; using System.Reflection; namespace SuperSocket.SocketEngine { class MarshalAppServer : MarshalByRefObject, IWor...
src/Compilers/Test/Resources/Core/AssemblyLoadTests/Alpha.cs
ffMathy/roslyn
35
7062677
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // Build Alpha.dll with: csc.exe /t:library /r:Gamma.dll Alpha.cs using System.Text; using Gamma; namespace Alpha...
src/OrchardCore.Modules/OrchardCore.Templates/Recipes/AdminTemplateStep.cs
SvanBoxel/OrchardCore
5,234
7062678
using System; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using OrchardCore.Recipes.Models; using OrchardCore.Recipes.Services; using OrchardCore.Templates.Models; using OrchardCore.Templates.Services; namespace OrchardCore.Templates.Recipes { /// <summary> /// This recipe step creates a set of t...
ConcurrencyTestLibraryTests/Helpers/ClassWithTypeChangeConcurrencyIssue.cs
chriscdev/ConcurrencyChecker
1
7062679
namespace ConcurrencyCheckerLibraryTests.Helpers { public class ClassWithTypeChangeConcurrencyIssue { private IFoo _foo = new ClassWithTypeChangeConcurrencyIssue.Foo1(); public void SetFoo(IFoo foo) { _foo = foo; } public interface IFoo { string Bar { get; set; } } pu...
Source/Norma.Eta/Actions/MetroPopupWindowAction.cs
mika-f/Norma
3
7062680
using System.Windows; using System.Windows.Media; using MetroRadiance.Chrome; using MetroRadiance.UI.Controls; using Norma.Eta.PopupWindows; using Prism.Interactivity; using Prism.Interactivity.InteractionRequest; namespace Norma.Eta.Actions { public class MetroPopupWindowAction : PopupWindowAction { ...
src/Kafka.Connect.Plugin/Serializers/Serializer.cs
roshan-picardo/kafka-connect-dotnet
2
7062681
using System.Threading.Tasks; using Confluent.Kafka; using Newtonsoft.Json.Linq; namespace Kafka.Connect.Plugin.Serializers { public abstract class Serializer : ISerializer { public abstract Task<byte[]> Serialize<T>(JToken data, SerializationContext context, T schema); public bool IsOfType(st...
Data Structures and Algorithms/01.Linear Data Structures/07.FindsInGivenArray/Startup.cs
todor-enikov/TelerikAcademy
0
7062682
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _07.FindsInGivenArray { public class Startup { public static void Main() { var sequence = new List<int> { 3, 4, 4, 2, 3, 3, 4, 3, 2 }; var resu...
file/Attack.cs
alasaidi/file-cs
0
7062683
<reponame>alasaidi/file-cs<filename>file/Attack.cs using UnityEngine; namespace UltimateSurvival.AI.Actions { public class Attack : Action { [SerializeField] private float m_MinAttackDistance = 1.5f; [SerializeField] private float m_AttackInterval = 0.8f; private bool m_HasKilledPlayer = false; ...
content/cs/tatsuo98se_ledlib/tatsuo98se_ledlib/LED3DObjectSet.cs
chabukan/3d_led_cube
3
7062684
<reponame>chabukan/3d_led_cube namespace LEDLIB { public class LED3DObjectSet { public LED3DObject obj; public ILED3DCanvas filter; public LED3DObjectSet(LED3DObject obj, ILED3DCanvas filter) { this.obj = obj; this.filter = filter; } pub...
CopyFromExcelToMarkdownAddIn/CopyFromExcelToMarkdownAddIn/RangeExtensions.cs
nuitsjp/CopyFromExcelToMarkdownAddIn
165
7062685
<filename>CopyFromExcelToMarkdownAddIn/CopyFromExcelToMarkdownAddIn/RangeExtensions.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Office.Interop.Excel; namespace CopyFromExcelToMarkdownAddIn { public static class RangeExtensi...
05-Containers/Ninject with ASP.NET MVC (not Core)/OrderTaker.Repository.SQL/CustomerRepository.cs
jeremybytes/vslive-di-lab
2
7062686
using OrderTaker.Models; using OrderTaker.Repository.Interface; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrderTaker.Repository.SQL { public class CustomerRepository : IRepository<Cu...
src/core/Linnworks.Application/Services/SalesService.cs
maksimyaromin/sample-project
0
7062687
<gh_stars>0 using AutoMapper; using AutoMapper.QueryableExtensions; using Linnworks.Core.Application.Common.Exceptions; using Linnworks.Core.Application.Common.Interfaces; using Linnworks.Core.Application.Common.Models; using Linnworks.Core.Application.Models; using Linnworks.Core.Application.Services.Interfaces; usin...
Game/nms/GameLoop.cs
madeso/PrettyGood.net
0
7062688
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SFML.Graphics; using Game.Control; using SFML.Window; namespace Game.nms { public class GameLoop : Loop, IDisposable { World world; public GameLoop(Game g) : base(g) ...
PiggyDump/Sound.cs
SiriusTR/Descent2Workshop
0
7062689
/* Copyright (c) 2019 SaladBadger Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
HashLib4CSharp/src/Enum/Argon2Type.cs
azureskydiver/HashLib4CSharp
8
7062690
<reponame>azureskydiver/HashLib4CSharp /* HashLib4CSharp Library Copyright (c) 2020 <NAME> GitHub Profile URL <https://github.com/Xor-el> Distributed under the MIT software license, see the accompanying LICENSE file or visit http://www.opensource.org/licenses/mit-license.php. Acknowledgements: This library was sponso...
root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs
OpenTouryoProject/OpenTouryo
60
7062691
using System; using System.Xml; using System.Text; using System.Collections.Generic; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using Newtonsoft.Json; using Newtonsoft.Json.Linq; // https://www.nuget.org/packages/jose-jwt/ using Jose; // https://github.com/dvsekhvalnov/j...
CodeGenerator/Sql/DatatypeInstance.cs
sgolitsynskiy/codegenerator
0
7062693
<filename>CodeGenerator/Sql/DatatypeInstance.cs<gh_stars>0 using System; namespace CodeGenerator.Sql { /// <summary> /// Represents a specific instance of a sql datatype with type/length/precision/scale values /// </summary> public class DatatypeInstance { public DatatypeInstance( ...
src/MyFoodDelivery/Data/MyFoodDbContent.cs
GoduNull/MyFoodDelivery-course-work-ASP.NET-core
0
7062694
<gh_stars>0 using Microsoft.EntityFrameworkCore; using MyFoodDelivery.Data.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyFoodDelivery.Data { public class MyFoodDbContent:DbContext { public MyFoodDbContent(DbContextOptions<MyFoodDbC...
Assets/Scripts/Playmode/Event/PlayerDeathEventPublisher.cs
Allcatraz/Nullptr_ProjetSynthese
0
7062695
<filename>Assets/Scripts/Playmode/Event/PlayerDeathEventPublisher.cs using Harmony; using UnityEngine; namespace ProjetSynthese { [AddComponentMenu("Game/Event/PlayerDeathEventPublisher")] public class PlayerDeathEventPublisher : GameScript { private Health health; private PlayerDeathEvent...
SemanticValue.cs
michaelhow/tranche-net
1
7062696
<reponame>michaelhow/tranche-net<filename>SemanticValue.cs /* * tranche.NET - a DSL for modeling structured finance products. * Copyright (C) 2012 <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...
ValveKeyValue/ValveKeyValue.Test/Text/StronglyTypedCollectionDeserializationTestCase.cs
MaximumADHD/ValveKeyValue
76
7062697
<filename>ValveKeyValue/ValveKeyValue.Test/Text/StronglyTypedCollectionDeserializationTestCase.cs using System.Collections; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using SimpleObject = ValveKeyValue.Test.StronglyTypedCollectionDeserializationTestCase.SimpleObject; namespace ValveK...
src/Taskling.SqlServer/Blocks/ObjectBlockRepository.cs
Vanlightly/Taskling.NET
70
7062698
<filename>src/Taskling.SqlServer/Blocks/ObjectBlockRepository.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using Taskling.Blocks.Common; using Taskling.Blocks.ObjectBlocks; using Ta...
GithubModUpdateCheckerConsole/Utils/MainManager.cs
rakkyo150/GithubModUpdateCheckerConsole
0
7062699
using GithubModUpdateCheckerConsole.Interfaces; using GithubModUpdateCheckerConsole.Structure; using GithubModUpdateCheckerConsole.Utils; using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace GithubModUpdateCheckerConsole { internal class MainManager : DataManage...
Store_Automation/CreateForms/add_activity_entry.cs
mhdb96/Store-Automation
2
7062700
using DataAccess; using MetroFramework; using MetroFramework.Forms; using Models; using System; using System.Data; using System.Windows.Forms; namespace StoreAutomationUI { public partial class add_activity_entry : MetroForm { Activity myAct = new Activity(); string type; bool update =...
ASP.NET Core/GotvachBgScrapping/GotvachBgScrapping/Program.cs
tonchevaAleksandra/C-Web-Development-SoftUni-Problems
7
7062701
 using System; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using HtmlAgilityPack; namespace GotvachBgScrapping { class Program { static async Task Main(string[] args) { HtmlWeb web = new HtmlWeb(); HttpStatusCode statusCode = ...
ShanghaiBloodSports/Assets/Scripts/Moves/MoveState.cs
dktrotti/SaltyBid
1
7062702
<filename>ShanghaiBloodSports/Assets/Scripts/Moves/MoveState.cs using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Assets.Scripts.Moves { public abstract class MoveState : StateMachineBehaviour { protected abstract Move GetMove(Character character); // On...
Lab5/Lab5/Models/CoopStudent.cs
egnsh93/CST8256
0
7062703
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Lab5.Models { public class CoopStudent : Student { private const int CoopFee = 300; public CoopStudent(int number, string name) : base(number, name) { } public override string ToString() =>...
LeetCode.Test/0101-0150/0122-BestTimeToBuyAndSellStock2-Test.cs
BigEggStudy/LeetCode-CS
16
7062704
<filename>LeetCode.Test/0101-0150/0122-BestTimeToBuyAndSellStock2-Test.cs using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LeetCode.Test { [TestClass] public class _0122_BestTimeToBuyAndSellStock2_Test { [TestMethod] public void MaxProfitTest_1() { var solu...
ProjectDAL/ProjectDAL.cs
WANGLANGWUXING/SeeMoreFirstProject
0
7062705
 using Dapper; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; namespace ProjectDAL { public class ProjectDAL { //private static readonly IDbConnection conn = new SqlConnection(System.Configuration.ConfigurationManage...
src/IdentityServer.Admin.Core/Entities/Users/Role.cs
Olek-HZQ/IdentityServerManagement
9
7062706
<filename>src/IdentityServer.Admin.Core/Entities/Users/Role.cs using System.Collections.Generic; using Dapper.Contrib.Extensions; using IdentityServer.Admin.Core.Constants; namespace IdentityServer.Admin.Core.Entities.Users { [Table(TableNameConstant.Role)] public class Role { public Role() ...
NodeMarkup/Manager/Line/LinePartEdge.cs
garethhubball/NodeMarkup
0
7062707
<filename>NodeMarkup/Manager/Line/LinePartEdge.cs using NodeMarkup.Utils; using System; using System.Collections.Generic; using System.Xml.Linq; using UnityEngine; namespace NodeMarkup.Manager { public interface ILinePartEdge : ISupportPoint, IEquatable<ILinePartEdge> { } public static class LinePartEdge ...
Conscience.Extensions/System/System.Text.StringBuilder/Extract/ExtractHexadecimal.cs
Conscience-Information-Technology/OpenApiValidator
0
7062708
using System.Text; namespace System { public static partial class Extensions { public static StringBuilder ExtractHexadecimal(this StringBuilder @this) { return @this.ExtractHexadecimal(0); } public static StringBuilder ExtractHexadecimal(this StringBuilder @this, out int endIndex) { return @this.E...
common/src/Microsoft.Azure.IIoT.Abstractions/src/Exceptions/ExternalDependencyException.cs
JMayrbaeurl/Industrial-IoT
392
7062709
<reponame>JMayrbaeurl/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. // -----------------------------------------------------...
Perpetuum.RequestHandlers/Zone/StatsMapDrawing/DisplaySpots.cs
LoyalServant/PerpetuumServerCore
1
7062710
<reponame>LoyalServant/PerpetuumServerCore using System.Drawing; using Perpetuum.Services.MissionEngine; namespace Perpetuum.RequestHandlers.Zone.StatsMapDrawing { public partial class ZoneDrawStatMap { //private Bitmap DisplaySpots() //{ // var staticObjects = MissionSpot.GetStati...
Source/AutoMocker/CollectionFactories/ListFactory.cs
hasan-hasanov/MockSharp
2
7062711
<filename>Source/AutoMocker/CollectionFactories/ListFactory.cs using AutoMocker.CollectionFactories.Abstract; using AutoMocker.Utils; using System; using System.Collections; namespace AutoMocker.CollectionFactories { public class ListFactory<T> : ICollectionFactory<T> { public T Create() { ...
src/Tests/Unit/Extensions/ReflectionExtensionTests.cs
mikeobrien/swank
5
7062712
<gh_stars>1-10 using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using Swank.Extensions; using NUnit.Framework; using Should; using System.Linq; using System.Xml.Serialization; using Tests.Common; using Tests.Unit.Extensions.RootNamespace; using Tests.Unit.Ex...
VictorBush.Ego.NefsEdit/Source/Settings/OpenFileDialogState.cs
victorbush/ego.nefsedit
20
7062713
// See LICENSE.txt for license information. namespace VictorBush.Ego.NefsEdit.Settings { using System; /// <summary> /// Stores recent state of open file dialog so the user can quickly reopen files. /// </summary> [Serializable] public class OpenFileDialogState { /// <summary> ...
src/Locker/LockObject.cs
SlugEnt/Locker
0
7062714
<filename>src/Locker/LockObject.cs using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("SlugEnt.TestLocker")] namespace SlugEnt.Locker { /// <summary> /// Represents a Locker Lock on a given object. This is typically used when retrieving lock information from a Locker. /// </summary...
Topos.SqlServer/Config/SqlServerEventStoreConfigurationExtensions.cs
runeanielsen/Topos
15
7062715
using Topos.Config; namespace Topos.SqlServer.Config { public static class SqlServerEventStoreConfigurationExtensions { public static void UseSqlServer(this StandardConfigurer<IProducerImplementation> configurer, string connectionString) { } public static void Use...
src/Gallio/Gallio/Runtime/Formatting/FormattingRulePriority.cs
citizenmatt/gallio
1
7062716
<filename>src/Gallio/Gallio/Runtime/Formatting/FormattingRulePriority.cs // Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You...
Xceed.Wpf.DataGrid/(CollectionView)/DataGridCollectionViewDataProvider.cs
aaasoft/Quick.WpfToolkit
1
7062717
<gh_stars>1-10 /************************************************************************************* Extended WPF Toolkit Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/li...
mcs/tests/gtest-461.cs
lefb766/mono
469
7062718
<gh_stars>100-1000 using System; namespace Test { public class BaseContext { } public class MyDataContext : BaseContext { } public abstract class Entity<T> { } public class Person : Entity<MyDataContext> { } public sealed class TheBox<T> where T : BaseContext { public U GetById<U> (Guid entityId) w...
C#/M01C#ProgrammingBasics/L02ConditionalStatements/MoreExercises/07.FlowerShop/StartUp.cs
todorkrastev/softuni-software-engineering
3
7062719
using System; namespace _07.FlowerShop { class StartUp { static void Main(string[] args) { int magnolia = int.Parse(Console.ReadLine()); int hyiacinth = int.Parse(Console.ReadLine()); int rose = int.Parse(Console.ReadLine()); int cactus = int.Par...
src/lib/iTin.Core.Hardware/iTin.Core.Hardware.Specification/iTin.Core.Hardware.Specification.Dmi/DMI/Structures/DmiType013 [BIOS Language Information].cs
jwts-dev/iSMBIOS
0
7062720
<reponame>jwts-dev/iSMBIOS  namespace iTin.Core.Hardware.Specification.Dmi { using Property; using Smbios; using Smbios.Property; /// <inheritdoc/> /// <summary> /// Specialization of the <see cref="DmiBaseType{T}"/> class that contains the logic to decode the BIOS Language Information (Type ...
TimeLogger/Models/Model.cs
LeeBurrows/TimeLogger
0
7062721
<reponame>LeeBurrows/TimeLogger using System.Collections.Generic; using TimeLogger.DTO; using TimeLogger.Services; namespace TimeLogger.Models { internal class Model { //-------------------------------------------------------------------------------- // // wiring // ...
SSBHLib/Tools/SSBHRiggingCompiler.cs
Jerr-z/please
0
7062722
<filename>SSBHLib/Tools/SSBHRiggingCompiler.cs using System; using System.Collections.Generic; using SSBHLib.Formats.Meshes; using System.Linq; namespace SSBHLib.Tools { /// <summary> /// Tools for compiling rigging information into a Mesh Rigging Group /// </summary> public class SsbhRiggingCompiler ...
Building RESTful Services Using ASP.NET/WebApplication2/WebApplication2/Data/Sources/InvoiceSource.cs
BlackyWolf/TechTalks
0
7062723
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using WebApplication2.Models; namespace WebApplication2.Data.Sources { public class InvoiceSource : ISource<Invoice> { private static ICollection<Invoice> invoices; public InvoiceSource() { ...
Smooth/Smooth.Foundations.Extensions/Algebraic/ValueTupleExtensions.cs
Volodej/smooth.foundations
8
7062724
using System; using Smooth.Algebraics; namespace Smooth.Extensions.Algebraic { public static class ValueTupleExtensions { public static (T1, T2) PipeAndReturn<T1, T2>(this (T1, T2) tuple, Action<T1, T2> action) { action(tuple.Item1, tuple.Item2); return tuple; }...
Source/UprisingEditor/UprisingEditor.Build.cs
jwoo1601/Unknown-Planet-Zeropist
0
7062725
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class UprisingEditor : ModuleRules { public UprisingEditor(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange(new string[] { "Core", "...
src/Pirac/Conventions/IConvention.cs
distantcam/Pirac
2
7062726
<filename>src/Pirac/Conventions/IConvention.cs using System; namespace Pirac.Conventions { public interface IConvention { bool Filter(Type type); void Verify(Type type); string BaseName(Type type); bool IsVariant(Type type, Type variant, string basename); } ...
Labs/07_End_to_End_DevOps/Assets/SimpleCRM/SimpleCRM.UIAutomationTests/NavigationTests.cs
vijayraavi/Activate-Azure-for-DevOps
0
7062727
<filename>Labs/07_End_to_End_DevOps/Assets/SimpleCRM/SimpleCRM.UIAutomationTests/NavigationTests.cs<gh_stars>0 using Microsoft.VisualStudio.TestTools.UITesting; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Configuration; using TestContext = Microsoft.VisualStudio.TestTools.UnitTesting.TestContext; ...
src/Recruit/Server/Controllers/EmailTemplatesController.cs
leigh-pointer/Recruit
0
7062728
<reponame>leigh-pointer/Recruit<filename>src/Recruit/Server/Controllers/EmailTemplatesController.cs<gh_stars>0 using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Recruit.Server.Data; using Recruit.Shared; namespace Recruit.Server.Controllers { [Route("...
src/DataLakeModels/Models/AdWords/Reports/StructuralCriteriaPerformance.cs
FredRanieri/jellyfish
6
7062729
using System; namespace DataLakeModels.Models.AdWords.Reports { public class StructuralCriteriaPerformance : IValidityRange, IEquatable<StructuralCriteriaPerformance> { public DateTime ValidityStart { get; set; } public DateTime ValidityEnd { get; set; } public string KeywordId { get; set...
src/WebApi.Models/Version2/Constants/Version2Constants.cs
InformappNL/informapp-api-dotnet-client
22
7062730
 namespace Informapp.InformSystem.WebApi.Models.Version2.Constants { /// <summary> /// Version 2 constants /// </summary> internal static class Version2Constants { /// <summary> /// Data contract namespace /// </summary> internal const string Namespace = ""; } }
HomeSchoolDayBook/frwFirstTimeSubjectsB4.cs
MattConrad/HomeschoolDayBook
0
7062732
<reponame>MattConrad/HomeschoolDayBook using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace HomeSchoolDayBook { public partial class frwFirstTimeSubjectsB4 : frbHSDWizard { ...
galaxia/Assets/_Scripts/Enemy_1.cs
seanboyy/G2-Project1
0
7062733
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy_1 : Enemy_0 { public GameObject projectilePrefab; public float projectileSpeed; // Use this for initialization void Start() { cycleTime = Time.time; rank = ShipRank.enemy_1; } ...
Assets/Editor/SceneSwitchWindow.cs
tm011064/sidescroller
0
7062734
using System.Collections.Generic; using System.Linq; using System.IO; using UnityEditor; using UnityEngine; /// <summary> /// SceneSwitchWindow class. /// </summary> public class SceneSwitchWindow : EditorWindow { /// <summary> /// Tracks scroll position. /// </summary> private Vector2 scrollPos; /// <summ...
AIDEBackendMaster/GDC.PH.AIDE.BusinessLayer/clsProfileFactory.cs
chriscg/aide-backend
2
7062735
<reponame>chriscg/aide-backend using System; using System.Collections.Generic; using System.Text; using System.Data; using GDC.PH.AIDE.BusinessLayer.DataLayer; /// <summary> /// BY <NAME> /// </summary> namespace GDC.PH.AIDE.BusinessLayer { public class clsProfileFactory { #region Data Memb...
GrammarNazi.Domain/Entities/MeaningCloudAPI/SentimentAnalysis/SegmentList.cs
rihu-5/grammar-nazi-bot
20
7062736
using Newtonsoft.Json; using System.Collections.Generic; namespace GrammarNazi.Domain.Entities.MeaningCloudAPI.SentimentAnalysis { public class SegmentList { [JsonProperty("text")] public string Text { get; set; } [JsonProperty("segment_type")] public string SegmentType { get;...
Src/IronPython.Modules/_string.cs
btddg28/ironpython
2
7062738
<reponame>btddg28/ironpython<gh_stars>1-10 using IronPython.Runtime; [assembly: PythonModule("_string", typeof(IronPython.Modules.PythonString))] namespace IronPython.Modules { public static class PythonString { // TODO: fill this up } }
MedEx/Web/MedEx.Web/Controllers/PatientController.cs
kostadinM29/WebProject
5
7062739
using MedEx.Common; using MedEx.Data.Models; using MedEx.Services.Data.Patients; using MedEx.Services.Data.Towns; using MedEx.Web.ViewModels.PatientViewModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System.Security.Claims; using System.Threa...
Assets/FrameLord/Scripts/Math/Vector2Ex.cs
ruizdiego/framelord
2
7062740
<reponame>ruizdiego/framelord<gh_stars>1-10 // Unity Framework using UnityEngine; namespace FrameLord { public static class Vector2Ex { public static Vector2 Rotate(Vector2 vec, float angleDeg) { float angle = angleDeg * Mathf.Deg2Rad; float cos = Mathf.Cos(angle); float sin = Mathf.Sin(angle); flo...
AstronomyGame/Assets/Scripts/Characters/Inventory.cs
somesimplecore/AstronomyGame
0
7062741
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Inventory : MonoBehaviour { [SerializeField] private Canvas Canvas; public bool[] IsFool; public GameObject[] Slots; void Start() { Canvas.enabled = false; } public void Intera...
ITnmg.CsvHelper/CharBuffer.cs
jgh004/ITnmg.CsvHelper
1
7062742
using System; using System.Collections.Generic; using System.Text; namespace ITnmg.CsvHelper { /// <summary> /// 字符缓存 /// </summary> public class CharBuffer { /// <summary> /// 缓存 /// </summary> public char[] Buffer { get; private set; } /// <summary> ...
Assets/StansAssets/Addons/GoogleMobileAdsClient/Runtime/API/UM_GoogleRewardedAds.cs
StansAssets/com.stansassets.running-dinosaur-clone
2
7062743
using System; using SA.Foundation.Templates; using GoogleMobileAds.Api; using StansAssets.Foundation.Async; namespace SA.CrossPlatform.Advertisement { public class UM_GoogleRewardedAds : UM_GoogleBaseAds, UM_iRewardedAds { RewardedAd m_RewardedVideo; Action<UM_RewardedAdsResult> m_ShowCallback...
Cachacus/Repositories/AbstractCacheRepository.cs
burkhartt/Blueis
2
7062744
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Cachacus.Repositories.Parts; namespace Cachacus.Repositories { public abstract class AbstractCacheRepository<T> : ICacheRepository<T>, IInitializable where T : class, new() { protected readonly C...
EncogFramework2.5/Neural/Networks/Training/LMA/JacobianChainRule.cs
ebx/OpenPokerAI
1
7062745
// Encog(tm) Artificial Intelligence Framework v2.5 // .Net Version // http://www.heatonresearch.com/encog/ // http://code.google.com/p/encog-java/ // // Copyright 2008-2010 by Heaton Research Inc. // // Released under the LGPL. // // This is free software; you can redistribute it and/or modify it // under the terms ...
PowerLinesAccuracyService/Controllers/AccuracyController.cs
johnwatson484/power-lines-accuracy-service
0
7062746
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using PowerLinesAccuracyService.Data; using System.Linq; using PowerLinesAccuracyService.Models; using Microsoft.EntityFrameworkCore; using PowerLinesAccuracyService.Accuracy; namespace PowerLinesAccuracyService.Controllers { [ApiContr...