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 |
|---|---|---|---|---|
Assets/Missile Behaviours/Scripts/Scene/ToggleExhaust.cs | SimonDziak/Space-Shooter | 2 | 7054362 | using MissileBehaviours.Scene;
using UnityEngine;
namespace MissileBehaviours.Controller
{
/// <summary>
/// Disables the particle system on this gameobject if the missile controller of the parent isn't accelerating. Otherwise its emission rate is set to the throttle of the missile controller.
/// </summar... |
KilyCore.Extension/AutoMapperExtension/MapperExtension.cs | EmilyEdna/KilyCore | 4 | 7054363 | <filename>KilyCore.Extension/AutoMapperExtension/MapperExtension.cs
using AutoMapper;
using AutoMapper.Configuration;
using System;
using System.Collections.Generic;
/// <summary>
/// 作者:刘泽华
/// 时间:2018年5月29日11点51分
/// </summary>
namespace KilyCore.Extension.AutoMapperExtension
{
/// <summary>
/// AutoMapper拓... |
AzureFunctionSqlApi/DatabaseContextExtensionMethods.cs | ariksman/MoviesAzureFuncApi | 2 | 7054364 | <filename>AzureFunctionSqlApi/DatabaseContextExtensionMethods.cs
using System;
using AzureFunctionSqlApi.DataAccess;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace AzureFunctionSqlApi
{
public static class DatabaseContextExtensionMethods
{
private static event Ev... |
Source/MSHTML/DispatchInterfaces/IHTMLTable2.cs | igoreksiz/NetOffice | 0 | 7054365 | <reponame>igoreksiz/NetOffice<gh_stars>0
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSHTMLApi
{
/// <summary>
/// DispatchInterface IHTMLTable2
/// SupportByVersion MSHTML, 4
/// </summary>
[SupportByVersion("MSHTML", 4)]
[EntityT... |
async/LocalExtensions.cs | jeremybytes/csharp-channels | 12 | 7054367 | using System.Collections.Generic;
using System.Linq;
namespace async
{
public static class LocalExtensions
{
public static string ToDelimitedString<T>(this List<T> list, string delimiter)
{
string result = "[";
for (int i = 0; i < list.Count() - 1; i++)
{
... |
src/api/Imageboard.Application/Commands/CreatePostCommand.cs | cheprogrammer/Imageboard | 0 | 7054368 | using AutoMapper;
using Imageboard.Application.Exceptions;
using Imageboard.Application.Models;
using Imageboard.Domain.Entities;
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Text;
u... |
src/Cosmos.I18N.Countries/Cosmos/I18N/Core/RuntimeCountryInfoCache.cs | cosmos-loops/cosmos-i18n | 0 | 7054369 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using Cosmos.Collections;
using Cosmos.I18N.Countries;
namespace Cosmos.I18N.Core
{
internal static class RuntimeCountryInfoCache
{
private static readonly ConcurrentDictionary<long, RuntimeCountryInfo> CachedData;
... |
Commander.NET/Utils.cs | gmantaos/Commander.NET | 12 | 7054370 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using Commander.NET.Attributes;
namespace Commander.NET
{
internal static class Utils
{
internal static IEnumerable<MemberInfo> GetParameterMembers<T, Q>(Binding... |
ServerLibrary/src/Attributes/NetControllers/GetMapping.cs | dbidwell94/CSharpSimpleServer | 0 | 7054371 | namespace SimpleServer.Attributes
{
/// <summary>
/// Defines a GET path and how it should be handled
/// </summary>
public sealed class GetMapping : AbstractMapping
{
public GetMapping(string path) : base(path)
{
}
}
} |
Analogy.LogViewer.SerialPort/SerialPortSettings.cs | oto313/Analogy.LogViewer.SerialPort | 0 | 7054372 | namespace Analogy.LogViewer.SerialPort
{
public class SerialPortSettings
{
public string SerialPort { get; set; }
public int Baudrate { get; set; } = 115200;
public string Regex { get; set; } = @"^(?<time>\d*)\|(?<level>\w*)\|(?<file>[^:]*):(?<line>\d*)\|(?<text>.*)$";
public ... |
c#/Payment-Gateway/Payment.Gateway.Data/Repositories/MongoClientBuilder.cs | cloudTwelve/code-snippets | 1 | 7054373 |
namespace Payment.Gateway.Data.Repositories
{
using System.Security.Authentication;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
public class MongoClientBuilder : IMongoClientBuilder
{
private readonly IConfiguration _config;
public MongoClientBuilder(IConfigura... |
workers/CubeNetworkPrototype/Assets/BlankProject/Scripts/Movement/MovementPackageReceiver.cs | kaminaritukane/MoveCubePhysics | 0 | 7054374 | using BlankProject;
using Improbable.Gdk.Core;
using Improbable.Gdk.Subscriptions;
using UnityEngine;
public class MovementPackageReceiver : MonoBehaviour
{
[Require] ServerUnitTransformReader serverTransformReader = null;
[Require] EntityId entityId = default;
[SerializeField] bool isSimulatedPlayer = f... |
src/Libraries/Nop.Services/Catalog/ProductAttributeExtensions.cs | EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin | 4 | 7054375 | using Nop.Core.Domain.Catalog;
namespace Nop.Services.Catalog
{
/// <summary>
/// Extensions
/// </summary>
public static class ProductAttributeExtensions
{
/// <summary>
/// A value indicating whether this product attribute should have values
/// </summary>
/// <par... |
Sharpcon/WebSockets/Listener.cs | spiceexyz/Sharpcon | 2 | 7054376 | <filename>Sharpcon/WebSockets/Listener.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sharpcon.Callbacks;
namespace Sharpcon.WebSockets
{
public static class Listener
{
public static Dictionary<int, ... |
stepik/762/30012/step_4/Program.cs | tshemake/Software-Development | 0 | 7054377 | using System;
/*
* Содержимое файла tennis.txt:
* box@de98796:~$ cat tennis.txt
* <NAME>, Fra
* <NAME>, BEL
* <NAME>, Bel
* <NAME>, usa
* Venus Williams, USA
* В результате выполнения каких команд будут выведены строки:
* <NAME>, Fra
* <NAME>, usa
* Venus Williams, USA
*/
namespa... |
PureCheat/PureCheat/Addons/ForceAllowClone.cs | DanteOtter/PureCheat | 2 | 7054378 | using VRC;
using UnityEngine;
using PureCheat.API;
using PlagueButtonAPI;
namespace PureCheat.Addons
{
public class ForceAllowClone : PureModSystem
{
public override string ModName => "Force clone avatar";
public override void OnStart()
{
ButtonAPI.CreateButton(ButtonAPI.B... |
UI/Program.cs | vasily-mett/TrackConverter | 2 | 7054379 | /* Copyright 2017 vasich
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, s... |
src/Elements/HtmlColgroupElement.cs | hughbe/html-generator | 22 | 7054380 | namespace HtmlGenerator
{
public class HtmlColgroupElement : HtmlElement
{
public HtmlColgroupElement() : base("colgroup") { }
public HtmlColgroupElement WithSpan(string value) => this.WithAttribute(Attribute.Span(value));
}
}
|
src/TEA/MessageWrapper.cs | Sinsjr2/TEA | 0 | 7054381 | using System;
namespace TEA {
public class MessageWrapper<TSource, TResult> : IDispatcher<TSource> {
readonly IDispatcher<TResult> dispatcher;
readonly Action<IDispatcher<TResult>, TSource> dispatch;
public MessageWrapper(IDispatcher<TResult> dispatcher, Action<IDispatcher<TResult>, TSour... |
DakarMapper/Win32.cs | Aldaviva/DakarMapper | 0 | 7054382 | using System;
using System.Runtime.InteropServices;
namespace DakarMapper {
internal static class Win32 {
[DllImport("kernel32.dll", SetLastError = true)]
internal static extern IntPtr OpenProcess(ProcessAccessFlags processAccess, bool bInheritHandle, int processId);
[Flags]
... |
src/Magellan.Tests/Framework/StartProcessResult.cs | CADbloke/magellan-framework | 0 | 7054383 | <reponame>CADbloke/magellan-framework
using System.Diagnostics;
using Magellan.Framework;
using Magellan.Tests.Helpers;
using NUnit.Framework;
namespace Magellan.Tests.Framework
{
[TestFixture]
public class StartProcessResultTests
{
[Test]
public void ShouldStartProcess()
... |
machinelearningext/NearestNeighbors/NearestNeighborsTrainers.cs | sdpython/machinelearningext | 2 | 7054384 | <reponame>sdpython/machinelearningext
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using Microsoft.ML;
using Microsoft.ML.Data;
using Microsoft.ML.Trainers;
using Microsoft.ML.Runtime;
using LoadableClassAttribute = Microsoft.ML.LoadableClassAttrib... |
ChessStandard/Utils/Direction.cs | biagiocaldararo/ChessStandard | 0 | 7054385 | using System;
using System.Collections.Generic;
using System.Text;
namespace ChessStandard.Utils
{
public class Direction
{
public int Value { get; set; }
public bool Closed { get; set; }
public Direction(int value)
{
Value = value;
Closed = false;
... |
02 - TDD/src/NerdStore.Vendas.Data/VendasContext.cs | RafaCarva/ASP.NET_Core_Testes_De_Software | 1 | 7054386 | <reponame>RafaCarva/ASP.NET_Core_Testes_De_Software
using System.Linq;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using NerdStore.Core.Data;
using NerdStore.Core.DomainObjects;
namespace NerdStore.Vendas.Data
{
public class VendasContext : DbContext, IUnitOfWork
{
... |
SteamLogger/editAccount.cs | 2sweetheart2/SteamLogger | 2 | 7054387 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace SteamLogger
{
public partial class editAccount : Form
{
MainForm main;
string oldname;
string ol... |
YouLearn.Infra/Persistencia/EF/YouLearnContext.cs | Johnbrow10/youlearn-api | 0 | 7054388 | using Microsoft.EntityFrameworkCore;
using prmToolkit.NotificationPattern;
using YouLearn.Domain.Entidades;
using YouLearn.Domain.ValueObjects;
using YouLearn.Infra.Persistencia.EF.Map;
using YouLearn.Shared;
namespace YouLearn.Infra.Persistencia.EF
{
public class YouLearnContext : DbContext
{
public ... |
code/src/CoreTemplateStudio/CoreTemplateStudio.Core/Gen/Shell/IGenShellProject.cs | telerik/CoreTemplateStudio-1 | 71 | 7054389 | <filename>code/src/CoreTemplateStudio/CoreTemplateStudio.Core/Gen/Shell/IGenShellProject.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
na... |
src/logic/paths.cs | emimontesdeoca/Backcraft | 6 | 7054390 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace backcraft.logic
{
class paths
{
const string _txtfile = @"config/paths.txt";
public string path { get; set; }
public paths(str... |
webapi/src/plugins/Dev.Plugin.Sys.Auth/Services/JWTAuthenticationService.cs | DevBetterNet/ffn | 0 | 7054391 | using Dev.Core.Domain.Users;
using Dev.Services.Authentication;
using System;
using System.Threading.Tasks;
namespace Dev.Plugin.Sys.Auth.Services
{
public class JWTAuthenticationService : IAuthenticationService
{
public Task<User> GetAuthenticatedUserAsync()
{
throw new NotImpleme... |
sdk/formrecognizer/Azure.AI.FormRecognizer/src/CustomModelKnownForm.cs | gogowings/azure-sdk-for-net | 0 | 7054392 | <reponame>gogowings/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
namespace Azure.AI.FormRecognizer.Custom
{
public class CustomModelLearnedForm
{
/// <summary>
/// </summary>
public ... |
src/Riven.Localization/Localization/ILocalizationManager.cs | rivenfx/Frameworks | 3 | 7054393 | using System;
using System.Collections.Generic;
using System.Text;
namespace Riven.Localization
{
/// <summary>
/// 本地化管理
/// </summary>
public interface ILocalizationManager
{
/// <summary>
/// 当前使用的语言
/// </summary>
string CurrentLanguage { get; }
/// <sum... |
SteamWebRequest/SteamApi_Tests/DotaApiClient/GetPlayerItems_Tests.cs | Niklas-Seppala/steam-api-core | 1 | 7054394 | <reponame>Niklas-Seppala/steam-api-core<gh_stars>1-10
using SteamApi;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Client.Dota
{
/// <summary>
/// Test class for dota 2 api client's GetPlayerItems method
/// </summary>
public class GetPlayerItems_Tests : ApiTests
{
... |
src/Rg.ServiceCore/DbModel/ApplicationDbContext.cs | jenyayel/rgroup | 0 | 7054395 | using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace Rg.ServiceCore.DbModel
{
public class ApplicationDbContext : DbContext
{
public virtual DbSet<UserInfo> UserInfos { get; set; }
public virtual DbSet<UserText> UserTexts { get; set; }
... |
ConsoleExtension/Parameters/Parser.cs | BigEggTools/ConsoleExtension | 1 | 7054396 | namespace BigEgg.Tools.ConsoleExtension.Parameters
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition.Hosting;
using BigEgg.Tools.ConsoleExtension.Parameters.Logicals;
using BigEgg.Tools.ConsoleExtension.Parameters.Output;
using BigEgg.Tools.ConsoleExtens... |
LetterApp.Core/Models/DTO/ReceivedModels/OrganizationAccessModel.cs | joaowd/Letter | 0 | 7054397 | using System;
using System.Collections.Generic;
namespace LetterApp.Models.DTO.ReceivedModels
{
public class OrganizationAccessModel : BaseModel
{
public int OrganizationID { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public bool RequiresAcce... |
08.C# Fundamentals/08.01.C# Advanced/05.Matrices/03.GroupNumbers/GroupNumbers.cs | mdamyanova/C-Sharp-Web-Development | 10 | 7054398 | <filename>08.C# Fundamentals/08.01.C# Advanced/05.Matrices/03.GroupNumbers/GroupNumbers.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace _03.GroupNumbers
{
public class GroupNumbers
{
public static void Main()
{
v... |
tspHandler/tspProcessor_partials/tspProcessor_Script.cs | bahrus/teaspoon | 0 | 7054399 | <filename>tspHandler/tspProcessor_partials/tspProcessor_Script.cs
using Microsoft.ClearScript.V8;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace tspHandler
{
public static partial class tspProcessor
{
public static HtmlDocumentFacade ProcessServerSideSc... |
Jannesen.VisualStudioExtension.TypedTSql/Editor/ClassifierDefinitions.cs | jannesen/TypedTSql | 1 | 7054400 | <reponame>jannesen/TypedTSql
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Windows.Media;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;
// Disable CS0618 warning for now.
#pragma warning disable CS0618
namespace Janne... |
ATZ.Parsers.Tests/SourceShould.cs | atzimler/Parsers | 0 | 7054401 | <reponame>atzimler/Parsers
using System;
using System.IO;
using FluentAssertions;
using NUnit.Framework;
namespace ATZ.Parsers.Tests
{
[TestFixture]
public class SourceShould
{
[Test]
public void BeConstructable()
{
using (var sr = new StringReader("X"))
{
... |
DotNetBungieAPI/Models/Tokens/PartnerOfferHistoryResponse.cs | EndGameGl/.NetBungieAPI | 25 | 7054402 | namespace DotNetBungieAPI.Models.Tokens;
public sealed record PartnerOfferHistoryResponse
{
[JsonPropertyName("PartnerOfferKey")] public string PartnerOfferKey { get; init; }
[JsonPropertyName("MembershipId")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public long MembershipId { ... |
Miharu Scan Helper 2/Miharu Scan Helper 2/Init.cs | aelbuz/MiharuScanHelper | 14 | 7054403 | <filename>Miharu Scan Helper 2/Miharu Scan Helper 2/Init.cs
using Eto.Forms;
using Miharu2.BackEnd;
using Miharu2.BackEnd.Translation.WebCrawlers;
using System;
using System.IO;
namespace Miharu2
{
public static class Init
{
public static bool ExistsInPath (string fileName) {
bool res = false;
string path ... |
source/WinHAB.Core/Models/SitemapList.cs | alexmore/WinHAB | 2 | 7054404 | using System.Collections.Generic;
using Newtonsoft.Json;
using WinHAB.Core.Models.JsonConverters;
namespace WinHAB.Core.Models
{
public class SitemapList
{
[JsonProperty("sitemap")]
[JsonConverter(typeof(ToListJsonConverter<Sitemap>))]
public List<Sitemap> Sitemaps { get; set; }
}
} |
src/Galaxy.Azure.ServiceBus.Extensions/Microsoft/Extensions/DependencyInjection/ServiceCollectionExtensions.cs | eyazici90/Galaxy-Azure | 4 | 7054405 | <reponame>eyazici90/Galaxy-Azure<filename>src/Galaxy.Azure.ServiceBus.Extensions/Microsoft/Extensions/DependencyInjection/ServiceCollectionExtensions.cs
using Galaxy.Azure.ServiceBus.Extensions.Retry;
using System;
using static Galaxy.Azure.ServiceBus.Extensions.Retry.Delegates;
namespace Microsoft.Extensions.Depend... |
{1} Programming Fundamentals - Extended (Course)/[42] Exam Preparation V - Taking a Sample Exam/01. Hornet Wings/Hornet Wings/HornetWings.cs | penDev98/TechModule | 0 | 7054406 | using System;
namespace Hornet_Wings
{
public class HornetWings
{
public static void Main()
{
long wingFlaps = long.Parse(Console.ReadLine());
decimal distancePerThousandWingFlaps = decimal.Parse(Console.ReadLine());
long endurance = long.Parse(Console.ReadL... |
tests/RockPaperScissors.UnitTests/Players/PlayerBaseTests.cs | LucasRosinelli/rock-paper-scissors | 0 | 7054407 | using RockPaperScissors.Players;
using Xunit;
namespace RockPaperScissors.UnitTests.Players
{
public abstract class PlayerBaseTests
{
protected PlayerBaseTests(IPlayer player)
{
Player = player;
}
protected IPlayer Player { get; init; }
[Fact]
publ... |
Qpay_Core/Services/Interfaces/IOrderService.cs | sonia1013/Qpay_Core | 0 | 7054408 | <filename>Qpay_Core/Services/Interfaces/IOrderService.cs
using Qpay_Core.Models.ExternalAPI;
using Qpay_Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Qpay_Core.Services.Interfaces
{
public interface IOrderService
{
//public Task... |
CSharp Advanced/Built-in Query methods - LINQ/7. Excellent Students/ExcellentStudents.cs | alexandrateneva/CSharp-Fundamentals-SoftUni | 0 | 7054409 | namespace _7.Excellent_Students
{
using System;
using System.Collections.Generic;
using System.Linq;
public class ExcellentStudents
{
public static void Main()
{
var inputLine = Console.ReadLine();
var students = new List<string[]>();
while (inpu... |
CSF.EqualityRules/Rules/NonGenericEqualityComparerAdapter.cs | csf-dev/CSF.EqualityRules | 0 | 7054410 | using System;
using System.Collections;
using System.Collections.Generic;
namespace CSF.EqualityRules.Rules
{
/// <summary>
/// An adapter type which allows a non-generic <see cref="IEqualityComparer"/> to be used as
/// an <see cref="IEqualityComparer{T}"/>.
/// </summary>
public class NonGeneric... |
EmpowerBusiness/NewSymbolVehicleList.cs | HaloImageEngine/EmpowerClaim-hotfix-1.25.1 | 0 | 7054411 | //------------------------------------------------------------------------------
// <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.... |
source/ME.RecordPlayer.EventSourcing.Tests/SampleEntity/Events.cs | MarkEwer/RecordPlayer | 0 | 7054412 | <reponame>MarkEwer/RecordPlayer<filename>source/ME.RecordPlayer.EventSourcing.Tests/SampleEntity/Events.cs<gh_stars>0
using System;
namespace ME.RecordPlayer.EventSourcing.Tests.SampleEntity
{
public record Uploaded(
Guid DocumentId, string Filename, string DisplayName,
DateTime UploadedDate, Date... |
RecipeBox/Views/Recipe/Sort.cshtml | manasavesala/RecipeBox | 0 | 7054413 | <reponame>manasavesala/RecipeBox
@using RecipeBox.Models;
@using System.Collections.Generic;
@{
Layout = "_Layout";
}
<div class="container">
<h3>Top Rated Recipes:</h3>
<ul>
@foreach (Recipe recipe in @Model)
{
<li style = "color: green; font-size: 20px;"><a style = "color: green;" href="/r... |
Assets/Scripts/Time/Timer.cs | MigQP/Rite_Autumn | 0 | 7054414 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.U2D.IK;
public class Timer : MonoBehaviour
{
/* OVERALL TIMER FOR THE GAME */
public float score;
[Header("Time")]
public Slider timeSlider;
public float gameTime;
public bo... |
CSharp/Syntax/Syntax30/App.cs | VontineDev/repos | 0 | 7054415 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Syntax30
{
public class App
{
public App()
{
var bakery1 = new Bakery();
bakery1.name = "파리바게트";
Console.WriteLine($"{bakery1.name}이... |
Source/Jupyter/Server/Heartbeat.cs | ekeleo/powershellJupyter | 93 | 7054416 | namespace Jupyter.Server
{
using NetMQ;
using NetMQ.Sockets;
using System.Threading;
using Microsoft.Extensions.Logging;
public class Heartbeat
{
private ILogger _logger;
private string _address;
private ResponseSocket _socket;
private ManualResetEventSlim _stop... |
src/YandexCloudDotNet/cloudapi/yandex/cloud/iam/v1/IamTokenServiceGrpc.cs | mifopen/YandexCloudDotNet | 2 | 7054417 | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yandex/cloud/iam/v1/iam_token_service.proto
// </auto-generated>
#pragma warning disable 0414, 1591
#region Designer generated code
using grpc = global::Grpc.Core;
namespace Yandex.Cloud.Iam.V1 {
/// <summary>
/// A... |
pwiz_tools/Skyline/Model/DocSettings/DataSettings.cs | vagisha/pwiz | 0 | 7054418 | /*
* Original author: <NAME> <<EMAIL>sh .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2009 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... |
External/Plugins/FlashLogViewer/PluginMain.cs | SlavaRa/flashdevelop-macros | 1 | 7054419 | using System;
using System.IO;
using System.Drawing;
using System.Windows.Forms;
using System.ComponentModel;
using WeifenLuo.WinFormsUI.Docking;
using PluginCore.Localization;
using PluginCore.Utilities;
using PluginCore.Managers;
using PluginCore.Helpers;
using PluginCore;
namespace FlashLogViewer
{
public class Pl... |
MARC.Everest.Test/Manual/Formatters/BuildCacheTest.cs | Vespertan/everest | 40 | 7054420 | <gh_stars>10-100
/**
* Copyright 2008-2014 Mohawk College of Applied Arts and Technology
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You may
* obtain a copy of the License at
*
* http://www.apache.org/licenses... |
CodecksExtension/Source/LogStringExtensions.cs | chrisyarbrough/CodecksPlasticIntegration | 7 | 7054421 | <reponame>chrisyarbrough/CodecksPlasticIntegration
namespace Xarbrough.CodecksPlasticIntegration
{
using Codice.Client.IssueTracker;
using System.Reflection;
using System.Text;
/// <summary>
/// Adds string formatting to Plastic data types to facilitate logging.
/// </summary>
internal static class Log... |
Assets/VRM10/Runtime/Components/Constraint/VRM10RotationOffset.cs | arimas88/UniVRM | 1,128 | 7054422 | <reponame>arimas88/UniVRM<filename>Assets/VRM10/Runtime/Components/Constraint/VRM10RotationOffset.cs<gh_stars>1000+
using System;
using UnityEngine;
namespace UniVRM10
{
[Serializable]
public struct VRM10RotationOffset
{
[SerializeField]
public Quaternion Rotation;
public static VR... |
src/Api/Program.cs | validide/everything-messages | 0 | 7054423 | <reponame>validide/everything-messages<filename>src/Api/Program.cs
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Events;
namespace EverythingMessages.Api
{
internal static class Program
{
internal static v... |
LoRAudioExtractor/UI/LicenseWindow.xaml.cs | ahmeterenyildirim/lor-vo-extractor | 4 | 7054424 | using System.Windows;
namespace LoRAudioExtractor.UI
{
/// <summary>
/// Interaction logic for LicenseWindow.xaml
/// </summary>
public partial class LicenseWindow : Window
{
public LicenseWindow()
{
this.InitializeComponent();
}
}
}
|
CyberCAT.Core/Enums/Dumped Enums/gameuiEWorldMapCameraMode.cs | RakhithJK/CyberCAT | 127 | 7054425 | namespace CyberCAT.Core.DumpedEnums
{
public enum gameuiEWorldMapCameraMode
{
TopDown = 0,
Free = 1,
ZoomLevels = 2,
COUNT = 3
}
}
|
UnityExamples/Assets/Examples/ExamplesAssets/MultiArray/Scripts/PalmDirectionManager.cs | 6henrykim/UnityExamples | 9 | 7054426 | <filename>UnityExamples/Assets/Examples/ExamplesAssets/MultiArray/Scripts/PalmDirectionManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UltrahapticsCoreAsset;
// Note: This example requires you to enter the Device IDs of your connected hardware.
// A STRATOS Inspire has ... |
sources/engine/Stride.Engine/Engine/Processors/CameraProjectionMode.cs | Ethereal77/stride | 0 | 7054427 | <gh_stars>0
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license inf... |
IWriteSource.cs | BryanApellanes/bam.net.shared | 0 | 7054428 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace Bam.Net
{
public interface IWriteSource
{
void WriteSource(string writeSourceToDir);
}
}
|
tdbadmin/tdbadmin/FWcreateservP3.cs | yafraorg/yafra-tdb-csharp | 1 | 7054429 | <reponame>yafraorg/yafra-tdb-csharp<filename>tdbadmin/tdbadmin/FWcreateservP3.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using org.swyn.foundation.gui;
namespace tdbadmin
{
publi... |
Thinksea.SQL/Thinksea.SQL.MSSQLServer.cs | thinksea/ThinkseaGeneric | 6 | 7054430 | <reponame>thinksea/ThinkseaGeneric
namespace Thinksea.SQL
{
/// <summary>
/// SQL Server 连接类型。
/// </summary>
public enum SQLServerConnectionType
{
/// <summary>
/// Windows 身份验证
/// </summary>
WindowsConnection,
/// <summary>
/// SQL Server 身份验证
... |
src/Monaco/StateMachine/Event.cs | limitzero/MonacoServiceBus | 1 | 7054431 | <gh_stars>1-10
namespace Monaco.StateMachine
{
/// <summary>
/// An event that is correlated to the arrival of a message to the state machine for processing.
/// </summary>
/// <typeparam name="TMessage">Message that the state machine will accept and trigger a series of processing actions.</typeparam>
public clas... |
AgnosticSearch/AgnosticSearch_IntegrationTest/AgnosticSearchTest.cs | JimmyHaglund/AgnosticPathSearch | 0 | 7054432 | <gh_stars>0
using NUnit.Framework;
using AgnosticSearch;
using System.Collections.Generic;
using System.Collections;
namespace AgnosticSearchTest {
public class When_Searching_Path_Of_10_Elements_In_Graph_With_Int_Coordinates_Ranging_From_0_To_10 {
MockPathMaker _pathMaker;
MockGraph _graph;
... |
src/Vk.Api.Schema/Enums/Platform.cs | extremecodetv/Vk.Api.Schema | 4 | 7054433 |
namespace Vk.Api.Schema.Enums
{
/// <summary>
/// Тип платформы
/// </summary>
public enum Platform
{
/// <summary>
/// Мобильная версия сайта
/// </summary>
Mobile = 1,
/// <summary>
/// Приложение для iPhone
/// </summary>
IPhoneApp... |
src/Polished.net.tests/Types/Desaturate.cs | chanan/Polished.net | 7 | 7054434 | <filename>src/Polished.net.tests/Types/Desaturate.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Polished.Tests.Types
{
[TestClass]
public class Desaturate
{
[TestMethod]
public void ReducedHex()
{
HslColor hsl = HslColor.Parse("#444").Desaturate(0.1d)... |
ConstantContact.CTCTWrapper/Components/Contacts/ContactList.cs | renehugentobler/ClientManager | 0 | 7054435 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace CTCT.Components.Contacts
{
/// <summary>
/// Represents a single List in Constant Contact.
/// </summary>
[DataContract]
public class ContactList : Component
{
... |
src/Transports/MassTransit.Azure.ServiceBus.Core/Contexts/MessageSendEndpointContext.cs | NooNameR/MassTrans | 4,222 | 7054436 | namespace MassTransit.Azure.ServiceBus.Core.Contexts
{
using System;
using System.Threading.Tasks;
using global::Azure.Messaging.ServiceBus;
using GreenPipes;
public class MessageSendEndpointContext :
BasePipeContext,
SendEndpointContext
{
readonly ServiceBusSender _cli... |
tests2/test.cs | shana/cppinterop | 1 | 7054437 | <reponame>shana/cppinterop
using System;
using CppTests;
public class Tests
{
public static void Main (String[] args) {
TestDriver.RunTests (typeof (Tests), args);
}
public static int test_0_class_return () {
// Section 3.1.4:
// Classes with non-default copy ctors/destructors are returned using a hidden
/... |
esp32_control/esp32_control/Program.cs | pjgpetecodes/percept_iot | 0 | 7054438 | <filename>esp32_control/esp32_control/Program.cs
using System;
using System.Collections;
using System.Diagnostics;
using System.Threading;
using nanoFramework.Azure.Devices.Client;
using nanoFramework.Azure.Devices.Shared;
using nanoFramework.Networking;
using nanoFramework.Json;
using System.Device.Gpio;
namespace es... |
StockTradingAnalysisWebsite/StockTradingAnalysis.Interfaces/Commands/ICommandDispatcher.cs | EajksEajks/StockTradingAnalysisWebsite | 25 | 7054439 | using StockTradingAnalysis.Interfaces.Events;
namespace StockTradingAnalysis.Interfaces.Commands
{
/// <summary>
/// Defines a base interface for a dispatcher that delegates the given command to
/// the corresponding <see cref="ICommandHandler{TCommand}"/> implementation
/// </summary>
public int... |
src/KGP.Core/Providers/IDepthFrameProvider.cs | mrvux/kgp | 10 | 7054440 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KGP.Providers
{
/// <summary>
/// Simple interface to allow switching depth image provider
/// </summary>
public interface IDepthFrameProvider
{
/// <summary>
... |
WSPTools/App/VSAddIn/Library/Menu/CommandHandle.cs | keutmann/wspbuilder | 0 | 7054441 | #region namespace references
using System;
using System.Collections.Generic;
using System.Text;
using EnvDTE;
#endregion
namespace WSPTools.VisualStudio.VSAddIn
{
public class CommandHandle
{
#region fields
private Command _commandObject = null;
private ExecuteDelegate _executeMethod ... |
Assets/LuxWater/Scripts/LuxWater_CameraDepthMode.cs | rachel2386/Studio2Game | 3 | 7054442 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
namespace LuxWater {
[ExecuteInEditMode]
[RequireComponent(typeof(Camera))]
public class LuxWater_CameraDepthMode : MonoBehaviour {
public bool GrabDepthTexture = false;
private Camera cam;
private Co... |
RosSharp/Utility/RosOutLogManager.cs | mamamaisused/RosSharp | 17 | 7054443 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using Common.Logging;
namespace RosSharp.Utility
{
public static class RosOutLogManager
{
[MethodImpl(MethodImplOptions.NoInlining)]
... |
Ann.Examples/ImageRecognition/StudImageContainer.cs | ERGeorgiev/ann | 0 | 7054444 | <gh_stars>0
using EdsLibrary.Extensions;
using EvolveNN.Genetic;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
namespace EvolveNNExamples.Velocity
{
public class StudImageContainer
{
public bool areStuds;
public StudImage[] studImages = new ... |
src/rentACar/Application/Features/Colors/Rules/ColorBusinessRules.cs | ahmet-cetinkaya/rentacar-project-backend-dotnetcore | 14 | 7054445 | <gh_stars>10-100
using Application.Services.Repositories;
using Core.CrossCuttingConcerns.Exceptions;
using Core.Persistence.Paging;
using Domain.Entities;
namespace Application.Features.Colors.Rules;
public class ColorBusinessRules
{
private readonly IColorRepository _colorRepository;
public ColorBusinessR... |
Src/PSExecutorBuilder.cs | thomas-illiet/Hangfire.PowerShellExecutor | 5 | 7054446 | <filename>Src/PSExecutorBuilder.cs
using Hangfire.PowerShellExecutor.Models;
using Hangfire.Server;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Text.RegularExpressions;
namespace Hangfire.PowerShellExecutor
{
public class PSExecutorBuilder
{
public ... |
Src/IronPython/Runtime/Types/CachedNewTypeInfo.cs | btddg28/ironpython | 2 | 7054447 | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... |
08. Exercise Best Practices And Architecture/BusTicketsSystem/BusTicketsSystem.Services/Models/ReviewCompanyModel.cs | thelad43/Databases-Advanced-Entity-Framework-SoftUni | 0 | 7054448 | namespace BusTicketsSystem.Services.Models
{
using System;
public class ReviewCompanyModel
{
public int BusCompanyId { get; set; }
public double Grade { get; set; }
public DateTime PublishDate { get; set; }
public string CustomerName { get; set; }
public string ... |
WRLDCWarehouse.ETL/Loads/LoadGeneratingStationOwner.cs | POSOCO/wrldc_data_warehouse_csharp | 0 | 7054449 | using System.Threading.Tasks;
using WRLDCWarehouse.Data;
using WRLDCWarehouse.Core.Entities;
using WRLDCWarehouse.Core.ForiegnEntities;
using Microsoft.EntityFrameworkCore;
using WRLDCWarehouse.ETL.Enums;
using Microsoft.Extensions.Logging;
namespace WRLDCWarehouse.ETL.Loads
{
public class LoadGeneratingStationOw... |
src/Firehose.Web/Authors/MalcolmJack.cs | JaridKG/planetxamarin | 1 | 7054450 | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Authors
{
public class MalcolmJack : IAmACommunityMember, IFilterMyBlogPosts
{
public string EmailAddress => "<EMAIL>";
public IEnumerable<Uri> Feed... |
Assets/Scripts/eHMI/SpriteHMI.cs | Ivalaostia/coupled-sim | 1 | 7054451 | <reponame>Ivalaostia/coupled-sim
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//simple sprite swapping implementation of HMI base class
public class SpriteHMI : HMI
{
[SerializeField]
SpriteRenderer _renderer;
[SerializeField]
Sprite stop;
[SerializeField]
Sprite wa... |
Antura/EA4S_Antura_U3D/Assets/_games/Egg/_configurationsscripts/EggConfiguration.cs | Megapop/Norad-Eduapp4syria | 0 | 7054452 | namespace EA4S.Egg
{
public class EggConfiguration : IGameConfiguration
{
// Game configuration
public IGameContext Context { get; set; }
public IQuestionProvider Questions { get; set; }
public float Difficulty { get; set; }
/////////////////
// Singleton Patter... |
src/Foundation/Cms/ModelBinders/ModelBinderProvider.cs | cuong0993/Foundation | 96 | 7054453 | using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace Foundation.Cms.ModelBinders
{
public class ModelBinderProvider : IModelBinderProvider
{
private static readonly IDictionary<Type, Type> ModelBinderTypeMappings = new Dictionary<Type, Type>
{
{typeof(dec... |
Arriba/Arriba.Test/Structures/ShortSetTests.cs | mattk09/elfie-arriba | 20 | 7054454 | <gh_stars>10-100
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Arriba.Structures;
using Microsoft.VisualStudio.T... |
smartadmiral.servicetasks/WindowsServiceModule.cs | AdmiralTool/Admiral | 0 | 7054455 | using smartadmiral.common;
using smartadmiral.common.Modules;
using smartadmiral.common.Tasks;
using smartadmiral.winservice.Creators;
namespace smartadmiral.winservice
{
public class WindowsServiceModule : IModule
{
public const string MODULE_NAME = "service";
private readonly WinServiceTaskC... |
Engine/FileParsers/TxtFileParser.cs | jnafolayan/axle | 2 | 7054456 | <filename>Engine/FileParsers/TxtFileParser.cs<gh_stars>1-10
using System.IO;
namespace Axle.Engine.FileParsers
{
/// <summary>
/// Parser for TXT files
/// </summary>
public class TxtFileParser : FileParserBase
{
/// <summary>
/// Parses a TXT file and returns the contents as a stri... |
cards/DALARAN/DALA/Sim_DALA_723.cs | chi-rei-den/Silverfish | 1 | 7054457 |
/* _BEGIN_TEMPLATE_
{
"id": "DALA_723",
"name": [
"超级能量枪",
"Hyperblaster"
],
"text": [
"<b>剧毒</b>\n你的英雄在攻击时具有<b>免疫</b>。",
"<b>Poisonous</b>.\nYour hero is <b>Immune</b> while attacking."
],
"CardClass": "NEUTRAL",
"type": "WEAPON",
"cost": 3,
"rarity": null,
"set": "DALARAN",
"col... |
Client/Remontinka.Client.Wpf/Model/Items/DeviceItemEditModel.cs | alexs0ff/remboard | 0 | 7054458 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Remontinka.Client.Wpf.Controllers.Items;
using Remontinka.Client.Wpf.Model.Controls;
using Remontinka.Client.Wpf.Model.Forms;
namespace Remontinka.Client.Wpf.Model.Items
{
/// <summary>
/// Модель установленной запчаст... |
Snippets/Snippets_5/HostIdentifier/HostIdFixer.cs | johnsimons/docs.particular.net | 0 | 7054459 | namespace Snippets_4.HostIdentifier
{
using System;
using NServiceBus;
public class HostIdFixer
{
public void Start()
{
#region HostIdFixer-V5
var config = new BusConfiguration();
config.UniquelyIdentifyRunningInstance()
.UsingName... |
src/Legacy/DynamoLeapMotion/dynLeapMotion.cs | AngelaViVi/Expressior-old | 22 | 7054460 | <gh_stars>10-100
<<<<<<< HEAD
//Copyright © Autodesk, Inc. 2012. All rights reserved.
=======
//Copyright © Autodesk, Inc. 2012. All rights reserved.
>>>>>>> 2ec6f35c8f2f9655bb27eff3fb81c69c167a56c6
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance wi... |
src/Splunk.Client/Splunk/Client/IIndexCollection.cs | ccDev-Labs/splunk-sdk-csharp-pcl | 58 | 7054461 | /*
* Copyright 2014 Splunk, 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 t... |
Assets/Scripts/RestaurantProfileScript.cs | Sibirius/ordernow | 0 | 7054462 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RestaurantProfileScript : MonoBehaviour {
public Restaurant restaurant;
private Text restaurantNameLabel;
private void Awake()
{
restaurantNameLabel = transform.Find("Title").Find("Re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.