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 |
|---|---|---|---|---|
01_MiddleWare/TeamsComBackEnd/Startup.cs | stnamdv/TeamsRecordingBotAndAzureCongitiveServicesAtWork | 23 | 7024798 | <reponame>stnamdv/TeamsRecordingBotAndAzureCongitiveServicesAtWork
using System;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.Azure.Cosmos;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Mi... |
src/Tool/src/Boost.Core/Commands/OpenUICommand.cs | SwissLife-OSS/Boost | 16 | 7024799 | <gh_stars>10-100
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Boost.Infrastructure;
using Boost.Web;
using McMaster.Extensions.CommandLineUtils;
namespace Boost.Commands
{
[Command(
Name = "ui",
FullName = "Open UI",
Description = "Opens the boost UI")]
pu... |
samples/Registry/Controllers/HomeController.cs | ServiceGovernance/ServiceGovernance.Registry.EntityFramework | 1 | 7024800 | <gh_stars>1-10
using Microsoft.AspNetCore.Mvc;
using Registry.Models;
using ServiceGovernance.Registry.Stores;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace Registry.Controllers
{
public class HomeController : Controller
{
private readonly IServiceStore _serviceStore;... |
Assets/Scripts/Actor/Enemy/EnemyModel.cs | frugs/RitualRhythm | 0 | 7024801 | <filename>Assets/Scripts/Actor/Enemy/EnemyModel.cs
//using System;
//using System.Runtime.InteropServices;
//using System.Text;
//using FMOD.Studio;
//using UnityEngine;
//
//namespace RitualRhythm.Actor.Enemy {
// public class EnemyModel : ActorModel {
// private readonly BeatExecutor _beatExecutor;
// ... |
src/main/NWN/API/Constants/ItemProperty/IPOnHitDuration.cs | Chimerik/NWN.Managed | 0 | 7024802 | using NWN.Core;
namespace NWN.API.Constants
{
public enum IPOnHitDuration
{
Duration5Pct5Rounds = NWScript.IP_CONST_ONHIT_DURATION_5_PERCENT_5_ROUNDS,
Duration10Pct4Rounds = NWScript.IP_CONST_ONHIT_DURATION_10_PERCENT_4_ROUNDS,
Duration25Pct3Rounds = NWScript.IP_CONST_ONHIT_DURATION_25_PERCENT_3_ROUNDS... |
Snippets/Core/Core_8/ImmediateDispatch/Usage.cs | ashlyrclark/docs.particular.net | 94 | 7024803 | <gh_stars>10-100
namespace Core8.ImmediateDispatch
{
using System.Threading.Tasks;
using NServiceBus;
class Usage
{
async Task RequestImmediateDispatch(IPipelineContext context)
{
#region RequestImmediateDispatch
var options = new SendOptions();
... |
src/Pixie.Tests/CanvasTests.cs | basp/pixie.net | 4 | 7024804 | namespace Pixie.Tests
{
using Xunit;
using Linsi;
public class CanvasTests
{
[Fact]
public void TestCanvasConstructor()
{
var c = new Canvas(10, 20);
Assert.Equal(10, c.Width);
Assert.Equal(20, c.Height);
for (var j = ... |
HandlingEvents/Form1.cs | Slartron/winforms-eventing | 0 | 7024805 | <reponame>Slartron/winforms-eventing
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.VisualBasic;
namespace HandlingEvents
{
public ... |
Gurkenplayer/Loading.cs | bmijnendonckx/CitiesTogether | 33 | 7024806 | using ColossalFramework.Math;
using ColossalFramework.UI;
using ICities;
using Lidgren.Network;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using UnityEngine;
namespace Gurkenplayer
{
public class Loading : LoadingExtensio... |
ChromeDevTools.Host/Runtime/EventTypeMap.cs | fforjan/ChromeDevTools.Host | 3 | 7024807 | <reponame>fforjan/ChromeDevTools.Host<gh_stars>1-10
namespace ChromeDevTools.Host.Runtime
{
using System;
using System.Collections.Generic;
public static class EventTypeMap
{
private readonly static IDictionary<string, Type> s_methodNameEventTypeDictionary;
private readonly static IDict... |
Editor/Scripts/ImageSequenceImporter.cs | unity3d-jp/MovieProxy | 14 | 7024808 | <filename>Editor/Scripts/ImageSequenceImporter.cs
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using Unity.FilmInternalUtilities;
using Unity.FilmInternalUtilities.Editor;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEditor;
namespace Unity.StreamingImageSequ... |
Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/CoreUObject/UObjectRedirector.cs | MiheevN/USharp | 353 | 7024809 | <reponame>MiheevN/USharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnrealEngine.Runtime.Native;
namespace UnrealEngine.Runtime
{
/// <summary>
/// This class will redirect an object load to another object, so if an object is renamed
/// to a different pack... |
Backendless/WebORB/V3Types/ReqMessage.cs | felenko/testBackEndlessSDK | 18 | 7024810 | <gh_stars>10-100
using System;
using System.Text;
using System.Collections;
using System.Security.Principal;
using System.Threading;
using Weborb.Config;
using Weborb.Message;
#if (FULL_BUILD)
using Weborb.Dispatch;
using Weborb.Security;
using Weborb.V3Types.Core;
#endif
using Weborb.Types;
using Weborb... |
Project/Logic/Property/EntityProperty.cs | niuniuzhu/Lockstep | 1 | 7024811 | <reponame>niuniuzhu/Lockstep
using Logic.Model;
namespace Logic.Property
{
public partial class EntityProperty : PropertyBase
{
private EntityData _data;
public void Init( EntityData data )
{
this._data = data;
this.SetDefault();
}
public void ApplyLevel( int level )
{
this.Equal( Attr.Lvl, l... |
MetaFileManager/syntax/expressions/list/subcommands/orderby/OrderByStruct.cs | nathaliefil/uroboros | 0 | 7024812 | <reponame>nathaliefil/uroboros<filename>MetaFileManager/syntax/expressions/list/subcommands/orderby/OrderByStruct.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Uroboros.syntax.expressions.list.subcommands.orderby
{
public class OrderByStruct
{
... |
src/BulmaRazor/Components/Components/Modal/DialogOptions.cs | loogn/bulmarazor | 55 | 7024813 | <filename>src/BulmaRazor/Components/Components/Modal/DialogOptions.cs
using System;
using Microsoft.AspNetCore.Components;
namespace BulmaRazor.Components
{
/// <summary>
/// 对话框选项
/// </summary>
public class DialogOptions
{
/// <summary>
/// 颜色
/// </summary>
public... |
sources/Interop/Windows/um/MLOperatorAuthor/IMLOperatorTypeInferenceContext.cs | mfkl/terrafx.interop.windows | 0 | 7024814 | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MLOperatorAuthor.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.Co... |
NetSparkle/Events/DownloadInstallArgs.cs | cjmurph/NetSparkle | 1 | 7024815 | <reponame>cjmurph/NetSparkle<filename>NetSparkle/Events/DownloadInstallArgs.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetSparkle.Events
{
/// <summary>
/// Event called when the download/install window closes
/// </summ... |
Osp/Backend/Ianitor.Osp.Backend.Persistence/DataAccess/TextSearchFilter.cs | ianitor/ObjectServicePlatform | 0 | 7024816 | <reponame>ianitor/ObjectServicePlatform
using Ianitor.Common.Shared;
namespace Ianitor.Osp.Backend.Persistence.DataAccess
{
public class TextSearchFilter
{
public TextSearchFilter(object searchTerm)
{
ArgumentValidation.Validate(nameof(searchTerm), searchTerm);
... |
App.xaml.cs | benjaminhowarth1/GeeksWithBlogsToMarkdown | 1 | 7024817 | <reponame>benjaminhowarth1/GeeksWithBlogsToMarkdown
using System.Windows;
using System.Windows.Threading;
namespace GeeksWithBlogsToMarkdown
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
private void Application_DispatcherUnhandl... |
Net.Proxy/InterfaceType.cs | kelessal/net-proxy | 1 | 7024818 | <gh_stars>1-10
using Net.Extensions;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
namespace Net.Proxy
{
public static class InterfaceType
{
static ConcurrentDictionary<Type, Type> _Concret... |
src/ZoDream.Studio/ViewModels/MainViewModel.cs | zx648383079/WPF-Midi-And-Player | 0 | 7024819 | <reponame>zx648383079/WPF-Midi-And-Player
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoDream.Shared.Storage;
namespace ZoDream.Studio.ViewModels
{
public class MainViewModel: Binda... |
Clustering/DensityMeter.cs | paulchernoch/HilbertTransformation | 49 | 7024822 | <reponame>paulchernoch/HilbertTransformation
using System;
using System.Collections.Generic;
using System.Linq;
using HilbertTransformation;
namespace Clustering
{
// For paper: "Clustering via Nonparametric Density Estimation: The R Package pdfCluster"
// by <NAME> of Universit`a di Padova and <NAME> of Universit`... |
src/System.Text.JsonLab/System/Text/Json/JsonParser.cs | colombod/corefxlab | 0 | 7024823 | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Buffers;
using System.Diagnostics;
namespace System.Text.JsonLab
{
internal ref struc... |
Sources/Sandbox.Game/Game/Entities/Blocks/MyMotorStator.cs | Wrennsun/SpaceEngineers | 3 | 7024824 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using Havok;
using Sandbox.Common;
using Sandbox.Common.ObjectBuilders;
using Sandbox.Definitions;
using Sandbox.Graphics.GUI;
using Sandbox.Engine.Physics;
using Sandbox.Engine.Uti... |
src/Data.Abstractions/src/IDataReader.cs | nerdymishka/dotnet | 1 | 7024825 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
#pragma warning disable CA1710
namespace NerdyMishka.Data
{
/// <summary>
/// A contract for an enhanced <see cref="System.Data.IDataReader" />.
/// </summary>
public interface IData... |
Source/TailwindTraders.Mobile/TailwindTraders.Mobile/Features/Product/IProductsAPI.cs | salihaispir/TailwindTraders_15hvxbre | 169 | 7024826 | using System.Collections.Generic;
using System.Threading.Tasks;
using Refit;
using TailwindTraders.Mobile.Features.Settings;
namespace TailwindTraders.Mobile.Features.Product
{
public interface IProductsAPI
{
[Get("/products/{id}")]
Task<ProductDTO> GetDetailAsync(
[Header(DefaultS... |
test/Ocelot.UnitTests/Headers/ClaimsToHeadersMiddlewareTests.cs | AnthonySteele/Ocelot | 8 | 7024827 | <reponame>AnthonySteele/Ocelot
using Ocelot.Middleware;
namespace Ocelot.UnitTests.Headers
{
using Microsoft.AspNetCore.Http;
using Moq;
using Ocelot.Configuration;
using Ocelot.Configuration.Builder;
using Ocelot.DownstreamRouteFinder;
using Ocelot.DownstreamRouteFinder.UrlMatcher;
using ... |
Source/Zencoder/Request.cs | ChadBurggraf/zencoder-cs | 6 | 7024828 | <reponame>ChadBurggraf/zencoder-cs
//-----------------------------------------------------------------------
// <copyright file="Request.cs" company="Tasty Codes">
// Copyright (c) 2010 <NAME>.
// </copyright>
//-----------------------------------------------------------------------
namespace Zencoder
{
using... |
src/Tools/ExternalAccess/LiveShare/Projects/RoslynRemoteProjectInfoProvider.cs | jcagme/roslyn | 2 | 7024829 | <reponame>jcagme/roslyn<filename>src/Tools/ExternalAccess/LiveShare/Projects/RoslynRemoteProjectInfoProvider.cs
// 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;
using System.Collections.Immuta... |
Modules/RoxieMobile.CSharpCommons/src/Extensions/ObjectExtension.cs | roxiemobile/csharp-commons.dotnet-core | 0 | 7024830 | <reponame>roxiemobile/csharp-commons.dotnet-core
using System;
using System.Diagnostics.CodeAnalysis;
namespace RoxieMobile.CSharpCommons.Extensions
{
[SuppressMessage("ReSharper", "MemberCanBePrivate.Global")]
public static class ObjectExtension
{
// MARK: - Methods
/// <summary>
/// Yiel... |
Exercises - Open Closed and Liskov/Logger/Models/FileAppender.cs | melikpehlivanov/CSharp-OOP-Advanced | 1 | 7024831 | namespace Logger.Appenders
{
using Interfaces;
using System;
using System.IO;
public class FileAppender : Appender
{
private const string FileName = "log.txt ";
private readonly string filePath;
public FileAppender(ILayout layout) : base(layout)
{
this.... |
tests/mac-binding-project/MobileTestApp/Main.cs | luhenry/xamarin-macios | 0 | 7024832 | <filename>tests/mac-binding-project/MobileTestApp/Main.cs
using System;
using System.Reflection;
using System.IO;
using AppKit;
using Simple;
namespace MobileTestApp
{
static class MainClass
{
// http://stackoverflow.com/questions/52797/how-do-i-get-the-path-of-the-assembly-the-code-is-in
public static string ... |
AddDeviceForm.Designer.cs | ppudo/LabToysApp_CS | 0 | 7024833 |
namespace LabToysApp
{
partial class AddDeviceForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... |
MessageCreator/Commands.cs | pazuzu156/Fake-Syskey | 19 | 7024834 | <reponame>pazuzu156/Fake-Syskey<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Message_Creator
{
public class Commands
{
/// <summary>
/// Statically execute command bindings
/// </summar... |
Modules/AutoPVP/Objects/Battle/Battle_States.cs | ruaduck/Core | 13 | 7024835 | #region Header
// Vorspire _,-'/-'/ Battle_States.cs
// . __,-; ,'( '/
// \. `-.__`-._`:_,-._ _ , . ``
// `:-._,------' ` _,`--` -: `_ , ` ,' :
// `---..__,,--' (C) 2018 ` -'. -'
// # Vita-Nex [http://core.vita-nex.com] #
// {o)xxx|===============- # -========... |
NetCoreRabbitMQ/WebConsumer/Utilities.cs | cihatsolak/netcore-rabbitmq | 2 | 7024836 | <reponame>cihatsolak/netcore-rabbitmq
using Spire.Doc;
using System;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Net.Mime;
using WebConsumer.Models;
namespace WebConsumer
{
public static class Utilities
{
public static bool EmailSender(string email, MemoryStream memoryStream... |
msos/ObjSize.cs | goldshtn/msos | 95 | 7024837 | <reponame>goldshtn/msos
using CmdLine;
using Microsoft.Diagnostics.Runtime;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace msos
{
[SupportedTargets(TargetType.DumpFile, TargetType.LiveProcess)]
[Verb("!O... |
src/Web/LMSApp/Areas/Educator/Views/Courses/All.cshtml | Divelina/LMSApp | 0 | 7024838 | <gh_stars>0
@using LMSApp.Services.Models.Courses
@model IList<CourseListViewModel>
@{
ViewData["Title"] = "All";
}
<div class="table-responsive-sm">
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th scope="col" class="text-center">Held</th>
... |
Scirpt/AGAsset/StdUtil/AssetReferer/PlatformARef.cs | iwaag/AGDevUnity | 1 | 7024839 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using AGDevUnity;
using AGAsset.StdUtil;
using AGAsset;
namespace AGDevUnity.StdUtil{
public class PlatformRef {
public string source;
public string defaultBuild;
};
public class PlatformARef : MonoBAssetReferer, Asse... |
Ztop.Todo.Common/StringHelper.cs | LooWooTech/Kaopu | 0 | 7024840 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ztop.Todo.Common
{
public static class StringHelper
{
public static string AToString(this List<string> list)
{
var result = string.Empty;
foreac... |
SeedCore.Modules/SeedModules.Account/Domain/User.cs | fyl080801/SeedCore | 3 | 7024841 | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OrchardCore.Users;
namespace SeedModules.Account.Domain
{
[Table("User")]
public c... |
MiniaturesRUs/forum/controls/YafHeader.ascx.cs | KodaRayTominus/MiniaturesRUs | 0 | 7024842 | <gh_stars>0
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 <NAME>
* Copyright (C) 2006-2013 <NAME>
* Copyright (C) 2014-2017 <NAME>
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed wi... |
TensorShaderTest/Operators/Complex/ComplexConvolution/ComplexDeconvolution1DTest.cs | tk-yoshimura/TensorShaderAVX | 0 | 7024843 | <reponame>tk-yoshimura/TensorShaderAVX<filename>TensorShaderTest/Operators/Complex/ComplexConvolution/ComplexDeconvolution1DTest.cs<gh_stars>0
using System;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TensorShader;
using TensorShader.Operators.ComplexConvolutio... |
LocalBusinessApi/Migrations/20210122163912_Initial.Designer.cs | EricStratton/LocalBusinessLookup.Solution | 0 | 7024844 | <filename>LocalBusinessApi/Migrations/20210122163912_Initial.Designer.cs<gh_stars>0
// <auto-generated />
using LocalBusinessApi.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.V... |
src/Payments.Core/Domain/History.cs | ucdavis/payments | 0 | 7024845 | <reponame>ucdavis/payments<gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
using Payments.Core.Models.History;
namespace Payments.Core.Domain
{
public class History
{
public History()
{
ActionDateTime = DateTime.UtcNow;
}
[Key]
... |
src/SFA.DAS.Authorization.WebApi/Attributes/DasAuthorizeAttribute.cs | SkillsFundingAgency/das-authorization | 0 | 7024846 | using System;
using System.Web.Http;
namespace SFA.DAS.Authorization.WebApi.Attributes
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public class DasAuthorizeAttribute : AuthorizeAttribute
{
public string[] Options { get; }
pub... |
LiveHTS.Core/Model/Survey/QuestionTransformation.cs | palladiumkenya/afyamobile | 0 | 7024847 | <filename>LiveHTS.Core/Model/Survey/QuestionTransformation.cs
using System;
using LiveHTS.Core.Model.Interview;
using LiveHTS.SharedKernel.Custom;
using LiveHTS.SharedKernel.Model;
using SQLite;
namespace LiveHTS.Core.Model.Survey
{
public class QuestionTransformation : Entity<Guid>
{
[Indexed]
... |
nepaliwikipediatranslator/PostProcessor.cs | nepaliwikipediatranslator/translatorarchive | 0 | 7024848 | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Windows.Forms;
using System.Text.RegularExpressions;
namespace NepaliWikiPediaTranslator
{
class PostProcessor
{
#region private variables
private Dictionary<string,string> AllRules = new Dictionary<... |
demo.edgejs/demo.edgejs/TryIt.cs | drusellers/demos | 3 | 7024849 | <reponame>drusellers/demos
using System;
using System.Threading.Tasks;
namespace demo.edgejs
{
/// <summary>
/// https://github.com/tjanczuk/edge#how-to-nodejs-hello-world
/// </summary>
public class TryIt
{
public static async Task<bool> Start()
{
var func ... |
src/Arcus.Security.Core/Caching/CachedSecretProvider.cs | tomkerkhove/arcus.security | 0 | 7024850 | using System;
using System.Threading.Tasks;
using Arcus.Security.Core.Caching.Configuration;
using GuardNet;
using Microsoft.Extensions.Caching.Memory;
namespace Arcus.Security.Core.Caching
{
/// <inheritdoc cref="ISecretProvider"/>
/// <summary>
/// A Secret Provider that will cache secrets in memory, to... |
Xamarin.Forms.Platform.UAP/FormsUWP.cs | activa/Xamarin.Forms | 6,451 | 7024851 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms
{
public static partial class Forms
{
static IReadOnlyList<string> s_flags;
public static IReadOnlyList<string> Flags => s_flags ?? (s_flags ... |
kata-rabbitmq.bdd.tests/Steps/NoUnhandledExceptionsStepDefinitions.cs | wonderbird/kata-rabbitmq | 0 | 7024852 | <gh_stars>0
using System;
using System.Linq;
using System.Threading.Tasks;
using TechTalk.SpecFlow;
using Xunit;
using Xunit.Abstractions;
namespace katarabbitmq.bdd.tests.Steps
{
[Binding]
public class NoUnhandledExceptionsStepDefinitions
{
[When]
public static void WhenATERMSignalIsSentTo... |
sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualApplicationGroup.cs | Ramananaidu/dotnet-sonarqube | 1 | 7024853 | <reponame>Ramananaidu/dotnet-sonarqube
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
... |
Packages/UIForia/Src/Systems/TaskSystem/CallbackTaskWithContextNoArg.cs | criedel/UIForia | 124 | 7024854 | <reponame>criedel/UIForia
using System;
namespace UIForia.Systems {
public class CallbackTaskWithContextNoArg : UITask {
private readonly Func<UITask, UITaskResult> task;
public CallbackTaskWithContextNoArg(Func<UITask, UITaskResult> task) {
this.task = task;
}
publi... |
Samples~/SimpleFSM/State/State_Run.cs | zhugelongfei/statemachine | 1 | 7024855 | using UnityEngine;
namespace Lonfee.FSM.SimpleFSM
{
public class State_Run : ABaseState
{
public override void OnEnter(params object[] args)
{
Debug.Log("Enter run state. Param is :" + args[0].ToString());
}
public override void OnExit()
{
Debug... |
ETLBox/src/ControlFlow/DatabaseTasks/CreateTableTask.cs | roadrunnerlenny/etlbox | 163 | 7024856 | using ETLBox.Connection;
using ETLBox.Exceptions;
using ETLBox.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace ETLBox.ControlFlow.Tasks
{
/// <summary>
/// Creates a table. If the tables exists, this task won't change the table.
//... |
tests/Simple/CSharp/Iterators/Test10.cs | GrapeCity/pagefx | 18 | 7024857 | <filename>tests/Simple/CSharp/Iterators/Test10.cs
using System;
using System.Collections;
class X
{
static IEnumerator GetIt
{
get
{
yield return 1;
yield return 2;
yield return 3;
}
set
{
}
}
IEnumer... |
src/prod/src/BlockStore/Service/VolumeDriver/Service/Models/VolumeMountResponse.cs | gridgentoo/ServiceFabricAzure | 2,542 | 7024858 | <filename>src/prod/src/BlockStore/Service/VolumeDriver/Service/Models/VolumeMountResponse.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
/... |
SeptemberUIChallenge/SeptemberUIChallenge.Data/Infrastructure/FakeProvider.cs | bbenetskyy/XamainFormsSeptemberUIChallenge | 5 | 7024859 | <gh_stars>1-10
using Bogus;
namespace SeptemberUIChallenge.Data.Infrastructure
{
public static class FakeProvider
{
public static Faker Faker { get; }
static FakeProvider()
{
Faker = new Faker();
}
}
} |
tests/Microsoft.AspNet.SignalR.Client.Tests/Client/Transports/ClientTransportBaseFacts.cs | jbruening/SignalR | 2 | 7024860 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR.Client.Http;
using Moq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Xunit;
using Microsoft.AspNet.SignalR.Client.Infrastr... |
Assets/scripts/gfb_auth_test.cs | totuworld/firebase_toturial | 0 | 7024861 | <filename>Assets/scripts/gfb_auth_test.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Firebase;
using Firebase.Auth;
using Firebase.Unity.Editor;
using Facebook.Unity;
public class gfb_auth_test : MonoBehaviour {
/** auth 용 instance */
Fir... |
Alphamosaik.Common.Library/Statistics/Statistic.cs | enriqueescobar-askida/Kinito.Mosaik.Common | 0 | 7024862 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Statistic.cs" company="AlphaMosaik">
// Copyright (c) AlphaMosaik. All rights reserved.
// </copyright>
// <summary>
// Defines the Statistic type.
// </summary>
// ----------... |
Huobi.SDK.Example/OrderWebSocketClientExample.cs | fengma312IDCM/huobi_CSharp | 1 | 7024863 | using System;
using Huobi.SDK.Core.Client;
using Huobi.SDK.Model.Response.Order;
using Huobi.SDK.Model.Request;
using Huobi.SDK.Model.Response.WebSocket;
using Huobi.SDK.Model.Response;
using Huobi.SDK.Model.Response.Auth;
namespace Huobi.SDK.Example
{
public class OrderWebSocketClientExample
{
public... |
Digipost.Signature.Api.Client.Direct/JobResponse.cs | karpis/signature-api-client-dotnet | 5 | 7024864 | <reponame>karpis/signature-api-client-dotnet
using System;
using System.Collections.Generic;
using System.Linq;
using Schemas;
namespace Digipost.Signature.Api.Client.Direct
{
public class JobResponse
{
public JobResponse(long jobId, string jobReference, IEnumerable<SignerResponse> signers, StatusUrl ... |
RobotSignalTool.cs | robotraconteur-contrib/RobotSignalToolRobotRaconteurDriver | 0 | 7024865 | using System;
using System.Collections.Generic;
using System.Text;
using com.robotraconteur.robotics.tool;
using com.robotraconteur.robotics.robot;
using RobotRaconteur;
namespace RobotSignalToolRobotRaconteurDriver
{
struct SignalCommand
{
public string signal_name;
public double signal_value... |
Algorithm.CSharp/FuzzyInferenceAlgorithm.cs | albertozatton/quant | 1 | 7024866 | using System;
using QuantConnect.Data.Market;
using QuantConnect.Indicators;
using AForge.Fuzzy;
namespace QuantConnect.Algorithm.CSharp
{
public class FuzzyInferenceAlgorithm : QCAlgorithm
{
//Indicators
private RelativeStrengthIndex rsi;
private Momentum mom;
private string s... |
Assets/Barebones/Networking/Scripts/IMessage.cs | aevien/master-server-framework | 34 | 7024867 | namespace Barebones.Networking
{
/// <summary>
/// Represents functionality of a basic outgoing message
/// </summary>
public interface IMessage
{
/// <summary>
/// Operation code, a.k.a message type
/// </summary>
short OpCode { get; }
/// <summary>
... |
Assets/Scripts/EnableButtonOnDemand.cs | HolAutisme/PopBalloon | 2 | 7024868 | <reponame>HolAutisme/PopBalloon
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnableButtonOnDemand : MonoBehaviour {
//public List<GameObject> childrenList;
// Use this for initialization
void Start ()
{
/*
int children = this.tra... |
apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1.Snippets/ContainerAnalysisClientSnippets.g.cs | boxstack/google-cloud-dotnet | 474 | 7024869 | // Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
Tests/FunctionMonkey.Tests.Integration/Storage/Helpers/AbstractStorageFunctionTest.cs | JamesRandall/AzureFromTheTrenches.Commanding.AzureFunctions | 276 | 7024870 | <reponame>JamesRandall/AzureFromTheTrenches.Commanding.AzureFunctions<filename>Tests/FunctionMonkey.Tests.Integration/Storage/Helpers/AbstractStorageFunctionTest.cs
using System;
using FunctionMonkey.Tests.Integration.Common;
using Microsoft.WindowsAzure.Storage;
namespace FunctionMonkey.Tests.Integration.Storage.Hel... |
D-Strategy Pattern/D Solution 2/Sorter.cs | AshishVishwakarma/Design-Patterns | 30 | 7024871 |
namespace D_Solution_2
{
public abstract class Sorter
{
private int[] array;
public Sorter(int[] arr)
{
array = arr;
}
public abstract void sort();
}
}
|
PlatformAgileFrameworkCore/PlatformAgileFrameworkCoreStandard/Events/IPAFEventArgsProvider.cs | Platform-Agile-Software/PAF-Community | 0 | 7024872 | <reponame>Platform-Agile-Software/PAF-Community
namespace PlatformAgileFramework.Events
{
/// <summary>
/// Protocol for a container for an event's generic arguments.
/// Renamed thusly to avoid confusion with something in .Net.
/// </summary>
/// <history>
/// <contribution>
/// <author> KRM </author>
... |
sdk/src/Services/SageMaker/Generated/Model/AnnotationConsolidationConfig.cs | atpyatt/aws-sdk-net | 2 | 7024873 | <gh_stars>1-10
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in t... |
VRGIN/Controls/Tools/WarpTool.cs | mosirnik/VRGIN | 0 | 7024874 | <reponame>mosirnik/VRGIN<filename>VRGIN/Controls/Tools/WarpTool.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Valve.VR;
using VRGIN.Core;
using VRGIN.Helpers;
using VRGIN.Modes;
using VRGIN.U46.Visuals;
using VRGIN.Visuals;
using static SteamVR_Contro... |
SlackNet.EventsExample/AppHome.cs | smorey2/SlackNet | 0 | 7024875 | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SlackNet.Blocks;
using SlackNet.Events;
using SlackNet.Interaction;
using SlackNet.WebApi;
using Button = SlackNet.Blocks.Button;
namespace SlackNet.EventsExample
{
public class AppHome : IEventHandler<AppHomeOpene... |
Stanford.NLP/Stanford.NLP.Util/ITypesafeMap.cs | kaylerich/epilog-migrations-stanford | 0 | 7024876 | using System;
using System.Collections.Generic;
namespace Stanford.NLP.Util
{
/// <summary>
/// Type signature for a class that supports the basic operations required
/// of a typesafe heterogenous map.
/// </summary>
public interface ITypesafeMap
{
/// <summary>
/// Returns t... |
ExpertDay.FormsIntegrationSample/DwxSpeaker.Droid/MainActivity.cs | reghrafa/XamarinExpertDay_2019 | 0 | 7024877 | using Android.App;
using Android.Widget;
using Android.OS;
using DwxSpeaker.Droid.Services;
using DwxSpeaker.Interfaces;
using Xamarin.Forms;
namespace DwxSpeaker.Droid
{
[Activity(Label = "DwxSpeaker.Droid", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
pro... |
src/libraries/System.Private.DataContractSerialization/src/System/Xml/XmlBinaryWriterSession.cs | mklement0/runtime | 28 | 7024878 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Xml;
using System.Collections;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.Collections.Obj... |
MicLive/MainWindow.Designer.cs | orryverducci/ShockClock | 0 | 7024879 | <reponame>orryverducci/ShockClock
namespace MicLive
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
AecPrivateCloud.ALL/Core/AecCloud.Core/Domain/Vaults/UserVault.cs | FinchYang/test | 1 | 7024880 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AecCloud.Core.Domain.Vaults
{
/// <summary>
/// 用户与库的实例关系表
/// </summary>
public class UserVault : Entity
{
public long UserId { get; set; }
public long Va... |
tracer/src/Datadog.Trace/Agent/Transports/ApiWebRequestFactory.cs | theletterf/signalfx-dotnet-tracing | 0 | 7024881 | <filename>tracer/src/Datadog.Trace/Agent/Transports/ApiWebRequestFactory.cs<gh_stars>0
// <copyright file="ApiWebRequestFactory.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https... |
src/SaneDevelopment.WPF4.Controls/GridSplitterAutomationPeer.cs | SaneDevelopment/WPF-Controls | 1 | 7024883 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GridSplitterAutomationPeer.cs" company="Sane Development">
//
// Sane Development WPF Controls Library
//
// The BSD 3-Clause License
//
// Copyright (c) 2011-2019, Sane Dev... |
Development Area/Assets/Lobby/Scripts/Lobby/LobbyCountdownPanel.cs | acfromspace/knuckles-battle | 12 | 7024884 | <gh_stars>10-100
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace Prototype.NetworkLobby
{
public class LobbyCountdownPanel : MonoBehaviour
{
public Text UIText;
}
} |
Archived/External Libs/JsonRpc20.Client/RpcClient.cs | HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK | 43 | 7024885 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace JsonRpc
{
/// <summary>
/// An generalized implementation of the <see cref="IRpcClient"/> interface.
/// </summary>
/// <remarks>
/// <para>While clients could depend on this generalized representation of a... |
src/TournamentManagement/TournamentManagement.Data/Configuration/RoundEntityTypeConfiguration.cs | dazpaz/tennis | 0 | 7024886 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TournamentManagement.Domain.RoundAggregate;
namespace TournamentManagement.Data.Configuration
{
public class RoundEntityTypeConfiguration : IEntityTypeConfiguration<Round>
{
public void Configure(EntityTypeBuilder<Ro... |
src/Umbraco.Core/PropertyEditors/ContentPickerConfiguration.cs | nul800sebastiaan/Umbraco-CMS | 3,375 | 7024887 | namespace Umbraco.Cms.Core.PropertyEditors
{
public class ContentPickerConfiguration : IIgnoreUserStartNodesConfig
{
[ConfigurationField("showOpenButton", "Show open button", "boolean", Description = "Opens the node in a dialog")]
public bool ShowOpenButton { get; set; }
[Configuration... |
src/FubuMVC.Core/Registration/ActionSource.cs | DovetailSoftware/fubumvc | 0 | 7024888 | <reponame>DovetailSoftware/fubumvc
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq.Expressions;
using System.Reflection;
using Bottles;
using FubuCore;
using FubuCore.Descriptions;
using FubuCore.Util;
using FubuMVC.Core.Registration.DSL;
using FubuMVC.Core.Registration.Node... |
EIDSS v5/vb/EIDSS/EIDSS.Tests/Reports/FakeReportForm.cs | EIDSS/EIDSS-Legacy | 2 | 7024889 | using System;
using System.Windows.Forms;
using EIDSS.Reports.BaseControls.Form;
namespace EIDSS.Tests.Reports
{
public class FakeReportForm : IReportForm
{
public event FormClosedEventHandler FormClosed;
public void ShowReport(Control reportKeeper)
{
}
p... |
snippets/csharp/VS_Snippets_Wpf/WindowRestoreBoundsSnippets/CSharp/MainWindow.xaml.cs | ericmutta/samples | 1 | 7024890 | <reponame>ericmutta/samples
//<SnippetWindowRestoreBoundsCODEBEHIND1>
using System;
using System.ComponentModel;
using System.IO;
using System.IO.IsolatedStorage;
using System.Windows;
//</SnippetWindowRestoreBoundsCODEBEHIND1>
namespace WindowRestoreBoundsSnippets {
//<SnippetWindowRestoreBoundsCODEBEHIND2>
publ... |
AMV.CQRS.Web/ActionResults/Async/CommandAsyncProcessorBuilderFactory.cs | AMVSoftware/CQRS | 6 | 7024891 | using System.Web.Mvc;
namespace AMV.CQRS
{
public class CommandAsyncProcessorBuilderFactory<TCommand> where TCommand : IAsyncCommand
{
private readonly TCommand command;
private readonly HtmlHelper htmlHelper;
private readonly IMediator mediator;
private readonly ILo... |
sdk/dotnet/Inputs/AppSpecJobEnvGetArgs.cs | mikealgj/pulumi-digitalocean | 53 | 7024892 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
NHLStats/NHLStats/TeamGameStats.cs | plaberge/nhlstats | 10 | 7024893 | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
namespace NHLStats
{
public class TeamGameStats
{
public int nhlTeamId { get; set; } // Team Id for the Team Game Stats
public string totalGoals { get; set; } // Number of goals scored by the team
... |
WorldWeatherOnline/TzWeatherQuery.gen.cs | WorldWeatherOnline/wwo-asp-net-mvc | 1 | 7024894 |
using System;
namespace WorldWeatherOnline
{
/// <summary>
/// Query to timezone service endpoint
/// </summary>
/// <remarks>
/// Full documentation for REST service can be found at https://developer.worldweatheronline.com/api/docs/time-zone-api.aspx
/// </remarks>
public partial class TzWeatherQuery
{
... |
source/AjaxAuthenticationHandling/Views/Home/Index.cshtml | sergeyzwezdin/AjaxAuthenticationHandling | 2 | 7024895 | <reponame>sergeyzwezdin/AjaxAuthenticationHandling<gh_stars>1-10
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
<script type="text/javascript" src="~/Scripts/jquery-2.0.3.min.js"></script>
</head>
<body>
<div>
@if (User.Identity.IsA... |
EFIngresProvider/SqlGen/Functions/AddDateTimeHandler.cs | foa-fag-og-arbejde/EFIngresProvider | 2 | 7024896 | using System.Data.Common.CommandTrees;
namespace EFIngresProvider.SqlGen.Functions
{
public abstract class AddDateTimeHandler : FunctionHandler
{
public override ISqlFragment HandleFunction(SqlGenerator sqlGenerator, DbFunctionExpression e)
{
AssertArgumentCount(e, 2);
... |
YandexDiskSync/Api.cs | 3axap4eHko/YandexDiskSync | 0 | 7024897 | <filename>YandexDiskSync/Api.cs
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Configuration;
using System.Text;
using System.Threading.Tasks;
using YandexDiskSync.Types;
namespace YandexDiskSync
{
public class Api : RestClie... |
src/Http/Routing/test/UnitTests/Matching/HostMatcherPolicyTest.cs | msschl/AspNetCore | 16 | 7024899 | <gh_stars>10-100
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using... |
MOE.Common/Business/ApproachVolume/MetricInfo.cs | AndreRSanchez/ATSPM | 51 | 7024900 | using System.Runtime.Serialization;
namespace MOE.Common.Business.ApproachVolume
{
[DataContract]
public class MetricInfo
{
[DataMember]
public string Direction2PeakHourString { get; set; }
[DataMember]
public double Direction2PeakHourDFactor { get; set; }
[DataMemb... |
sdk/src/Service/Bri/Model/WhitePinItem.cs | jdcloud-api/jdcloud-sdk-net | 12 | 7024901 | <filename>sdk/src/Service/Bri/Model/WhitePinItem.cs
/*
* Copyright 2018 JDCLOUD.COM
*
* 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
*
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.