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
SampleForms/Form1.Designer.cs
mystasly48/AGQRTimetable
0
7063170
namespace SampleForms { partial class Form1 { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネージド リソースを破棄する場合は true を指定し、その他の場合は false を指定...
WorldOfEnglishWord/Controllers/Cards/CardsActivityPager.cs
MAXon28/WorldOfEnglishWords
0
7063171
using System; using Android.App; using Android.Content.PM; using Android.OS; using Android.Support.Design.Widget; using Android.Support.V4.App; using Android.Support.V4.View; using WorldOfEnglishWord.Adapters; namespace WorldOfEnglishWord.Controllers.Cards { [Activity(Label = "CardsActivity", ScreenOrientation = ...
Saving.cs
COLAMAroro/Arma3ServerManager
1
7063172
<gh_stars>1-10 using System; using System.IO; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArmaServerSelector { class SaveData { public string ModDir { get; set; } public string BinPath { get; set; } ...
SharpLocker-2.0/Program.cs
Lokk-In/SharpLocker-2.0
1
7063173
using System; using System.Threading; using System.Windows.Forms; namespace Windows10LokkIn { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualS...
Sources/Autofac Multi Application Solution/AfMulti.Apps.WebApi.Hub/App_Start/Startup.cs
miseeger/VisualStudio.Templates
2
7063174
using System; using System.Web.Http; using System.Web.Http.Cors; using Autofac; using Owin; namespace $safeprojectname$ { public class Startup { public void Configuration(IAppBuilder app) { var config = new HttpConfiguration(); var builder = new ContainerBuilder(); // Set working directory Envir...
SIL.Core.Tests/Data/IRepositoryTests.cs
elisunger/libpalaso
36
7063175
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Threading; using NUnit.Framework; using SIL.Data; namespace SIL.Tests.Data { internal class TestQuery<T> : IQuery<T> where T : class, new() { public IEnumerable<IDictionary<string, object>> GetResults(T item) { var result = new Dict...
CSharpToTypescriptConverter/DocumentationInfo.cs
dotjpg3141/CSharpToTypescriptConverter
0
7063176
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Xml.Linq; namespace CSharpToTypescriptConverter { public class DocumentationInfo { private static readonly Regex WhiteSpace = new Regex(@"\s+"); ...
Edison.Web/Edison.Common.MassTransit/Messages/Notification/NotificationSendEvent.cs
sysgain/ProjectEdison-1
14
7063177
using Edison.Common.Messages.Interfaces; using Edison.Core.Common.Models; using System; namespace Edison.Common.Messages { public class NotificationSendEvent : INotificationSendEvent { public Guid ActionCorrelationId { get; set; } public NotificationCreationModel Notification { get; set; } ...
axiom/Engine/Configuration/DisplayConfig.cs
AustralianDisabilityLimited/MultiversePlatform
33
7063178
<reponame>AustralianDisabilityLimited/MultiversePlatform using System; using System.Collections.Generic; namespace Axiom.Configuration { /// <summary> /// Summary description for XConfig. /// </summary> public class DisplayMode { protected int width; protected int height; pr...
src/Datory.Cli/Utils/DirectoryUtils.cs
siteserver/Datory
17
7063179
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Datory.Cli.Utils { public static class DirectoryUtils { public static string GetDirectoryPath(string path) { var ext = Path.GetExtension(path); var directoryPath = !string.IsNu...
DoxaPazartesi/DoxaKutuphaneDAL/DoxaKutuphaneDAL/Entity/Yazar.cs
fatihyildizhan/projects-before-2010
1
7063180
<reponame>fatihyildizhan/projects-before-2010 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DoxaKutuphaneDAL.Entity { public class Yazar { #region fields int yazarId; string ad; string soyad; int yayinEviId; #end...
Model/Microelements/InclusionSeeder.cs
maslankam/multiscale_modeling
2
7063181
using System; using System.Collections.Generic; using System.Linq; using Model.Boundary; namespace Model.Microelements { public class InclusionSeeder { private readonly InclusionExecutor _executor; public InclusionSeeder(IBoundaryCondition boundary){ _executor = new Inc...
Local.Http.Smtp.Server/ServerManager.cs
AJEETX/Local.Http.Smtp.Server
2
7063182
<gh_stars>1-10 using Local.Http.Email.Server.Email.Server; using Local.Http.Email.Server.Http.Server; using System.Threading.Tasks; namespace Local.Http.Email.Server { public interface IServerManager { Task StartAsync(); } internal class ServerManager : IServerManager { private re...
Wollo.Web/Controllers/OrganizationController.cs
umangsunarc/OTH
1
7063183
using Wollo.Web.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Mvc; using Wollo.Web.Helper; using System.Threading.Tasks; namespace Wollo.Web.Controllers { public class OrganizationController : Controller { /// <s...
MKCache/tests/MKCache.Tests/SingleKeyTests.cs
tommasobertoni/Sandbox
0
7063184
<filename>MKCache/tests/MKCache.Tests/SingleKeyTests.cs using Moq; using System; using System.Threading.Tasks; using Xunit; namespace MKCache.Tests { public class SingleKeyTests { private TimeSpan GetExpiration() => TimeSpan.FromMinutes(5); [Fact] public void An_item_is_cached_with_the...
Assets/Scripts/SheepSpawner.cs
JLWard-90/Shep
0
7063185
<reponame>JLWard-90/Shep using System.Collections; using System.Collections.Generic; using UnityEngine; public class SheepSpawner : MonoBehaviour { [SerializeField] GameObject sheepPrefab; [SerializeField] Vector2 sheepXRange; [SerializeField] Vector2 sheepZRange; public int nS...
src/Pref.cs
ChristopherSchubert/com.appalachia.unity3d.editor.preferences
1
7063186
<reponame>ChristopherSchubert/com.appalachia.unity3d.editor.preferences #region using System; using Appalachia.Editor.Preferences.States; using UnityEngine; #endregion namespace Appalachia.Editor.Preferences { #if APPA_ODIN_INSPECTOR [ShowInInspector, InlineProperty, HideReferenceObjectPicker] #endif [Serial...
TemplateAction/Core/Extension/TAObectCollectionExtensions.cs
wangluci/MZFrame
0
7063187
using System; using System.Reflection; using TemplateAction.Common; namespace TemplateAction.Core { public static class TAObectCollectionExtensions { public static T Cast<T>(this ITAObjectCollection collection, string key, T def) { object result; if (collecti...
src/Pekka.RoyaleApi.Client/Models/ClanModels/ClanRegion.cs
avidigmi/clash-royale-client-dotnet
0
7063188
namespace Pekka.RoyaleApi.Client.Models.ClanModels { public class ClanRegion { public string Name { get; set; } public bool IsCountry { get; set; } public string Code { get; set; } public override string ToString() { return Name; } } }
004_Conceptos_LinQ/ConsultasLinQ/Formularios_DB_relacional/Form4.Designer.cs
lfzarazuaa/Programacion_en_C_sharp
0
7063189
<gh_stars>0 namespace Formularios_DB_relacional { partial class Form4 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </su...
aspnet-core/src/group6/Group6.SE347.L11_HelloWork.Application/Services/UserInfos/IUserInfoAppService.cs
hahpuc/HelloWork-Website
0
7063190
using Abp.Application.Services; using Abp.Application.Services.Dto; using Group6.SE347.L11_HelloWork.Application.Services.UserInfos.Dto; using System.Threading.Tasks; namespace Group6.SE347.L11_HelloWork.Application.Services.UserInfos { public interface IUserInfoAppService : IApplicationService { Task...
LstToLua/BonusLanguage.cs
primordially/primordially
2
7063191
<filename>LstToLua/BonusLanguage.cs namespace Primordially.LstToLua { internal class BonusLanguage : LuaObject { public BonusLanguage(TextSpan value) { if (value.Value == "ALL") { All = true; } else if (value.TryRemovePrefix("TYPE=...
Pieces/Piece.cs
Yuozas/Chess-Unity-Csharp
0
7063192
<filename>Pieces/Piece.cs using System; using UnityEngine; public abstract class Piece { protected Vector2Int position; public readonly PieceColor color; protected readonly Board board; protected bool inPassed; protected bool tryOut; public int points; public Piece(Board board, PieceColor c...
Core6502DotNet/src/Block Processors/PageBlock.cs
informedcitizenry/6502.Net
37
7063193
<gh_stars>10-100 //----------------------------------------------------------------------------- // Copyright (c) 2017-2021 informedcitizenry <<EMAIL>> // // Licensed under the MIT license. See LICENSE for full license information. // //----------------------------------------------------------------------------- us...
src/Presentation/FaraMedia.Web.Framework/Mvc/Attributes/Localization/ResourceEmailAttribute.cs
m-sadegh-sh/FaraMedia
0
7063194
namespace FaraMedia.Web.Framework.Mvc.Attributes { using FaraMedia.Core; public class ResourceEmailAttribute : ResourceFormatAttribute { public ResourceEmailAttribute() { Evaluator = v => string.IsNullOrEmpty((string) v) || CommonHelper.IsValidEmail((string) v); } } }
VSproject/Projeto_IPC/Controllers/PacienteController.cs
marceloqueiros/phonological-awareness-evaluation-web-app
0
7063195
using Projeto_IPC.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Projeto_IPC.Controllers { public class PacienteController : Controller { // GET: Paciente DataClassesDBIPCDataContext DB = new DataCl...
src/CloudStack.Net/Generated/AddCluster.cs
mrehman29/cloudstack.net
0
7063196
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; using Newtonsoft.Json; namespace CloudStack.Net { public class AddClusterRequest : APIRequest { public AddClusterRequest() : base("addCluster") {} /// <summary> /// the c...
ViewModel/DogViewModel.cs
thomas995/MobileApps3
0
7063197
<filename>ViewModel/DogViewModel.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Media.Imaging; namespace MVVMJSON.ViewModel { public class DogViewModel : NotificationBase<Data.myDogs> { public DogV...
src/Azure.Functions.Cli/Actions/HostActions/Startup.cs
JorTurFer/azure-functions-core-tools
814
7063199
using System; using System.Collections.Generic; using Azure.Functions.Cli.Actions.HostActions.WebHost.Security; using Azure.Functions.Cli.Diagnostics; using Azure.Functions.Cli.ExtensionBundle; using Azure.Functions.Cli.Helpers; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Az...
NPOI.OpenXmlFormats.Vml.Wordprocessing/CT_Border.cs
iNeverSleeeeep/NPOI-For-Unity
1
7063200
<filename>NPOI.OpenXmlFormats.Vml.Wordprocessing/CT_Border.cs using NPOI.OpenXml4Net.Util; using NPOI.OpenXmlFormats.Util; using System; using System.ComponentModel; using System.IO; using System.Xml; using System.Xml.Serialization; namespace NPOI.OpenXmlFormats.Vml.Wordprocessing { [Serializable] [DesignerCategory(...
Assets/Resources/Scripts/Effects/Effect.cs
SchwiftyPython/PizzalikeRL
0
7063201
using System; [Serializable] public class Effect { protected string name; protected Guid id; protected int duration; protected Entity entity; protected int remainingTurns; public string Name { get { if (name != null && !name.Equals(string.Empty)) ...
src/Baseline.Testing/Conversion/StringConverterProviderTester.cs
SVemulapalli/baseline
87
7063202
using Baseline.Conversion; using Shouldly; using Xunit; namespace Baseline.Testing.Conversion { public class StringConstrucutorConversionProviderTester { private readonly StringConverterProvider provider = new StringConverterProvider(); [Fact] public void provide_instance_with_string_...
Win/FlowScriptEngineBasic/FlowSourceObjects/ArrayList/ArrayListFlowSourceObjectBase.cs
KHCmaster/PPD
16
7063203
using System.Collections.Generic; namespace FlowScriptEngineBasic.FlowSourceObjects.ArrayList { public abstract class ArrayListFlowSourceObjectBase : ExecutableFlowSourceObject { [ToolTipText("ArrayList_ArrayList")] public List<object> ArrayList { protected get; ...
src/AspNet.Security.OpenIdConnect.Server/OpenIdConnectServerExtensions.cs
bigfont/AspNet.Security.OpenIdConnect.Server
5
7063204
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OpenIdConnect.Server * for more information concerning the license and the contributors participating to this project. */ using System; using System.Collections....
WebPad.Dependencies.General/Extensions/WPF/DependencyObjectExtensions.cs
NathanielACollier/WebPad
6
7063205
<filename>WebPad.Dependencies.General/Extensions/WPF/DependencyObjectExtensions.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Media; namespace WebPad.Dependencies.General.Extensions.WPF { public static class DependencyObjectExt...
src/Couchbase.Extensions.MultiOp/MultiOpOptions.cs
EngRajabi/Couchbase.Extensions
28
7063206
using System; using System.Diagnostics; using Couchbase.Extensions.MultiOp.Internal; namespace Couchbase.Extensions.MultiOp { /// <summary> /// Options to control parallelization. /// </summary> public class MultiOpOptions { private static readonly int DefaultDegreeOfParallelism = Environm...
src/Rg.Web/ViewModels/TimelineItemViewModel.cs
jenyayel/rgroup
0
7063207
<gh_stars>0 using Rg.ApiTypes; namespace Rg.Web.ViewModels { public class TimelineItemViewModel : ViewModelWithTextEditingBase { public int ItemId { get; set; } public TimelineEntryDetails Item { get; set; } } }
ironpython2/Src/UwpExtension/MyReadOnlyDictionary.cs
shuice/IronPython_UWP
2
7063208
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace System.Collections.Generic { public class MyReadOnlyDictionary<TKey, TValue> : ICollection<MyKeyValuePair<TKey, TValue>>, IEnumerable<MyKeyValuePair<TKey, TValue>...
unity/Assets/Scripts/Engine/Debug/DebugUtils.cs
guibec/rpgcraft
9
7063209
<gh_stars>1-10 using UnityEngine; public class DebugUtils { //[Conditional("DEBUG")] public static void Assert(bool condition) { if (!condition) { Debug.LogError("Assert!"); } } //[Conditional("DEBUG")] public static void DrawRect(Vector2 topLeft, Vect...
Api/Service/Workflow/EIP.Workflow.Models/Enums/EnumLine.cs
edwinhuish/eipcore2
25
7063210
<gh_stars>10-100 namespace EIP.Workflow.Models.Enums { /// <summary> /// 连线类型 /// </summary> public enum EnumLineType { 节点连线 = 2, 条件连线 = 4, 退回连线 = 6 } /// <summary> /// 退回连线-策略-退回策略: /// </summary> public enum EnumLineReturnPolicy { 根据处理策略退回 ...
Programming Fundamentals/Exercise 4 - Methods/09.PalindromeIntegers/Program.cs
HNochev/SoftUni-CSharp-Software-Engineering
1
7063211
<gh_stars>1-10 using System; namespace _09.PalindromeIntegers { class Program { static void Main(string[] args) { string input = Console.ReadLine(); while (input != "END") { int number = int.Parse(input); if (number < 0) ...
src/Merchello.Core/Persistence/Migrations/Upgrades/TargetVersionTwoTwoZero/AddProductOptionTypeField.cs
raindigi/Merchello
191
7063212
<gh_stars>100-1000 namespace Merchello.Core.Persistence.Migrations.Upgrades.TargetVersionTwoTwoZero { using System; using System.Linq; using Merchello.Core.Configuration; using Merchello.Core.Models.Rdbms; using Merchello.Core.Models.TypeFields; using Umbraco.Core; using Umbraco.Core.Pers...
src/Tests/Microsoft.Diagnostics.Monitoring.ConfigurationSchema.UnitTests/SchemaGenerationTests.cs
WeihanLi/dotnet-monitor
300
7063213
// 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. using Microsoft.Diagnostics.Monitoring.TestCommon; using Microsoft.Diagnostics.Monitoring.TestCommon.Runners; using ...
src/jcconsultingti.winerie.business/EmailBLL.cs
CharlesMendes/Winerie
1
7063214
<reponame>CharlesMendes/Winerie using jcconsultingti.winerie.model; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; using System.Text; using System.Threading.Tasks; namespace jcconsultingti.winerie.business { public class EmailBLL { public vo...
Solution/Website/Views/Role/Index.cshtml
rezaseptiandra/AssetManagement
0
7063215
@{ ViewData["Title"] = "Register"; } <h1>@ViewData["Title"]</h1> @section Scripts { <script> $(document).ready(function () { $('#example tfoot th').each( function () { var title = $(this).text(); $(this).html( '<input type="text" placeholder="Search '+title+...
App/FightTheFire/FightTheFire.Core/Services/Interfaces/IAlertService.cs
Xciles/Inferno
1
7063217
using System; using System.Threading.Tasks; using Domain.Enums; using Domain; namespace Services.Interfaces { public interface IAlertService { Task<bool> AlertForFire(double lat, double lng, EFireSeverity severity, string description); Task<FireDangerResponse> CheckForFire(double lat, double lng); } }
src/Octokit.Webhooks/Events/RepositoryVulnerabilityAlert/RepositoryVulnerabilityAlertCreateEvent.cs
JamieMagee/webhooks.net
0
7063218
namespace Octokit.Webhooks.Events.RepositoryVulnerabilityAlert; using System.Text.Json.Serialization; using JetBrains.Annotations; [PublicAPI] [WebhookActionType(RepositoryVulnerabilityAlertActionValue.Create)] public sealed record RepositoryVulnerabilityAlertCreateEvent : RepositoryVulnerabilityAlertEvent { [Jso...
src/LightRail.ServiceBus/SqlServer/Config/ServiceBrokerServiceBusReceiverConfiguration.cs
jdaigle/LightRail
9
7063219
using LightRail.ServiceBus.Config; using LightRail.ServiceBus.Transport; namespace LightRail.ServiceBus.SqlServer.Config { public class ServiceBrokerServiceBusReceiverConfiguration : BaseMessageReceiverConfiguration { public string ServiceBrokerService { get; set; } public string Servi...
GPUTypeDetector/GPUTypeDetector/GPUTypeDetector.cs
OSVR/OSVR-CPI
7
7063220
// Copyright 2016 Razer, 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 to in...
src/ReportsInAddins/ReportsInAddins/Workers/RRPodstawowyWorker.cs
danielignacak/Samples
0
7063221
using Soneta.Business; using Soneta.Business.UI; using Soneta.Handel; [assembly: Worker(typeof(ReportsInAddins.Workers.RRPodstawowyWorker), typeof(DokumentHandlowy))] namespace ReportsInAddins.Workers { class RRPodstawowyWorker { [Action("ReportResult/Domyślna akcja", Target = ActionTarge...
UnityCsharp/Amadeus/Pandora'Box/FormatTest.cs
Exterior404/Kokoro
0
7063222
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class FormatTest : MonoBehaviour { void Start() { string a = "A", b = "B"; Debug.Log(string.Format("a = {0} b = {1}", a, b)); Debug.Log(string.Format("a = {0} b = {1}\n",a ,b) + string.Format(...
Assets/BrokenVector/BrokenUtils/Editor/EditorGUIUtils.cs
BrokenVector/BrokenUtils
9
7063223
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace BrokenVector.BrokenUtils.Editor { public static class EditorGUIUtils { public static GUIStyle GetEditorStyle(string name) { return EditorGUIUtility.GetBuiltinSkin(EditorSkin.Inspector).Get...
src/Lykke.Service.PaymentSystem.AzureRepositories/AppGlobalSettingsRepository.cs
LykkeCity/Lykke.Service.PaymentSystem
1
7063224
using System.Threading.Tasks; using AzureStorage; using Lykke.Service.PaymentSystem.AzureRepositories.Entities; using Lykke.Service.PaymentSystem.Core.Domain; using Lykke.Service.PaymentSystem.Core.Repositories; namespace Lykke.Service.PaymentSystem.AzureRepositories { public class AppGlobalSettingsRepository : I...
Shamisen/Concepts/ConceptAttributes.cs
MineCake147E/MonoAudio
5
7063225
using System; using System.Collections.Generic; using System.Text; namespace Shamisen.Concepts { /// <summary> /// Represents a kind of concepts. /// </summary> public enum ConceptKind { /// <summary> /// Invalid. /// </summary> None, /// <summary> ...
src/Lykke.Service.Tier.AzureRepositories/QuestionsRepository.cs
LykkeCity/Lykke.Service.Tier
1
7063226
using System.Linq; using System.Threading.Tasks; using AzureStorage; using Lykke.Service.Tier.Domain.Questionnaire; using Lykke.Service.Tier.Domain.Repositories; namespace Lykke.Service.Tier.AzureRepositories { public class QuestionsRepository : IQuestionsRepository { private readonly INoSQLTableStorag...
samples/BCAgent/Plugins/HelloWorldPlugin/HelloWorld.cs
tomasevicstefan/BCTech
246
7063227
// ------------------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // ---------------------------------------------------------...
Primer_Lab_MongoDB/Models/Person.cs
knivek91/MongoDriverCSharp_FirstLab
0
7063228
using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Models { public class Person { #region Property [BsonId] [BsonElement("_id")] public MongoDB.Bson.ObjectId ID { get; set; } [Bson...
YanZhiwei.Framework.Common/ServiceCallContext.cs
wind2006/DotNet.Utilities
2
7063229
namespace YanZhiwei.DotNet.Framework.Contract { using System; using System.Collections.Generic; using System.Runtime.Remoting.Messaging; using YanZhiwei.DotNet2.Utilities.Common; using YanZhiwei.DotNet3._5.Utilities.Common; /// <summary> /// 服务调用上下文,主要传输IP,操作人,认证等数据,可用于WCF传输用 /// </su...
src/Trezor.Net/Contracts/messages.cs
matejcik/Trezor.Net
40
7063230
// This file was generated by a tool; you should avoid making direct changes. // Consider using 'partial classes' to extend these types // Input: messages.proto #pragma warning disable namespace Trezor.Net.Contracts { [global::ProtoBuf.ProtoContract()] public enum MessageType { [global::ProtoBuf....
src/WireMock.Net/Transformers/Handlebars/WireMockHandlebarsHelpers.cs
leolplex/WireMock.Net
700
7063231
using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using HandlebarsDotNet; using HandlebarsDotNet.Helpers; using HandlebarsDotNet.Helpers.Helpers; using WireMock.Handlers; namespace WireMock.Transformers.Handlebars { internal static class WireMockHandlebarsHe...
Lab_01/Lab_01.Core/MagicSquare.cs
prekel/ComputerSecurity
0
7063232
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Lab_01.Core { /// <summary> /// Магический квадрат. /// </summary> public class MagicSquare : IEnumerable<int> { /// <summary> /// Значения магического квадрата. /...
test/UnitTests/SpecFlow/Steps/Scenarios/RetryDelaySteps.cs
CmdrRamon/xRetry
21
7063233
using System.Diagnostics; using TechTalk.SpecFlow; using Xunit; namespace UnitTests.SpecFlow.Steps.Scenarios { [Binding] public class RetryDelaySteps { private static Stopwatch sw = null; [When(@"I start the stopwatch if not already started")] public void WhenIStartTheStopwatchIfNo...
src/OneSignal.net/Services/Notifications/Filters/NotificationFilterSessionCount.cs
EvoMobius/OneSignal.net
0
7063234
<gh_stars>0 using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime.Serialization; namespace OneSignal { public class NotificationFilterSessionCount : NotificationFilter { public NotificationFilterSessionCount() { Field = "session_count"; } [JsonConverter...
AzureDevOps.Authentication/Src/Adal.cs
nit1127/login
3
7063235
<gh_stars>1-10 /**** Git Credential Manager for Windows **** * * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the """"Software""""), to deal * i...
Assets/Scripts/LogoManager.cs
HsienYu/Fameme
0
7063236
using UnityEngine; using UnityEngine.Video; using DG.Tweening; using UnityEngine.UI; using System.Collections; public class LogoManager : MonoBehaviour { public GameObject Background; public bool IgnoreLogo = false; public VideoPlayer LogoVideo; public Image ButtonImage; public GameO...
src/CSharp/GeometricObjects/Hexahedron.cs
cvandijck/VTKExamples
309
7063237
<reponame>cvandijck/VTKExamples using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Diagnostics; using Kitware.VTK; namespace ActiViz.Examples { public partial class Form1 : Form { public Form1() { InitializeComponent(); } ...
packages/Depender.Parser/src/Depender.Parser/RawILStringVisitor.cs
NeutroniumCore/CodeDependencyScaner
32
7063238
<reponame>NeutroniumCore/CodeDependencyScaner // Type: ClrTest.Reflection.RawILStringVisitor // Assembly: Depender.Parser, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 7BFB306E-D2F0-493B-8C2F-5C3CEA04F731 // Assembly location: D:\temp\NSplit\Depender\Depender.Parser.dll namespace ClrTest.Reflection ...
DeezerSync/DeezerSync/Deezer/API/Model/CreatePlaylistResponse.cs
xfischer/DeezerSync
0
7063239
<filename>DeezerSync/DeezerSync/Deezer/API/Model/CreatePlaylistResponse.cs using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; namespace DeezerSync.Deezer.API.Model { public partial class CreatePlaylistResponse { public List<string> error; public long...
backend/AMDb/Web/AMDb.Web/Controllers/Identity/RegisterController.cs
IvayloNikolov36/AMDb
1
7063240
<filename>backend/AMDb/Web/AMDb.Web/Controllers/Identity/RegisterController.cs<gh_stars>1-10 namespace AMDb.Web.Controllers.Identity { using AMDb.DataModels; using AMDb.Web.Models.Identity.Register; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System.Linq; using Sy...
src/Uno.UWP/Storage/Pickers/FileOpenPicker.wasm.cs
benchabot/uno
0
7063241
#nullable enable using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Uno.Foundation; namespace Windows.Storage.Pickers { public partial class FileOpenPicker { private const string JsType = "Windows.Storage.Pickers.FileO...
modules/calc/src/test/java/com/opengamma/strata/calc/ImmutableMeasureTest.cs
ckarcz/Strata.ConvertedToCSharp
0
7063242
<filename>modules/calc/src/test/java/com/opengamma/strata/calc/ImmutableMeasureTest.cs /* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.calc { //JAVA TO C# CONVERTER TODO TASK: This Java 'import stati...
src/Domain0.Service/Model/Role.cs
kirillnvnsk/domain0
0
7063243
<reponame>kirillnvnsk/domain0 using Gerakul.ProtoBufSerializer; using Nancy.Swagger.Annotations.Attributes; using System.Collections.Generic; namespace Domain0.Model { [Model("Role")] public class Role { [ModelProperty(Ignore = true)] public static MessageDescriptor<Role> DefaultDescriptor...
AtomicCore/DbProvider/Record/DbNonRecord.cs
migregorio/AtomicCore
3
7063244
<reponame>migregorio/AtomicCore using System; namespace AtomicCore.DbProvider { /// <summary> /// 执行DB语句后返回无记录结果集 /// </summary> public sealed class DbNonRecord : DbRecordBase { #region Constructors /// <summary> /// 构造函数 /// </summary> public DbNonRecord()...
BITIRMEPROJESI/ApartmanYonetimOtomasyonu.Domain/Entities/BaseEntity.cs
PatikaDev-Logo-Net-Bootcamp/Homeworks_FurkanTOPTAS
1
7063245
using System; using System.ComponentModel.DataAnnotations; namespace ApartmanYonetimOtomasyonu.Domain.Entities { public abstract class BaseEntity { public int Id { get; set; } public bool IsDeleted { get; set; } } }
NetSerializer/CodeElements.NetworkCall.NetSerializer.Test/NetSerializerTests.cs
Alkalinee/CodeElements.NetworkCallTransmissionProtocol
1
7063246
<filename>NetSerializer/CodeElements.NetworkCall.NetSerializer.Test/NetSerializerTests.cs<gh_stars>1-10 using System; using System.Buffers; using Xunit; namespace CodeElements.NetworkCall.NetSerializer.Test { public class NetSerializerTests { private INetworkSerializer _networkSerializer; pub...
FlexibleConfigEngine.Core/Gather/DataStore.cs
wiltaylor/FCE
0
7063247
using System.Collections.Generic; using Newtonsoft.Json; namespace FlexibleConfigEngine.Core.Gather { public class DataStore : IDataStore { private readonly Dictionary<string, Dictionary<string,string>> _data = new Dictionary<string, Dictionary<string, string>>(); private readonly Dictionary<s...
src/Umbraco.Elasticsearch.Core/Config/SearchSettingsExtensions.cs
Philo/Umbraco.Elasticsearch
20
7063248
<reponame>Philo/Umbraco.Elasticsearch using System.Linq; using Umbraco.Core; namespace Umbraco.Elasticsearch.Core.Config { public static class SearchSettingsExtensions { public static T GetAdditionalData<T>(this ISearchSettings settings, string key, T defaultValue = default(T)) { va...
09.App/DMT.TA.App/Services/TAServerManager.cs
chumpon-asaneerat/DMT.TA.TODv3
0
7063249
#region Usings using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.IO; //using System.Windows.Forms; //using System.Runtime.InteropServices; using System.ComponentModel; using System.Reflection; using DMT.Configurations; using DMT.Co...
src/SFA.DAS.EmployerAccounts.UnitTests/Queries/GetHmrcEmployerInformationTests/WhenValidatingTheRequest.cs
uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice
8
7063250
using System.Collections.Generic; using NUnit.Framework; using SFA.DAS.EmployerAccounts.Queries.GetHmrcEmployerInformation; namespace SFA.DAS.EmployerAccounts.UnitTests.Queries.GetHmrcEmployerInformationTests { public class WhenValidatingTheRequest { private GetHmrcEmployerInformationValidator _valida...
src/Orleans.Clustering.Cassandra/Membership/Models/IEntityBase.cs
OrleansContrib/Orleans.Clustering.Cassandra
1
7063251
namespace Orleans.Clustering.Cassandra.Membership.Models { internal interface IEntityBase { string EntityId { get; set; } string EntityType { get; set; } string ClusterId { get; set; } } }
src/server/Mimirorg.Authentication/Models/Domain/MimirorgCompany.cs
mimir-org/typelibrary
3
7063252
namespace Mimirorg.Authentication.Models.Domain { public class MimirorgCompany { public int Id { get; set; } public string Name { get; set; } public string DisplayName { get; set; } public string Description { get; set; } public string Secret { get; set; } ...
Web Development/ASP.NET MVC/TeamWork/LizardmanCinemas/LizardmanCinemas/LizardmanCinemas/ViewModels/DirectorsShortViewModel.cs
niki-funky/Telerik_Academy
1
7063253
<filename>Web Development/ASP.NET MVC/TeamWork/LizardmanCinemas/LizardmanCinemas/LizardmanCinemas/ViewModels/DirectorsShortViewModel.cs using LizardmanCinemas.Models; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Web; namespace LizardmanCinemas.ViewMode...
MTProto.NET/Schema/TL/_generated/TLInputDocument.cs
Gostareh-Negar/TeleNet
0
7063254
using MTProto.NET.Attributes; namespace MTProto.NET.Schema.TL { [MTObject(0x1abfb575)] public class TLInputDocument : TLAbsInputDocument { public override uint Constructor { get { return 0x1abfb575; } } [MTParameter(Order ...
Auth0/ConsoleStockBruker/ProjectStockLibrary/Notification.cs
POEC-DOTNET-CLERMONT-2022/ProjetStock
2
7063255
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectStockLibrary { [JsonArray] public class Notification : BaseEntity { [Key] public new Gu...
FpML.V5r3.Components/CurveEngine/Assets/Commodities/PriceableCommodityAssetController.cs
mmrath/Highlander.Net
0
7063256
<gh_stars>0 using System; using FpML.V5r3.Reporting.Helpers; using Orion.Analytics.Interpolations.Points; using Orion.ModelFramework; // Model Analytics using FpML.V5r3.Reporting; using Orion.ModelFramework.Assets; using Orion.ModelFramework.PricingStructures; namespace Orion.CurveEngine.Assets { ///<summary> ...
Views/Grid/GroupSummary.cshtml
syncfusion/aspnet-mvc-ej1-demos
3
7063258
<reponame>syncfusion/aspnet-mvc-ej1-demos @section SampleHeading{<span class="sampleName">Grid-Group Summary-ASP.NET MVC-SYNCFUSION</span>} @section MetaTags{ <meta name="description" content="This demo explains how to display summary values for grouped columns under each grouped item in Syncfusion ASP.NET MVC Data...
Awesome.FeedParser/Models/Media/MediaScene.cs
SirJohnK/Awesome.FeedParser
2
7063259
using System; namespace Awesome.FeedParser.Models.Media { /// <summary> /// Contains information about a particular scene. /// </summary> public class MediaScene { /// <summary> /// Title of the scene. /// </summary> public string? Title { get; internal set; } ...
WebPortal/Tenant.Mvc/Core/Repositories/Tenant/TicketRepository.cs
meyergm/WingTipTickets
6
7063260
using System.Collections.Generic; using Tenant.Mvc.Core.Interfaces.Tenant; using Tenant.Mvc.Core.Models; namespace Tenant.Mvc.Core.Repositories.Tenant { public class TicketRepository : BaseRepository, ITicketRepository { #region - Implementation - public List<ConcertTicketLevel> GetTicketLeve...
DbMigrator/src/core/commands/ExecuteScript.cs
isfr/DbMigrator
1
7063261
using System; using DbMigrator.src.exceptions; using DbMigrator.src.helpers; using DbUp; using DbUp.ScriptProviders; using Microsoft.Extensions.Logging; namespace DbMigrator.src.core.commands { /// <inheritdoc/> internal class ExecuteScript : ICommand { private readonly ILogger _logger; ...
src/Journalist.EventStore/Events/Mutation/EventMutationPipelineFactory.cs
forki/Journalist
15
7063262
<gh_stars>10-100 using System.Collections.Generic; namespace Journalist.EventStore.Events.Mutation { public class EventMutationPipelineFactory : IEventMutationPipelineFactory { private readonly IReadOnlyCollection<IEventMutator> m_incomingMessageMutators; private readonly IReadOnlyCollection<IE...
src/StoryTeller/SpecRunner.cs
SeanKilleen/Storyteller
0
7063263
using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using FubuCore; using HtmlTags; using StoryTeller.Engine; using StoryTeller.Engine.Batching; using StoryTeller.Model; using StoryTeller.Model.Persisten...
L03 Methods, Debugging/L03 Qs (V3)/L03 Method Qs (V3)/Q10 Cube/Program.cs
Uendy/Tech-Module
0
7063264
using System; public class Program { public static void Main() { // Instructions: Write a program that can calculate the length of the face diagonals, space diagonals, volume and surface area of a cube (http://www.mathopenref.com/cube.html) by a given side. On the first line you will get the side of th...
m0/UIWpf/Dialog/GetGraphCreationCodeDialog.xaml.cs
rad9k/MinusZero
0
7063265
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Wind...
lib/AeroWizard Modified for dotnet 4 client/Native/GDI.cs
phillip-hopper/BloomDesktop
0
7063266
<filename>lib/AeroWizard Modified for dotnet 4 client/Native/GDI.cs using System.Drawing; using System.Runtime.InteropServices; using System; using System.Windows.Forms.VisualStyles; namespace System.Windows.Forms.VisualStyles.Internal { internal static class GDI { [DllImport("gdi32", ExactSpelling = true, SetLas...
Assets/Plugins/MdxImporter/libwarcraft/MDX/Gameplay/MDXCamera.cs
helloqinglan/mdximportor
0
7063267
// // MDXCamera.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2017 <NAME> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (a...
Assets/Scripts/Score.cs
qenious/qSphere-Kodlar-
0
7063268
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class Score : MonoBehaviour { public TextMeshProUGUI text3; public GameObject obj; public float distanceScore; void Start() { StartCoroutine(mesafeMeter()); } IEnumerator mesafeMeter(...
Assets/Logic/InteractionScripts/DimlyLitHouse/OnClick_FrontDoor.cs
ratherpsychonaut/swf
0
7063269
<reponame>ratherpsychonaut/swf using UnityEngine; using System.Collections; public class OnClick_FrontDoor : MonoBehaviour { DataControlChapter1 DC; void Start() { DC = GameObject.Find("Data").GetComponent<DataControlChapter1>(); } void OnMouseDown() { DC.UIC.StartDialogue(DC.DialogueOther, DC.S.SC1.DSOther...
src/SFA.DAS.EmployerPayments.Application/Messages/PaymentProcessorQueueMessage.cs
SkillsFundingAgency/das-employer-payment
1
7063270
<filename>src/SFA.DAS.EmployerPayments.Application/Messages/PaymentProcessorQueueMessage.cs using SFA.DAS.Messaging.Attributes; namespace SFA.DAS.EmployerPayments.Application.Messages { [QueueName("refresh_payments")] public class PaymentProcessorQueueMessage { public string AccountPaymentUrl { ge...
Assets/PlayMaker Utils/PropertyDrawers/GenericAttributes/ExpectComponentAttribute.cs
jeanfabre/PlayMaker--KenPlanes
3
7063271
using System; using UnityEngine; namespace HutongGames.PlayMaker.Ecosystem.Utils { /// <summary> /// Expect a component, use this for a public class to make sure it targets a gameobject that has this component, unlike RequireComponent, it doesn't add the component is missing, /// Use this with the Owner class for...
OfficeManagerMini/03_App/OMM.App/Models/ViewModels/ProjectDetailsParticipantViewModel.cs
OniqLoshiq/OfficeManagerMini
1
7063272
using OMM.Services.AutoMapper; using OMM.Services.Data.DTOs.Projects; namespace OMM.App.Models.ViewModels { public class ProjectDetailsParticipantViewModel : IMapFrom <ProjectDetailsParticipantDto> { public string ProjectId { get; set; } public string ParticipantId { get; set; } publ...