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
BusinessLogic/Components/WesternOrderFullNameCalculator.cs
tyler-hogsett-microsoft/plugin-logic-segregation
0
7041815
using Microsoft.Pfe.Samples.PluginLogicSegregation.BusinessLogic.Services; namespace Microsoft.Pfe.Samples.PluginLogicSegregation.BusinessLogic.Components { public class WesternOrderFullNameCalculator : IFullNameCalculator { public string Calculate(IAttributeResolver person) { retu...
DogOS/Shell/Commands/General/ClearCommand.cs
Taromaruu/dogos
1
7041816
using System; using System.Collections.Generic; namespace DogOS.Shell.Commands.General { public class ClearCommand : Command { public ClearCommand() : base("clear", "Clears the screen", CommandCategory.General) { } public override CommandResult Execute() { ...
Packages/com.unity.entities@0.1.1-preview/Unity.Transforms.Hybrid/TransformConversion.cs
REDNIGHT/space-war
26
7041817
using Unity.Entities; using Unity.Transforms; using UnityEngine; [UpdateInGroup(typeof(GameObjectBeforeConversionGroup))] class TransformConversion : GameObjectConversionSystem { private void Convert(Transform transform) { var entity = GetPrimaryEntity(transform); //@TODO: This is not a great...
logging/log4net-example/Log4NetSetup.cs
ewilde/dotnet-playground
1
7041818
using System; using System.IO; using System.Xml; namespace log4net_example { /// <summary> /// This class is useful if you are initializing log4 net from an assembly and the host /// application is not in your control. /// /// It tries to find a log4net.xml in the same directory as the current as...
ReOsuStoryboardPlayer.Core/Parser/Reader/VariableReader.cs
Milkitic/ReOsuStoryboardPlayer
12
7041819
<gh_stars>10-100 using ReOsuStoryboardPlayer.Core.Parser.Stream; using System; using System.Collections.Generic; using System.Linq; namespace ReOsuStoryboardPlayer.Core.Parser.Reader { public class VariableReader : IReader<StoryboardVariable> { private readonly SectionReader reader; public Va...
Samples/XamlMasterDetail/cs/Data/ItemsDataSource.cs
dujianxin/Windows-universal-samples
2,504
7041820
<filename>Samples/XamlMasterDetail/cs/Data/ItemsDataSource.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MasterDetailApp.Data { public class ItemsDataSource { private static List<Item> _items = new List<Item>(...
Scripts/SceneSwitcher.cs
VerbalFox/GuideDog
0
7041821
<gh_stars>0 using Godot; using System; public class SceneSwitcher : Node { // Declare member variables here. Examples: // private int a = 2; // private string b = "text"; private PackedScene menu; private PackedScene game; private Node currentLevel; private Node previousLevel; // Call...
src/biz.dfch.CS.CodeContracts.Core.Tests/Assertions/ContractEnsures.cs
dfensgmbh/biz.dfch.CS.CodeContracts
0
7041822
/** * Copyright 2018 d-fens GmbH * * 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...
Model/DroneInputPattern.cs
TexugoAtroz/case-study-1
0
7041823
<reponame>TexugoAtroz/case-study-1 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Algorithm.Logic.Model { class DroneInputPattern { // properties public string[] PatternArray; // constructor ...
RTSGame/RTSEngine/Controllers/ReflectedScript.cs
RegrowthStudios/VoxelRTS
11
7041824
<reponame>RegrowthStudios/VoxelRTS using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using RTSEngine.Interfaces; namespace RTSEngine.Controllers { public enum ScriptType { Unit, Squad, Building, Button, GameType, ...
source/Engine/EngineCalculator.cs
Denadan/MechEngineer
0
7041825
<filename>source/Engine/EngineCalculator.cs using System; using BattleTech; using UnityEngine; namespace MechEngineer { internal class EngineCalculator { internal float CalcMovementPoints(EngineCoreDef engineCoreDef, float tonnage) { return engineCoreDef.Rating / tonnage; }...
src/Siemens/ApiShowcase.Siemens.Openness.Demo/WindowHelper.cs
ibKastl/ibKastl.ApiShowcase
3
7041826
<filename>src/Siemens/ApiShowcase.Siemens.Openness.Demo/WindowHelper.cs using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace ApiShowcase.Siemens.Openness.Demo { public static class WindowHelper { const int SW_RESTORE = 9; public static void BringProcessToFront...
TranscendPlugins/SavePosition.cs
dougbenham/TerrariaPatcher
40
7041827
using System; using System.IO; using Terraria; using PluginLoader; using Terraria.IO; namespace TranscendPlugins { public class SavePosition : MarshalByRefObject, IPluginPlayerLoad, IPluginPlayerSave, IPluginPlayerSpawn { private bool justLoadedIn = false; public void OnPlayerSave(PlayerFileD...
Open.IdentityServer.Domain/Modules/LdapModule/LdapSettings.cs
RadekHermann/Open.IdentityServer
0
7041828
<reponame>RadekHermann/Open.IdentityServer namespace Open.IdentityServer.Domain.Modules.LdapModule { public class LdapSettings { public string Host { get; set; } = null!; public int? Port { get; set; } public string Base { get; set; } = null!; public string Domain { get; set; } =...
VocabularyCard.Web/Models/VIdentity.cs
soriano7788/VocabularyCardProject
0
7041829
<reponame>soriano7788/VocabularyCardProject using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Web; using VocabularyCard.AccountManager.DTO; namespace VocabularyCard.Web.Models { public class VIdentity : IIdentity { private readonly string _...
Application/Core/Scene/Entities/IHpBar.cs
ecl1ps/orbital-devastation
0
7041830
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media; namespace Orbit.Core.Scene.Entities { public interface IHpBar : ISceneObject { float Percentage { get; set; } Color Color { get; set; } } }
Banks/CUI/Commands/RevertTransaction.cs
sashafromlibertalia/Banks
0
7041831
<reponame>sashafromlibertalia/Banks using System; using System.Linq; using Banks.Entities; using Banks.Services; using Banks.Tools; using Banks.Types; using Spectre.Console; namespace Banks.CUI.Commands { public class RevertTransaction : ICommand { private readonly Bank _bank; public RevertTran...
Pocket.Logger/For.Xunit/Tests/WhatIsLogged.cs
jonsequitur/PocketLogger
7
7041832
using FluentAssertions; using System.Linq; using Xunit; namespace Pocket.For.Xunit.Tests { public class WhatIsLogged { [Fact] public void Start_events_are_logged_for_each_test() { var attribute = new LogToPocketLoggerAttribute(true); var methodInfo = GetType()....
src/Facility.Core.Assertions/ServiceDtoAssertions.cs
rmjohnson/FacilityCSharp
0
7041833
<reponame>rmjohnson/FacilityCSharp<gh_stars>0 using System.Diagnostics.CodeAnalysis; namespace Facility.Core.Assertions { /// <summary> /// Contains assertions for <see cref="ServiceDto" />. /// </summary> public class ServiceDtoAssertions : ServiceDtoAssertionsBase<ServiceDto, ServiceDtoAssertions> { /// <summ...
HappyRoute4/Services/MapDataService.cs
Makajda/HappyRoute
0
7041834
// <copyright file="MapDataService.cs" company="Makajda"> // Copyright (c) Makajda. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // </copyright> using HappyRoute4.Common; using HappyRoute4.Models; using HappyRoute4.Repositories; using Sy...
WOD.Game.Server/Feature/LootCorpses.cs
Cavcode/WOD_NWN
0
7041835
using WOD.Game.Server.Core; using WOD.Game.Server.Core.NWScript.Enum; using WOD.Game.Server.Service; using static WOD.Game.Server.Core.NWScript.NWScript; namespace WOD.Game.Server.Feature { public static class LootCorpses { /// <summary> /// Handles creating a corpse placeable on a creature's ...
src/Blazui.Component/Container/BLayoutBase.cs
wmlunge/Blazui
9
7041836
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; namespace Blazui.Component.Container { public class BLayoutBase : BComponentBase, IContainerComponent { [Parameter] public bool Fit { get; set; } = true; ...
Source Server/Game.Logic/Phy/Object/SimpleNpc.cs
itspaiva/DDTank4.1
4
7041837
<reponame>itspaiva/DDTank4.1 using Game.Logic.AI; using Game.Logic.AI.Npc; using Game.Server.Managers; using log4net; using SqlDataProvider.Data; using System; using System.Collections.Generic; using System.Reflection; namespace Game.Logic.Phy.Object { public class SimpleNpc : Living { private static readonly...
StockTradingAnalysisWebsite/StockTradingAnalysis.Core/Services/DependencyService.cs
EajksEajks/StockTradingAnalysisWebsite
0
7041838
using System; using System.Collections.Generic; using Ninject; using StockTradingAnalysis.Interfaces.Services; namespace StockTradingAnalysis.Core.Services { /// <summary> /// The service DependencyService is a wrapper for the ninject kernel /// </summary> public class DependencyService : IDependencyS...
src/Microsoft.Extensions.Options/OptionsMonitorExtensions.cs
couven92/aspnet-Options
150
7041839
<filename>src/Microsoft.Extensions.Options/OptionsMonitorExtensions.cs // 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; namespace Microsoft.Extensions.Options { /// <summary> ///...
Legacy.Core/Core/ActionLogging/SkillTierBonusEventArgs.cs
Albeoris/MMXLegacy
10
7041840
using System; using Legacy.Core.Entities.Skills; using Legacy.Core.PartyManagement; namespace Legacy.Core.ActionLogging { public class SkillTierBonusEventArgs : LogEntryEventArgs { public SkillTierBonusEventArgs(ETier p_tier, Character p_chara, String p_skillName) { Tier = p_tier; Chara = p_chara; Skil...
UiPathCloudAPI/Models/AuthParameters.cs
DrGennadius/UiPathCloudAPI
1
7041841
<gh_stars>1-10 using Newtonsoft.Json; namespace UiPathCloudAPISharp.Models { public class AuthParameters { [JsonProperty(PropertyName = "grant_type")] public string GrantType { get { return "refresh_token"; } } [JsonProperty(PropertyName = "refresh_token")] public string Refre...
MurmurHash/Unmanaged/Murmur32UnmanagedX86.cs
DHMechatronicAG/murmurhash-net
0
7041842
/// Copyright 2012 <NAME> /// /// 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...
src/Orchard.Web/Modules/Orchard.Recipes/Providers/Executors/RemoveContentStep.cs
yangbingqi155/Nagrace
2,670
7041843
<filename>src/Orchard.Web/Modules/Orchard.Recipes/Providers/Executors/RemoveContentStep.cs<gh_stars>1000+ using System; using System.Linq; using Orchard.ContentManagement; using Orchard.Localization; using Orchard.Logging; using Orchard.Recipes.Models; using Orchard.Recipes.Services; namespace Orchard.Recipes.Provide...
src/Pomelo.Extensions.RuntimeEnvironment.Sources/Native/PlatformApis.cs
qinxiaowen/dotNETCore-Extensions
190
7041844
// 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.IO; using System.Runtime.InteropServices; namespace Microsoft.Extensions.Internal.Native { internal static class Platfor...
plugins/RustExtrasItems.cs
weedz/oxide_rustextras
0
7041845
<filename>plugins/RustExtrasItems.cs<gh_stars>0 using UnityEngine; using System; using System.Collections.Generic; using Oxide.Core; using Oxide.Core.Plugins; using Rust; namespace Oxide.Plugins { [Info("RustExtras, Items", "WeeDzCokie", "0.1.0")] [Description("Give yourself some nice items!")] class RustExtrasIte...
Patches/Combat/NoRunningAwayPatch.cs
adam-march/BannerlordCheats
0
7041846
<reponame>adam-march/BannerlordCheats using BannerlordCheats.Settings; using HarmonyLib; using SandBox; using TaleWorlds.MountAndBlade; namespace BannerlordCheats.Patches.Combat { [HarmonyPatch(typeof(DefaultBattleMoraleModel), nameof(DefaultBattleMoraleModel.CalculateMoraleChangeToCharacter))] public static ...
src/Sphere10.Framework.iOS/UI/UIScrollViewEx.cs
Sphere10/Framework
1
7041847
//----------------------------------------------------------------------- // <copyright file="UIScrollViewEx.cs" company="Sphere 10 Software"> // // Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com) // // Distributed under the MIT software license, see the accompanying file // LICENSE or ...
XForm/XForm/Functions/BlockTwoArgumentFunction.cs
mattk09/elfie-arriba
20
7041848
// 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 XForm.Data; namespace XForm.Functions { /// <summary> /// BlockTwoArgumentFunction converts a Func&lt;XArray, XArray, XArray&gt; into a ...
src/Konmaripo.Web/Views/Sunsetting/DeleteSuccess.cshtml
excellalabs/konmaripo
3
7041849
@{ ViewData["Title"] = "Successfully Deleted"; } <div class="text-center"> <h1 class="display-4">Deletion Completed Successfully.</h1> <p>You can @Html.ActionLink("Return to the list", "Index").</p> </div>
CloudColony/CloudColony/Framework/Tools/MathUtils.cs
Caresilabs/ArcadeGame2016
0
7041850
using System; using Microsoft.Xna.Framework; namespace CloudColony.Framework.Tools { /** * Simple class for simple math calculations */ public class MathUtils { public static Random rnd = new Random(); public static float Random(float max) { return (float)rnd...
Storage/Folders/TranslationsFolder.cs
P3D-Legacy/P3D-Legacy-Shared
1
7041851
<gh_stars>1-10 using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using P3D.Legacy.Shared.Data; using P3D.Legacy.Shared.Extensions; using PCLExt.FileStorage; namespace P3D.Legacy.Shared.Storage.Folders { public class Translation...
src/Castle.Core.Tests/CanDefineAdditionalCustomAttributes.cs
hach-que/Castle.Core
1
7041852
<filename>src/Castle.Core.Tests/CanDefineAdditionalCustomAttributes.cs // Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 Lice...
Tyr/Micro/InfestorController.cs
SimonPrins/TyrSc2
19
7041853
using SC2APIProtocol; using System.Collections.Generic; using SC2Sharp.Agents; using SC2Sharp.Managers; using SC2Sharp.Util; namespace SC2Sharp.Micro { public class InfestorController : CustomController { public static Dictionary<ulong, ulong> NeuralControllers = new Dictionary<ulong, ulong>(); ...
Examples/Example13/Ukadc.Diagnostics/Ukadc.Diagnostics/Utils/PropertyReaders/LocalTimePropertyReader.cs
pakoros/Backload
0
7041854
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace Ukadc.Diagnostics.Utils.PropertyReaders { /// <summary> /// Can compare against and get the value of TraceEvent's DateTime /// </summary> public class LocalTimePropertyReader : PropertyReader { ...
data-services-client-dotnet/Api/WalkSequence/AddWalkSequenceRecords.cs
dagclo/data-services-client-dotnet
0
7041855
using System.Collections.Generic; using System.Linq; using System.Net.Http; using Quadient.DataServices.Model.UsBatch; namespace Quadient.DataServices.Api.WalkSequence { public class AddWalkSequenceRecords : IRequest<object> { public AddWalkSequenceRecords(string jobId, IEnumerable<IList<string>> records...
DryIoc.Playground/FasterAppendStore.cs
thezbyg/DryIoc
0
7041857
<reponame>thezbyg/DryIoc using ImTools; namespace DryIoc.Playground { public abstract class AppendStore<T> { public static readonly AppendStore<T> Empty = new ArrayAppendStore(0, null); public int Count { get; protected set; } public abstract AppendStore<T> Append(T value);...
Gu.Reactive.Analyzers.CodeFixes/ObservableFromEventArgsFix.cs
forki/Gu.Reactive
0
7041858
namespace Gu.Reactive.Analyzers.CodeFixes { using System.Collections.Immutable; using System.Composition; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; usi...
C#/Advanced Features/Progress Reporting and Cancellation/Progress Reporting in Console/Program.cs
CrimsonOrion/GemBox.Document.Examples
29
7041859
using System; using GemBox.Document; class Program { static void Main() { // If using Professional version, put your serial key below ComponentInfo.SetLicense("FREE-LIMITED-KEY"); // Use Trial Mode ComponentInfo.FreeLimitReached += (eventSender, args) => args.FreeLimitReachedAc...
src/T4DocoptNetHostApp/T4DocoptNet.cs
povociancioni/bug-free-octo-waddle
0
7041860
<reponame>povociancioni/bug-free-octo-waddle<filename>src/T4DocoptNetHostApp/T4DocoptNet.cs  using System.Collections; using System.Collections.Generic; using DocoptNet; namespace T4DocoptNetHostApp { // Generated class for Another.usage.txt public class AnotherArgs { public const string USAGE = @"Test host a...
PlayFabBuddy.LoginScreen.SharedProject/LoggingInMessageBox.cs
dmanning23/PlayFabBuddy.LoginScreen
1
7041861
using MenuBuddy; using Microsoft.Xna.Framework.Content; using System.Threading.Tasks; namespace PlayFabBuddyLib.LoginScreen { public class LoggingInMessageBox : MessageBoxScreen { public LoggingInMessageBox(ContentManager content = null) : base("Logging in...", string.Empty, content) { CoveredByOth...
AltUI/Config/ThemeProvider.cs
kran27/AltUI
0
7041862
<reponame>kran27/AltUI using Microsoft.Win32; using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Runtime.InteropServices; namespace AltUI.Config { public static class ThemeProvider { private static object RegistryCGV(string keyName, string valueName, object defaultValue) ...
Src/HERE.Api Example Solution/HERE.GpsSimulator/Rules/WeightRule.cs
porrey/HERE.com
2
7041863
<gh_stars>1-10 using Diamond.Core.Rules; using Microsoft.Extensions.Logging; namespace HERE.GpsSimulator { public class WeightRule : RuleTemplate<OptionsViewModel, IOptionsRuleResult> { public WeightRule(ILogger<WeightRule> logger) : base(logger, nameof(OptionsViewModel)) { } protected overr...
Project/ARMRP-unity/Assets/ParadoxNotion/CanvasCore/Common/Design/PartialEditor/EditorUtils/EditorUtils.ReflectedInspector.cs
euphoriaer/Roguelike-fantasy
0
7041864
#if UNITY_EDITOR using System; using System.Collections; using System.Linq; using UnityEditor; using UnityEngine; using UnityObject = UnityEngine.Object; namespace ParadoxNotion.Design { ///<summary>Automatic Inspector functions</summary> partial class EditorUtils { private static GUIContent temp...
Umbraco_GitHub/Umbraco_GitHub/Views/Partials/Components/NewsBlock.cshtml
koceiliev/Umbraco
0
7041865
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ if ( !Model.Content.HasValue("newsRoot")) { return; } var listRoot = Umbraco.TypedContent( Model.Content.GetPropertyValue<int>("newsRoot")); if (listRoot == null) { return; } var selection = listRoot.Descendan...
XenAdmin/Controls/SummaryPanel/SummaryPanelController.cs
edwintorok/xenadmin
169
7041866
<reponame>edwintorok/xenadmin /* Copyright (c) Citrix Systems, Inc. * 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 source code must retain the a...
Abmes.DataCollector.Common/Configuration/EmptyConfigLocationProvider.cs
abmes/Abmes.DataCollector
1
7041867
using System; using System.Collections.Generic; using System.Text; namespace Abmes.DataCollector.Common.Configuration { public class EmptyConfigLocationProvider : IConfigLocationProvider { public string GetConfigLocation() { return null; } } }
Assignment5/Model/Library.cs
GusRodrigues86/Conestoga.Assignment5
0
7041868
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assignment5.Model { /// <summary> /// Library holds information about all books that compose the library collection. /// Library is mutable. /// </summary> internal class L...
MAIN/Default.WebUI/Views/Installation/Index.cshtml
BROCKHAUS-AG/contentmonkey
3
7041869
@model InstallationViewModel @{ Layout = "~/Views/Installation/__Layout.cshtml"; } <div id="content"> </div> @*<input data-bind="value:Data.User.UserName" /> <label data-bind="text:Data.User.UserName" ></label>*@ <script src="/app_Themes/installation/views/Index.js"></script> <script src="/app_themes/instal...
WcfServiveTest01/WcfServiceLibrary1/ProductsService.cs
devos1/Heig-Vd_EDevDist
0
7041871
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace WcfServiceLibrary1 { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in both code and config file toge...
Base/CorpInfo.cs
ProWON/popbill.dotnet.core
0
7041872
<gh_stars>0 using System; using System.Runtime.Serialization; namespace Popbill { [DataContract] public class CorpInfo { [DataMember] public string ceoname; [DataMember] public string corpName; [DataMember] public string addr; [DataMember] public string bizType; [Dat...
kata/cs/Battle-ships-sunk-damaged-or-not-touched.cs
aMoniker/daily-kata
0
7041873
<filename>kata/cs/Battle-ships-sunk-damaged-or-not-touched.cs // https://www.codewars.com/kata/58d06bfbc43d20767e000074/train/csharp using System; using System.Collections.Generic; using Map = System.Collections.Generic.Dictionary<string, double>; namespace CodeWars { class BattleShipsSunkDamagedOrNotTouchedKata ...
IoTEdge/GlobalAzureBootcamp2019/3-full-solution/modules/PhotoCollector/Program.cs
cloudgenverona/GAB2019
0
7041874
<reponame>cloudgenverona/GAB2019 using System.Net.Http; using Microsoft.Azure.Devices.Shared; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; namespace PhotoCollector { using System; using System.IO; using System.Runtime.InteropServices; using System.Runtime.Loader; ...
src/MindboxTest.Handlers/AddFigure/AddFigureHandler.cs
renatmedved/mindbox-test
1
7041875
using MediatR; using MindboxTest.Contracts.Results; using MindboxTest.DAL.QueryFactory; using MindboxTest.DAL.Tables; using MindboxTest.Figures.Base; using MindboxTest.Figures.Proxy; using Newtonsoft.Json; using System; using System.Threading; using System.Threading.Tasks; namespace MindboxTest.Handlers.AddFigure {...
src/Noside.Wyvern.Common/ViewModels/TitleBarViewModel.cs
KevinAnthony/Wyvern
0
7041876
#region Using using System.ComponentModel; using System.Windows; using System.Windows.Input; using Noside.Wyvern.Common.Interfaces; using Noside.Wyvern.Common.Properties; using Prism.Commands; using Prism.Mvvm; using MessageBox = Noside.Wyvern.Common.Windows.MessageBox; #endregion namespace Noside.Wyvern.Common.Vie...
src/HttPlaceholder.Tests/Integration/Stubs/Scenarios/ScenarioStateTests.cs
heholek/httplaceholder
0
7041877
using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace HttPlaceholder.Tests.Integration.Stubs.Scenarios; [TestClass] public class ScenarioStateTests : StubIntegrationTestBase { [TestInitialize] public void Initialize() => InitializeStubIntegrationTest("Resources/scenarios...
Homeworks/Programming/DSA/DSA-ExamPreparation/2013/02.3DLabyrinth/Program.cs
TsvetanRazsolkov/Telerik-Academy
1
7041878
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02._3DLabyrinth { class Program { static char[, ,] labyrinth; static bool[, ,] used; static int minPath = int.MaxValue; static int currentPath = 0; ...
samples/Eff.Examples.NonDeterminism/Program.cs
rmdouglas/Eff
99
7041879
<reponame>rmdouglas/Eff using System; using System.Threading.Tasks; namespace Nessos.Effects.Examples.NonDeterminism { class Program { static async Eff Test() { var x = await NonDetEffect.Choose(1, 2, 3); var y = await NonDetEffect.Choose("one", "two", "three"); ...
DPE.Core.IRepository/IRoleRepository.cs
a465717049/mk
2
7041880
using DPE.Core.IRepository.Base; using DPE.Core.Model.Models; namespace DPE.Core.IRepository { /// <summary> /// IRoleRepository /// </summary> public interface IRoleRepository : IBaseRepository<Role>//类名 { } }
UTE/UT_Escobedo/UT_Escobedo/Model/UT_Bus.cs
EsauMtzxD/UTE
0
7041881
using System; using System.Collections.Generic; using System.Text; namespace UT_Escobedo.Model { public class UT_Bus { public int Id { get; set; } public string Ruta { get; set; } public string Image { get; set; } } }
src/Dnb.Domain/Entities/EntityBase.cs
rudee/dotnetboilerplate
0
7041882
<reponame>rudee/dotnetboilerplate using System; namespace Dnb.Domain.Entities { public abstract class EntityBase<TPrimaryKey, TUserId> : IEntity<TPrimaryKey, TUserId> where TPrimaryKey : struct where TUserId : struct { public virtual TPrimaryKey Id { get; set; } ...
src/Microsoft.DotNet.Wpf/src/UIAutomation/UIAutomationTypes/System/Windows/Automation/ControlType.cs
jonfortescue/wpf
5,937
7041883
// 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. // Description: Identifier for Automation ControlTypes using System; using MS.Internal.Automation; namespace Syst...
src/Tests/Financier.Desktop.Tests/ViewModel/Dialog/TransactionDialogVMTest.cs
vov4uk/FinancistoAdapter
0
7041884
<reponame>vov4uk/FinancistoAdapter namespace Financier.Desktop.Tests.ViewModel.Dialog { using System; using System.Collections.Generic; using Financier.DataAccess.Data; using Financier.Desktop.Data; using Financier.Desktop.Helpers; using Financier.Desktop.ViewModel.Dialog; using Financier.D...
AdventOfCode2020/Day03.cs
patboyer/advent_of_code_2020
0
7041885
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace AdventOfCode2020 { public class Day03 : IDay { private List<string> _input; private const char TILE_TREE = '#'; private const char TILE_SPACE = ' ...
VTC-ISSF2020-SchedulingSystem/ISSF2020/obj/Debug/netcoreapp3.1/Razor/Pages/Account/Register.cshtml.g.cs
wAikAp/Intelligent-Energy-Management-System-for-Buildings-INB
10
7041886
#pragma checksum "/Users/shingwaichan/Desktop/INB/VTC-ISSF2020-SchedulingSystem/ISSF2020/Pages/Account/Register.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1aa33073b89c53b686acedc12bbff54786cf1b8e" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompile...
Source/UnitTestsVSTS/MultiDictionaryTests.cs
pirocorp/Wintellect.PowerCollections
27
7041887
<reponame>pirocorp/Wintellect.PowerCollections //****************************** // Written by <NAME> // Copyright (c) 2004-2007, Wintellect // // Use and restribution of this code is subject to the license agreement // contained in the file "License.txt" accompanying this file. //****************************** using...
LegacyParser/CodeBlocks/Handlers/NewInstanceHandler.cs
dionrhys/vbscripttranslator
4
7041888
<reponame>dionrhys/vbscripttranslator using System; using System.Collections.Generic; using VBScriptTranslator.LegacyParser.CodeBlocks.Basic; using VBScriptTranslator.LegacyParser.Tokens; using VBScriptTranslator.LegacyParser.Tokens.Basic; namespace VBScriptTranslator.LegacyParser.CodeBlocks.Handlers { pu...
aspnet-core/src/Tiger.EntityFrameworkCore/Business/Members/MemberLoginLogEfCoreQuerableExtensions.cs
AllenHongjun/tiger_admin
1
7041889
using System.Linq; using Microsoft.EntityFrameworkCore; namespace Tiger.Business.Members { public static class MemberLoginLogEfCoreQueryableExtensions { public static IQueryable<MemberLoginLog> IncludeDetails(this IQueryable<MemberLoginLog> queryable, bool include = true) { ...
Dubot.Data/Models/BotCommandParameter.cs
solarcloud7/Dubot
0
7041890
<filename>Dubot.Data/Models/BotCommandParameter.cs // <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated> using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrame...
src/engine/input/MouseWrapper.cs
gargrave/SpaceJunk
0
7041891
using UnityEngine; namespace gkh { public class MouseWrapper : MonoBehaviour { #region fields and properties /* whether the mouse has moved since the last frame */ public static bool MouseHasMoved { get { return mousePos != previousMousePos; } } /* the current adjusted screen p...
Aspose.Import from PDF/Aspose.Import from PDF/Aspose.ImportfromPdf.ascx.designer.cs
asposemarketplace/Aspose_for_Umbraco
1
7041892
//------------------------------------------------------------------------------ // <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> //----------------------------------------...
CSharpEvolution/CSharp4/Dynamic.cs
adolfosilva/csharp-presentation
0
7041894
<gh_stars>0 using System; namespace CSharpEvolution.CSharp4 { public static class DynamicExamples { private static void PrintString(string a) { Console.WriteLine(a); } public static void Example1() { dynamic a = "A simple string"; Pr...
src/SageLiveAccess/Models/Auth/SageLiveRefreshToken.cs
agileharbor/SageLiveAcces
0
7041895
<filename>src/SageLiveAccess/Models/Auth/SageLiveRefreshToken.cs namespace SageLiveAccess.Models.Auth { public class SageLiveRefreshToken { public readonly string _refreshToken; public SageLiveRefreshToken( string refreshToken ) { this._refreshToken = refreshToken; } } }
MyFitnessApp/Web/MyFitnessApp.Web/Filters/RestrictUsersWithNoProfileAttribute.cs
GeorgiGradev/MyFitnessApp
18
7041896
<reponame>GeorgiGradev/MyFitnessApp<gh_stars>10-100 namespace MyFitnessApp.Web.Filters { using System; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Routing; using MyFitnessApp.Data.Models; using MyFi...
BESL.Application.Tests/Matches/Queries/EditMatchResult/EditMatchResultQueryTests.cs
SonnyRR/BESL
11
7041897
<gh_stars>10-100 namespace BESL.Application.Tests.Matches.Queries.EditMatchResult { using System; using System.Threading; using System.Threading.Tasks; using AutoMapper; using Moq; using Shouldly; using Xunit; using BESL.Application.Exceptions; using BESL.Application.Interfaces; ...
GreekHealthcareNetwork/GreekHealthcareNetwork/Controllers/AdminController.cs
karabasisilias92/greek-healthcare-network
0
7041898
using GreekHealthcareNetwork.Models; using GreekHealthcareNetwork.Repositories; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Web; using System.W...
SpaceSimulator.Common/Rendering2D/RenderingImage2D.cs
svenslaggare/SpaceSimulator.NET
4
7041899
<reponame>svenslaggare/SpaceSimulator.NET using System; using System.Collections.Generic; using System.Drawing.Imaging; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using SharpDX; using SharpDX.Direct2D1; using SharpDX.DXGI; namespace SpaceSimulator.Common....
ParkourGame/Assets/Scripts/Player/PlayerMovement.cs
Joji-S/ParkourMovement
0
7041900
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(PlayerLook))] [RequireComponent(typeof(PlayerInput))] public class PlayerMovement : MonoBehaviour { /// <summary> /// Notes: /// /// ledge climb - /// hoo...
SuperNAT.Bll/RequestBll.cs
maidouofgithub/SuperNAT
185
7041901
<reponame>maidouofgithub/SuperNAT using SuperNAT.Dal; using SuperNAT.Model; using System; using System.Collections.Generic; using System.Text; namespace SuperNAT.Bll { public class RequestBll { /// <summary> /// 数据访问层 /// </summary> private readonly RequestDal requestDal = new ...
src/SaaS/Application/TenantDataDictionary.cs
cnsharp/ESF
0
7041902
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Enterprise.Application; using Enterprise.Domain; namespace Enterprise.SaaS.Application { public class TenantDataDictionary : DataDictionary,ITenant { #region Implementation of ITenant<string> ...
Ginger/GingerCore/Actions/ActWebService.cs
gautii24/Ginger
0
7041903
#region License /* Copyright © 2014-2019 European Support Limited 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 a...
Tools/1 - Common/MoCommon/System/FSyncThread.cs
favedit/MoCross
3
7041904
<gh_stars>1-10 using System.Threading; namespace MO.Common.System { //============================================================ // <T>同步化线程。</T> //============================================================ public class FSyncThread : MThread { // 同步环境 protected SynchronizationContext _sy...
src/Plato.Redis/Collections/RedisStack.cs
reflectsoftware/Plato.Core
5
7041905
// Plato.Core // Copyright (c) 2020 ReflectSoftware Inc. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Plato.Redis.Interfaces; using StackExchange.Redis; using System; using System.Collections; using System.Collections.Generic; using System.Linq...
QIQO.Business.Module.General/Modules/StatusBarModule.cs
rdrrichards/QIQO.Business.Client.Solution
12
7041906
using Prism.Ioc; using Prism.Modularity; using Prism.Regions; using QIQO.Business.Client.Core.Infrastructure; using QIQO.Business.Module.General.Views; namespace QIQO.Business.Module.General.Modules { public class StatusBarModule : IModule { public void OnInitialized(IContainerProvider containerProvid...
BehaviorDesigner/Runtime/Tasks/Unity/UnityRigidbody/WakeUp.cs
SinsofSloth/RF5-global-metadata
1
7041907
<reponame>SinsofSloth/RF5-global-metadata<filename>BehaviorDesigner/Runtime/Tasks/Unity/UnityRigidbody/WakeUp.cs [TaskCategoryAttribute] // RVA: 0x1509A0 Offset: 0x150AA1 VA: 0x1509A0 [TaskDescriptionAttribute] // RVA: 0x1509A0 Offset: 0x150AA1 VA: 0x1509A0 public class WakeUp : Conditional // TypeDefIndex: 11156 { //...
WDLT.Clients.Steam/Models/UserProfile.cs
waidelotte/WDLT.Clients.Steam
3
7041908
<reponame>waidelotte/WDLT.Clients.Steam namespace WDLT.Clients.Steam.Models { public class UserProfile { public long Id { get; set; } public string Login { get; set; } public string Avatar { get; set; } public UserWallet Wallet { get; set; } } }
test/SignalrHost/Startup.cs
flwn/signalr-ts
0
7041909
<gh_stars>0 using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.AspNet.StaticFiles; using Microsoft.Extensions.DependencyInjection; namespace SignalrHost { public class Startup { // This method gets called by the runtime. Use this method to add services to the container. ...
src/TCDev.APIGenerator/Extension/Auth/ClaimsExtension.cs
DeeJayTC/net-dynamic-api
10
7041910
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Text; using System.Threading.Tasks; namespace TCDev.APIGenerator.Extension.Auth { public static class ClaimsPrincipalExtensions { public static string GetCacheId(this ClaimsPrincipal user) ...
SkribbleIntegration/CustomActions/Helpers/SkribbleHelper.cs
WEBCON-BPS/BPSExt-Signing-Skribble
0
7041911
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using WebCon.BpsExt.Signing.Skribble.CustomActions.Models; using WebCon.BpsExt.Signing.Skribble.CustomActions.Models.Configuration; namespace ...
Assets/Scripts/Crosshair.cs
ThaiDuongVu/MoonPath
0
7041912
using UnityEngine; using UnityEngine.UI; public class Crosshair : MonoBehaviour { [SerializeField] private Sprite _crosshairNormal; [SerializeField] private Sprite _crosshairRaycast; private Image _image; private Camera _camera; public Color32 normalColor; public Color32 raycastColor; ...
Source/nt.Server/Features/WebThree/Contracts/NftCreator/MintNftOfType/MintNftOfTypeServerFeaturesHandler.cs
stefanbemelmans/HercContractsToTimewarp
1
7041913
<filename>Source/nt.Server/Features/WebThree/Contracts/NftCreator/MintNftOfType/MintNftOfTypeServerFeaturesHandler.cs namespace nt.Server.Features.WebThree.Contracts.NftCreator.MintNftOfType { using MediatR; using nt.Shared.Features.WebThree.Contracts.NftCreator.MintNftOfType; using nt.Server.Services.WebThree.C...
DigitalLearningSolutions.Data/DataServices/RegistrationDataService.cs
TechnologyEnhancedLearning/DLSV2
2
7041914
<filename>DigitalLearningSolutions.Data/DataServices/RegistrationDataService.cs namespace DigitalLearningSolutions.Data.DataServices { using System.Data; using System.Transactions; using Dapper; using DigitalLearningSolutions.Data.Models.Register; public interface IRegistrationDataService ...
RandomNumbers/RandomNumbers/Properties/AssemblyInfo.cs
relianz/Random-Numbers
2
7041916
<filename>RandomNumbers/RandomNumbers/Properties/AssemblyInfo.cs /* The MIT License Copyright 2018, Dr.-Ing. <NAME>, München (<EMAIL>) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without r...
src/AttributeRouting.Tests.Web/Controllers/NestedController.cs
PrintFleet/AttributeRouting
92
7041917
<gh_stars>10-100 using System.Web.Mvc; using AttributeRouting.Web; using AttributeRouting.Web.Mvc; namespace AttributeRouting.Tests.Web.Controllers { [RoutePrefix("Resources/{resourceId}")] public class NestedController : ControllerBase { [GET("Nested")] public ActionResult Index(int resou...
DemoTransformBox/UI/TransformPoint.cs
jogibear9988/transformbox
2
7041918
using System; namespace DemoTransformBox.UI { public enum TransformPoint { NaN = 0, A = 1, B = 2, C = 3, D = 4, E = 5, F = 6, G = 7, H = 8, CentralPoint = 9 }; }