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
LeagueBuilder/f_LeagueBuilder.cs
ChupUchup/Backup-Me
0
7035500
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; namespace LeagueBuilder { public partial class f_LeagueBuilder : Form { ...
src/Automation/Devices/Harvester.cs
basilicofresco/Kerbalism
64
7035502
<reponame>basilicofresco/Kerbalism using System; using System.Collections.Generic; using UnityEngine; namespace KERBALISM { public sealed class HarvesterDevice : Device { public HarvesterDevice(Harvester harvester) { this.harvester = harvester; this.animator = harvester.part.FindModuleImpl...
Iirc.EnergyStatesAndCostsScheduling.DatasetGenerators/Generators/Aghelinejad2017a.cs
CTU-IIG/EnergyStatesAndCostsScheduling
0
7035503
// This file is released under MIT license. // See file LICENSE.txt for more information. namespace Iirc.EnergyStatesAndCostsScheduling.DatasetGenerators.Generators { using System; using System.Collections.Generic; using System.Linq; using Iirc.EnergyStatesAndCostsScheduling.DatasetGenerators.Interface...
cards/Sim_AT_074.cs
YuleYu/HS_Bot
5
7035504
using System; using System.Collections.Generic; using System.Text; namespace HREngine.Bots { class Sim_AT_074 : SimTemplate //* Seal of Champions { //Give a minion +3 Attack and Divine Shield. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { ...
Commons.Music.Midi/SMF/MidiMusic.cs
jaladaGmbH/managed-midi
0
7035505
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Commons.Music.Midi { public class MidiMusic { #region static members public static MidiMusic Read(Stream stream) { var r = new SmfReader(); r.Read(stream); return r.Music; } #endregion Li...
SharpCompress/Compressor/PPMd/H/FreqData.cs
KOLANICH/sharpcompress
1
7035506
using System.Text; namespace SharpCompress.Compressor.PPMd.H { internal class FreqData : Pointer { internal const int Size = 6; // struct FreqData // { // ushort SummFreq; // STATE _PACK_ATTR * Stats; // }; internal ...
Assets/Plugins/GameCreator/Core/Mono/Actions/Audio/ActionStopMusic.cs
SK0P3iN/Rapid-Prototyping-Unity-Game
2
7035507
<gh_stars>1-10 namespace GameCreator.Core { using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; #if UNITY_EDITOR using UnityEditor; #endif [AddComponentMenu("")] public class ActionStopMusic : IAction { public enum MusicType { ...
NDB.Covid19/NDB.Covid19.Droid/Utils/WelcomePageTools.cs
Sundhedsdatastyrelsen/Smittestop.Mobile
5
7035508
<reponame>Sundhedsdatastyrelsen/Smittestop.Mobile using Android.Views; using Android.Widget; using NDB.Covid19.Droid.Views.Welcome; using NDB.Covid19.ViewModels; using static Plugin.CurrentActivity.CrossCurrentActivity; namespace NDB.Covid19.Droid.Utils { public static class WelcomePageTools { public ...
01-CSharp/BasicsOfCSharp/Types.cs
1905-may05-dotnet/training-code
2
7035509
<reponame>1905-may05-dotnet/training-code using System; namespace BasicsOfCSharp{ class Employee //Proper { internal const bool ishuman=true;// Its value cannot be changed //variables - camelCase //Declaration of variables internal string firstName, lastName, ssn; internal int age; privat...
BulkOperations.EntityFramework.Tests/Models/JobCandidate.cs
proff/EntityFramework.BulkOperations
0
7035510
<gh_stars>0 using System; namespace BulkOperations.EntityFramework.Tests.Models { public partial class JobCandidate { public virtual int JobCandidateID { get; set; } public virtual Nullable<int> BusinessEntityID { get; set; } public virtual string Resume { get; set; } public vir...
src/Enums/TagType.cs
tnunnink/L5XParser
3
7035511
using Ardalis.SmartEnum; namespace L5Sharp.Enums { /// <summary> /// Represents an enumeration of Logix <see cref="TagType"/> options for a given <see cref="ITag{TDataType}"/>. /// </summary> public abstract class TagType : SmartEnum<TagType, string> { private TagType(string name, string v...
src/Orchard.Web/Core/Feeds/StandardBuilders/ItemInspector.cs
yangbingqi155/Nagrace
2,670
7035512
<reponame>yangbingqi155/Nagrace<filename>src/Orchard.Web/Core/Feeds/StandardBuilders/ItemInspector.cs using System; using System.Collections.Generic; using System.Linq; using System.Web.Routing; using Orchard.ContentManagement; using Orchard.ContentManagement.Aspects; using Orchard.Core.Common.Models; using Orchard.Cor...
BlazorBeast.Shared/Versioning/AppVersion.cs
pa-at/dotnet-conf-2021-blazor-beast
9
7035513
<gh_stars>1-10 using System.Reflection; namespace BlazorBeast.Shared.Versioning; public record AppVersion { public string Version { get; } public AppVersion(string? version) { Version = version ?? "Unknown"; } public AppVersion() : this("Unknown") { } public static AppVersion F...
src/Lib/Lib.Interfaces/IAccountProvider.cs
View12138/Bili.Uwp
2
7035514
<filename>src/Lib/Lib.Interfaces/IAccountProvider.cs // Copyright (c) Richasy. All rights reserved. using System.Threading.Tasks; using Bilibili.App.Interfaces.V1; using Richasy.Bili.Models.BiliBili; namespace Richasy.Bili.Lib.Interfaces { /// <summary> /// 提供账户相关的操作和功能. /// </summary> public interfa...
dnx-dev/test/Microsoft.Dnx.Runtime.Tests/JsonBufferFacts.cs
cemoses/aspnet
0
7035515
<reponame>cemoses/aspnet<gh_stars>0 // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.IO; using Xunit; namespace Microsoft.Dnx.Runtime.Json.Tests { p...
src/Core/test/Gamer.Proxy.Tests/ProxyTargetTest.cs
WildGenie/game-estates
0
7035516
<gh_stars>0 using Gamer.Proxy.Server; using NSubstitute; using NUnit.Framework; using System; using System.Linq; using System.Threading; namespace Gamer.Proxy { public class ProxyTargetTest { IEventChannel _channel; ProxyTarget _target; [SetUp] public void Confi...
MrCullDevTools/Services/UserAuthenticationService.cs
MrCull/MrCullDevTools
0
7035517
using System.Collections.Generic; using System.Web.Security; using MrCullDevTools.Models.Users; namespace MrCullDevTools.Services { public interface IUserAuthenticationService { void SetLoginCookie(User user, bool rememberMe); void Logout(); IList<string> ReservedUsernames { get; } } public class UserAuthe...
WebApiSyncAsync/Repositories/IRepository.cs
rducom/WebApiSyncAsync
0
7035518
using System.Collections.Generic; namespace WebApiSyncAsync.Repositories { public interface IRepository<T,TKey> where T : IEntity<TKey> where TKey : struct { IEnumerable<T> Get(); T GetById(TKey id); T Create(T product); T Update(TKey id, T product); void Delete(TKey id); } }
Windows8_Controls_Showcase/Controls.Toolkit/Controls.Toolkit/DateTime/TimerSlider.cs
TikLiu/Win8_SurgerUI
0
7035520
<gh_stars>0 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Documents; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Animation; ...
AsyncInn/Views/RoomAmenities/Index.cshtml
CClemensJr/AsyncInn
0
7035521
@model IEnumerable<AsyncInn.Models.RoomAmenities> @{ ViewData["Title"] = "Room Amenities"; } <partial name="~/Views/Shared/_Page.cshtml" view-data="ViewData" /> <div class="container"> <table class="table table-striped"> <thead class="bg-info"> <tr> <th> ...
src/SleepMointorDemo/Form1.cs
guilinhd/SleepMonitor
0
7035522
using SleepService.Models; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using SleepService.Services; using System.IO; namespace SleepMointorDemo { ...
DiffractionLossExcel/Helpers/ArrayResizer.cs
Nimalan-Nandapalan/DiffractionLossLib
1
7035524
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ExcelDna.Integration; // taken from https://github.com/Excel-DNA/ExcelDna/blob/master/Distribution/Samples/ArrayResizer.dna namespace DiffractionLossExcell.Helpers.ExcelDNA { // This class d...
resources/.gen/aws/aws/IWafv2WebAclRuleStatementOrStatementStatementNotStatementStatementRegexPatternSetReferenceStatementFieldToMatch.cs
scottenriquez/cdktf-alpha-csharp-testing
0
7035525
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementOrStatementStatementNotStatementStatementRegexPatternSetReferenceStatementFieldToMatch), fullyQualifiedName: "aws.Wafv2WebAclRuleStatementOrStatementStatementNo...
ProyectoIntegrador/Controllers/Administrativos/CausaExternasController.cs
miguelblancoguerrero/ProyectoIntegrador5S
0
7035526
<reponame>miguelblancoguerrero/ProyectoIntegrador5S using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using System.Net; using System.Web; using System.Web.Mvc; using ProyectoIntegrador.Models; using ProyectoIntegrador.Models.DB...
src/Aeon.Emulator/Instructions/ProtectedMode/Lsl.cs
gregdivis/Aeon
8
7035527
<reponame>gregdivis/Aeon<filename>src/Aeon.Emulator/Instructions/ProtectedMode/Lsl.cs using System.Runtime.CompilerServices; namespace Aeon.Emulator.Instructions.ProtectedMode { internal static class Lsl { [Opcode("0F03/r rw,rmw", AddressSize = 16 | 32)] [MethodImpl(MethodImplOptions.Aggressiv...
Roco/RocoClient.cs
Roytin/Roco
0
7035528
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Security.Cryptography.X509Certificates; using AspectCore.Extensions.Reflection; using CSRedis; using Roco.EventArgs; ...
Softelon.Core/Entities/Concrete/OperationClaim.cs
WizarDRW/Softelon.Core
0
7035529
<reponame>WizarDRW/Softelon.Core<gh_stars>0 using System; namespace Softelon.Core.Entities.Concrete { public class OperationClaim:IEntity { public int ID { get; set; } public string Name { get; set; } } }
EduNote.App/EduNote.App/Pages/LoginPage.xaml.cs
JimGeersinga/EduNote
0
7035530
<filename>EduNote.App/EduNote.App/Pages/LoginPage.xaml.cs using System; using System.Collections.Generic; using EduNote.App.ViewModels; using Xamarin.Forms; namespace EduNote.App.Pages { public partial class LoginPage : ContentPage { private LoginViewModel viewModel; public LoginPage() ...
EnvironmentAssessment.Wizard/Common/VimApi/C/ConnectedIso.cs
octansIt/environmentassessment
1
7035531
<filename>EnvironmentAssessment.Wizard/Common/VimApi/C/ConnectedIso.cs<gh_stars>1-10 namespace EnvironmentAssessment.Common.VimApi { public class ConnectedIso : OvfExport { protected VirtualCdrom _cdrom; protected string _filename; public VirtualCdrom Cdrom { get { return this._cdrom; } set ...
src/Tests/Nest.Tests.Unit/ObjectInitializer/Warmers/GetWarmerRequestTests.cs
Bloomerang/elasticsearch-net
2
7035532
<filename>src/Tests/Nest.Tests.Unit/ObjectInitializer/Warmers/GetWarmerRequestTests.cs using Elasticsearch.Net; using FluentAssertions; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; namespace Nest.Tests.Unit.ObjectInitializer.Warmers { [TestFixture] public class GetWarmer...
MARC.Everest/DataTypes/ADXPPL.cs
Vespertan/everest
0
7035533
/* * Copyright 2008-2013 Mohawk College of Applied Arts and Technology * * 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 * * Unle...
src/Machete.HL7Schema/V26/Messages/EHC_E01.cs
ahives/Machete
3
7035534
namespace Machete.HL7Schema.V26 { using HL7; /// <summary> /// EHC_E01 (Message) - /// </summary> public interface EHC_E01 : HL7V26Layout { /// <summary> /// MSH /// </summary> Segment<MSH> MSH { get; } /// <summary> /// SFT /// ...
api/src/Microsoft.Azure.IIoT.OpcUa.Api.Vault/src/Extensions/VaultServiceApiEx.cs
garolion/Industrial-IoT
2
7035535
<gh_stars>1-10 // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Mic...
Code/OpenRealEstate.Tests/Models/LandListingTests.cs
OpenRealEstate/OpenRealEstate.NET
9
7035536
using Shouldly; using Xunit; namespace OpenRealEstate.Tests.Models { public class LandListingTests { [Fact] public void GivenAnExistingListingAndANewListingWithEverythingModified_Copy_CopiesOverTheData() { // Arrange. var sourceListing = TestHelperUti...
src/Stratis.Bitcoin.Features.Consensus/Rules/ConsensusRules.cs
herbepau/StratisBitcoinFullNode
1
7035537
<reponame>herbepau/StratisBitcoinFullNode using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Base.Deployments; using Stratis.Bitcoin.BlockPulling; using Stratis.Bitcoin.Configuration.Settings; using Stratis.Bitcoin.Consensus; using Stratis.Bitcoin.Consensus.Rules; u...
src/IQFeed.CSharpApiClient/Streaming/Level1/DynamicFieldset.cs
jphiggs/IQFeed.CSharpApiClient
0
7035538
<filename>src/IQFeed.CSharpApiClient/Streaming/Level1/DynamicFieldset.cs using System; namespace IQFeed.CSharpApiClient.Streaming.Level1 { public enum DynamicFieldset { [FieldsetDescription("7 Day Yield", typeof(float))] SevenDayYield, [FieldsetDescription("Ask", typeof(float))] ...
clients/csharp/client.cs
jabrown2031/SMACC-CE
1
7035539
<gh_stars>1-10 using System; using System.Diagnostics; using System.IO; using System.Net; using System.Text; namespace myproc { class Program { static void Main() { string url = "https://127.0.0.1:9999/"; string cmd = ""; // ignore SS SSL cert ServicePointManager.ServerCertificate...
NewLife.Core/Data/IData.cs
luoshulin/X
21
7035540
using System; using System.Net; namespace NewLife.Data { /// <summary>数据帧接口</summary> public interface IData { #region 属性 /// <summary>数据包</summary> Packet Packet { get; set; } /// <summary>远程地址</summary> IPEndPoint Remote { get; set; } /// ...
DeepCopy.Fody/Utils/TypeExtensions.cs
greuelpirat/DeepCopyConstructor
9
7035541
using Fody; using Mono.Cecil; using Mono.Cecil.Rocks; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace DeepCopy.Fody.Utils { public static partial class Extensions { public static bool IsA(this TypeReference type, Type expectedType) => type.FullName...
source/XSharp/XSharp/Emitters/Ports.cs
marcelocaetano/XSharp
0
7035542
<reponame>marcelocaetano/XSharp<filename>source/XSharp/XSharp/Emitters/Ports.cs using Spruce.Attribs; using Spruce.Tokens; using XSharp.Tokens; using XSharp.x86; namespace XSharp.Emitters { /// <summary> /// IN and OUT functions from assembly <br/> /// This instruction is only useful for accessing I/O por...
AnnualLeaveSystem.Test/Mocks/EmployeeServiceMock.cs
BiserHristov/AnnualLeaveSystem
0
7035543
namespace AnnualLeaveSystem.Test.Mocks { using AnnualLeaveSystem.Services.Employees; using AnnualLeaveSystem.Test.Data; using Moq; public static class EmployeeServiceMock { public static IEmployeeService Instance(string id) { var employeeServiceMock = new Mock<IEmployee...
src/Account/FreeParkingSystem.Accounts.Data/Mappers/ClaimsMapper.cs
NickPolyder/FreeParkingSystem
0
7035544
<reponame>NickPolyder/FreeParkingSystem using System.Collections.Generic; using FreeParkingSystem.Accounts.Contract; using FreeParkingSystem.Accounts.Data.Models; using FreeParkingSystem.Common; namespace FreeParkingSystem.Accounts.Data.Mappers { public class ClaimsMapper : IMap<DbClaims, UserClaim> { public User...
Meadow.CLI/Commands/Files/WriteFileCommand.cs
0xStuart/Meadow.CLI
18
7035545
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using CliFx.Attributes; using CliFx.Infrastructure; using Meadow.CLI.Core; using Meadow.CLI.Core.DeviceManagement; using Microsoft.Extensions.Logging; namespace Meadow.CLI.Commands.Files { [Command("f...
EditTask.cs
MintyRoma/StepMap
0
7035546
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace NetworkGraph { public partial class EditTask : Form { public EditTask(NetPoint point) { ...
src/quartz.application.reservoirs/DTO/DeleteReservoir/DeleteReservoirRequest.cs
alahearty/quartz
0
7035547
using quartz.wpf.common.Client; using System; using System.Collections.Generic; using System.Text; namespace quartz.application.reservoirs { public class DeleteReservoirRequest : IRequest<DeleteReservoirResponse> { public object GetRequestData() { return this; } ...
Boundless/Assets/Scripts/GameStateMachine/TriggerTransmitState.cs
kandersen/GGJ18
0
7035548
<reponame>kandersen/GGJ18<gh_stars>0 using System.Collections; using UnityEngine; using DG.Tweening; public class TriggerTransmitState : GameState { private GameState nextState; private Coroutine _coroutine; private Coroutine _moveCoroutine; private BaseItem.CombinationResult result; public TriggerTransmitStat...
src/Yaapii.JSON/JSONOf.cs
icarus-consulting/Yaapii.JSON
1
7035549
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Globalization; using System.Text; using Yaapii.Atoms; using Yaapii.Atoms.Error; using Yaapii.Atoms.IO; using Yaapii.Atoms.List; using Yaapii.Atoms.Scalar; using Yaapii.Atoms.Text; namespace Yaapii.JSON { ...
test/TesterInternal/GeoClusterTests/LogConsistencyTestsFourClusters.cs
wjk/dotnet-orleans
4
7035550
<reponame>wjk/dotnet-orleans<filename>test/TesterInternal/GeoClusterTests/LogConsistencyTestsFourClusters.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Threading.Tasks; using Orleans; using Orleans.TestingHost; using UnitTests.GrainInterfaces; using Orleans.Runtime; using Tests.GeoClust...
GameOthelloLib/Its/Games/Othello/OthelloBoard.cs
its-software-services-game/game-othello-lib
0
7035551
using Its.Games.Core.Commons; using Its.Games.BoardGame2D.Core.BoardGame2D; using Its.Games.Othello.Commons; namespace Its.Games.Othello { public class OthelloBoard : BoardBase, IOthelloBoard { private static readonly int maxRow = 8; private static readonly int maxCol = 8; protected ov...
AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Notifications/RequestsAssignedToItinerary.cs
mk0sojo/allReady
1,034
7035552
using System; using System.Collections.Generic; using MediatR; namespace AllReady.Areas.Admin.Features.Notifications { public class RequestsAssignedToItinerary : IAsyncNotification { public int ItineraryId { get; set; } public List<Guid> RequestIds { get; set; } } }
CocoStudio.Model/ViewModel/EIdentify.cs
gdbobu/CocoStudio2.0.6
4
7035553
// Decompiled with JetBrains decompiler // Type: CocoStudio.Model.ViewModel.EIdentify // Assembly: CocoStudio.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 9A645332-034C-44D3-9062-5E94EDCB75FF // Assembly location: C:\Program Files (x86)\Cocos\Cocos Studio 2\CocoStudio.Model.dll namespace Coco...
server/src/Makc2021.Layer4.Domains.DummyMain/Queries/Item/Get/DomainItemGetQueryHandler.cs
maxim-kuzmin/Makc2021
0
7035554
// Copyright (c) 2021 <NAME>. All rights reserved. Licensed under the MIT License. using System.Linq; using Makc2021.Layer1.Common; using Makc2021.Layer1.Query; using Makc2021.Layer1.Query.Handlers; using Microsoft.Extensions.Logging; namespace Makc2021.Layer4.Domains.DummyMain.Queries.Item.Get { /// <summary> ...
DI-Webcast-master/src/DI.Tutorial/Program.cs
alancapc/DependencyInjection
0
7035555
<filename>DI-Webcast-master/src/DI.Tutorial/Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DI.Tutorial { class Program { static void Main(string[] args) { bool exit = false; while ...
src/WebJobs.Script/Host/ProxyFunctionProvider.cs
cjaliaga/azure-functions-host
1
7035557
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Collections.ObjectModel; using System.IO; using System.Linq; using Sys...
src/Application/Mediators/Users/Queries/GetUserPosts/GetUserPostsQuery.cs
destbg/TwitterRecreated
2
7035558
using Application.Common.ViewModels; using MediatR; using System; using System.Collections.Generic; namespace Application.Users.Queries.GetUserPosts { public class GetUserPostsQuery : IRequest<IEnumerable<PostVm>> { public string Username { get; set; } public DateTime Skip { get; set; } } ...
Programming - Fundamentals/Strings and Regular Expressions - More Exercises/07. Hideout/Program.cs
sevgin0954/SoftUni-Projects
0
7035559
using System; using System.Text.RegularExpressions; class Program { static void Main() { string map = Console.ReadLine(); while (true) { string[] hideCount = Console.ReadLine().Split(); string hide = hideCount[0]; int count = int.Parse(hideCount[1]);...
src/DocsGenerator/Helpers/DefaultPatterns.cs
codacy/codacy-sonar-visual-basic
0
7035560
using System.Collections.Generic; namespace CodacyVisualBasic.DocsGenerator.Helpers { public static class DefaultPatterns { public static ICollection<string> Patterns { get; } = new HashSet<string> { "S108", "S112", "S1145", "S1172", "S1186", ...
TwoTypeExample/Models/ContactInfo.cs
b12kab/TwoType
0
7035561
using System; using SQLite; namespace TwoTypeExample.Models { [Table("ContactInfo")] public class ContactInfo { [PrimaryKey, AutoIncrement] public int Id { get; set; } [Unique] public string Name { get; set; } public string Age { get; set; } public string Ge...
src/Tools/ExternalAccess/FSharp/Internal/Editor/FSharpBraceMatcher.cs
belav/roslyn
0
7035562
<gh_stars>0 // 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. #nullable disable using System; using System.ComponentModel.Composition; using System.Threading; using...
HzTalk/App.xaml.cs
eeroom/Azeroth.Kits
1
7035563
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; using Autofac; using Autofac.Extras.DynamicProxy; namespace HzTalk { /// <summary> /// App.xaml 的交互逻辑 /// </summary> public...
play-fonline/UI/GenericEventArgs.cs
rotators/play-fonline
2
7035565
namespace PlayFOnline.UI { using System; public delegate void ItemEventHandler<T>(object sender, ItemEventArgs<T> e); public class ItemEventArgs<T> : EventArgs { public ItemEventArgs(T item) { Item = item; } public T Item { get; protected set; } } }
Example/Program.cs
aecceyhan/WhatsAppAPIHelper
3
7035566
<reponame>aecceyhan/WhatsAppAPIHelper using System; using System.Collections.Generic; using Newtonsoft.Json; using RestSharp; using WhatsAppAPIHelper; namespace Example { class Program { private static string ServiceUrl { get; set; } private static string AuthKey { get; set; } private ...
VisUncertainty/frmDeleteField.Designer.cs
hyeongmokoo/SAAR_beta1
5
7035567
<filename>VisUncertainty/frmDeleteField.Designer.cs<gh_stars>1-10 namespace VisUncertainty { partial class frmDeleteField { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ///...
TraktSharp/Entities/TraktMovie.cs
wwarby/TraktSharp
16
7035568
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Newtonsoft.Json; namespace TraktSharp.Entities { /// <summary>A movie</summary> [Serializable] public class TraktMovie { /// <summary>The movie title</summary> [JsonProperty(PropertyName = "title")] public ...
Maze/Program.cs
theonastos/Maze
0
7035569
<reponame>theonastos/Maze using System; namespace Maze { class Program { static void Main(string[] args) { var startup = new StartUp(); // If an exception is thrown the startup will restart try { startup.Start(); } catch { startup.Stop(); Console.Write("Press Any Key to Restart...
ValheimTwitch/Twitch/API/Helix/Reward.cs
HiDeoo/ValheimTwitch
16
7035570
using Newtonsoft.Json; namespace ValheimTwitch.Twitch.API.Helix { // Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse); public class Image { [JsonProperty("url_1x")] public string Url1x { get; set; } [JsonProperty("url_2x")] public string Url2...
src/Apocryph.Consensus/Chain.cs
comrade-coop/apocryph
33
7035571
<reponame>comrade-coop/apocryph using Apocryph.Ipfs; namespace Apocryph.Consensus { public class Chain { // public Reference Creation { get; private set; } public ChainState GenesisState { get; private set; } public string ConsensusType { get; private set; } public Hash<object>?...
DAL/t_user.cs
MarkManYUN/WALLE-Project
0
7035572
using System; using System.Data; using System.Text; using MySql.Data.MySqlClient; using Maticsoft.DBUtility;//Please add references namespace WalleProject.DAL { /// <summary> /// 数据访问类:t_user /// </summary> public partial class t_user { public t_user() { } #region BasicMeth...
3-Business/3-Modules/lm.Comol.Core.Dss/Business/ServiceDss.Algorithms.cs
EdutechSRL/Adevico
1
7035573
using lm.Comol.Core.Dss.Domain; using System; using System.Collections.Generic; using System.Linq; using System.Text; using LM.MathLibrary.Algorithms; using LM.MathLibrary.Extensions; namespace lm.Comol.Core.Dss.Business { public partial class ServiceDss { public List<dtoAlgorithmAlternative> Calculate...
Graphics/GraphicsThread.cs
engeniousproject/engenious
3
7035575
using System; using System.Threading; using engenious.Helper; using engenious.Utility; using OpenTK.Windowing.Common; using OpenTK.Windowing.Desktop; namespace engenious.Graphics { /// <summary> /// A thread used for executing graphics commands in a threaded graphics context. /// </summary> public clas...
server/ERNI.PBA.Server.Business/Commands/Budgets/UpdateBudgetCommand.cs
ERNICommunity/ERNI-Personal-Budget-Application
1
7035576
<filename>server/ERNI.PBA.Server.Business/Commands/Budgets/UpdateBudgetCommand.cs<gh_stars>1-10 using System.Security.Claims; using System.Threading; using System.Threading.Tasks; using ERNI.PBA.Server.Business.Infrastructure; using ERNI.PBA.Server.Domain.Exceptions; using ERNI.PBA.Server.Domain.Interfaces; using ERNI...
AcceptFramework/Mapping/Miscellaneous/ExternalUsageMap.cs
accept-project/accept-api
0
7035577
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using AcceptFramework.Domain.Miscellaneous; using FluentNHibernate.Mapping; namespace AcceptFramework.Mapping.Miscellaneous { public class ExternalUsageMap: ClassMap<ExternalUsage> { public ExternalUsageM...
src/Sir.Store.Tests/GoogleFeed.cs
didyougogo/commoncrawlcrawler
0
7035578
<reponame>didyougogo/commoncrawlcrawler using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace Sir.Search.Tests { public class GoogleFeed : IEnumerable<IDictionary<string, object>> { private readonly IEnumerable<IDictionary<stri...
Library/PackageCache/com.unity.xr.windowsmr@2.0.3/Editor/WindowsMREditor.cs
OmerMughal31/VRBowandArrow-Unity
0
7035579
<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using UnityEngine; using UnityEngine.XR.WindowsMR; using UnityEditor; using UnityEditor.XR.Management; namespace UnityEditor.XR.WindowsMR { class WindowsMRXRSDKPackageInitialization : XRPacka...
src/Kimera/ViewModels/Pages/SettingsViewModel.cs
AngleGN/kimera
0
7035580
<reponame>AngleGN/kimera using Caliburn.Micro; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kimera.ViewModels.Pages { class SettingsViewModel : Screen { } }
Epam.Task11_12/Epam.Task7.BLL/AwardLogic.cs
Julya-Boldyreva/XT-2018Q4
1
7035581
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Epam.Task7.BLL.Interface; using Epam.Task7.DAL; using Epam.Task7.DAL.Interface; using Epam.Task7.Entities; namespace Epam.Task7.BLL { public class AwardLogic : IAwardLogic { privat...
Source/Test/NProxy.Core.Test/Types/RefParameter.cs
mtamme/NProxy
42
7035582
// // Copyright © <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 or agreed to in writ...
Projects/SoftFluent.Presence.Common/DateTimeHelper.cs
XarSoft/Presence
0
7035583
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoftFluent.Presence.Common { public class DateTimeHelper { public static DateTime UnixTimeStampToDateTime(int unixTimeStamp) { System.DateTime d...
ICSharpCode.SharpDevelop.Dom/Src/CecilReader.cs
jbuedel/AgentRalphPlugin
6
7035584
<filename>ICSharpCode.SharpDevelop.Dom/Src/CecilReader.cs // <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <owner name="Daniel Grunwald" email="<EMAIL>"/> // <version>$Revision: 3768 $</version> // </file> using System; using System.Collect...
Geckofx-Core/WebIDL/Generated/DocumentFragment.cs
CharlesZHENG/Geckofx
0
7035585
namespace Gecko.WebIDL { using System; public class DocumentFragment : WebIDLBase { public DocumentFragment(nsISupports thisObject) : base(thisObject) { } public nsIDOMElement GetElementById(nsAString elementId) ...
chapter17/unityproject/Assets/CSharp/BallSound.cs
greck2908/learnunity
12
7035586
<gh_stars>10-100 /* Copyright (c) 2013 Technicat, LLC. All Rights Reserved. MIT License. http://github.com/technicat/LearnUnity */ using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Fugu {} public class BallSound : MonoBehaviour { public float minSpeed = 1.0f; private float s...
High Quality Code/Homework Assignments/8. High Quality Classes/01. ShapesDemo/ShapesDemo.cs
vic-alexiev/TelerikAcademy
4
7035587
// ******************************** // <copyright file="ShapesDemo.cs" company="Telerik Academy"> // Copyright (c) 2013 Telerik Academy. All rights reserved. // </copyright> // // ******************************** using System; using Shapes; /// <summary> /// Demonstrates the use of various <see cref="Shape"/> objects...
PanelCommands/PanelCommandFtpDelete.cs
Yomodo/netCommander
0
7035588
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.IO; using System.Net; namespace netCommander { public class PanelCommandFtpDelete : PanelCommandBase { private bool supress_errors = false; private FtpConnection connection; priv...
Sample1_15/task/entity/score/Score.cs
danmaq/GameOOP
1
7035589
<filename>Sample1_15/task/entity/score/Score.cs using Sample1_15.state.score; namespace Sample1_15.task.entity.score { /// <summary>スコア情報。</summary> class Score : Entity, IScore { /// <summary>クラス オブジェクト。</summary> internal static readonly IScore instance = new Score(); /// <summary> ///...
API/GraphQLApi/Models/Student/StudentInformation.cs
ESPSG/Dashboard-Replacement-POC
0
7035590
<filename>API/GraphQLApi/Models/Student/StudentInformation.cs<gh_stars>0 using System; using System.Collections.Generic; namespace GraphQLApi.Models.Student { public class StudentInformation { public StudentInformation() { StudentIndicator = new HashSet<StudentIndicator>(); ...
src/Sphere10.Framework.Windows.Forms/Controls/SourceGrid/DevAgeSourcePack4/Runtime/Serialization/Utilities.cs
Sphere10/Framework
1
7035591
//----------------------------------------------------------------------- // <copyright file="Utilities.cs" company="Sphere 10 Software"> // // Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com) // // Distributed under the MIT software license, see the accompanying file // LICENSE or visit...
Retypeit.Bindings/Ast/BoolValueNode.cs
retypeit/BindingParser
0
7035592
<gh_stars>0 using Retypeit.Scripts.Bindings.Interpreter; namespace Retypeit.Scripts.Bindings.Ast { public class BoolValueNode : IBooleanResultNode { public bool Value { get; } public BoolValueNode(bool value) { Value = value; } public object Accept(IVisito...
src/BuildingBlocks/N8T.Infrastructure/Data/Extensions.cs
BlazorHub/practical-dapr
1
7035593
using System; using System.Reflection; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using N8T.Domain; namespace N8T.Infrastructure.Data { public static class Extensions { public static IServiceCollection AddCustomDbContex...
Core/Field/JSM/Control/Jsm.Segment.Builder.cs
korreckj328/OpenVIII-monogame
208
7035596
using OpenVIII.Fields.Scripts.Instructions; using System; using System.Collections.Generic; namespace OpenVIII.Fields.Scripts { public static partial class Jsm { #region Classes public partial class Segment { #region Classes public static class Builder ...
Itas.Infrastructure.RabbitServer/IEventHandler.cs
andrkn/Blitz.Msg
0
7035597
namespace Itas.Infrastructure.MessageHost { /// <summary> /// Use this clss as the baseclass for your handlers. /// </summary> /// <typeparam name="T"></typeparam> public abstract class MessageHandler<T> : IMessageHandler { /// <summary> /// /// </summary> /// ...
AtelierMisaka/Utils/FanboxUtils.cs
Kochisa/AtelierMisaka
0
7035598
<gh_stars>0 using AtelierMisaka.Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace AtelierMisaka { public class FanboxUtils : BaseUtils...
csharp_tools/FileDecoder/Form1.Designer.cs
rtsonneveld/Rayman2Lib
28
7035599
<reponame>rtsonneveld/Rayman2Lib namespace FileDecoder { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /...
DInjector/Modules/FunctionPointer.cs
lap1nou/DInjector
1
7035600
using System; using System.Diagnostics; using System.Runtime.InteropServices; using DI = DInvoke; namespace DInjector { class FunctionPointer { [UnmanagedFunctionPointer(CallingConvention.StdCall)] delegate DI.Data.Native.NTSTATUS NtAllocateVirtualMemory( IntPtr ProcessHandle, ...
src/SafeRebus/Implementations/SafeRebus.RebusSteps/StepExtensions/HandleOutboxConfigurationExtensions.cs
hansehe/SafeRebus
4
7035601
<filename>src/SafeRebus/Implementations/SafeRebus.RebusSteps/StepExtensions/HandleOutboxConfigurationExtensions.cs using Rebus.Config; using SafeRebus.RebusSteps.IncomingSteps; namespace SafeRebus.RebusSteps.StepExtensions { internal static class HandleOutboxConfigurationExtensions { public static Op...
DeezerAPI.Test/Mobile/TestPlaylist.cs
BackInBash/DeezerAPI
0
7035602
using DeezerAPI.Mobile.Models.Playlist; using System.Threading.Tasks; using Xunit; namespace DeezerAPI.Test.Mobile { public class TestPlaylist { DeezerAPI.Mobile.Client client = new DeezerAPI.Mobile.Client(); public TestPlaylist() { client.GenerateSID().GetAwaiter().GetResu...
cpat-core/Models/Utility/Employer.cs
meddlin/CPAT
10
7035603
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace cpat_core.Models.Utility { /// <summary> /// Should this just be a <c>Company</c> type? /// </summary> public class Employer { public string Name { get; set; } public string M...
GW2Crafting/Common/SessionId.cs
rsandila/GW2Crafting
0
7035604
<filename>GW2Crafting/Common/SessionId.cs namespace GW2Crafting.Common { public static class SessionId { public static Guid GetSessionId(HttpContext ctx) { var id = ctx.Session.GetString("Id"); if (string.IsNullOrWhiteSpace(id) || !Guid.TryParse(id, out var result)) ...
API/Content/ContentElement.cs
fossabot/GenHTTP
0
7035605
<reponame>fossabot/GenHTTP using System.Collections.Generic; using GenHTTP.Api.Protocol; using GenHTTP.Api.Routing; namespace GenHTTP.Api.Content { /// <summary> /// Describes an element that is provided by this server instance. /// </summary> public class ContentElement { #...
XWeather/iOS/ViewControllers/TableViewControllers/TableViewCells/DailyTvCell.cs
spsig/XWeather
2
7035606
<gh_stars>1-10 using System; using UIKit; using SettingsStudio; using XWeather.Domain; namespace XWeather.iOS { public partial class DailyTvCell : BaseTvCell { public DailyTvCell (IntPtr handle) : base (handle) { } public void SetData (ForecastDay forecast) { dayLabel.Text = forecast.date.weekday; pr...
src/Formats/Parsers/JsonStringLoader.cs
Metibor/ualbion
0
7035607
<gh_stars>0 using System; using SerdesNet; using UAlbion.Api; using UAlbion.Config; using UAlbion.Formats.Assets; namespace UAlbion.Formats.Parsers { public class JsonStringLoader : IAssetLoader { public object Serdes(object existing, AssetInfo info, AssetMapping mapping, ISerializer s) { ...