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
src/UnitTests/PubnubApi.Tests/WhenObjectUuidMetadata.cs
bunbup/c-sharp
0
7037081
<gh_stars>0 using NUnit.Framework; using System.Threading; using PubnubApi; using System.Collections.Generic; using MockServer; using System.Diagnostics; using System.Threading.Tasks; namespace PubNubMessaging.Tests { [TestFixture] public class WhenObjectUuidMetadata : TestHarness { private static...
Kiosk/Views/VisualAlert/CustomVisionServiceWrapper.cs
christopher-linke/Cognitive-Samples-IntelligentKiosk
3
7037082
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Cognitive Services: http://www.microsoft.com/cognitive // // Microsoft Cognitive Services Github: // https://github.com/Microsoft/Cognitive // // Copyright (c) Microsoft Corporation // All rights reserved. // //...
Source/ImageBox/ImageBox.cs
americusmaximus/Triangulator
1
7037083
#region License /* MIT License Copyright (c) 2020 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
Plugins/UI/XmlLayout/Custom Attributes/SelectableNavigation.cs
exporl/lars-core
0
7037084
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Xml; using System.Text; using System.IO; using System; using System.Linq; using System.Reflection; using UnityEngine.UI; namespace UI.Xml.CustomAttributes { public class NavigationAttribute : CustomXmlAttribute { ...
FormsGallery/FormsGallery/FormsGallery/NamedColor.cs
desapu/xamarin-forms-samples
34
7037085
<reponame>desapu/xamarin-forms-samples<filename>FormsGallery/FormsGallery/FormsGallery/NamedColor.cs using Xamarin.Forms; namespace FormsGallery { // Used in TabbedPageDemoPage, CarouselPageDemoPage & MasterDetailPageDemoPage. public class NamedColor { public NamedColor() { ; ...
DocumentFormat.OpenXml.Tests/GeneratedCode003-Data-Bound-Content-Controls.cs
tarunchopra/Vs2017-Issue
0
7037087
<filename>DocumentFormat.OpenXml.Tests/GeneratedCode003-Data-Bound-Content-Controls.cs<gh_stars>0 // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using DocumentFormat.OpenXml.Packagin...
src/Uno.UI/Microsoft/UI/Xaml/Controls/Repeater/UniformGridLayout/UniformGridLayoutState.cs
olirobert/uno
5,973
7037088
<filename>src/Uno.UI/Microsoft/UI/Xaml/Controls/Repeater/UniformGridLayout/UniformGridLayoutState.cs<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #nullable enable using System; using Windows.Foun...
05. Object Oriented Programming/2019/03. Templates/07_StringSwap/Program.cs
dimitarminchev/ITCareer
50
7037089
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _07_StringSwap { class Program { // Strings Swap static void Main(string[] args) { // input int n = int.Parse(Console.ReadLine()); ...
Editor/equations/SignComposite/SignSimple.cs
MovGP0/math-editor
1
7037090
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media; using System.Windows; using System.Xml.Linq; namespace Editor { class SignSimple : EquationContainer { protected RowContainer mainEquation; protected StaticSign sign; ...
GeometricAlgebraNumericsLib/GeometricAlgebraNumericsLib/Structures/Collections/GaVectorAsDarMultivectorReadOnlyList.cs
ga-explorer/GMac
8
7037091
using System.Collections; using System.Collections.Generic; using System.Diagnostics; using GeometricAlgebraStructuresLib.Frames; namespace GeometricAlgebraNumericsLib.Structures.Collections { public sealed class GaVectorAsDarMultivectorReadOnlyList<T> : IReadOnlyList<T> { public T DefaultValue { get;...
cas/csharp/core/Models/CreateResourceVswitchRequest.cs
alipay/antchain-openapi-prod-sdk
6
7037092
<filename>cas/csharp/core/Models/CreateResourceVswitchRequest.cs // This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.CAS.Models { public class CreateResourceVswitchRequest : TeaModel { // OAuth模式下的授权toke...
Advanced/StacksAndQueuesLab/ReverseStrings/Program.cs
kkaraivanov/CCharpAdvanced
0
7037093
<gh_stars>0 namespace ReverseStrings { using System; using System.Collections; class Program { static void Main(string[] args) { var input = Console.ReadLine(); var output = new Stack(); foreach (var c in input) { output....
src/Features/Core/Portable/CodeRefactorings/IRefactoringHelpersService.cs
geelscraig/roslyn
0
7037094
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis...
Assets/kolyden/Quake1/Quake1Utils.cs
kolyden/unity-quake
0
7037096
<reponame>kolyden/unity-quake using UnityEngine; namespace kolyden.Quake1 { public static class Quake1Utils { public static Texture2D LoadTexture(byte[] data, Vector2Int size) { var tex = new Texture2D(size.x, size.y); for (int y = 0; y < size.y; y++) for (i...
One.Core/Helper/HttpHelper/HttpDownloadHelper.cs
KleinPan/One
2
7037097
using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; namespace One.Core.Helper.HttpHelper { /// <summary> /// 官方推荐的HttpClient,下载方法使用上边的 /// </summary> public class HttpDownloadHelper { ...
src/DotRas/Internal/Infrastructure/Advice/RasApi32LoggingAdvice.cs
dfc643/pppoed
3
7037098
using System; using System.Diagnostics; using System.Text; using DotRas.Diagnostics; using DotRas.Diagnostics.Events; using DotRas.Internal.Abstractions.Primitives; using DotRas.Internal.Interop; using static DotRas.Internal.Interop.ExternDll; using static DotRas.Internal.Interop.NativeMethods; using static DotRas.Int...
WinApp/Code/FormControl/BadGridView.cs
KIHestad/WotNumbers
0
7037099
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WinApp.Code { public class BadGridView { /// <summary> /// Allows to add both text and image in the same column /// </summary> public class TextAndImageColumn : D...
NActiviti/Sys.Bpm.Engine/Engine/impl/bpmn/webservice/IOperationImplementation.cs
zhangzihan/nactivity
62
7037100
/* 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 writing, software * distribu...
src/projects/cms/Borg.Cms.Basic.PlugIns.Documents/Data/Migrations/20180210200509_eight.cs
mitsbits/NoBorg
1
7037101
<filename>src/projects/cms/Borg.Cms.Basic.PlugIns.Documents/Data/Migrations/20180210200509_eight.cs using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace Borg.Cms.Basic.PlugIns.Documents.Data.Migrations { public part...
docs/misc/codesnippet/CSharp/how-to-create-menus-submenus-and-shortcut-menus_8.cs
doodz/visualstudio-docs.fr-fr
0
7037102
<reponame>doodz/visualstudio-docs.fr-fr static class PkgCmdIDList { public const uint cmdidColorChange = 0x101; public const int ColorMenu = 0x1000; public const int cmdidRed = 0x102; public const int cmdidYellow = 0x103; public const int cmdidBlue = 0x104; };
DashboardIotHome/HttpWrapper.cs
Elpulgo/dashboard-iot-home
0
7037103
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace DashboardIotHome { public class HttpWrapper : IDisposable { private HttpClient m_HttpClient; priv...
src/Elmah.Io.AspNetCore/ElmahIoOptions.cs
fjmorel/Elmah.Io.AspNetCore
37
7037104
<gh_stars>10-100 using Elmah.Io.AspNetCore.ExceptionFormatters; using Elmah.Io.Client; using System; using System.Collections.Generic; using System.Net; namespace Elmah.Io.AspNetCore { /// <summary> /// Contain properties for configuring the elmah.io middleware for ASP.NET Core. /// </summary> public ...
AzureDevOpsTeamMembersVelocity/Services/VelocityService.cs
freddycoder/AzureDevOpsTeamMembersVelocity
0
7037105
using AzureDevOpsTeamMembersVelocity.Extensions; using AzureDevOpsTeamMembersVelocity.Model; using AzureDevOpsTeamMembersVelocity.Repository; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; namespace AzureDevOpsTeamMembersVelocity.Services {...
DataAccessLayer/ConcreteDataStoreUnitTests/ConcreteEntitySchemaFixture.cs
chinnurtb/OpenAdStack
1
7037106
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ConcreteEntitySchemaFixture.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 <NAME>, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may...
src/embedding/dot-net/MainApp/Form1.cs
OpenXIP/xip-libraries
2
7037107
<reponame>OpenXIP/xip-libraries /* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation All rights reserved. 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://ww...
JR.GapCodeTest/JR.GapCodeTest.Web/Views/Shared/_Layout.cshtml
bgaprogrammer/gapcodetest
0
7037108
<filename>JR.GapCodeTest/JR.GapCodeTest.Web/Views/Shared/_Layout.cshtml <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - JR.GapCodeTest.Web</title> <environment include="Development,Produc...
app/Services/UserService.cs
dwws-ufes/2020-TasteUfes
3
7037109
<reponame>dwws-ufes/2020-TasteUfes using System; using System.Linq; using FluentValidation; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; using TasteUfes.Data.Interfaces; using TasteUfes.Models; using TasteUfes.Models.Validators; using TasteUfes.Services.Interfaces; using TasteUfes.Services.N...
Aspose.Cells Features missing in VSTO/Save Workbook to Text or CSV Format/Program.cs
asposemarketplace/Aspose_for_VSTO
1
7037110
<gh_stars>1-10 using Aspose.Cells; using System; using System.IO; /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Cells for .NET API reference when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGet, you c...
MicroServices/LunchBag.WebPortal.Api/Validators/NoteModelValidator.cs
BlueMetal/HashTagLunchBag
0
7037111
<filename>MicroServices/LunchBag.WebPortal.Api/Validators/NoteModelValidator.cs using FluentValidation; using LunchBag.Common.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LunchBag.WebPortal.Api.Validators { public class NoteModelValidator : Abs...
0Shamdev.TOA/TOA.Core.Data/Contract/ParamOfCRUD/DefaultParamOfCRUDOperation.cs
Shaman739/Template_Onion_Architecture_ASP_NET_Core
0
7037112
<reponame>Shaman739/Template_Onion_Architecture_ASP_NET_Core using Shamdev.ERP.Core.Data.Infrastructure.ResultType.Question; using Shamdev.TOA.Core.Data; using Shamdev.TOA.Core.Data.Infrastructure.ResultType; using System.Collections.Generic; using System.Linq; namespace Shamdev.ERP.Core.Data.Contract.ParamOfCRUD { ...
Fundamentals-2.0/OOP/ExamProblems/OOP-Exam-2015-12-20/ISIS/Models/WarEffects/WarEffect.cs
sholev/SoftUni
1
7037113
namespace ISIS.Models.WarEffects { using ISIS.Exceptions; using ISIS.Interfaces; public abstract class WarEffect : IWarEffect { protected bool Triggered { get; set; } public virtual void Trigger(IGroup affectedGroup) { if (!this.Triggered) { ...
Razor/RazorIntro/RazorIntro/Models/Course.cs
mitulvaghamshi/dotnet-gallery
0
7037114
using System.ComponentModel.DataAnnotations; namespace RazorIntro.Models { public class Course { [Display(Name = "Couse Code")] public string CourseCode { get; set; } [Display(Name = "Course Name")] public string CourseName { get; set; } public int? Hours { get; set; ...
Assets/Plugins/NoesisGUI/Scripts/Proxies/KeyEventArgs.cs
suggestbot-wearable-text-entry-system/SuggestBot_GazeAssistedTyping
0
7037115
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
UnitTest/DataStructuresTests/TrieTest.cs
CloneDeath/C-Sharp-Algorithms
5,246
7037116
<filename>UnitTest/DataStructuresTests/TrieTest.cs using System.Linq; using System.Diagnostics; using System.Collections.Generic; using DataStructures.Trees; using Xunit; namespace UnitTest.DataStructuresTests { public static class TrieTest { [Fact] public static void DoTest() { ...
src/Components/9_FileIO/DMesh3FromFile.cs
joelhi/g3-gh
1
7037117
using System; using System.Collections.Generic; using Grasshopper; using Grasshopper.Kernel; using Rhino.Geometry; using g3gh.Core; using g3gh.Components.Params; using g3; namespace g3gh.Components.FileIO { public class DMesh3FromFile: GH_Component { public DMesh3FromFile() : base("Read ...
src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.Core/Configuration/ValueConverters.cs
tomy2105/elsa-core
3,147
7037118
<reponame>tomy2105/elsa-core using System; using Elsa.Persistence.EntityFramework.Core.Extensions; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Newtonsoft.Json.Linq; using NodaTime; namespace Elsa.Persistence.EntityFramework.Core.Configuration { public static class ValueConverters { ...
src/FlaUI.Core/Identifiers/EventId.cs
dot4qu/FlaUI
765
7037119
namespace FlaUI.Core.Identifiers { /// <summary> /// A wrapper around the event ids /// </summary> public class EventId : IdentifierBase { /// <summary> /// Fixed EventId which is used for patterns that are not supported by the framework. /// </summary> public static...
Controls/Primitives/Primitives.UWP/RangeSliderPrimitive/RangeSliderPrimitive.Manipulations.cs
Zofware/UI-For-UWP
1,338
7037120
<gh_stars>1000+ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Telerik.UI.Automation.Peers; using Telerik.UI.Xaml.Controls.Primitives.RangeSlider; using Windows.Foundation; using Windows.System; using Windows.UI.Xaml; using Windows.UI.Xaml.Auto...
Algo/Storages/StorageRegistry.cs
statesman4/StockSharp
3
7037121
<filename>Algo/Storages/StorageRegistry.cs #region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the licen...
Webhooks.Core.Services.Subscriptions/Requests/RestoreWebhookSubscription.cs
reexmonkey/Webhooks
0
7037122
using ServiceStack; using System; using Webhooks.Core.Services.Contracts.Responses; namespace Reexmonkey.Webhooks.Core.Services.Subscriptions.Requests { /// <summary> /// Specifies a service request to restore a soft-deleted webhook subscription. /// </summary> [Api("Specifies a service request to res...
MetaBoyTipBot/Services/BotService.cs
jvanderbiest/MetaBoyTipBot
2
7037123
<filename>MetaBoyTipBot/Services/BotService.cs using System.Collections.Generic; using System.Threading.Tasks; using MetaBoyTipBot.Configuration; using MetaBoyTipBot.Constants; using Microsoft.Extensions.Options; using Telegram.Bot; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; using Telegram.Bot.Types.Rep...
Assets/Part3/part3.cs
samikshamodi/HitTheRobot
0
7037124
<reponame>samikshamodi/HitTheRobot using System.Collections; using System.Collections.Generic; using UnityEngine; public class part3 : MonoBehaviour { public void visit() { Application.OpenURL("https://samikshamodi.github.io/Portfolio/index.html"); } }
Project1/RestaurantReviews/PZServices/RestaurantService.cs
1804-Apr-USFdotnet/james-grippo-project1
0
7037125
<filename>Project1/RestaurantReviews/PZServices/RestaurantService.cs using System.Collections.Generic; using System.Linq; using PZModels; using System.Text.RegularExpressions; using PZRepositories; namespace PZServices { public class RestaurantService : IRestaurantService { private readonly IRestauran...
DemoKata/CustomTypes/Validation/IValidator.cs
contino/dotnet-training-course
0
7037126
namespace DemoKata.CustomTypes { public interface IValidator { void Attach<T>(ValidatorBase<T> nextValidator); /* Chain Of Responsibility -> ValidatorBase * * protected IValidator Next; public void Attach<T1>(ValidatorBase<T1> nextValidator) { ...
TwglExport/TwglExportContext.cs
jeremytammik/TwglExport
19
7037127
#if COMPILE_EXPORTER #region Namespaces using System; using System.Collections.Generic; using System.Linq; using System.Diagnostics; using System.IO; using Autodesk.Revit.DB; using Autodesk.Revit.Utility; #endregion // Namespaces namespace TwglExport { public class TwglExportContext : IExportContext ...
src/ShardingCore/Sharding/MergeEngines/Abstractions/StreamMerge/AbstractEnumeratorStreamMergeEngine.cs
starsoft35/sharding-core
1
7037129
<filename>src/ShardingCore/Sharding/MergeEngines/Abstractions/StreamMerge/AbstractEnumeratorStreamMergeEngine.cs<gh_stars>1-10 using ShardingCore.Exceptions; using ShardingCore.Extensions; using ShardingCore.Sharding.Abstractions.ParallelExecutors; using ShardingCore.Sharding.Enumerators; using System.Collections; usi...
SolastaModApi/Extensions/ContainerItemDescriptionExtensions.cs
KrisysTheFool/SolastaModApi
2
7037130
using SolastaModApi.Infrastructure; using static RuleDefinitions; namespace SolastaModApi.Extensions { /// <summary> /// This helper extensions class was automatically generated. /// If you find a problem please report at https://github.com/SolastaMods/SolastaModApi/issues. /// </summary> [TargetTy...
Scripts/Core/Variables/AnimationCurveVariable.cs
Anvil3D/Anvil3D-Toolset
2
7037131
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace VGDevs { [CreateAssetMenu(menuName = VGDevs.kCreateMenuPrefixName + "Variables/AnimationCurve")] public class AnimationCurveVariable : BaseVariable<AnimationCurve> { } }
src/Scripting/Sequence.cs
lucorp/ualbion
80
7037132
<reponame>lucorp/ualbion<filename>src/Scripting/Sequence.cs using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text; namespace UAlbion.Scripting { public class Sequence : ICfgNode { public Sequence(IEnumerable<ICfgNode> nodes, ICfgNode newNode) { ...
Samples/Chapter-12/MvcDemo/src/MvcDemo.Web/Pages/VueDemo.cshtml
sekmenhuseyin/Mastering-ABP-Framework
36
7037133
@page @model MvcDemo.Web.Pages.VueDemoModel @section styles { <abp-style src="/Pages/VueDemo.cshtml.css" /> } @section scripts { <abp-script src="/libs/vue/vue.min.js" /> <abp-script src="/Pages/VueDemo.cshtml.js" /> } <div id="app"> <h2>{{ message }}</h2> </div>
tests/LinkIt.Samples/MultimediaContentReference.cs
fynnen/LinkIt
0
7037134
<gh_stars>0 // Copyright (c) CBC/Radio-Canada. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for more information. namespace LinkIt.Samples { public class MultimediaContentReference { public string Type { get; set; } public object Id { get...
ManicDigger/ClientNative/TextRenderer.cs
joshi1999/manicdigger
276
7037135
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using System.Drawing.Drawing2D; namespace ManicDigger.Renderers { public class TextRenderer { public FontType Font = FontType.Nice; public void SetFont(int fontID) { Font = (FontType)fontID; } private Bitmap defa...
Quartz.IDE/ViewModels/Pages/ElementsViewModel.cs
TheHeadmaster/Quartz
4
7037136
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using DynamicData; using DynamicData.Binding; using Quartz.Core.ObjectModel; using Quartz.IDE.Controls; using Reac...
src/TplWorkflow.Tests/Extensions/Mappers/ConditionMapperExtensionTest.cs
rkg823/TplWorkflow
5
7037137
<filename>src/TplWorkflow.Tests/Extensions/Mappers/ConditionMapperExtensionTest.cs // Copyright (c) Microsoft Corporation.// Licensed under the MIT license. namespace TplWorkflow.Test { using TplWorkflow.Exceptions; using TplWorkflow.Extensions.Mappers; using TplWorkflow.Core.Conditions; using TplWorkflow.Mode...
Sources/VeriSol/Program.cs
daejunpark/verisol
0
7037138
<reponame>daejunpark/verisol  namespace VeriSolRunner { using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using Microsoft.Extensions.Logging; using S...
src/NSubstitute.Analyzers.CSharp/DiagnosticAnalyzers/SubstituteConstructorMatcher.cs
nsubstitute/NSubstitute.Analyzers
18
7037139
<reponame>nsubstitute/NSubstitute.Analyzers using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using NSubstitute.Analyzers.Shared.DiagnosticAnalyzers; namespace NSubstitute.Analyzers.CSharp.DiagnosticAnalyzers { internal class SubstituteConstructorMatcher : AbstractSubstituteConstructorMatch...
src/ResourceManagement/SiteRecovery/SiteRecoveryManagement/Generated/Models/ProtectableItemProperties.cs
CloudHeaven/Azure
1
7037140
<reponame>CloudHeaven/Azure // // Copyright (c) Microsoft and contributors. All rights reserved. // // 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/LIC...
source/WSF/Browse/BrowseItemFromPath.cs
Dirkster99/WSF
11
7037141
namespace WSF.Browse { using System; using WSF.IDs; using WSF.Shell.Enums; using WSF.Shell.Interop.Dlls; using WSF.Shell.Interop.Interfaces.ShellFolders; using WSF.Shell.Interop.Knownfolders; using WSF.Shell.Interop.ShellFolders; using WSF.Shell.Pidl; internal class BrowseItemFromP...
src/EventSourcingPoc.EventSourcing/Persistence/IRepository.cs
Coilz/event-sourcing-poc
0
7037142
<reponame>Coilz/event-sourcing-poc using System; using System.Threading.Tasks; using EventSourcingPoc.EventSourcing.Domain; namespace EventSourcingPoc.EventSourcing.Persistence { public interface IRepository { Task<T> GetByIdAsync<T>(Guid id) where T : EventStream, new(); Task Sav...
WuHu/WuHu.BL.Impl/TournamentManager.cs
peter-schmidbauer/WuHu
1
7037143
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WuHu.Dal.Common; using WuHu.Domain; namespace WuHu.BL.Impl { public class TournamentManager : ITournamentManager { protected readonly IMatchDao MatchDao; protected readonly...
src/Zametek.View.ProjectPlan/ResourceChartManagement/ResourceChartManagerView.xaml.cs
BlairMoir/Zametek.ProjectPlan
68
7037144
using Prism; using System; using Zametek.Contract.ProjectPlan; using Zametek.Wpf.Core; namespace Zametek.View.ProjectPlan { [AvalonDockAnchorable(Strategy = AnchorableStrategies.Top, IsHidden = false)] public partial class ResourceChartManagerView : IActiveAware { #region Fields...
Runtime/Scripts/Features/RenderCache/RenderCacheClipData.cs
needle-mirror/com.unity.streaming-image-sequence
2
7037145
using System; using UnityEngine.Timeline; namespace Unity.StreamingImageSequence { [Serializable] internal class RenderCacheClipData : PlayableFrameClipData { public RenderCacheClipData() : base() { } internal RenderCacheClipData(TimelineClip clipOwner) : base (clipOwner) {} internal Ren...
IronSmalltalk.Compiler/SemanticAnalysis/SemanticErrors.cs
IMaeland/IronSmalltalk
1
7037146
/* * ************************************************************************** * * Copyright (c) The IronSmalltalk Project. * * This source code is subject to terms and conditions of the * license agreement found in the solution directory. * See: $(SolutionDir)\License.htm ... in the root of this dist...
LMDotNet/OptimizationResult.cs
bigworld12/LMDotNet
1
7037147
namespace LMDotNet { /// <summary> /// Information about the optimization outcome; if the /// optimization procedure converged, OptimizedParameters /// contains the parameters, which minimize the user /// supplied function. /// </summary> public sealed class OptimizationResult { ...
mjml-aspnetcore/ServiceCollectionExtensions.cs
jpknoll/mjml-aspnetcore
17
7037148
using System; using Jering.Javascript.NodeJS; using Microsoft.Extensions.DependencyInjection; namespace Mjml.AspNetCore { public static class ServiceCollectionExtensions { public static void AddMjmlServices(this IServiceCollection serviceCollection) { AddMjmlServices(serviceCollect...
src/NServiceBus.Extensions.DispatchRetries.AcceptanceTests/Transport/DelayedMessagePoller.cs
mauroservienti/NServiceBus.Extensions.DispatchRetries
1
7037149
using NServiceBus.Extensions.DispatchRetries.AcceptanceTests.Transport.Helpers; namespace NServiceBus { using System; using System.Globalization; using System.IO; using System.Threading.Tasks; using Logging; class DelayedMessagePoller { public DelayedMessagePoller(string basePath,...
UnitTest/Services/PhotoPickerServiceTest.cs
sophia-whale/TimeofLove
0
7037150
<filename>UnitTest/Services/PhotoPickerServiceTest.cs using System.IO; using System.Threading.Tasks; using FFImageLoading; using Moq; using NUnit.Framework; using TabbedTemplate.Services; using TabbedTemplate.UnitTest.Helpers; namespace TabbedTemplate.UnitTest.Services { public class PhotoPickerServiceTest { ...
Chess/ChessMain.cs
cwllight8/quick-chess
9
7037151
<reponame>cwllight8/quick-chess using System; using System.Drawing; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Chess { /// <summary> /// Summary description for ChessMain. /// </summary> public class ChessMain : System.Windows.Forms.Form { private GameUI GameObj; // T...
Kull.GenericBackend/Error/JsonErrorHandler.cs
Kull-AG/kull-generic-backend
2
7037152
using Kull.GenericBackend.GenericSP; using Kull.GenericBackend.Serialization; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; #if NET48 using Kull.MvcCompat; using HttpContext = System.Web.HttpContextBase; using System.Net.Http.Headers; #else using Microsoft.AspNetCore.H...
src/Tools/Jerrycurl.Tools.Common/Scaffolding/Model/TypeMapping.cs
rhodosaur/jerrycurl-merge1
44
7037153
namespace Jerrycurl.Tools.Scaffolding.Model { public class TypeMapping { public string DbName { get; } public string ClrName { get; } public bool IsValueType { get; } public TypeMapping(string dbName, string clrName, bool isValueType) { this.DbName = dbName;...
Assets/PDFLoader/Scripts/PDFImageDirInfo.cs
OhkuboSGMS/uPDFLoader
22
7037154
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using System.Linq; namespace uPDFLoader { /// <summary> /// PDFを画像化した際に作られるディレクトリと画像Arrayの情報 /// </summary> public class PDFImageDirInfo { public string[] imageFileURIs; public int fileCo...
MLNetExamples/AnomalyDetection/EnergyData.cs
polymorp/MLNetExamples
108
7037155
<gh_stars>100-1000  using Microsoft.ML.Data; using System; namespace AnomalyDetection { public class EnergyData { [LoadColumn(0)] public DateTime Date { get; set; } [LoadColumn(1)] public float Energy { get; set; } } }
Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v8_0/PathMapper.cs
commit-n-run/dataobjects-net
41
7037157
<filename>Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v8_0/PathMapper.cs // Copyright (C) 2014-2020 Xtensive LLC. // This code is distributed under MIT license terms. // See the License.txt file in the project root for more information. // Created by: <NAME> // Created: 2014.04.10 using System; using System....
Codebase/Runtime/@Unity/Components/Animation Controller/AnimationController.cs
z3nth10n/unity-themes
13
7037158
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Zios.Unity.Components.AnimationController{ using Zios.Unity.Components.ManagedBehaviour; using Zios.Attributes.Supports; using Zios.Events; using Zios.SystemAttributes; using Zios.Unity.Log; using Zios.Unity.Proxy; //...
Base.Infra/Contextos/Contexto.cs
mspiresdev/Base
0
7037159
using Base.Domain.Entidades; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using System; using System.Collections.Generic; using System.Text; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using System.Linq; using Base.Infra.Mapeamentos; namespace...
Development/Editor/Plugin/YDColorizer/YDColorizer/AboutConfig.cs
yatyricky/XYWE
2
7037160
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; using System.IO; using System.Windows.Forms; using System.Text.RegularExpressions; namespace YDColorizer { class AboutConfig {...
DataExtractor/TextureDefinition.cs
Schwartzmorn/MDK-Mockups
15
7037161
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace DataExtractor.TextureDefinitions { [XmlRoot(ElementName = "Id")] public class Id { [XmlElement(ElementName = "TypeId")] ...
src/Umbraco.Web/Search/BackgroundIndexRebuilder.cs
craigs100/Umbraco-CMS
2
7037162
<reponame>craigs100/Umbraco-CMS using System; using System.Threading; using Umbraco.Core.Logging; using Umbraco.Examine; using System.Threading.Tasks; using Umbraco.Core; using Umbraco.Web.Scheduling; namespace Umbraco.Web.Search { /// <summary> /// Utility to rebuild all indexes on a background thread //...
src/Bbt.Campaign.Api/Bbt.Campaign.Public/Models/CampaignTarget/CampaignTargetInsertRequest.cs
hub-burgan-com-tr/bbt.loyalty
0
7037163
<reponame>hub-burgan-com-tr/bbt.loyalty using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bbt.Campaign.Public.Models.CampaignTarget { public class CampaignTargetInsertRequest { public int CampaignId { get; set; } //pub...
src/DailySoccerSolution/DailySoccer.DAC/DAC/EF/Reward.cs
teerachail/xdailysoccer
0
7037164
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
zenonApi.Core.Tests/EnumSerialization.Test.cs
COPA-DATA/zenonLogicAPI
3
7037165
using System.Xml.Linq; using Xunit; using zenonApi.Serialization; namespace zenonApi.Core.Tests { public class EnumSerialization { public enum EnumSerializationEnum { [zenonSerializableEnum("AbcTest")] Abc, [zenonSerializableEnum("DefTest")] Def, [zenonSerializableEnum("GhiTe...
src/clients/Wyam/Tracing/TraceLogger.cs
alanta/Wyam
1,442
7037166
using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.Extensions.Logging; using Wyam.Common.Util; using Trace = Wyam.Common.Tracing.Trace; namespace Wyam.Tracing { internal class TraceLogger : ILogger { private readonly string _categoryName; private static ...
AspNetCore-v5/Breeze.Persistence.EFCore/MetadataBuilder.cs
clickonben/breeze.server.net
56
7037167
using Breeze.Core; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Breeze.Persistence.EFCore { public class MetadataBuilder { public static BreezeMetadata BuildFrom(DbContex...
src/Sidekick.Apis.PoeNinja/Api/Models/PoeNinjaQueryResultLanguage.cs
CoderDanUK/Sidekick
15
7037168
<filename>src/Sidekick.Apis.PoeNinja/Api/Models/PoeNinjaQueryResultLanguage.cs<gh_stars>10-100 using System.Collections.Generic; namespace Sidekick.Apis.PoeNinja.Api.Models { public class PoeNinjaQueryResultLanguage { // public string Name { get; set; } public Dictionary<string, string> Transl...
iut.GestionCaisseInterBDE.Wpf/Views/Windows/ProductListWindow.xaml.cs
thomasxd24/GestionCaisseInterBDE
2
7037169
<reponame>thomasxd24/GestionCaisseInterBDE using GestionCaisseInterBDE.ViewModel; using iut.GestionCaisseInterBDE.Models; using MahApps.Metro.Controls; using MahApps.Metro.Controls.Dialogs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System....
Hsr.Campus.Core.Test/ViewModel/MapViewModelTest.cs
HSR-BusinessApplications/CampusApp
3
7037170
<reponame>HSR-BusinessApplications/CampusApp // Copyright (c) Hochschule für Technik Rapperswil. All Rights Reserved. // Licensed under the Apache 2.0 license. See LICENSE.txt in the project root for license information. namespace Hsr.Campus.Core.Test.ViewModel { using System; using System.IO; usin...
Scrumtics/votacao_resultado.aspx.cs
gaware/Scrumtics
0
7037172
using System; using System.Net; using System.Text; using System.Xml; namespace Scrumtics { public partial class votacao_resultado : System.Web.UI.Page { private string usuario; private string pacote; public string Pacote { get { return pacote; } } private string votacao; ...
ModelHelper.Console/Commands/CommandArgument.cs
Modelhelper/cli-dotnet
0
7037173
namespace ModelHelper.Commands { public class CommandArgument { public string Key { get; set; } public bool IsMandatory { get; set; } public bool ParameterMustExist { get; set; } } }
aspnet-core/src/HC.WeChat.Application/Employees/Dtos/EmployeeListDto.cs
DonaldTdz/GAWeChat
10
7037174
<filename>aspnet-core/src/HC.WeChat.Application/Employees/Dtos/EmployeeListDto.cs using System; using Abp.Application.Services.Dto; using HC.WeChat.Employees.Dtos.LTMAutoMapper; using HC.WeChat.Employees; using HC.WeChat.WechatEnums; using Abp.AutoMapper; namespace HC.WeChat.Employees.Dtos { [AutoMapFrom(typeof(E...
DMR.WebApp/Areas/Game/Models/Moment.cs
david-rachwalik/dmr
3
7037175
<gh_stars>1-10 using DMR.WebApp.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace DMR.WebApp.Areas.Game.Models; public class Moment : GameAsset { public EventGroup Group { get; set; } public int Parent { get; set; } // Chain public Location Loc...
Tests/Tuples/TuplesTests.cs
juanpablocruz/FunK
2
7037176
using System; using Xunit; namespace FunK.Tests { public class TuplesTests { Func<string, int, string> fun = (name, value) => $"{name}: {value}"; [Fact] public void ValueTuples_Can_Apply_Deconstructed_Values_To_Func() { var a = (name: "name", value: 2); ...
Assets/Scripts/Challenge.cs
bakiya-sefer/bakiya-sefer
1
7037177
<reponame>bakiya-sefer/bakiya-sefer using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.UI; using FullInspector; public enum ChallengeState { NOTE, GREEN, RED } public interface IChallengeTask { void OnEnable( #if CODEDEBUG string debug_data #e...
SistemaFinancias/Views/Usuario/Logar.cshtml
MecleudioQueiroz/SistemaFinancias
0
7037178
@model Usuario @{ Layout = "../Shared/_LayoutLogin.cshtml"; } <div class="container" style="background-color:#d5d3d3; border-radius: 10px; padding: 20px; width: 300px"> @{ @if (TempData["MensagemErroLogin"] != null) { <div class="alert alert-warning"> <strong>Aten...
MoreGrass/Config/ModConfig.cs
Sonozuki/StardewMods
0
7037179
using System.Collections.Generic; namespace MoreGrass.Config { /// <summary>The mod configuration.</summary> public class ModConfig { /********* ** Accessors *********/ /// <summary>The locations that More Grass is allowed to retexture grass in.</summary> public Lis...
Source/Tests/Trakt.NET.Objects.Post.Tests/Responses/Json/Reader/PostResponseNotFoundSeasonObjectJsonReader/PostResponseNotFoundSeasonObjectJsonReader_Stream_Tests.cs
henrikfroehling/Trakt.NET
39
7037180
namespace TraktNet.Objects.Post.Tests.Responses.Json.Reader { using FluentAssertions; using System; using System.IO; using System.Threading.Tasks; using Trakt.NET.Tests.Utility; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Objects.Post.Responses; using TraktNet.Objects.Post.Resp...
Programming Basics/Programming Basics Exam - 18 December 2016/ConsoleApplication1/Program.cs
spiderbait90/Step-By-Step-In-C-Sharp
0
7037181
<filename>Programming Basics/Programming Basics Exam - 18 December 2016/ConsoleApplication1/Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) ...
BuildNotifications.Core/Pipeline/Tree/Search/RuntimeSearchHistory.cs
TheSylence/BuildNotifications
8
7037182
using System; using System.Collections.Generic; using System.Linq; namespace BuildNotifications.Core.Pipeline.Tree.Search { /// <summary> /// Search history that is retained for the duration of the runtime /// </summary> public class RuntimeSearchHistory : ISearchHistory { private readonly...
WebApplication1/Default.aspx.cs
compustar/angulardemo
0
7037183
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using ShoppingCart; using System.Text; using System.IO; namespace WebApplication1 { public partial class Default : System.Web.UI.Page { protected void Page_Load(object...
Content.Shared/Climbing/SharedClimbSystem.cs
WTCWR68/space-station-14
8
7037184
using Content.Shared.Movement; using Robust.Shared.GameObjects; namespace Content.Shared.Climbing { public abstract class SharedClimbSystem : EntitySystem { public override void Initialize() { base.Initialize(); SubscribeLocalEvent<SharedClimbingComponent, UpdateCanMoveE...
ArtSupplies.Data/OrderRepository.cs
valentin-spasov/art-supplies
0
7037185
<gh_stars>0 using ArtSupplies.Data.Entities; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArtSupplies.Data { public class OrderRepository : IOrderRepository { private readonly ArtSuppl...