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/Wpf.Shared/JsonNetSerializer.cs
zahariaconstantin/NetDist
11
7064641
<reponame>zahariaconstantin/NetDist using Newtonsoft.Json; namespace Wpf.Shared { /// <summary> /// Json.Net converter for PortableConfiguration /// Last updated: 21.01.2015 /// </summary> public class JsonNetSerializer : PortableConfiguration.ISerializer { public T Deserialize<T>(stri...
Provisum.Wpf.Mvvm/Views/InputView.xaml.cs
connorhaigh/Provisum
0
7064642
using System.Media; using System.Windows; namespace Provisum.Wpf.Mvvm.Views { /// <summary> /// Represents an input view. /// </summary> public partial class InputView : Window { /// <summary> /// Creates a new input view instance. /// </summary> public InputView() { this.InitializeCo...
Drums/VDrumExplorer.Data/Fields/FieldCondition.cs
davidwengier/DemoCode
0
7064643
// Copyright 2019 <NAME>. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System.Linq; namespace VDrumExplorer.Data.Fields { public class FieldCondition { public int ReferenceOffset { get; } public int RequiredV...
test/asm/cases/CaseData.cs
0xCM/z0
0
7064644
<reponame>0xCM/z0 //----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; public readonly struct CaseData { p...
tracer/src/Datadog.Trace/Sampling/GlobalSamplingRule.cs
jasoncouture/dd-trace-dotnet
174
7064645
<reponame>jasoncouture/dd-trace-dotnet // <copyright file="GlobalSamplingRule.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://www.datadoghq.com/). Copyright 2017 Datadog, In...
Divuss/Resources/Controls/PictureView.xaml.cs
durasel74/Divuss
0
7064646
<filename>Divuss/Resources/Controls/PictureView.xaml.cs using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.I...
ArcMapAddin2/Button1.cs
Ecotrust/mxdTileCutter
1
7064647
<reponame>Ecotrust/mxdTileCutter<gh_stars>1-10 /* * Author: <NAME>; mperry at ecotrust.org * Copyright (c) 2013, Ecotrust All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of sour...
src/BscScan.NetCore/Models/Response/Proxy/TransactionByHash.cs
DennisPitallano/BscScan.NetCore
1
7064648
<reponame>DennisPitallano/BscScan.NetCore namespace BscScan.NetCore.Models.Response.Proxy; /// <summary> /// TransactionByHash /// </summary> public class TransactionByHash { /// <summary> /// JsonRpc /// </summary> [JsonPropertyName("jsonrpc")] public string? JsonRpc { get; set; } /// <summa...
src/AzureCompiler.UI/AcumaticaVersion.cs
Acumatica/AzurePackageCompiler
0
7064649
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AzureCompiler.UI { public class AcumaticaVersion { public string FrameworkId { get; set; } public string FrameworkName { get; set; } public string ...
src/NightLib/DomainEvents/EntityDomainEvent.cs
vantm/nightlib
0
7064650
<filename>src/NightLib/DomainEvents/EntityDomainEvent.cs using NightLib.System; using System; namespace NightLib.DomainEvents { public abstract class EntityDomainEvent<TId> : IDomainEvent { protected EntityDomainEvent(TId id, ISystemClock clock) : this(id, Guid.NewGuid(), clock.UtcNow) { ...
src/DevEngine.Core/Graph/IDevGraphNodeSearchProvider.cs
pascx64/DevEngine
0
7064651
using DevEngine.Core.Project; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DevEngine.Core.Graph { public interface IDevGraphNodeSearchProvider { IEnumerable<DevGraphNodeSearchResult> Search(string content); } pu...
Assets/Scripts/Credits_Menu.cs
morrilet/Puttsy
0
7064652
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Credits_Menu : MonoBehaviour { private void Start() { if (!AudioManager.instance.musicSource.isPlaying) { AudioManager.instance.PlayMusic("Background", 0.5...
SKDDD.Common.Tests/IoC/ITestClass.cs
SamirKharchi/SKDDD
0
7064653
<gh_stars>0  namespace SKDDD.Common.Tests.IoC { public interface ITestClass { string someProperty { get; set; } } public class TestClass : ITestClass { public string someProperty { get; set; } } public interface IAnotherTestClass { int someProperty { get; set; ...
LiveChat.UWP/Services/SocketService.cs
garenyondem/live-chat
2
7064654
<reponame>garenyondem/live-chat using LiveChat.Shared.Interfaces; using Quobject.SocketIoClientDotNet.Client; using System; namespace LiveChat.UWP.Services { public class SocketService : ISocketService { public static readonly string EVENT_CONNECT = "connect"; public static readonly string EVE...
Assets/Imported Assets/TBS Framework/Examples/Example1/Scripts/Archer.cs
Hir-o/Settlers-of-Albion-Project-Files
0
7064655
<reponame>Hir-o/Settlers-of-Albion-Project-Files using TbsFramework.Units; namespace TbsFramework.Example1 { public class Archer : MyUnit { protected override int Defend(Unit other, int damage) { var realDamage = damage; if (other is Paladin) realDamage ...
Assets/GameAssets/Scripts/Maze/Factory/MazeGenerationFactory.cs
rtkelly13/ProceduralGeneration3DMazes
6
7064656
using System; using System.Diagnostics; using System.Linq; using Assets.Examples.Breakout; using Assets.GameAssets.Scripts.Maze.Agents; using Assets.GameAssets.Scripts.Maze.Helper; using Assets.GameAssets.Scripts.Maze.Heuristics; using Assets.GameAssets.Scripts.Maze.MazeGeneration; using Assets.GameAssets.Scripts.Maze....
src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Performance/UseStringContainsCharOverloadWithSingleCharacters.Fixer.cs
Youssef1313/roslyn-analyzers
1,296
7064657
<gh_stars>1000+ // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActi...
Projects/Csharp_Unity_Editor_json/Assets/Gen/test/DemoD3.cs
LiuOcean/luban_examples
1
7064658
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------------------...
src/EzSurvey.Presentation.WebApi/Startup.cs
boop5/EzSurvey
0
7064659
<gh_stars>0 using System; using System.Collections.Generic; using System.Net; using EzSurvey.Core.Application; using EzSurvey.Core.Domain; using EzSurvey.Core.Shared.Converters; using EzSurvey.Infrastructure.Authentication; using EzSurvey.Infrastructure.JobQueue; using EzSurvey.Infrastructure.Logging.Extensions; using ...
Common/Tasks/SchedulerSyncContext.cs
Iliya-usov/DotNetUtility
0
7064660
using System; using System.Threading; using System.Threading.Tasks; namespace Common.Tasks { public class SchedulerSyncContext : SynchronizationContext { private readonly TaskScheduler myScheduler; public SchedulerSyncContext(TaskScheduler scheduler) { myScheduler = scheduler; } public ...
Assets/scripts/HiddenSpriteScript.cs
uareurapid/balloonquest
0
7064661
using UnityEngine; using System.Collections; //show or hide an object/sprite public class HiddenSpriteScript : MonoBehaviour { public float delayBeforeShowHide = 3.0f; public bool startHidden = true; // Use this for initialization void Start () { if (startHidden) { Invoke ("Show", delayBeforeShowHide); ...
src/Binance.NET/BinanceException.cs
pgibler/Binance.NET
5
7064662
using System; namespace Binance.NET { public class BinanceException : Exception { public int Code { get; set; } public BinanceException(int code, string message) : base(message) { Code = code; } } }
src/Rukbat/GUI/Modules/Gimela.Rukbat.GUI.Modules.Widgets/Views/TermsOfUseView.xaml.cs
J-W-Chan/Gimela
230
7064663
using System.Windows.Controls; namespace Gimela.Rukbat.GUI.Modules.Widgets.Views { /// <summary> /// Interaction logic for TermsOfUseView.xaml /// </summary> public partial class TermsOfUseView : UserControl { public TermsOfUseView() { InitializeComponent(); } } }
src/Uhuru.CloudFoundry.DEA/VcapReactor.cs
UhuruSoftware/vcap-dotnet
2
7064664
<filename>src/Uhuru.CloudFoundry.DEA/VcapReactor.cs // ----------------------------------------------------------------------- // <copyright file="VcapReactor.cs" company="Uhuru Software, Inc."> // Copyright (c) 2011 Uhuru Software, Inc., All Rights Reserved // </copyright> // -----------------------------------------...
GitReview/Global.asax.cs
otac0n/GitReview
0
7064665
// ----------------------------------------------------------------------- // <copyright file="Global.asax.cs" company="(none)"> // Copyright © 2015 <NAME>. All Rights Reserved. // This source is subject to the MIT license. // Please see license.md for more information. // </copyright> // -----------------------...
src/ProfilZaufany/Sign/ISigningService.cs
szogun1987/profil-zaufany-dotnet-core
0
7064666
using System.Threading; using System.Threading.Tasks; namespace ProfilZaufany.Sign { public interface ISigningService { /// <summary> /// Dodaje dokument do kolejki podpisywanych dokumentów /// </summary> /// <param name="request">Informacje o podpisywanym dokumencie</param> ...
CelogParserLib/Data/CelogThreadPriority.cs
udaken/CeLogParser
0
7064667
<filename>CelogParserLib/Data/CelogThreadPriority.cs using System; using System.Collections.Generic; using UnsafeAndSpanExtension; using static CelogParserLib.Interop; namespace CelogParserLib.Data { public sealed class CelogThreadPriority : ICelogInfo { internal CelogThreadPriority(ReadOnlySpan<byte> ...
03_ASPNETCoreMVC/MyMVCWebApp/MyMVCWebApp/Views/Shared/Components/My/Default.cshtml
CNinnovation/ASPNETCoreDec2017
0
7064668
@*@model string*@ @model ValueTuple<string, Book> @* For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 *@ <h1>This is a view component</h1> <h2>@Model.Item1</h2> <h3>@Model.Item2.Title</h3>
Content.Shared/Movement/RelayMovementEntityMessage.cs
Bright0/space-station-14
2
7064669
<gh_stars>1-10 using System; using JetBrains.Annotations; using Robust.Shared.GameObjects; namespace Content.Shared.Movement { [Obsolete("Component Messages are deprecated, use Entity Events instead.")] public class RelayMovementEntityMessage : ComponentMessage { [PublicAPI] public readonly...
src/MyApp.ReadModel/Tasks/Model/TaskSummaryModel.cs
christophdebaene/CleanArchitecture
12
7064670
using System.Collections.Generic; namespace MyApp.ReadModel.Tasks { public class TaskSummaryModel { public int CompletedCount { get; set; } public int UncompletedLowPercentage { get; set; } public int UncompletedMediumPercentage { get; set; } public int UncompletedHighPercentag...
Source/Implementations/Benchmarking/Benchmarks/StringConcatenationWithBuilder.cs
Acmion/CSharpWasmBenchmark
10
7064671
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Benchmarking.Benchmarks { public class StringConcatenationWithBuilder : Benchmark { public override int[] Parameters { get; set; } = { 1000 * 5, 2000 * 5, 3000 *...
App.Production.Web/Areas/Production/StockTypeApiController.cs
lethanhname/App.Production
0
7064672
<gh_stars>0 using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using App.Production.Web; using App.CoreLib.EF.Data; using App.Production.Contract; using App.CoreLib.EF.Messages; using System.Col...
Assembly-CSharp/Memoria/Assets/Text/Dialogs/DialogLabelFilter.cs
Iamgoofball/Memoria
154
7064673
<filename>Assembly-CSharp/Memoria/Assets/Text/Dialogs/DialogLabelFilter.cs using System; using System.Text; using Assets.Sources.Scripts.UI.Common; namespace Memoria.Assets { public sealed class DialogLabelFilter { public static String PhrasePreOpcodeSymbol(UILabel label, Char[] text, ref Single additi...
src/WebSaleDistribute/WebSaleDistribute/obj/Release/AspnetCompileMerge/Source/Views/Warehouse/Warehouse.cshtml
bezzad/SaleOnlineReporter
4
7064674
@{ ViewData["dir"] = "rtl"; } <br /> <h2 dir="rtl">@ViewBag.Title</h2> <div class="container"> <div> <div class="col-xs-3"> <a class="word-wrap btn-block alert-success" href="shoniz://scan/?ret=@Request.Url.GetLeftPart(UriPartial.Authority)@Url.Content("~/Warehouse/InWay/?code={code}")">...
BluePlayer/MusicTrack.cs
TheMatiaz0/BluePlayer
7
7064675
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using System.Xml.Serialization; namespace BluePlayer { [XmlRoot("Music")] public class MusicTrack { public MusicTrack(int id, string artist, string songNa...
src/OutputCacheModuleAsync/TaskWrapperAsyncResults.cs
terrajobst/AspNetOutputCache
1
7064676
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See the License.txt file in the project root for full license information. namespace Microsoft.AspNet.OutputCache { using System; using System.Threading.Tasks; using System.Threading; // Wraps a Task class...
src/Web/myplacesbox.Web.ViewModels/Landmarks/SingleLandmarkViewModel.cs
yordanov21/myplacesbox
1
7064677
<reponame>yordanov21/myplacesbox namespace MyPlacesBox.Web.ViewModels.Landmarks { using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using MyPlacesBox.Data.Common.Repositories; using MyPlacesBox.Data.Models; using MyPlacesBox.Services.Mapping; public ...
src/ThunderDesign.Net-PCL.HttpClientService/Http/HttpClientAutoRedirect.cs
ShawnLaMountain/ThunderDesign.Net-PCL.HttpClientService
0
7064678
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Reflection; using System.Threading; using System.Threading.Tasks; using ThunderDesign.Net.HttpClientService.EventHandlers; using ThunderDesign.Net.HttpClientService.Extentions; using ThunderDesign.Net.HttpClientService.Interfaces; ...
src/Albatross.Database.SqlServer/Extension.cs
RushuiGuan/framework
0
7064679
using Microsoft.Extensions.DependencyInjection; namespace Albatross.Database.SqlServer { public static class Extension { public static IServiceCollection AddAlbatrossSqlDatabase(this IServiceCollection services) { services.AddSingleton<IGetConnectionString, GetConnectionString>(); services.AddSingleton<IGet...
DFC.ServiceTaxonomy.GraphSync/Neo4j/Queries/Models/NodeWithOutgoingRelationships.cs
uk-gov-mirror/SkillsFundingAgency.dfc-servicetaxonomy-editor
5
7064680
<reponame>uk-gov-mirror/SkillsFundingAgency.dfc-servicetaxonomy-editor using System.Collections.Generic; using System.Linq; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.ContentItemVersions; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Helpers; using DFC.ServiceTaxonomy.GraphSync.Neo4j.Que...
DNR 6.7 Strings/Core/StringsDecrypter.cs
Lucia361/NET-Reactor-String-Cleaner-6.7.0.0
1
7064681
using System; using System.Linq; using System.Reflection; using dnlib.DotNet; using dnlib.DotNet.Emit; namespace DNR.Core { public static class StringsDecrypter { public static int DecryptedStrings { get; private set; } public static void Execute(Context ctx) { var logger ...
Test/EnumExtensionsTest.cs
PostCharles/QueryForDapper.Postgres
1
7064682
<gh_stars>1-10 using QueryForDapper.Postgres.Attributes; using QueryForDapper.Postgres.Enums; using QueryForDapper.Postgres.Exceptions; using QueryForDapper.Postgres.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace T...
Modules/Kachuwa.Admin/Areas/Admin/Controllers/SettingController.cs
amritdumre10/Kachuwa
0
7064683
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Kachuwa.Caching; using Kachuwa.Web; using Kachuwa.Web.Model; using Kachuwa.Web.Service; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using M...
apps/social/Adventure Works/Adventure Works/Controls/ImageExFromPhotoData.cs
Peullo/uwp-experiences
457
7064684
<filename>apps/social/Adventure Works/Adventure Works/Controls/ImageExFromPhotoData.cs using Adventure_Works.Data; using Microsoft.Toolkit.Uwp.UI.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Storage; using Windows.UI.Xaml; u...
src/OData.QueryBuilder/Conventions/AddressingEntities/IAddressingEntries.cs
h3rmanj/OData.QueryBuilder
32
7064685
using OData.QueryBuilder.Conventions.AddressingEntities.Query; using System; namespace OData.QueryBuilder.Conventions.AddressingEntities { public interface IAddressingEntries<TEntity> { IODataQueryKey<TEntity> ByKey(params int[] keys); IODataQueryKey<TEntity> ByKey(params string[] keys); ...
SupClubTest/Helper/SecureCredentialsTest.cs
JoseMariaBernad/SupClub
2
7064686
using Newtonsoft.Json; using NSubstitute; using NUnit.Framework; using Plugin.SecureStorage.Abstractions; using SupClub.Helper; using SupClubLib.Model; using System; using System.Collections.Generic; using System.Text; namespace SupClubTest.Helper { [TestFixture] public class SecureCredentialsTest { ...
WhatKindOfPowerDoYouCHoose/Assets/EZ Pooling/Scripts/EZ_PrefabPoolOption.cs
bellepron/WhatKindOfPower
1
7064687
<gh_stars>1-10 using UnityEngine; using System; using System.Collections; namespace EZ_Pooling { /// <summary> /// PrefabPool class (for holding data in the editor inspector) /// </summary> [Serializable] public class EZ_PrefabPoolOption { public Transform prefabTransform; publ...
Simplement.Utils/SecurityUtils.cs
sroganov/Simplement
1
7064688
<reponame>sroganov/Simplement using System; using System.Diagnostics; using System.Security.Cryptography; using System.Text; using Simplement.Extensions; namespace Simplement.Utils { public static class SecurityUtils { /// <summary> /// Returns SHA512 hash for given string. /// </summa...
Fluid.Tests/ErrorMessagesTests.cs
anhgeeky/fluid
1
7064689
<gh_stars>1-10 using Fluid.Parser; using Xunit; namespace Fluid.Tests { public class ErrorMessagesTests { #if COMPILED private static FluidParser _parser = new FluidParser().Compile(); #else private static FluidParser _parser = new FluidParser(); #endif [Theory] [InlineData("{...
WingMoney/Auth/TokenResponse.cs
tienrocker/wingmoney
0
7064691
using Newtonsoft.Json; using WingMoney.Error; namespace WingMoney.Auth { /// <summary> /// /// success: /// { /// "access_token": "<PASSWORD>", /// "token_type": "bearer", /// "expires_in": 119 /// } /// /// error: /// { /// "error": "invalid_client", ...
sl4/SL4/IAsyncValue.cs
NDUnityWeb/bot
148
7064692
<reponame>NDUnityWeb/bot using System; using System.ComponentModel; using System.Windows.Input; using System.Windows; #if CONTRACTS_FULL using System.Diagnostics.Contracts; #else using PixelLab.Contracts; #endif namespace PixelLab.SL { [ContractClass(typeof(IAsyncValueContract<>))] public interface IAsyncValu...
Assets/Scripts/GameplayElements/Enemies/EnemySpawner.cs
kev-miles/TwinStickShooter_R
0
7064693
<reponame>kev-miles/TwinStickShooter_R<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using GameEvents; using GameEvents.Enemies; using GameplayElements.Bullets; using GameplayElements.ShootingStrategies; using GameplayElements.User; using UniRx; using UnityEngine; using Random = UnityEn...
CUE4Parse/CUE4Parse/UE4/Objects/Engine/Curves/FRichCurveKey.cs
Tamely/ProSwapper
34
7064694
using System.Runtime.InteropServices; namespace CUE4Parse.UE4.Objects.Engine.Curves { public enum ERichCurveInterpMode : byte { /** Use linear interpolation between values. */ RCIM_Linear, /** Use a constant value. Represents stepped values. */ RCIM_Constant, /** Cubic interpolation. See TangentMode fo...
RuleValidators/DgcReader.RuleValidators.Italy/Const/VaccineProducts.cs
axunonb/DgcReader
0
7064695
<filename>RuleValidators/DgcReader.RuleValidators.Italy/Const/VaccineProducts.cs // Copyright (c) 2021 <NAME> // Licensed under the Apache License, Version 2.0 namespace DgcReader.RuleValidators.Italy.Const { /// <summary> /// Vaccine products managed by the validator /// </summary> public static clas...
Program.cs
Golgroth/autoteams
0
7064696
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using autoteams.Models; namespace autoteams { public class Program { private static TeamsController teamsController; private const string VERSION = "1.0.0"; public static void Main(string[] args) ...
ambeth/Ambeth.Util/ambeth/proxy/ICascadedInterceptor.cs
Dennis-Koch/ambeth
0
7064697
<filename>ambeth/Ambeth.Util/ambeth/proxy/ICascadedInterceptor.cs<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using System.Reflection; #if !SILVERLIGHT using Castle.DynamicProxy; using System.Threading; #else using Castle.Core.Interceptor; using Castle.DynamicProxy; #endif usin...
Devices.Application/Identities/CreateIdentity/Handler.cs
nmshd/bkb-devices
0
7064698
<filename>Devices.Application/Identities/CreateIdentity/Handler.cs using Devices.Application.Devices.DTOs; using Devices.Application.Extensions; using Devices.Domain.Entities; using Enmeshed.BuildingBlocks.Application.Abstractions.Exceptions; using Enmeshed.BuildingBlocks.Application.Abstractions.Infrastructure.Persis...
src/Coding.Blog/Engine/Extensions/TimestampExtensions.cs
itabaiyu/coding-blog
0
7064699
using System.Diagnostics.CodeAnalysis; using Google.Protobuf.WellKnownTypes; namespace Coding.Blog.Engine.Extensions; /// <summary> /// Utility extensions for the <see cref="Timestamp"/> class. /// </summary> [ExcludeFromCodeCoverage] public static class TimestampExtensions { /// <summary> /// Genera...
Breakpoint/Program.cs
kb289/visualbat
0
7064700
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.Remoting; using System.Threading; using System.Text; using System.Text.RegularExpressions; using IpcLib; namespace Breakpoint { class Program { static void Main(string...
src/ExplicitMapper/ExplicitMapper.Tests/Mapping/NestedCollectionsMapping/MappingFromNestedTypedArrayToCollectionsTests.cs
Taras-Tyrsa/explicit-mapper
1
7064701
using FluentAssertions; using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace ExplicitMapper.Tests.Mapping.NestedCollectionsMapping { [Collection("Integration tests")] [Trait("Mapping", "Mapping nested collections")] public class MappingFromNestedTypedArrayToCollections...
TWS API/samples/CSharp/IBSampleApp/ui/ComboContractResults.Designer.cs
dacoders77/TFR
8
7064702
/* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the terms * and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */ namespace IBSampleApp.ui { partial class ComboContractResults { /// <summary> /// Req...
Assets/_Framework/Scripts/Selector/MapVisualSelectorController.cs
DreamTeamUdeS/FlyingCherry
0
7064704
using UnityEngine; using System.Collections; public class MapVisualSelectorController : MonoBehaviour { public Picking m_picking; public Camera m_camera; public LayerMask m_collisionLayerMask; public GridSettings m_gridSettings; public MapVisualSelector m_cursorSelector; const float HEIGHT_...
ums/Entities/Admin.cs
shaheryarmalik212/User-Management-System
0
7064705
<reponame>shaheryarmalik212/User-Management-System<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Entities { public class Admin { public int AdminID { get; set; } public String AdminName { set; get; } public String login { set...
Tic-Tac-Toe/Properties/Players.cs
HollowLotus/Tic-Tac-Toe
0
7064706
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tic_Tac_Toe { class Players { int playerX = 0; int playerO = 0; public void player1(Board masterboard) { Console.Write("Player One please ...
PlayniteMultiMCLibrary/HSNXT.Linq.Expressions/FluentExtensions.cs
uwx/PlayniteMultiMCLibrary
0
7064707
// // FluentExtensions.cs // // Author: // <NAME> (<EMAIL>) // // (C) 2011 Novell, Inc. (http://www.novell.com) // (C) 2012 <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 with...
UI/Views/OptionsView.cs
bilke/unity
8
7064708
<gh_stars>1-10 using MarkLight.Views.UI; using UFZ.Rendering; using UFZ.Views; using UnityEngine; namespace UFZ.UI.Views { public class OptionsView : UIView { public void StereoEnabledClick(CheckBox source) { var eye = FindObjectOfType<EyeDistance>(); eye.Distance = source.IsChecked ? eye.DefaultDistance :...
Battlesim/Assets/Scripts/MapGenerator.cs
WHK-Battlesim/Battlesim
2
7064709
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using UnityEngine; using TriangleNet.Geometry; using TriangleNet.Meshing; using TriangleNet.Topology; using Unity.Collections; using Unity.Jobs; using UnityEngine.AI; using Debug = System.Diagnost...
src/MassTransit/Testing/Scenarios/BusTestScenarioImpl.cs
vincelee888/MassTransit
1
7064710
// Copyright 2007-2011 <NAME>, <NAME>, <NAME>, et. al. // // 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 r...
src/Assets/Scripts/Utility/MathHelper.cs
IUS-CS/s20-project-jakob-drew-bryce-a-dog
2
7064711
<filename>src/Assets/Scripts/Utility/MathHelper.cs<gh_stars>1-10 using UnityEngine; namespace Utility { /// <summary> /// This class contains math related helper functions. /// </summary> public class MathHelper { //provide a normalized (0-1) value based on an arbitrary range publi...
src/Runly/Client/ResultsChannel.cs
runlyio/netcore
64
7064712
using Microsoft.AspNetCore.Http.Connections.Client; using Microsoft.AspNetCore.SignalR.Client; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Runly.Client.Models; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using Syst...
thrifts-dotnet/ThriftS.Client/Pool/ThriftSConnection.cs
ZeemanHuang/ThriftS
52
7064713
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Thrift.Protocol; using Thrift.Transport; using ThriftS.IDL; namespace ThriftS.Client.Pool { /// <summary> /// Class ThriftSConnection. /// </summary> internal class ThriftSConnection : IDisposable { ...
src/MicroReactiveMVVM/PropertyChangingData.cs
distantcam/MicroReactiveMvvm
0
7064715
<reponame>distantcam/MicroReactiveMvvm<gh_stars>0 namespace MicroReactiveMVVM { public class PropertyChangingData { public PropertyChangingData(string propertyName, object? before) { PropertyName = propertyName; Before = before; } public string PropertyN...
Assets/Packages/OIT/Scripts/OIT.cs
nobnak/BlendedOIT
25
7064716
using UnityEngine; using System.Collections; namespace OIT { [ExecuteInEditMode] [RequireComponent(typeof(Camera))] public class OIT : MonoBehaviour { public const string KW_PREMULT_ON = "PREMULTIPLIED_ALPHA_ON"; public const string KW_PREMULT_OFF = "PREMULTIPLIED_ALPHA_OFF"; public enum TransparentM...
Rey.Mapping.Demo/AndExpressionTest.cs
caizhifei2003/Rey.Mapping
5
7064717
using System; using System.Linq.Expressions; using Exp = System.Linq.Expressions.Expression; namespace Rey.Mapping { public class AndExpressionTest { public int Times { get; } public AndExpressionTest(int times = 10000) { this.Times = times; } public void Run() { ...
SceneContainer/Editor/ScriptableObjectUtils.cs
hwaet/SceneContainer
2
7064718
using UnityEngine; using UnityEditor; using UnityEditor.Callbacks; using UnityEditor.SceneManagement; using UnityEngine.SceneManagement; using System.IO; using System.Collections; using System.Collections.Generic; using UnityEngine.EventSystems; public class ScriptableObjectUtils : MonoBehaviour { [OnOpenAssetAttri...
ReMi.Api/ServiceBoundary/ReMi.Queries/Auth/GetAccountRolesResponse.cs
vishalishere/remi
1
7064719
using System.Collections.Generic; using ReMi.BusinessEntities; using ReMi.Common.Utils; namespace ReMi.Queries.Auth { public class GetAccountRolesResponse { public IEnumerable<EnumEntry> Roles { get; set; } public override string ToString() { return string.Format("[Roles={0...
src/GemTracker.Shared/Services/IConfigurationService.cs
JoWProDev/TokenTalksTracker
14
7064720
<reponame>JoWProDev/TokenTalksTracker using GemTracker.Shared.Domain.Configs.Jobs; using GemTracker.Shared.Domain.Statics; using GemTracker.Shared.Services.Responses; using System.Threading.Tasks; namespace GemTracker.Shared.Services { public interface IConfigurationService { Task<ConfigurationRespons...
SourceBase/IQCare Management/IQCare.SCM/frmViewGoodReceiveNote.Designer.cs
uon-coehm/IQCare
0
7064721
namespace IQCare.SCM { partial class frmViewGoodReceiveNote { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
src/DependencyInjection/Services/SecretService.cs
TopSwagCode/Dotnet.Fundamentals
1
7064722
using DependencyInjection.Options; using Microsoft.Extensions.Options; using System; namespace DependencyInjection.Services { public class SecretService : ISecretService { public SecretService(IOptions<SecretOptions> secretOptions) { // Use secret options to connect to some secret ...
Runtime/EventHandler/EventHandler.Generic.cs
AnisimovArthur/UnityTools
9
7064723
<reponame>AnisimovArthur/UnityTools using System; namespace UnityTools { public static partial class EventHandler { /// <summary> /// Executes the global event with one parameter. /// </summary> /// <param name="eventName">The name of the event.</param> /// <param name=...
one-stop-service/PrimaryContactDetails.cs
ianco/jag-lcrb-carla-public
0
7064724
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Xml.Serialization; namespace Gov.Lclb.Cllb.OneStopService { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] [System.SerializableAttribute()] [System.Diagnostic...
DataStaxCassandra/Cassandra/ConsistencyLevel.cs
ranta-demo/Ranta.CassandraDemo
1
7064725
// // Copyright (C) 2012 DataStax 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 applicab...
HandSchool.Core/Internal/NotifyPropertyChanged.cs
yang-er/HandSchool
28
7064726
<reponame>yang-er/HandSchool using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using Xamarin.Forms; namespace HandSchool.Internals { /// <summary> /// 实现了 <see cref="INotifyPropertyChanged" /> 的基类,提供数据绑定的双向响应。 /// ...
editor/Views/DatePicker/Customization.xaml.cs
syncfusion/winui-demos
18
7064727
<reponame>syncfusion/winui-demos #region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL>. Any infringement will be prosecuted...
sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/PoolUpdatePropertiesParameter.cs
gjy5885/azure-sdk-for-net
3,268
7064728
<filename>sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/PoolUpdatePropertiesParameter.cs // <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R...
source/CroquetAustralia.CQRS/ICommandHandlers.cs
croquet-australia/croquet-australia-domain
0
7064729
<gh_stars>0 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace CroquetAustralia.CQRS { public interface ICommandHandlers { Func<ICommand, Task<IEnumerable<IAggregateEvents>>> GetCommandHandler(ICommand command); } }
C#/3. Methods/ArchitectArithmetic.cs
FrejBjornsson/CodeAcademyProjects
0
7064730
using System; namespace ArchitectArithmetic { class Program { public double length; public double width; public double bottom; public double height; public double rectArea; public double rectArea1; public double rectArea2; public double triArea; ...
src/Application/Models/ModelSchemaFilters/CarSmSchemaFilter.cs
a-postx/YA.ServiceTemplate
4
7064731
<filename>src/Application/Models/ModelSchemaFilters/CarSmSchemaFilter.cs using System.Text.Json; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; using YA.ServiceTemplate.Application.Models.SaveModels; namespace YA.ServiceTemplate.Application.Models.ModelSchemaFilte...
WebDemo/Areas/_admin/ViewModels/DataPrivilegeVMs/DataPrivilegeListVM.cs
KnifezZZ/KnifeZ.Virgo
6
7064733
<reponame>KnifezZZ/KnifeZ.Virgo<filename>WebDemo/Areas/_admin/ViewModels/DataPrivilegeVMs/DataPrivilegeListVM.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using KnifeZ.Extensions; using KnifeZ.Virgo.Core; using KnifeZ.Virgo.Core.Extensions; namespac...
IT-Career-V3/Module 7 - SD/RealEstatesProject/RealEstates/RealEstates.WinFormsApp/CatalogForm.cs
aalishov/School
2
7064734
<gh_stars>1-10 using RealEstates.Services; using RealEstates.ViewModels; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace RealEstates.WinFormsApp { public partial class CatalogForm : Form ...
PiffLibrary/Boxes/moov/trak/PiffEditBox.cs
mc0re/piff-library
0
7064735
namespace PiffLibrary.Boxes { /// <summary> /// Maps presentation timeline to media timeline. /// </summary> [BoxName("edts")] [ChildType(typeof(PiffEditListBox))] public sealed class PiffEditBox : PiffBoxBase { } }
src/TicketsDemo.Common/AppConstants.cs
Intelliabb/XamarinAzureOffline
2
7064736
namespace TicketsDemo.Common { public static class AppConstants { public const string AppServiceUrl = "http://demotasks1.azurewebsites.net"; public const string TICKET_KEY = "ticket_key"; public const string UPDATE = "Update"; public const string ADD = "Add"; public cons...
Assets/UGF.RuntimeTools.Runtime.Tests/Providers/TestProviderPerformance.cs
unity-game-framework/ugf-runtimetools
0
7064737
using NUnit.Framework; using UGF.RuntimeTools.Runtime.Providers; using Unity.PerformanceTesting; namespace UGF.RuntimeTools.Runtime.Tests.Providers { public class TestProviderPerformance { [Test, Performance] public void AddRefs() { var provider = new Provider<string, strin...
src/DemoWebsite/Views/Home/Index.cshtml
Sebazzz/typescript-knockout-to-json-mapping
1
7064738
<reponame>Sebazzz/typescript-knockout-to-json-mapping @{ ViewBag.Title = "Home Page"; } <h1>Question Editor</h1> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed id libero lectus. Sed volutpat, felis non convallis rutrum, nibh sapien cursus dui, vitae dictum urna ante et lacus. Cras vehicula ...
Macrobo/Views/Forms/LoadProjectForm.Designer.cs
ma-yo/macrobo
0
7064739
<reponame>ma-yo/macrobo<gh_stars>0 namespace Macrobo.Views { partial class LoadProjectForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resourc...
Sample/Variance.cs
imba-tjd/CSharp-Code-Repository
0
7064740
<reponame>imba-tjd/CSharp-Code-Repository // Illustrated C# 2012 // 如果派生类只是用于输出值,那么这种结构化的委托有效性之间的常数关系叫做协变 // 在期望传入基类时允许传入派生类对象的特性叫做逆变 // 显式变化使用in和out关键字,适用于委托和接口,不适用于类、结构和方法 // 不包括in和out关键字的委托和接口类型参数叫不变 namespace Variance { class Animal { } class Dog : Animal { } delegate T Factory<out T>(); // 协变 del...
src/Core/DiscussionBoard.Application/Posts/Commands/CreatePost/CreatePostCommandHandler.cs
dimitarbalabanov/DiscussionBoard
1
7064741
<reponame>dimitarbalabanov/DiscussionBoard using AutoMapper; using DiscussionBoard.Application.Common.Interfaces; using DiscussionBoard.Domain.Entities; using MediatR; using System; using System.Threading; using System.Threading.Tasks; namespace DiscussionBoard.Application.Posts.Commands.CreatePost { public class...
lib/Debug/GarbageManager.cs
Kerr1291/common
1
7064742
using UnityEngine; using System.Collections; namespace nv { public class GarbageManager : MonoBehaviour { public static GarbageManager Instance { get; private set; } [SerializeField] bool useStartupGarbageCollection = false; ...
MaterialCMS.Web/Areas/Admin/Services/SEOAnalysis/AllImagesHaveAltTags.cs
DucThanhNguyen/MaterialCMS
12
7064743
<filename>MaterialCMS.Web/Areas/Admin/Services/SEOAnalysis/AllImagesHaveAltTags.cs using System.Collections.Generic; using System.Linq; using HtmlAgilityPack; using MaterialCMS.Entities.Documents.Web; using MaterialCMS.Services.Resources; using MaterialCMS.Web.Areas.Admin.Controllers; using MaterialCMS.Web.Areas.Admin...
Exercise 4/Completed/XFDraw/XFDraw.UWP/SketchViewRenderer.UWP.cs
XamarinUniversity/XAM335
2
7064745
using XFDraw; using Xamarin.Forms; using Xamarin.Forms.Platform.UWP; using XFDraw.UWP; using System.ComponentModel; [assembly: ExportRenderer(typeof(SketchView), typeof(SketchViewRenderer))] namespace XFDraw.UWP { class SketchViewRenderer : ViewRenderer<SketchView, PaintView> { protected override void ...