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
Cpix/DrmSignalingHelpers.cs
Heronyme/cpix
0
7038123
<filename>Cpix/DrmSignalingHelpers.cs using ProtoBuf; using System; using System.IO; using System.Text; using System.Xml.Linq; using shaka.media; namespace Axinom.Cpix { public static class DrmSignalingHelpers { public static readonly Guid FairPlaySystemId = new Guid("94ce86fb-07ff-4f43-adB8-93d2fa968ca2"); pub...
Kalliope.Xml/IOrmXmlReader.cs
RHEAGROUP/Kalliope
0
7038124
<filename>Kalliope.Xml/IOrmXmlReader.cs // ------------------------------------------------------------------------------------------------- // <copyright file="IOrmXmlReader.cs" company="RHEA System S.A."> // // Copyright 2022 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "Licens...
src/Components/Analyzers/test/TestFiles/ComponentInternalUsageDiagnosticsAnalyzerTest/UsersRendererTypesInMethodBody.cs
belav/aspnetcore
0
7038125
<reponame>belav/aspnetcore using System; using Microsoft.AspNetCore.Components.RenderTree; namespace Microsoft.AspNetCore.Components.Analyzers.Tests.TestFiles.ComponentInternalUsageDiagnosticsAnalyzerTest { class UsersRendererTypesInMethodBody { private void Test() { var test = /*MM...
src/SFA.DAS.EmployerApprenticeshipsService.Domain/Models/UserProfile/UserAccountSetting.cs
uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice
8
7038126
namespace SFA.DAS.EAS.Domain.Models.UserProfile { public class UserAccountSetting { public virtual long Id { get; protected set; } public virtual long AccountId { get; protected set; } public virtual long UserId { get; protected set; } public virtual Account.Account Account { ge...
Source/MailMessaging.Plain.IntegrationTest.Shared/StreamReader.cs
jan-schubert/MailMessaging
0
7038127
<reponame>jan-schubert/MailMessaging<gh_stars>0 using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using MailMessaging.Plain.IntegrationTest.Contracts; namespace MailMessaging.Plain.IntegrationTest { public class StreamReader : IStreamReader { public Str...
Cyjb/Collections/DictionaryExt.cs
CYJB/Cyjb
74
7038128
<reponame>CYJB/Cyjb using System; using System.Collections.Generic; using System.Diagnostics.Contracts; namespace Cyjb.Collections { /// <summary> /// 提供对 <see cref="IDictionary{TKey,TValue}"/> 的扩展方法。 /// </summary> public static class DictionaryExt { /// <summary> /// 获取与指定的键相关联的值。 /// </summ...
Source/Lib/Trakt.NET/Objects/Get/Watched/Json/Writer/WatchedShowObjectJsonWriter.cs
henrikfroehling/Trakt.NET
39
7038129
<gh_stars>10-100 namespace TraktNet.Objects.Get.Watched.Json.Writer { using Extensions; using Newtonsoft.Json; using Objects.Json; using Shows.Json.Writer; using System.Threading; using System.Threading.Tasks; internal class WatchedShowObjectJsonWriter : AObjectJsonWriter<ITraktWatchedShow...
src/OrchardCore.Modules/OrchardCore.Autoroute/Views/AutoroutePartSettings.Edit.cshtml
Ermesx/OrchardCore
6
7038130
<reponame>Ermesx/OrchardCore @model OrchardCore.Autoroute.ViewModels.AutoroutePartSettingsViewModel <style asp-name="codemirror"></style> <script asp-name="codemirror" depends-on="admin" at="Foot"></script> <script asp-name="codemirror-mode-javascript" at="Foot"></script> <script asp-name="codemirror-addon-display-aut...
QQRobot/Util/QrCode.cs
IllyaTheHath/QQRobot
8
7038131
<gh_stars>1-10 using DumbQQ.Client; using System; using System.IO; namespace QQRobot.Util { internal sealed class QrCode { private static QQBotLogger logger = new QQBotLogger(nameof(QrCode)); public static Int32 Login(DumbQQClient client) { while (true) { ...
src/TexasHoldem.Logic/GameRoundType.cs
laikhan/TexasHoldemGameEngine
97
7038132
<reponame>laikhan/TexasHoldemGameEngine<filename>src/TexasHoldem.Logic/GameRoundType.cs namespace TexasHoldem.Logic { public enum GameRoundType { PreFlop = 0, Flop = 1, Turn = 2, River = 3, } }
src/Pajama/Node/BooleanNot.cs
blakeohare/pajama
1
7038133
using System.Collections.Generic; namespace Pajama.Node { internal class BooleanNot : Expression { public Expression Expression { get; private set; } public BooleanNot(Expression expression, Token token) : base(token) { this.Expression = expression; } public override void ResolveType...
c#/Problems/P0264.cs
viacheslave/leetcode-naive
1
7038134
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LeetCode.Naive.Problems { /// <summary> /// Problem: https://leetcode.com/problems/ugly-number-ii/ /// Submission: https://leetcode.com/submissions/detail/237775765/ /// </summary> internal class ...
Package/Core/Runtime/Unity Events/UnityEngine/TouchEvents.cs
Luxulicious/SOA
1
7038135
<filename>Package/Core/Runtime/Unity Events/UnityEngine/TouchEvents.cs using System; using UnityEngine.Events; using UnityEngine; namespace SOA.Common.UnityEngine { [Serializable] public class TouchUnityEvent : UnityEvent<Touch> { } [Serializable] public class TouchTouchUnityEvent : UnityEvent...
MainWindow-Actions.cs
atauenis/fcmd
19
7038136
<gh_stars>10-100 /* The File Commander main window * File managing operations * (C) The File Commander Team - https://github.com/atauenis/fcmd * (C) 2013-14, <NAME> (<EMAIL>) * (C) 2014, <NAME> (<EMAIL>) * Contributors should place own signs here. */ using System; using System.Collections.Generic; using System.L...
UI/UIEvent.cs
PietroCarrara/Crystal.Framework
3
7038137
<reponame>PietroCarrara/Crystal.Framework namespace Crystal.Framework.UI { public class UIEvent { public bool ShouldPreventPropagation { get; private set; } public void PreventPropagation() { this.ShouldPreventPropagation = true; } } }
FactorioModBuilder/Models/ProjectItems/Prototype/Technology.cs
kmclarnon/FactorioModBuilder
4
7038138
<filename>FactorioModBuilder/Models/ProjectItems/Prototype/Technology.cs using FactorioModBuilder.Models.Base; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FactorioModBuilder.Models.ProjectItems.Prototype { public class Technology : ...
project/DotNetUtils/Extensions/EnumerableExtensions.cs
Jishun/DotNetUtils
0
7038139
<filename>project/DotNetUtils/Extensions/EnumerableExtensions.cs using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; namespace DotNetUtils { public static class EnumerableExtensions { /// <summary> /// F...
SurgingDemo/02.Domain/MicroService.Respository.Org/UserRespository.cs
DotNetExample/Surging.GoodDemo
0
7038140
using MicroService.IRespository.Org; using MicroService.EntityFramwork; using System; using System.Collections.Generic; using System.Text; using MicroService.Entity.Org; namespace MicroService.Respository.Order { public class UserRespository : RespositoryBase<User>, IUserRespository { public U...
Assets/Scripts/Animations/BacktoMainMenu.cs
Enigma-IDEA350/enigma
0
7038141
using UnityEngine; public class BacktoMainMenu : MonoBehaviour { private Transition _transition; public Animator _animator; void Start() { _animator = GameObject.Find("Transition").GetComponent<Animator>(); _transition = GameObject.FindObjectOfType<Transition>(); } public voi...
dotnet_framework/YTS.Engine/DataBase/DataType/MCSList.cs
YellowTulipShow/CSharp
2
7038143
<reponame>YellowTulipShow/CSharp<gh_stars>1-10 using System; using YTS.Model.Table; namespace YTS.Model.DataType { public class MCSList : AbsCSType { /// <summary> /// 输入转换 /// </summary> public override object OutputConvert(object sourceValue, ColumnItemModel colmodel) { ...
DbMigrator/V1/MongoUserV1.cs
ILL35T/AspNetCore.Identity.Mongo
0
7038144
// Warning: Some assembly references could not be resolved automatically. This might lead to incorrect decompilation of some parts, // for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies. // MongoUser; using System.Col...
src/JTNE.Protocol.Test/JTNEHeaderPackage_PlatformTest.cs
SmallChi/JTNewEnergy
33
7038145
using JTNE.Protocol.Enums; using JTNE.Protocol.Extensions; using JTNE.Protocol.MessageBody; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace JTNE.Protocol.Test { public class JTNEHeaderPackage_PlatformTest { [Fact] public void Test1() { ...
src/System.CodeDom/tests/System/CodeDom/CodeTypeDeclarationCollectionTests.cs
vkvenkat/corefx
15
7038146
<filename>src/System.CodeDom/tests/System/CodeDom/CodeTypeDeclarationCollectionTests.cs // 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. namespace System.CodeDom.Te...
Assets/Behavior Designer/Runtime/Tasks/Unity/Quaternion/RotateTowards.cs
rin6321910/Github-GameOff-2021
37
7038147
<reponame>rin6321910/Github-GameOff-2021 using UnityEngine; namespace BehaviorDesigner.Runtime.Tasks.Unity.UnityQuaternion { [TaskCategory("Unity/Quaternion")] [TaskDescription("Stores the quaternion after a rotation.")] public class RotateTowards : Action { [Tooltip("The from rotation")] ...
Oqtane.Server/Infrastructure/Interfaces/IServerStartup.cs
henrymgalvan/oqtane.framework
1,076
7038148
<filename>Oqtane.Server/Infrastructure/Interfaces/IServerStartup.cs using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace Oqtane.Infrastructure { public interface IServerStartup { // This method gets called by the runtime. Use...
src/Microsoft.OpenApi.OData.Reader/Capabilities/ICapabilitiesRestrictions.cs
mispeer/OpenAPI.NET.OData
0
7038149
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using Microsoft.OData.Edm; usin...
DistinctList/DistinctList/Program.cs
dragobaltov/Programming-Basics-And-Fundamentals
0
7038150
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DistinctList { class Program { static void Main(string[] args) { List<int> list = Console.ReadLine().Split(' ').Select(int.Parse).ToList(); List...
src/OpenProtocolInterpreter/IOInterface/Mid0218.cs
ZEisinger/OpenProtocolInterpreter
0
7038151
<reponame>ZEisinger/OpenProtocolInterpreter namespace OpenProtocolInterpreter.IOInterface { /// <summary> /// MID: Relay function acknowledge /// Description: /// Acknowledgement of relay function upload. /// Message sent by: Integrator /// Answer: None /// </summary> public class ...
SnapMD.VirtualCare.ApiModels/HospitalHours.cs
adrianvalor/connectedcare-sdk
6
7038154
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SnapMD.VirtualCare.ApiModels { public struct HospitalHours { public int StartDayOfWeek { get; set; } public int EndDayOfWeek { get; set; } public...
BusinessLayer/ValidationRules/CommentValidation.cs
OzkanBahrianil/HealthProject
0
7038155
using EntityLayer.Concrate; using FluentValidation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BusinessLayer.ValidationRules { public class CommentValidation : AbstractValidator<Comment> { public CommentValidation() ...
C# Part 2/01.Arrays/Arrays/04.EqualElements/EqualElements.cs
PetarMetodiev/Telerik-Homeworks
0
7038156
<gh_stars>0  // Write a program that finds the maximal sequence of equal elements in an array. // Example: {2, 1, 1, 2, 3, 3, 2, 2, 2, 1} -> {2, 2, 2}. using System; class EqualElements { static void Main() { Console.Title = "Maximal sequence of equal elements in an array"; Console.Write("En...
src/HeroesReplay.Core/Services/Providers/IReplayProvider.cs
HeroesReplay/HeroesReplay
7
7038157
<reponame>HeroesReplay/HeroesReplay<gh_stars>1-10 using System.Threading.Tasks; using HeroesReplay.Core.Models; namespace HeroesReplay.Core.Services.Providers { public interface IReplayProvider { /// <summary> /// Attemps to the load the next available replay. /// </summary> //...
SHFB/Source/SandcastleBuilderGUI/ContentEditors/ScrollablePanel.cs
dpogudin/SHFB
2,129
7038159
<reponame>dpogudin/SHFB //=============================================================================================================== // System : Sandcastle Help File Builder // File : ScrollablePanel.cs // Author : RussKie // Updated : 08/30/2014 // Note : Copyright 2009-2014, <NAME>, All rights rese...
tests/Microsoft.Bot.Connector.Tests/AttachmentsTests.cs
ForrestGumb/botbuilder-dotnet
0
7038160
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.IO; using System.Threading.Tasks; using Microsoft.Bot.Connector; using Microsoft.Bot.Schema; using Microsoft.Rest; using Xunit; namespace Connector.Tests { public class AttachmentsTests : BaseTest { ...
AspNetCoreApi.Models/Entity/Configurations/PublisherConfiguration.cs
arditmezini/api-core
11
7038161
using AspNetCoreApi.Models.Entity; using AspNetCoreApi.Models.Entity.Configurations; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace AspNetCoreApi.Dal.Configurations { public class PublisherConfiguration : BaseConfiguration<Publisher> { public over...
Scripts/Runtime/CompilerHelper.cs
HKLab/HollowKnightMod.Tool
1
7038162
namespace HKTool.Runtime; public static class CompilerHelper { public static void Hook_Add(Delegate hook, RuntimeMethodHandle method) => HookEndpointManager.Add(MethodBase.GetMethodFromHandle(method), hook); public static void Hook_Remove(Delegate hook, RuntimeMethodHandle method) => HookEndpointManager.Remov...
Fracture.Common.Tests/Di/TestTypes/CtorPropMethodFooBar.cs
Babelz/Fracture
0
7038163
using System; using Fracture.Common.Di.Attributes; namespace Fracture.Common.Tests.Di.TestTypes { public sealed class CtorPropMethodFooBar : FooBar { #region Properties [BindingProperty] // ReSharper disable once UnusedMember.Local - will be used by DI. private Dep0 Dep0 ...
src/Microsoft.Graph/Generated/model/AppliedConditionalAccessPolicy.cs
ScriptBox99/msgraph-beta-sdk-dotnet
0
7038164
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
src/FubuMVC.Tests/Http/HeaderValueSourceTester.cs
DovetailSoftware/fubumvc
0
7038165
using FubuCore.Binding.Values; using FubuMVC.Core.Http; using FubuMVC.Tests.Urls; using NUnit.Framework; using FubuTestingSupport; using System.Linq; using Rhino.Mocks; namespace FubuMVC.Tests.Http { [TestFixture] public class HeaderValueSourceTester { private StubCurrentHttpRequest t...
src/Dianoga/Processors/Pipelines/DianogaOptimize/ExtensionBasedOptimizer.cs
whuu/Dianoga
0
7038166
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Dianoga.Optimizers; using Sitecore.Pipelines; namespace Dianoga.Processors.Pipelines.DianogaOptimize { public class ExtensionBasedOptimizer : DianogaOptimizeProcessor { private HashSet<string> _supportedExtensionsLookup; ...
01_Application_Deployment/src/Contoso.DigitalGoods.TokenService.Test/TokenManagerTests.cs
microsoft/Tradable-Digital-Assets-Solution-Accelerator
2
7038168
using Contoso.DigitalGoods.Test; using Microsoft.VisualStudio.TestPlatform.PlatformAbstractions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; using System; using System.Reflection; using System.Threading.Tasks; namespace Contoso.DigitalGoods.TokenService.Tests { [TestClass()] pu...
Assets/Sample/Scripts/Scene 2/AndPortManager.cs
vinimussio1/comp-vr
1
7038169
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class AndPortManager : MonoBehaviour { [Range(3f, 15f)] public float speed = 3f; public Transform PointToMove; public float smoothTime = 0.3F; private Vector3 velocity = Vector3.zero; v...
Rinjani/Interface/IBrokerAdapter.cs
myblock001/RinJani
1
7038170
<reponame>myblock001/RinJani using System.Collections.Generic; namespace Rinjani { public interface IBrokerAdapter { Broker Broker { get; } void Send(Order order); void Refresh(Order order); void Cancel(Order order); string GetOrdersState(int pageIndex,int tradeType); ...
AoETechTreeInstaller/MainForm.Designer.cs
Janworks/AoETechTreeInstaller
2
7038171
<reponame>Janworks/AoETechTreeInstaller namespace AoETechTreeInstaller { partial class MainForm { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summary> /// <param...
src/api/Services/Photos/PhotoUrlBuilderService.cs
AerisG222/mikeandwan.us
0
7038172
using System; namespace MawApi.Services.Photos { public class PhotoUrlBuilderService { readonly UrlBuilderService _urlSvc; public PhotoUrlBuilderService(UrlBuilderService urlSvc) { _urlSvc = urlSvc ?? throw new ArgumentNullException(nameof(urlSvc)); } pu...
LLMListView_Sample/ViewModels/MainPageViewModel.cs
deepak-rathi/LLMListView-Sample
0
7038173
using LLMListView_Sample.Models; using LLMListView_Sample.Mvvm; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LLMListView_Sample.ViewModels { public class MainPageViewModel : BindableBase { ...
Sudoku.Console/AnalyzePuzzle.cs
ErikMuir/sudoku
0
7038174
<gh_stars>0 using System.Linq; using MuirDev.ConsoleTools; using Sudoku.Analysis; using Sudoku.Logic; namespace Sudoku.Console { public static class AnalyzePuzzle { private static readonly FluentConsole _console = new(); public static void Run(Puzzle puzzle) { Analyzer anal...
Jagerts.Arie.Windows.Classic.Controls/Extensions/ColorSchemeExtensions.cs
Jagreaper/Project-Arie
0
7038175
using Jagerts.Arie.Windows.Classic.Controls.Converters; using System.Globalization; using System.Windows; using System.Windows.Media; namespace Jagerts.Arie.Standard.Controls { public static class ColorSchemeExtensions { #region Properties private static DrawingColorBrushConverter DrawingColo...
Assets/_games/ThrowBalls/_scripts/_config/ThrowBallsConfiguration.cs
vgwb/Antura
20
7038176
<filename>Assets/_games/ThrowBalls/_scripts/_config/ThrowBallsConfiguration.cs using System; using Antura.Database; using Antura.Teacher; namespace Antura.Minigames.ThrowBalls { public enum ThrowBallsVariation { LetterName = MiniGameCode.ThrowBalls_lettername, LetterAny = MiniGameCode.ThrowBall...
WebAdminClient/ViewAllUsers.aspx.cs
auxua/ConvenienceSystem2
2
7038177
<filename>WebAdminClient/ViewAllUsers.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using ConvenienceSystemDataModel; namespace WebAdminClient { public partial class ViewAllUsers : Page { ...
SortingLibrary/SortResult.cs
devTimmy/sorting-algorithms
0
7038178
using System; using System.Collections.Generic; using System.Text; namespace SortingAlgorithms { /// <summary> /// This class contains a short summary of an algorithms operation in terms /// of all the swaps done, iterations and total time taken in sorting /// items in array /// </summary> pub...
NotVanillaModulesLib/TwitchExtensions.cs
lotsofs/KTANE-Mods-TranslatedVanilla
0
7038179
using UnityEngine; namespace TranslatedVanillaModulesLib { internal static class TwitchExtensions { public static void Press(KMSelectable selectable) => selectable.OnInteract?.Invoke(); public static void Release(KMSelectable selectable) => selectable.OnInteractEnded?.Invoke(); public static void Click(KMSelec...
src/MicrosoftTeamsIntegration.Jira/Models/Bot/Prompts/JiraPrompt.cs
atlassian-labs/msteams-jira-server
1
7038180
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Dialogs.Choices; using Microsoft.Bot.Schema; using Newtonsoft.Json; namespace MicrosoftTeamsIntegration.Jira.Models.Bot.Pr...
DMTools/DMTools/View/EditorView/AdventureEditor/AdventureEditorViewModel.cs
dgioielli/DM_Tools
0
7038181
<gh_stars>0 using DMTools.Models.CampaignModels; using DMTools.Models.SettingModels; using DMTools.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DMTools.View.EditorView.AdventureEditor { class AdventureEditorViewModel : ...
WorkingWithFiles/WorkingWithFiles/Program.cs
aurimas13/CSharp
1
7038182
<reponame>aurimas13/CSharp<filename>WorkingWithFiles/WorkingWithFiles/Program.cs // Created by <NAME> on 08/08/21. // Updated by <NAME> on 11/08/21. using System; using System.IO; namespace WorkingWithFiles { class Program { static void Main(string[] args) { var path = @"/Users/Aur...
Plugins/OpenXML/Missing Features/Converting to Tiff as defined format/Program.cs
MrYangPan/Aspose.Slides-for-.NET-code
39
7038183
// Copyright (c) Aspose 2002-2014. All Rights Reserved. using Aspose.Slides; using Aspose.Slides.Export; using System.Drawing; /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Slides for .NET API reference when the project is build. Please check https://docs.nuget.org/consume/nuget-f...
src/SmartSql/TypeHandlers/NamedTypeHandlerCache.cs
XiaoHeitu/SmartSql
596
7038184
<reponame>XiaoHeitu/SmartSql using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; using System.Text; using SmartSql.Exceptions; namespace SmartSql.TypeHandlers { public static class NamedTypeHandlerCache { private static readonly object s_lock = new obj...
EDO/StudyCategory/MemberForm/OrganizationVM.cs
Easy-DDI-Organizer/EDO
0
7038185
<reponame>Easy-DDI-Organizer/EDO using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections.ObjectModel; using EDO.Core.ViewModel; using System.ComponentModel; using EDO.Core.Model; using System.ComponentModel.DataAnnotations; using System.Diagnostics; using EDO.Core...
VirtualRadar.Database/Table.cs
neonowy/vrs
208
7038186
// Copyright © 2010 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, this list ...
C# Web Development/01. C# Programming Basics/01. First Steps In Programming/Exercise/VacationBooksList/Program.cs
Vanrektus/Software-University
0
7038187
using System; namespace VacationBooksList { class Program { static void Main(string[] args) { int pages = int.Parse(Console.ReadLine()); double pagesPerHour = double.Parse(Console.ReadLine()); int daysToRead = int.Parse(Console.ReadLine()); doubl...
Tempus.Utils.AspNetCore/TimeSpanConverter.cs
tempusdigital/Tempus.Utils
0
7038188
<gh_stars>0 namespace Tempus.Utils.AspNetCore { using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Tempus.Utils; public class TimeSpanConverter : JsonConverter { private c...
IQuiz/IQuiz/Controllers/QuestionsAndAnswersControllers/QuestionAndAnswersController.cs
KhosroJadidi/IQuiz
0
7038189
<filename>IQuiz/IQuiz/Controllers/QuestionsAndAnswersControllers/QuestionAndAnswersController.cs using System.Linq; using IQuiz.Data.Context; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using IQuiz.Extensions; namespace IQuiz.Controllers.QuestionsAndAnswe...
ValheimRowing/ValheimRowing.cs
ValdamireGido/valheim-rowing
0
7038190
// JotunnModStub // a Valheim mod skeleton using Jötunn // // File: JotunnModStub.cs // Project: JotunnModStub using BepInEx; using HarmonyLib; using System.Collections.Generic; using UnityEngine; namespace ScreamingMarmotMods { [BepInPlugin(PluginGUID, PluginName, PluginVersion)] [BepInProcess("valheim....
DataConfig/Form1.Designer.cs
ElvisBatzibal/sifco
0
7038191
<reponame>ElvisBatzibal/sifco namespace DataConfig { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
source/CoordinateConversion/CoordinateConversionLibrary/Views/OutputCoordinateView.xaml.cs
ArcGIS/coordinate-tool-addin-dotnet
40
7038192
/******************************************************************************* * Copyright 2015 Esri * * 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://w...
CodeCamper.Web/App_Start/IocConfig.cs
kushan2018/CodeCamper
1
7038193
<filename>CodeCamper.Web/App_Start/IocConfig.cs<gh_stars>1-10 using System.Web.Http; using CodeCamper.Data; using CodeCamper.Data.Contracts; using Ninject; namespace CodeCamper.Web { public class IocConfig { public static void RegisterIoc(HttpConfiguration config) { var kernel = ne...
Services/src/BuildService/BuildService.Model/CodeRunner/ClassJobResult.cs
dave-br/CSClassroom
1
7038194
<filename>Services/src/BuildService/BuildService.Model/CodeRunner/ClassJobResult.cs<gh_stars>1-10 namespace CSC.BuildService.Model.CodeRunner { /// <summary> /// The result of a class job. /// </summary> public class ClassJobResult : CodeJobResult { /// <summary> /// The defintion of the compiled class, if th...
DLaB.Xrm.Entities/msdyn_project.cs
bobbyangers/XrmUnitTest
52
7038195
<reponame>bobbyangers/XrmUnitTest<filename>DLaB.Xrm.Entities/msdyn_project.cs //------------------------------------------------------------------------------ // <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 ...
Glowstick Forest/Assets/BNG Framework/Scripts/Extras/LaserSword.cs
niksigouin/GlowFo
1
7038196
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace BNG { /// <summary> /// An example Grabbable that adds lots of particles and changes audio pitch on collision. /// Press X to activate while in hand /// </summary> public class LaserSwor...
Other/UTPC2014/Tasks/A.cs
AconCavy/atcoder-challenges-cs
0
7038197
<reponame>AconCavy/atcoder-challenges-cs<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Numerics; namespace Tasks { public class A { public static void Main(string[] args) { var sw = new StreamWri...
FuriousShopoholics/Assets/Scripts/Scriptable/GameSettings.cs
sawek111/FuriousShopoholic
0
7038198
using UnityEngine; using Zenject; [CreateAssetMenu(fileName = "GameSettings", menuName = "Installers/GameSettings")] public class GameSettings : ScriptableObjectInstaller<GameSettings> { public MenuInstaller.Settings menuSettings; public GameplayInstaller.Settings gameplaySettings; public override void In...
src/Server/Actors/StorageStateExtensions.cs
thangchung/dapr-actors-experiment
3
7038199
<reponame>thangchung/dapr-actors-experiment using System; using Contracts; namespace Server.Actors { public static class StorageStateExtensions { public static IStorageState InitData(this IStorageState state) { state.Users.AddRange(new[] { new User {Id =...
mcs/tests/test-625.cs
lefb766/mono
469
7038200
<reponame>lefb766/mono // // fixed // class Location { static public int Null { get { return 1; } } } class X { Location Location; X () { int a = Location.Null; } public static void Main () {} }
VisualCtf.Shared/Services/AppStateService.cs
ErikHen/VisualCtf
0
7038203
<gh_stars>0 using System; using VisualCtf.Shared.Models; namespace VisualCtf.Shared.Services { public class AppStateService : IAppStateService { public event Action OnChange; public AppState AppState { get; private set; } public void Set(AppState state) { AppState ...
src/RecoveryServices/RecoveryServices.SiteRecovery/NetworkInterfaceCard/NewAzureRmAsrVmNicConfig.cs
mbentancour/azure-powershell
3,336
7038204
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://...
Scripts/Customs/XML Spawner/XmlItems/TimedSwitches.cs
greeduomacro/vivre-uo
0
7038205
using System; using System.Collections; using Server; using Server.Mobiles; /* ** TimedLever, TimedSwitch, and XmlLatch class and TimedSwitchableItem ** Version 1.01 ** updated 5/06/04 ** ArteGordon */ namespace Server.Items { public class XmlLatch : Item { private TimeSpan m_MinDelay; private TimeSpan m_MaxDe...
LNF/Scheduler/Service/FiveMinuteTaskResult.cs
lurienanofab/lnf
1
7038206
<reponame>lurienanofab/lnf<gh_stars>1-10 namespace LNF.Scheduler.Service { public class FiveMinuteTaskResult { public HandleRepairReservationsProcessResult EndRepairReservationsProcessResult { get; set; } public HandleUnstartedReservationsProcessResult EndUnstartedReservationsProcessResult { ge...
WebApi/UseCases/Products/V1/GetProduct/ProductsController.cs
satishchatap/zellar
0
7038207
<reponame>satishchatap/zellar<filename>WebApi/UseCases/Products/V1/GetProduct/ProductsController.cs namespace WebApi.UseCases.Products.V1.GetProduct { using Application.Services; using Application.UseCases.GetProduct; using Domain; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCor...
Csharp/OtherCodes/Program.cs
SouthBegonia/UnityWorld
153
7038208
<gh_stars>100-1000 using System; namespace Csharp { /* class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); int num; num = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("num = {0}", num); C...
Assets/VoxelTerrain.Tests/Core/UtilitiesTests/IndexToXyzTests.cs
gonnavis/Marching-Cubes-Terrain
1
7038209
<filename>Assets/VoxelTerrain.Tests/Core/UtilitiesTests/IndexToXyzTests.cs using NUnit.Framework; using Unity.Mathematics; namespace Eldemarkki.VoxelTerrain.Utilities.Tests { public class IndexToXyzTests { public void TestIndexToXyz(int index, int expectedX, int expectedY, int expectedZ, int width, in...
webstats/Modules/Models/LegendPageViewModel.cs
okendresen/cupster
0
7038210
<filename>webstats/Modules/Models/LegendPageViewModel.cs<gh_stars>0 using System.Collections.Generic; using SubmittedData; namespace Modules { class LegendPageViewModel { AchievementSystem _achievementSystem; public LegendPageViewModel(IResults actual) { _achievementSystem = new AchievementSystem(actual, ...
SportZone/SportZone.Services/Newz/Models/PopularTagServiceModel.cs
varbanov88/SportZone
0
7038211
using SportZone.Common.Mapping; using SportZone.Data.Models; namespace SportZone.Services.Newz.Models { public class PopularTagServiceModel : IMapFrom<Tag> { public int Id { get; set; } public string Content { get; set; } } }
slimCat/ViewModels/Full Screen/LoginViewModel.cs
Vlyn/slimCat
0
7038212
#region Copyright // <copyright file="LoginViewModel.cs"> // Copyright (c) 2013-2015, <NAME>, All rights reserved. // // This source is subject to the Simplified BSD License. // Please see the License.txt file for more information. // All other rights reserved. // // THIS CODE AND INFORMATION AR...
Src/ILGPU.Algorithms/Runtime/Cuda/CuBlasException.cs
MPSQUARK/ILGPU
0
7038213
// --------------------------------------------------------------------------------------- // ILGPU.Algorithms // Copyright (c) 2020 ILGPU Algorithms Project // www.ilgpu.net // // File: CuBlasException.cs // // This file is part...
myplayer/helpers/ClearTip.cs
wynfrith/myplayer
2
7038214
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace myplayer.helpers { //清除提示 public class ClearTip { private static AxAPlayer3Lib.AxPlayer player; private static System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer(); public...
csharp/TinyParserMitsuba/SceneObject.cs
PearCoding/TinyParser-Mitsuba
1
7038215
using System; using System.Collections.Generic; using System.Text; namespace TinyParserMitsuba { public class SceneObject { internal SceneObject(IntPtr handle) { _Handle = handle; int prop_count = (int)Lib.tpm_get_property_count(_Handle); Properties = new(pr...
Assets/Game/Resources/Scripts/LWidget/LSwitch.cs
LingJiJian/uLui
341
7038216
<filename>Assets/Game/Resources/Scripts/LWidget/LSwitch.cs<gh_stars>100-1000 /**************************************************************************** Copyright (c) 2015 Lingjijian Created by Lingjijian on 2015 <EMAIL> Permission is hereby granted, free of charge, to any person obtaining a copy of this software...
Itm.Database.Services/IAccountService.cs
Bitexirtz/BaseProject
0
7038217
using System.Collections.Generic; using System.Threading.Tasks; using Itm.Database.Core.Services.ResponseTypes; using Itm.Models; namespace Itm.Database.Services { public interface IAccountService { #region Read Task<IListResponse<UserModel>> GetUsersAsync(int pageSize = 0, int pageNumber = 0)...
Omnia.CodeGen/Runtime/Binders/OmniaBinaryOperationBinder.cs
AntyaDev/Omnia
2
7038218
<reponame>AntyaDev/Omnia using System.Dynamic; using System.Linq.Expressions; namespace Omnia.CodeGen.Runtime.Binders { public class OmniaBinaryOperationBinder : BinaryOperationBinder { public OmniaBinaryOperationBinder(ExpressionType operation) : base(operation) { } public override ...
Assets/Scripts/EventAction/WaitExecuter.cs
Finb/MMX
6
7038219
<filename>Assets/Scripts/EventAction/WaitExecuter.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class WaitExecuter : IExecute { public void execute(EventAction eventAction) { eventAction.StartCoroutine(Waiting(eventAction)); } IEnumerator Wa...
DddBase/IAggregateRoot.cs
vkradio/PhoneBook
0
7038220
<reponame>vkradio/PhoneBook using System.Diagnostics.CodeAnalysis; namespace DddInfrastructure { [SuppressMessage("Design", "CA1040:Avoid empty interfaces", Justification = "Required by design")] public interface IAggregateRoot { } }
HADES/Views/Home/_CreateOuModal.cshtml
mikeyX101/HADES
0
7038221
@model MainViewViewModel <div class="modal fade" id="OuCreate" role="dialog" aria-labelledby="OuCreateLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content" role="document"> <div class="modal-header text-center"> <h4 class="modal-title w-100 font-weigh...
UPT.Common/VModels/PaymentsVM.cs
Furkan581907/UPTOdemeSistemi
0
7038222
using System; using System.Collections.Generic; using System.Text; namespace UPT.Common.VModels { public class PaymentsVM:BaseVM { public string PayingId { get; set; } // Ödeyen Id public UsersVM PayingVM { get; set; } public int PayerId { get; set; } // Ödemeyi gişe mi kendi mi yapmış...
src/EmailTemplateLibrary/Dashboard/Pages/LayoutPage.generated.cs
saliehendricks/EmailTemplateLibrary
0
7038223
<gh_stars>0 #pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code ...
Sintime/AST/Statements/Operators/Atomics/Constants/EastNode.cs
leynier/Wall-E
1
7038224
<filename>Sintime/AST/Statements/Operators/Atomics/Constants/EastNode.cs namespace WallE.Sintime.AST.Statements.Operators.Atomics.Constants { public class EastNode : ConstantNode { public EastNode(ActionNode action) : base(action) { } public override int? Operate() { ...
src/MAVN.Service.DemoMode.Domain/Entities/PaymentRequestModelSettings.cs
HannaAndreevna/MAVN.Service.DemoMode
0
7038225
<gh_stars>0 using Lykke.SettingsReader.Attributes; namespace MAVN.Service.DemoMode.Domain.Entities { public class PaymentRequestModelSettings { public int PaymentRequestDelayInMilliseconds { get; set; } [Optional] public string TokensAmount { get; set; } [Optional] pub...
src/StyledBlazor/Styled.cs
phil-scott-78/styled-components
1
7038226
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Rendering; namespace StyledBlazor { /// <summary> /// Represents an attribute of a styled component /// </summary> public sealed record StyledAttribute(string...
LuaTableData/LuaTableDataMgr.cs
xiaoyanxiansheng/code_xlua
0
7038227
namespace JYClient { using System; using System.Collections.Generic; using XLua; using XLua.LuaDLL; static class LuaTableDataMgr { #region 数据 // luaTableName对应luaTableData private static Dictionary<string, LuaTableData> luaTableMap = new Dictionary<string, LuaTableData>...
HelpScoutClient/Customers/CustomerCreateRequest.cs
JTOne123/HelpScoutNet
9
7038229
using System; using System.Collections.Generic; namespace HelpScout.Customers { public class CustomerCreateRequest { public enum CustomerPhotoType { Unknown = 1, Gravatar, Twitter, Facebook, Googleprofile, Googleplus, ...
src/Branchy/NestedEndpointsExtensions.cs
khalidabuhakmeh/Branchy
35
7038230
using System; using Microsoft.AspNetCore.Routing; namespace Branchy { public static class NestedEndpointsExtensions { /// <summary> /// Creates a structural path to register routes within the path /// </summary> /// <param name="app"></param> /// <param name="route"></p...