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
CIB/CIB Core/Util/LineColumn.cs
WilliamRagstad/CIB
1
7045290
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace CIB.Core.Util { internal class LineColumn { public LineColumn() { line = 0; column = 0; } private int line; private int column; public int Line ...
ECSBasicTutorial/ECSEngine/Component/Scene.cs
Fe-Bell/DesignPatternsTutorials
1
7045291
using ECSEngine.Interface; using System; using System.Collections.Generic; using System.Text; namespace ECSEngine.Component { public class Scene : Entity { /// <summary> /// A collection of entities. /// </summary> public List<Entity> Entities { get; private set; } pub...
KinaUnaXamarin/KinaUnaXamarin/Models/KinaUna/CalendarItem.cs
KinaUna/KinaUnaXamarin
3
7045292
<gh_stars>1-10 using System; namespace KinaUnaXamarin.Models.KinaUna { public class CalendarItem { public int EventId { get; set; } public int ProgenyId { get; set; } public string Title { get; set; } public string Notes { get; set; } public DateTime? StartTime { get; s...
G2/Class10-Workshop/Code/SEDC.AcademyManagement/SEDC.AcademyManagement.Domain/Classes/Trainer.cs
sedc-codecademy/skwd9-net-05-oopcsharp
1
7045293
<gh_stars>1-10 using SEDC.AcademyManagement.Domain.Enums; namespace SEDC.AcademyManagement.Domain.Classes { public class Trainer : AcademyMember { public Trainer(string userName, string firstName, string lastName, int age) : base(userName, firstName, lastName, age) { Role = Role.Tra...
Code/SimpleAuthentication.Mvc/AuthenticateCallbackData.cs
SimpleAuthentication/SimpleAuthentication
118
7045295
<filename>Code/SimpleAuthentication.Mvc/AuthenticateCallbackData.cs using System; using SimpleAuthentication.Core; namespace SimpleAuthentication.Mvc { public class AuthenticateCallbackData { public AuthenticateCallbackData() { ProviderName = "Unknown"; } ...
Brewery/BreweryMVC.Test/BeerTypeControllerTest.cs
edrmonteiro/FSdotnetAngular
0
7045296
<reponame>edrmonteiro/FSdotnetAngular using Brewery.Domain; using Brewery.MVC.API; using Brewery.Repository.Contracts; using Brewery.Repository.Data; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Moq; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; ...
Feli.RocketMod.AdvancedCosmetics/Models/PlayerCosmetics.cs
Hippisownia/AdvancedCosmetics
2
7045297
<reponame>Hippisownia/AdvancedCosmetics<gh_stars>1-10 using System.Collections.Generic; using System.Linq; using SDG.Provider; using SDG.Unturned; namespace Feli.RocketMod.AdvancedCosmetics.Models { public class PlayerCosmetics { public ulong PlayerId { get; set; } public int Hat { get; set; }...
OKExSDK/Models/Margin/MarginLedger.cs
yellow001/CoinAPP_Server
0
7045298
<filename>OKExSDK/Models/Margin/MarginLedger.cs using System; using System.Collections.Generic; using System.Text; namespace OKExSDK.Models.Margin { public class MarginLedger { /// <summary> /// 账单ID /// </summary> public long ledger_id { get; set; } /// <summary> ...
src/Enterspeed.Source.Sdk/Api/Models/EnterspeedEntity.cs
msoelvsteen/enterspeed-sdk-dotnet
0
7045299
<gh_stars>0 using System.Collections.Generic; using Enterspeed.Source.Sdk.Api.Models.Properties; namespace Enterspeed.Source.Sdk.Api.Models { public class EnterspeedEntity : IEnterspeedEntity { public string Id { get; } public string Type { get; } public string Url { get; } pub...
YAMP.Core/Errors/YAMPOperatorMissingError.cs
FlorianRappl/YAMP
15
7045300
namespace YAMP.Errors { using System; /// <summary> /// The operator missing error. /// </summary> class YAMPOperatorMissingError : YAMPParseError { public YAMPOperatorMissingError(Int32 line, Int32 column) : base(line, column, "An expected operator was not found.") ...
Antd2/02_cmds/NS.cs
Anthilla/Antd
37
7045301
using antd.core; using Antd2.models; using System; using System.IO; using System.Linq; namespace Antd2.cmds { public class NS { private const string nsupdateFileLocation = "/usr/bin/nsupdate"; public static bool Update(string nsupdateConfigurationFile) { if (!File.Exists(nsupdateFile...
P2P.Designer.cs
MakerLabsVan/Flight_Mode
0
7045302
<reponame>MakerLabsVan/Flight_Mode namespace Example { partial class P2P { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
src/TSqlScriptGenerator/Program.cs
sped-mobi/sql-script-generator
1
7045303
// ----------------------------------------------------------------------- // <copyright file="TSqlScriptGenerator.cs" company="sped.mobi"> // Copyright � 2018 <Unknown>. All rights reserved. // </copyright> // ----------------------------------------------------------------------- using Microsoft.Extensions.Command...
LeanCloud.Play/LeanCloud.Play/Test/LeanCloud.Play.TextUnit.NetFx46/FindFriendsTest.cs
wujun4code/Play-SDK-dotNET
0
7045304
using System; using System.Collections; using System.Diagnostics; using LeanCloud; using NUnit.Framework; namespace TestUnit.NetFx46 { [TestFixture] public class FindFriendsTest : TestBase { public FindFriendsTest() : base() { } /// <summary> /// 测试当前用户随机加入房间之后,其他...
src/Common/FitOnFhir.Common/Requests/RoutingRequest.cs
microsoft/googlefit-on-fhir
1
7045305
<reponame>microsoft/googlefit-on-fhir // ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ---------------------...
examples/normal-search/Program.cs
glennblock/splunk-sdk-csharp-pcl
1
7045306
/* * Copyright 2014 Splunk, 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 applicable law or agreed t...
MetaFileManager/syntax/expressions/bools/comparisons/ListComparison.cs
nathaliefil/uroboros
0
7045307
<filename>MetaFileManager/syntax/expressions/bools/comparisons/ListComparison.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using Uroboros.syntax.variables.abstracts; namespace Uroboros.syntax.expressions.bools.comparisons { class ListComparison : DefaultBoolable...
Topos.Kafka/Internals/Callbacks.cs
runeanielsen/Topos
15
7045308
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Confluent.Kafka; using Topos.Consumer; using Topos.Logging; namespace Topos.Internals { static class Callbacks { public static void LogHandler<T1, T2>(ILogger logger, IProducer<T1, T2> producer, LogM...
VirtualRadar.Interface/Network/IRebroadcastServerManager.cs
sportcanon/vrs-mod
0
7045309
<gh_stars>0 // Copyright © 2012 onwards, <NAME> // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice...
Assets/BlinkingScript.cs
lbhs/Catalysis
0
7045310
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BlinkingScript : MonoBehaviour { private Text thistext; private bool blinking; // Start is called before the first frame update void Start() { thistext = GetComponent<Text>();...
Assets/Scripts/UI/MenuTextController.cs
Collederas/OldManGame
0
7045311
<gh_stars>0 using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.InputSystem; public class MenuTextController : MonoBehaviour { public TMP_Text title; public TMP_Text text; public string titleText; [TextArea(3, 5)] public string[] sentences...
Source/StandardLibrary/StandardLibrary.Implementations/Downloader/General/StandardUrlDownloader.cs
FlightSimHelpingFramework/FlightSimInformation
0
7045312
<gh_stars>0 // This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #region Usings using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using StandardLibrary.Codes; using Stand...
Server/Simple/SimpleModule.cs
pashcovich/sipserver
95
7045313
using System; using System.Threading; using System.Collections.Generic; using ThreadSafe = System.Collections.Generic.ThreadSafe; using Sip.Tools; namespace Sip.Simple { public sealed class SimpleModule : IDisposable { #region struct PublicationExpiresKey {...} struct PublicationExpiresKey { public Publ...
Bakery/Views/Treats/Index.cshtml
chloeloveall/BakeryTreats.Solution
0
7045314
@{ Layout = "_Layout"; } @using Bakery.Models; <h1>Flavors</h1> <a href='/treats/search' class="btn btn-lg" role="button">Search by Treat</a> <a href='/treats/create' class="btn btn-lg" role="button">Add New Treat</a> <a href='/' class="btn btn-lg" role="button">Home</a> @if (@Model.Count == 0) { <h3>No treats ...
IzgodnoKupi/IzgodnoKupi/Areas/Admin/Views/Order/Edit.cshtml
Camyul/Izgodno-Kupi
0
7045315
<filename>IzgodnoKupi/IzgodnoKupi/Areas/Admin/Views/Order/Edit.cshtml @using IzgodnoKupi.Web.Areas.Admin.Models.OrderViewModel @using IzgodnoKupi.Data.Model.Enums @model OrderViewModel <h4 class="text-center">Редактиране</h4> <hr /> <div class="row"> <div class=""> <form asp-controller="Order" asp-action...
rProxy/Common/CompressedStream.cs
CalypsoSys/Babalu_rProxy
6
7045316
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.Compression; using System.IO; namespace Babalu.rProxy { /// <summary> /// /// </summary> public class CompressedStream : IDisposable { private static string _contentIsDefl...
Tests/GitHubBloomWrapperPreMergeJobTests.cs
rmunn/ci-builder-scripts
4
7045318
// Copyright (c) 2015 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System; using NUnit.Framework; using OpenQA.Selenium; namespace Tests { [TestFixtureAttribute] public class GitHubBloomWrapperMasterPreMergeJobTests: GitHubBloomWrapperPreMergeJobTes...
src/NetTemplate/Debug/InterpEvent.cs
ultimicro/net-template
0
7045319
namespace NetTemplate.Debug; using NetTemplate.Misc; using ArgumentNullException = System.ArgumentNullException; public class InterpEvent { private readonly TemplateFrame _frame; // output location private readonly Interval _interval; public InterpEvent(TemplateFrame frame, Interval interval) { ...
OGS.Tests/NegativeScenariosTestSources.cs
4agenda/OGS.HOCON
10
7045320
namespace OGS.Tests { /// <summary> /// The negative scenarios test sources. /// </summary> public static class NegativeScenariosTestSources { /// <summary> /// The negative 1. /// </summary> public static readonly string Negative1 = @"client }"; /// <summar...
G4/Class05/BonusMaterial1/DemoCode1/BoxingUnboxing/Program.cs
sedc-codecademy/skwd9-net-06-csharpadv
1
7045321
using System; namespace BoxingUnboxing { class Program { static void Main(string[] args) { // Boxing an integer in to a more universal type, object // All value types derive from object // That is why we can box any value type in to object int number1 = 9000; object obj1 = numbe...
Runtime/zControl/Math/IAbelian.cs
Helluys/zControl
0
7045322
<filename>Runtime/zControl/Math/IAbelian.cs<gh_stars>0 namespace zControl.Math { /// <summary> /// A commutative <see cref="IGroup{T}"/>. It verifies the following properties: /// <list type="bullet"> /// <item><description>All <see cref="IGroup{T}"/> properties</description></item> /// <item><description>Commuta...
Xpirit.BeerXchange/Model/Beer.cs
NielsNijveldt/beer-xchange
0
7045323
<gh_stars>0 using System; using System.ComponentModel.DataAnnotations; namespace Xpirit.BeerXchange.Model { public class Beer { public int Id { get; set; } [Required] public string Name { get; set; } public string Country { get; set; } public string Brewery { get; set; } ...
GUIWithRegistry.cs
nguyenq/VietOCR3.NET
35
7045324
<gh_stars>10-100 /** * Copyright @ 2008 <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.0 * * Unless required by applicable law ...
Source/DataValidation/Contact.cs
sabinayakc/metronet
0
7045326
<gh_stars>0 using Newtonsoft.Json; using System; namespace DataValidation { public class Contact { [JsonProperty("fullName")] public string FullName { get; set; } [JsonProperty("cityName")] public string CityName { get; set; } [JsonProperty("phoneNumber")] pub...
foam.API/Files/Variables.cs
mgefvert/foam
1
7045327
<reponame>mgefvert/foam<filename>foam.API/Files/Variables.cs namespace foam.API.Files; public class Variables : Dictionary<string, string?> { public Variables() : base(StringComparer.InvariantCultureIgnoreCase) { } public Variables(IDictionary<string, string?> variables) : base(variables, StringCompa...
Src/DynamicLinqWebDocs/Models/Example.cs
meatGUY/System.Linq.Dynamic
14
7045328
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DynamicLinqWebDocs.Models { public class Example { public string HeaderRemarks { get; set; } public string FooterRemarks { get; set; } public string ExampleCode { get; set; } ...
Services/DbDealsService.cs
lanfeust69/LanfeustBridge
1
7045329
<gh_stars>1-10 using System.Linq; using LiteDB; using Microsoft.Extensions.Logging; namespace LanfeustBridge.Services { using LanfeustBridge.Models; public class DbDealsService : IDealsService { private readonly ILogger _logger; private readonly ILiteCollection<DealWrapper> _deals; ...
Scripts/Math/DualQuaternions.cs
kumaranjeya/-neginfinity_UnityTools
0
7045330
<reponame>kumaranjeya/-neginfinity_UnityTools using System.Collections; using System.Collections.Generic; using UnityEngine; using MathExtensions; public struct DualQuaternion{ public Quaternion real; public Quaternion dual; public static DualQuaternion fromUnityTransform(Quaternion rot, Vector3 pos){ var r = ...
GroupSpace.DAL/DataContext/AppDataContext.cs
Mahmoud02/GroupSpace-API
0
7045331
<gh_stars>0 using GroupSpace.DAL.Entities; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GroupSpace.DAL.DataContext { public class AppDataContext : DbContext { public DbSet<Group> Group...
Infrastructure/Factories/SqlConnectionFactory.cs
SebastianSoendergaard/simple-eventsourcing-and-cqrs
1
7045332
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Text; namespace Infrastructure.Factories { public class SqlConnectionFactory : ISqlConnectionFactory { private readonly string connectionString; public SqlConnectionFactory(string connectionString) ...
Telerik Academy/C#/1.C#Basics/Homeworks/03OperatorsAndExpressions/01OddOrEven/OddOrEven.cs
kaneva91/belongs-to-kali
0
7045333
<gh_stars>0 using System; class OddOrEven { static void Main() { int number = int.Parse(Console.ReadLine()); string answer = "odd "; if (number % 2 == 0) { answer = "even "; } Console.WriteLine(answer + number); } }
src/Sample/Pages/Index.cshtml
Blazored/Materialize
3
7045334
<reponame>Blazored/Materialize<gh_stars>1-10 @page "/" <div class="container"> <h1>Materialize Components</h1> <h3>Collapsible</h3> <div class="row"> <div class="col m6"> <Collapsible> <CollapsibleSection Icon="filter_drama" Header="First"> Lorem ipsum dolor sit ...
BTCPayServer/Components/UIExtensionPoint/UIExtensionPoint.cs
bkiac/btcpayserver
3
7045335
using System; using System.Collections.Generic; using System.Linq; using BTCPayServer.Contracts; using Microsoft.AspNetCore.Mvc; namespace BTCPayServer.Components.UIExtensionPoint { public class UiExtensionPoint : ViewComponent { private readonly IEnumerable<IUIExtension> _uiExtensions; public...
BlazorBattles/Shared/User.cs
WeekendWarrior/BlazorBattles
0
7045336
using System; using System.Collections.Generic; namespace BlazorBattles.Shared { public class User { public int Id { get; set; } public string Email { get; set; } public string Username { get; set; } public byte[] PasswordHash { get; set; } public byte[] PasswordSal...
MvcEssentials/Web/MvcEssentials.Web/ViewModels/Home/RegionViewModel.cs
puhabg/EssentialNews
0
7045337
<reponame>puhabg/EssentialNews namespace MvcEssentials.Web.ViewModels.Home { using System.Collections.Generic; using MvcEssentials.Data.Models; using MvcEssentials.Web.Infrastructure.Mapping; public class RegionViewModel : IMapFrom<Region> { public string Name { get; set; } publi...
Source/Mosa.DeviceSystem/PCI/SubClassCodeTable.cs
charsleysa/MOSA-Project
294
7045339
// Copyright (c) MOSA Project. Licensed under the New BSD License. namespace Mosa.DeviceSystem.PCI { /// <summary> /// /// </summary> public static class SubClassCodeTable { /// <summary> /// Looks up the specified sub class code. /// </summary> /// <param name="classCode">The class code.</param> /// <p...
src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/Pages/RegistrationChangeProviderPage.cs
uk-gov-mirror/SkillsFundingAgency.tl-results-and-certification-automation-suite
0
7045340
using NUnit.Framework; using OpenQA.Selenium; using Sfa.Tl.ResultsAndCertificationAutomation.Framework.Helpers; using Sfa.Tl.ResultsAndCertificationAutomation.Tests.TestSupport; using System; using System.Threading; namespace Sfa.Tl.ResultsAndCertificationAutomation.Tests.Pages { class RegistrationChangeProviderP...
Lidgren.Network/Sockets/NetSocketAddress.cs
metalgearsloth/SpaceWizards.Lidgren.Network
11
7045341
<gh_stars>10-100 using System; using System.Diagnostics; using System.Net; using System.Net.Sockets; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // ReSharper disable NonReadonlyMemberInGetHashCode namespace Lidgren.Network { // Ok so basically I got really enthusiastic and // origin...
src/OfficeRibbonXEditor/Interfaces/IVersionChecker.cs
bitaller/office-ribbonx-editor
285
7045342
<reponame>bitaller/office-ribbonx-editor using System.Threading; using System.Threading.Tasks; namespace OfficeRibbonXEditor.Interfaces { /** * Service which will check online whether a newer version of the tool exists */ public interface IVersionChecker { Task<string?> CheckVersionAsync...
SocketServer/SocketServer/MessagePackGenerated.cs
frank12001/FT-SocketServer
1
7045343
#pragma warning disable 618 #pragma warning disable 612 #pragma warning disable 414 #pragma warning disable 168 namespace MessagePack.Resolvers { using System; using MessagePack; public class GeneratedResolver : global::MessagePack.IFormatterResolver { public static readonly global::MessagePa...
src/Dragonfly/ActiveCampaign/Queries/Campaigns/CampaignsRequest.cs
hfloyd/Dragonfly.ActiveCampaignV3Api
2
7045344
<reponame>hfloyd/Dragonfly.ActiveCampaignV3Api<filename>src/Dragonfly/ActiveCampaign/Queries/Campaigns/CampaignsRequest.cs namespace Dragonfly.ActiveCampaign.Queries { using System.Collections.Generic; using System.Linq; using Dragonfly.ActiveCampaign.Helpers; using Dragonfly.ActiveCampaign.Models; ...
Bot.cs
jorelius/Lux-Design-2021-CSharp
0
7045345
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Lux { public class Program { public static void Main(String[] args) { Agent agent = new Agent(); // initialize agent.Initialize(); while (true) ...
Solution.Base/Interfaces/Persistance/IBaseDbContextFactory.cs
davidikin45/DigitalNomadDave
0
7045346
using Solution.Base.Implementation.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Solution.Base.Interfaces.Persistance { public interface IDbContextFactory { IBaseDbContext CreateDefault(); TIDbContext Creat...
NBi.Testing/Integration/Core/Query/Resolver/AssemblyQueryResolverTest.cs
CoolsJoris/NBi
0
7045347
using NBi.Core; using NBi.Core.Query; using NBi.Core.Query.Resolver; using NBi.Xml.Items; using NUnit.Framework; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using NBi.Extensibility.Query; namespace NBi.Testing.Integration.Core....
src/Spear.Core/Config/ConfigExtensions.cs
jl632541832/spear
51
7045348
using Spear.Core.Extensions; using System; namespace Spear.Dapper.Config { public static class ConfigExtensions { /// <summary> 获取配置常量 </summary> /// <typeparam name="T"></typeparam> /// <param name="key"></param> /// <param name="def"></param> /// <returns></returns> ...
GoLocal.TimeTracker/GoLocal.TimeTracker.Dashboard/Interfaces/ITimerHoursService.cs
OfficeGlobal/Timesheet
0
7045349
<filename>GoLocal.TimeTracker/GoLocal.TimeTracker.Dashboard/Interfaces/ITimerHoursService.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GoLocal.TimeTracker.Dashboard.Interfaces { public interface ITimerHoursService { Task createTimerHours...
SimpleFormsService.API/Program.cs
Nova-Scotia-Digital-Service/Simple-Form-Service
4
7045350
<filename>SimpleFormsService.API/Program.cs using Microsoft.EntityFrameworkCore; using Minio.AspNetCore; using Notify.Client; using SimpleFormsService.API.Middleware; using SimpleFormsService.Configuration; using SimpleFormsService.Domain.Repositories; using SimpleFormsService.Persistence; using SimpleFormsServi...
KeithKatas.Tests/201805/DisemvowelTests.cs
ssfcultra/Katas
0
7045351
using KeithKatas.May2018; using NUnit.Framework; namespace KeithKatas.Tests.May2018 { [TestFixture] public class DisemvowelTests { [Test] public void ShouldRemoveAllVowels() { Assert.AreEqual(Disemvowel.DisemvowelTrolls("This website is for losers LOL!"), "T...
Assets/Framework/Systems/Animation/SpriteAnimationSystem.cs
PixelComrades/Framework
10
7045352
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace PixelComrades { [Priority(Priority.Normal)] public class SpriteAnimationSystem : SystemBase, IMainSystemUpdate { private ComponentArray<SpriteAnimationComponent> _arraySpriteAnimation; public SpriteAnima...
Ensurity.IdentityProvider/Startup.cs
EnsurityTechnologies/Ensurity.IdentityProvider
0
7045353
using Ensurity.IdentityProvider.Data; using Ensurity.MultiTenancyServer; using IdentityModel.Client; using IdentityServer4.EntityFramework.DbContexts; using IdentityServer4.EntityFramework.Mappers; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.A...
Source/RecoillessRifle/CompProperties_ProjectileExtraDamage.cs
emipa606/RecoillessRifle
0
7045355
<filename>Source/RecoillessRifle/CompProperties_ProjectileExtraDamage.cs using RimWorld; using UnityEngine; using Verse; namespace RecoillessRifle { // Token: 0x02000008 RID: 8 public class CompProperties_ProjectileExtraDamage : CompProperties { // Token: 0x0400000A RID: 10 public int dama...
vendor/nuget/src/VisualStudio/Extensions/DTEExtensions.cs
SubasishMohapatra/SquirrelDemo
0
7045356
using System; using System.Runtime.InteropServices; using EnvDTE; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell.Interop; namespace NuGet.VisualStudio { public static class DTEExtensions { public static Project GetActiveProject(this IVsMonitorSelection vsMonitorSelection) { ...
Sealed Keyword/Sealed Keyword/com/Module/ClassA.cs
prohimanshu/CshOOP-basic_adv
0
7045357
<gh_stars>0 using System; namespace Sealed_Keyword.com.Module { class ClassA //:ClassB can't extend in ClassB { public ClassA() { Console.WriteLine("i'm in class A"); } } }
src/PrtgAPI/Objects/Models/SysInfo/SystemInfo.cs
ericsp59/PrtgAPI
218
7045358
<reponame>ericsp59/PrtgAPI using System.Collections.Generic; namespace PrtgAPI { /// <summary> /// Represents System Information used to describe the state of a device. /// </summary> public class SystemInfo { /// <summary> /// ID of the device this information applies to. ...
Program.cs
CodingCampus2/csharphometask3-developernevid
0
7045360
using System; using CodingCampusCSharpHomework; namespace HomeworkTemplate { //enum DefibliratorFields : int //{ // ORGANIZATION = 0, // ADDRESS, // LONGITUDE, // LATITUDE //}; class Program { //private struct Position //{ // public bool Parse...
Configuration/Configuration/Ini/IniConfiguration.cs
electroball09/configuration
0
7045361
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.IO; public class IniConfiguration : IConfiguration { public const string FILE_EXTENSION = ".ini"; const char SECTION_START = '['; const char SECTION_END = ']'; const char KEYVALUE_SEPA...
src/Core/Repositories/ICompanyRepository.cs
nunobaraujo/BoTest
0
7045362
<gh_stars>0 using Core.Repositories.Commands.CompanyRepository; namespace Core.Repositories { public interface ICompanyRepository { void SetEncryptionKey(string encryptionKey); ICompanyOptionsCommands CompanyOptions { get; } ICustomerCommands Customer { get; } ...
workers/unity/Assets/PlaymodeTests/StatSystemTests.cs
ChristianBasiga/MDG
0
7045363
<filename>workers/unity/Assets/PlaymodeTests/StatSystemTests.cs using System.Collections; using System.Collections.Generic; using Improbable.Gdk.Subscriptions; using NUnit.Framework; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.TestTools; using MDG.Common.MonoBehaviours; namespace Tests { ...
tests/Backend/Useful.ToTests/Builders/Repositories/HomeWriteOnlyRepositoryBuilder.cs
welissonArley/Homuai
1
7045364
using Homuai.Domain.Repository.Home; using Moq; namespace Useful.ToTests.Builders.Repositories { public class HomeWriteOnlyRepositoryBuilder { private static HomeWriteOnlyRepositoryBuilder _instance; private readonly Mock<IHomeWriteOnlyRepository> _repository; private HomeWriteOnlyRep...
src/SFA.DAS.AdminService.Web/ViewModels/Register/UserRemovedViewModel.cs
jack-cloud-platform/das-admin-service
0
7045365
namespace SFA.DAS.AdminService.Web.Models { public class UserRemovedViewModel { public string ContactEmail { get; set; } public string OrganisationName { get; set; } public string EndPointAssessorOrganisationId { get; set; } } }
v2.4/Models/XsdConvert/genericRailML/TOperatingDayDeviance.cs
LightosLimited/RailML
0
7045366
<reponame>LightosLimited/RailML //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------...
Uial/Contexts/ContextDefinition.cs
Remi05/uial
5
7045367
<filename>Uial/Contexts/ContextDefinition.cs using System; using System.Collections.Generic; using System.Linq; using System.Windows.Automation; using Uial.Conditions; using Uial.Contexts.Windows; using Uial.Interactions; using Uial.Scopes; namespace Uial.Contexts { public class ContextDefinition : IContextDefini...
JitStreamDesigner/FeatureGuiCommon.cs
mtonosaki/JitStreamDesigner
0
7045368
<filename>JitStreamDesigner/FeatureGuiCommon.cs // (c) 2020 <NAME> // Licensed under the MIT license. using System.Linq; using System.Text; using Tono; using Tono.Gui; using Tono.Gui.Uwp; using Tono.Jit; using static Tono.Jit.JitVariable; namespace JitStreamDesigner { /// <summary> /// Gui Common Interface :...
SceneSkope.PowerBI/Groups.cs
sceneskope/powerbi
1
7045369
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace SceneSkope.PowerBI { using Microsoft.Rest; using Models; using Newtonsoft.Json; using System.Collections...
src/JacksonVeroneze.NET.Commons/AspNet/Cors/CorsConfiguration.cs
jacksonveroneze/Commons.NET
0
7045370
<filename>src/JacksonVeroneze.NET.Commons/AspNet/Cors/CorsConfiguration.cs using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; namespace JacksonVeroneze.NET.Commons.AspNet.Cors { public static class CorsConfiguration { private static readonly string _policy...
sdk/dotnet/Core/V1/Inputs/EventSourceArgs.cs
polivbr/pulumi-kubernetes
277
7045371
<reponame>polivbr/pulumi-kubernetes // *** WARNING: this file was generated by pulumigen. *** // *** 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; ...
Src/Flub.TelegramBot/Methods/Passport/SetPasswortDataErrors.cs
flubl/Flub.TelegramBot
0
7045372
using Flub.TelegramBot.Types; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; using System.Threading; using System.Threading.Tasks; namespace Flub.TelegramBot.Methods { /// <summary> /// Informs a user that some of the Telegram Passport elem...
All Courses Homeworks/C#_Part_1/6. Loops/HexadecimalToDecimal/Program.cs
siderisltd/Telerik-Academy
1
7045373
//Problem 16. Decimal to Hexadecimal Number //Using loops write a program that converts an integer number to its hexadecimal representation. //The input is entered as long. The output should be a variable of type string. //Do not use the built-in .NET functionality. using System; using System.Collections.Generic; c...
Runtime/CSharp/SmartDelegate.cs
tositeru/hinode
0
7045374
<gh_stars>0 using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Hinode { /// <summary> /// メソッドの追加・削除のみできるDelegate /// 登録されたメソッドを実行したい時はInvokableDelegateを使用してください。 /// <seealso cref="InvokableDelegate{T}"/> /// </summary> /// <typeparam na...
src/AccentDesignTest/Models/Home/IndexViewModel.cs
peymanjahanbazi/AccentDesignTest
0
7045375
<gh_stars>0 using AccentDesignTest.Models.RemoteApi; using System.Net; namespace AccentDesignTest.Models.Home; public class IndexViewModel { public HttpStatusCode StatusCode { get; set; } public float GrandTotal { get; set; } public List<Property> Properties { get; set; } }
code/Sitecore.SharedSource.SolrAnalyzer/App_Start/RouteConfig.cs
tbraga/SolrAnalyzer
0
7045376
<gh_stars>0 using System.Web.Mvc; using System.Web.Routing; using Sitecore.Pipelines; namespace Sitecore.SharedSource.SolrAnalyzer { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.MapRoute( name: "SolrAnaly...
src/Huge Code Base/Open Judge System/Web/OJS.Web/Areas/Api/Models/UsersExamGroupModel.cs
gnusmas12/MyTested.AspNet.TV
439
7045377
<reponame>gnusmas12/MyTested.AspNet.TV namespace OJS.Web.Areas.Api.Models { using System.Collections.Generic; public class UsersExamGroupModel { public IEnumerable<string> UserIds { get; set; } public string AppId { get; set; } public ExamGroupInfoModel ExamGroupInfoModel { get; ...
Crossroads.Service.HubSpot.Sync.Data/MongoDb/JobProcessing/IExecutionTime.cs
agause/crds-mp-to-hubspot-sync
0
7045378
using System; namespace Crossroads.Service.HubSpot.Sync.Data.MongoDb.JobProcessing { public interface IExecutionTime { DateTime StartUtc { get; } DateTime FinishUtc { get; set; } string Duration { get; } } }
GherkinEditor/GherkinParser/Gherkin/Ast/IVisit.cs
bzquan/GherkinEditor
2
7045379
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gherkin.Ast { public interface IVisit { void Visit(IVisitable visitable); } }
configs/OsuApiJsonConfig.cs
markupCode/schedule-server
0
7045380
using System; using Microsoft.Extensions.Configuration; namespace ScheduleServer.Configs { public class OsuApiJsonConfig : OsuApiConfig { public OsuApiJsonConfig(IConfiguration configs) { SetUpConfig(configs); } private void SetUpConfig(IConfiguration configs) { ba...
Test/UnitTests/TestLoadUnload.cs
GSharpKit/mono-addins
95
7045381
using System; using NUnit.Framework; using Mono.Addins; using System.IO; using SimpleApp; using System.Xml.Serialization; namespace UnitTests { [TestFixture()] public class TestLoadUnload: TestBase { void ResetStatus (bool enable) { Addin ainfo; ainfo = AddinManager.Registry.GetAddin ("SimpleApp.HelloWor...
LogDigger.Gui/Views/ClosingAppHandler.cs
Farigh/LogDigger
0
7045382
using System; using System.Windows; using LogDigger.Business.Services; namespace LogDigger.Gui.Views { public class ClosingAppHandler : IClosingAppHandler { public event EventHandler<EventArgs> ClosingApp; public ClosingAppHandler() { Application.Current.Exit += OnExit; ...
VSIXProject/LearnToolWindowPackage.cs
timsneath/LearnVS
1
7045383
<filename>VSIXProject/LearnToolWindowPackage.cs<gh_stars>1-10 //------------------------------------------------------------------------------ // <copyright file="LearnToolWindowPackage.cs" company="Company"> // Copyright (c) Company. All rights reserved. // </copyright> //----------------------------------------...
src/KC.Configurator/KC.Configurator/Options/AppConfigOption.cs
officialhory/keycloak-client-init
0
7045384
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KC.Configurator.Options { class AppConfigOption : IOptions { public const string AppConfig = "AppConfig"; public string FolderPath { get; set; } ...
src/Dfc.CourseDirectory.Models/Models/Providers/Verificationdetail.cs
SkillsFundingAgency/dfc-providerportal-tribalexporter
0
7045385
using Dfc.CourseDirectory.Models.Interfaces.Providers; using System; using System.Collections.Generic; using System.Text; namespace Dfc.CourseDirectory.Models.Models.Providers { public class Verificationdetail : IVerificationdetail { public string VerificationAuthority { get; set; } public str...
MatrisAritmetik.Core/SessionExtensions.cs
secretbiz/matrisaritmetik
0
7045386
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MatrisAritmetik.Core.Models; using MatrisAritmetik.Models.Core; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace MatrisAritmetik.Core { /// <summary> /// Class for setting and getting session variables...
src/FlutterSharp.UI/Compositing/OffsetEngineLayer.cs
mohachouch/FlutterSharp
0
7045387
<gh_stars>0 namespace FlutterSharp.UI { /// An opaque handle to an offset engine layer. /// /// Instances of this class are created by [SceneBuilder.pushOffset]. /// /// {@macro dart.ui.sceneBuilder.oldLayerCompatibility} public class OffsetEngineLayer : EngineLayerWrapper { public ...
Content/src/Bootstrapper.cs
Jaxelr/Nancy.Template.AspNetCore
2
7045389
using System; using System.Diagnostics; using System.Net.Http; using Nancy; using Nancy.Bootstrapper; using Nancy.RapidCache.Extensions; using Nancy.Routing; using Nancy.Serilog; using Nancy.Template.WebService.Entities; using Nancy.Template.WebService.Repositories; using Nancy.TinyIoc; using Serilog; using Serilog.Fo...
C# Fundamentals/C# OOP Basics/Esam Preparations/SystemSplit/SystemSplit/Software/LightSoftware.cs
jackofdiamond5/Software-University
0
7045390
<gh_stars>0 public class LightSoftware : Software { private const double lightDifferencial = 0.5; public LightSoftware(string name, int capacityConsumption, int memoryConsumption) : base(name, capacityConsumption, memoryConsumption) { this.CapacityConsumption += (int)(this.CapacityConsump...
tests/EmailRep.NET.Tests/Mappers/OnlineProfileMapperTests.cs
WestDiscGolf/EmailRep.NET
1
7045391
<filename>tests/EmailRep.NET.Tests/Mappers/OnlineProfileMapperTests.cs using System.Collections.Generic; using System.Threading.Tasks; using EmailRep.NET.Mappers; using EmailRep.NET.Models; using FluentAssertions; using Xunit; namespace EmailRep.NET.Tests.Mappers { public class OnlineProfileMapperTests { ...
Assets/Scripts/Battle Scripts/Battle Scriptable Objects/ShipDataSO.cs
Treyboyland/Starcade
1
7045392
<filename>Assets/Scripts/Battle Scripts/Battle Scriptable Objects/ShipDataSO.cs using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Contains information about a ship /// </summary> [CreateAssetMenu(fileName = "Ship", menuName = "Combat/Ship", order = 8)] public class ShipD...
backend/src/Notifo.Identity/Constants.cs
idist-hn/notifo
1
7045393
// ========================================================================== // Notifo.io // ========================================================================== // Copyright (c) <NAME> // All rights reserved. Licensed under the MIT license. // ================================================================...
Ed.BudgetVisualizer.Logic/Parsers/SwedbankParser.cs
edgarssults/BudgetVisualizer
1
7045394
<reponame>edgarssults/BudgetVisualizer<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ed.BudgetVisualizer.Models; namespace Ed.BudgetVisualizer.Logic.Parsers { /// <summary> /// Swedbank transaction history parsing implementation. /// </summary> ...
tests/src/JIT/Methodical/VT/etc/ctor_recurse.cs
CyberSys/coreclr-mono
10
7045395
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Test { internal class S { private T _nvalue; public S(T t) { _nvalue = t; } } internal struct T { ...
src/DevNcore.UI.Design/Controls/Icons/PasteIcon.cs
devncore/ncore
1
7045396
<reponame>devncore/ncore using System.Windows; using DevNcore.UI.Design.Controls.Primitives; namespace DevNcore.UI.Design.Controls { public class PasteIcon : Icon { static PasteIcon() { DefaultStyleKeyProperty.OverrideMetadata(typeof(PasteIcon), new FrameworkPropertyMetadata(typeof...