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
Chit Chat/Helper/Extensions/TextBoxExtensions.cs
Sound932/Chit-Chat
16
7025427
<filename>Chit Chat/Helper/Extensions/TextBoxExtensions.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media.Imaging; namespace ChitChat.Helper.Extensions { p...
NetBungieAPI/Models/Destiny/Definitions/EnemyRaces/DestinyEnemyRaceDefinition.cs
Tailtinn/.NetBungieAPI
0
7025428
<reponame>Tailtinn/.NetBungieAPI using System.Text.Json.Serialization; using NetBungieAPI.Attributes; using NetBungieAPI.Models.Destiny.Definitions.Common; namespace NetBungieAPI.Models.Destiny.Definitions.EnemyRaces { [DestinyDefinition(DefinitionsEnum.DestinyEnemyRaceDefinition)] public sealed record Destin...
MailKit/Security/Ntlm/MessageBase.cs
prettyuser/MailKitClient
0
7025429
// // Mono.Security.Protocol.Ntlm.MessageBase // abstract class for all NTLM messages // // Author: // <NAME> <<EMAIL>> // // Copyright (C) 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // References // a. NTLM Authentication Scheme for HTTP, Ronald Ts...
src/AddIns/DisplayBindings/Data/ICSharpCode.Data.EDMDesigner.Core.UI/Converters/InheritanceRelationToVisibleConverter.cs
dongdapeng110/SharpDevelopTest
11
7025430
<gh_stars>10-100 // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) #region Usings using System; using System.Globalization; using System.Windows; using System.Windows.Data; us...
CSharp/Contests2019/CFGR005/A.cs
sakapon/Codeforces-Contests
0
7025431
using System; using System.Linq; class A { static void Main() => Console.WriteLine(Solve()); static object Solve() { var n = int.Parse(Console.ReadLine()); var a = Array.ConvertAll(new bool[n], _ => int.Parse(Console.ReadLine())); var b = new int[n]; for (int i = 0; i < n; i++) b[i] = (a[i...
src/HelloiOS13/Helpers/REPL/ReplVC.cs
rdavisau/hello-ios13
9
7025432
<reponame>rdavisau/hello-ios13<filename>src/HelloiOS13/Helpers/REPL/ReplVC.cs using System; using ARKitMeetup; using ARKitMeetup.Helpers; using UIKit; using Xamarin.Forms; namespace HelloiOS13.Helpers.REPL { public class ReplVC : UIViewController { public ReplPage ReplPage { get; private set; } ...
Assets/Script/Labyrinthe/Labyrinthe.cs
Norskel/Labyrinthe
0
7025433
<reponame>Norskel/Labyrinthe using System.Collections; using System.Collections.Generic; using System.IO; using System.Xml.Serialization; using UnityEngine; public class Labyrinthe : MonoBehaviour { private int xD = 0; //position de début du labyrinthe en x private int zD = 0; //position de début du labyr...
src/Taskling/Fluent/ListBlocks/IFluentListBlockDescriptorBase.cs
Vanlightly/Taskling.NET
70
7025434
<reponame>Vanlightly/Taskling.NET using System; using System.Collections.Generic; using System.Linq; using System.Text; using Taskling.Blocks.ListBlocks; namespace Taskling.Fluent { public interface IFluentListBlockDescriptorBase<T> { IOverrideConfigurationDescriptor WithSingleUnitCommit(List<T> value...
UI/UIPanels/ShapesDrawerUI/BezierCurve.cs
slippycheeze/BuilderEssentials
2
7025435
using System; using System.Collections.Generic; using System.Drawing; using BuilderEssentials.Items; using BuilderEssentials.Utilities; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace BuilderEssentials.UI.UIPanels.ShapesDrawe...
ServerModManager/Util/Help.cs
ItsMajestiX/ServerModManager
1
7025436
using System; namespace ServerModManager.Util { class Help { //Show help statements public static void MainHelp() { Console.WriteLine("USAGE:\n" + "scpman help: Displays this message.\n" + "scpman install: Installs packages.\n" + ...
Program.cs
bimsherwood/SBVTranslator
0
7025438
using System; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; namespace SBVTranslator { class Program { static async Task Main(string[] args) { // Read settings var options = new Options(args); ...
myBrowser/Form1.cs
kristianfzr/Web-Browser
0
7025439
<reponame>kristianfzr/Web-Browser using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace myBrowser { public partial class frmMain : Form { ...
src/HotChocolate/Core/src/Types/Types/Descriptors/ObjectTypeExtensionDescriptor~1.cs
vbornand/hotchocolate
0
7025440
<reponame>vbornand/hotchocolate<filename>src/HotChocolate/Core/src/Types/Types/Descriptors/ObjectTypeExtensionDescriptor~1.cs #nullable enable namespace HotChocolate.Types.Descriptors { public class ObjectTypeExtensionDescriptor<T> : ObjectTypeDescriptorBase<T> { protected internal ObjectTypeEx...
Assets/AI/Actions/PlayAudio.cs
heitor57/one-week-ai
1
7025441
<reponame>heitor57/one-week-ai<filename>Assets/AI/Actions/PlayAudio.cs using UnityEngine; using System.Collections; using System.Collections.Generic; using RAIN.Action; using RAIN.Core; using RAIN.Representation; using RAIN.Serialization; [RAINAction] public class PlayAudio : RAINAction { AudioAspect aud...
src/Castle.Windsor.Tests/InterceptorsTestCase.cs
jonwingfield/Windsor
1
7025442
<gh_stars>1-10 // 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 License at // // http://www.apache.org/licenses/LICEN...
The Wizard Journey/Assets/UI_Elements/Warforge Mobile UI/Scripts/Enums, Structs and Serializables/UIItemSlot_Group.cs
AlejoJauregui/The-Wizard-Journey
10
7025443
<reponame>AlejoJauregui/The-Wizard-Journey using UnityEngine; using System; namespace DuloGames.UI { [Serializable] public enum UIItemSlot_Group : int { None = 0, Inventory = 1 } }
PlaygroundDotNet/PlaygroundDotNet/Managers/CountriesManager.cs
jayseaCODE/PlaygroundDotNet
0
7025444
using Newtonsoft.Json; using PlaygroundDotNet.Models; using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace PlaygroundDotNet.Managers { public class CountriesManager { HttpClient _httpClient; Country[...
Toscana.Tests/ToscaFloatDataTypeConverterTests.cs
QualiSystems/Toscana
5
7025445
<filename>Toscana.Tests/ToscaFloatDataTypeConverterTests.cs using FluentAssertions; using NUnit.Framework; namespace Toscana.Tests { [TestFixture] public class ToscaFloatDataTypeConverterTests { [Test] public void CanConvert_Should_Be_True_For_Float() { // Arrange ...
Riverport/Hero/Fenrir/Feral/GeekAndSunderCardController.cs
DrakoGlyph/Riverport
1
7025446
<filename>Riverport/Hero/Fenrir/Feral/GeekAndSunderCardController.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using Handelabra.Sentinels.Engine.Model; using Handelabra.Sentinels.Engine.Controller; using System.Collections; namespace Riverport.Fenrir { public class Geek...
Gui/DlgFillLogic.cs
Baltasarq/Colorado
2
7025447
<reponame>Baltasarq/Colorado // Colorado (c) 2015-2018 Baltasar MIT License <<EMAIL>> namespace Colorado.Gui { public partial class DlgFill { public string FillValue { get { return this.edValue.Text; } } public Core.Filler.FillType KindOfFill { get { ...
Controllers/ComputersController.cs
kysu1313/ITSearch
0
7025448
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using ITSearch.Data; using ITSearch.Models; using ITSearch.Models.ViewModels; using NinjaNye.SearchExtensions; ...
test/Microsoft.ML.PerformanceTests/Helpers/EnvironmentFactory.cs
husains/machinelearning
8,130
7025449
// 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 Microsoft.ML.Data; using Microsoft.ML.Runtime; using Microsoft.ML.Trainers; using Microsoft.ML.Transforms; n...
MyONez.AdditionalContent/Effects/BloomExtractEffect.cs
ApmeM/FloodItBot
0
7025450
namespace MyONez.AdditionalContent.Effects { using Microsoft.Xna.Framework.Graphics; public class BloomExtractEffect : Effect { private readonly EffectParameter bloomThresholdParam; public const string EffectAssetName = ContentPaths.Effects.bloomExtract; public BloomExt...
src/Celestial.UIToolkit.Core.Tests/Converters/GroupConverterTests.cs
manuelroemer/Celestial.UIToolkit
35
7025451
using Celestial.UIToolkit.Converters; using System; using Xunit; namespace Celestial.UIToolkit.Tests.Converters { public class GroupConverterTests { [Fact] public void UsesMultipleConverters() { var converter = new GroupConverter(); converter.Add(new MathOpera...
Jurassic/Library/Array/ArrayIterator.cs
ackava/jurassic
0
7025452
using System; using System.Collections.Generic; using System.Diagnostics; namespace Jurassic.Library { /// <summary> /// Represents an iteration over an array-like object. /// </summary> [DebuggerDisplay("{DebuggerDisplayValue,nq}", Type = "{DebuggerDisplayType,nq}")] [DebuggerTypeProxy(typeof(Obj...
1. Деревья поиска/0.1. Построить дерево #3534/[OK]211567.cs
godnoTA/acm.bsu.by
19
7025453
using System; using System.IO; namespace BT { class MainClass { public static void Main (string[] args) { StreamReader fo = new StreamReader ("input.txt"); BinaryTree bt = new BinaryTree (); String s=""; while((s=fo.ReadLine())!=null) { bt.Add (long.Parse(s)); } fo.Clos...
TOPOBOX.OSC.TeamsTool/Views/TasksForm.xaml.cs
geoboxag/TOPOBOX.OSC.TeamsTool
0
7025454
<filename>TOPOBOX.OSC.TeamsTool/Views/TasksForm.xaml.cs<gh_stars>0 using System; using System.Windows; using System.Windows.Controls; using TOPOBOX.OSC.TeamsTool.ViewModels; namespace TOPOBOX.OSC.TeamsTool.Views { /// <summary> /// Interaction logic for TasksForm.xaml /// </summary> public partial cl...
src/TrocaBolas.Web/Views/HomepageTemplate.cshtml
nunofilipecosta/trocabolas
0
7025455
<gh_stars>0 @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "PageBaseTemplate.cshtml"; } <div class="jumbotron"> <h1>ASP.NET</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="http://asp.net" ...
LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWan.NetworkServer/FunctionBundler/PreferredGatewayResult.cs
poppywood/iotedge-lorawan-starterkit
0
7025456
<reponame>poppywood/iotedge-lorawan-starterkit<gh_stars>0 // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace LoRaWan.NetworkServer { using Newtonsoft.Json; /// <summary> /// Defines a preferred ga...
src/Tests/Testing.Common/Testing/AdditionalFile.cs
PrimoDev23/Roslynator
2,374
7025457
<gh_stars>1000+ // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; namespace Roslyna...
src/Input/Silk.NET.Input.Desktop/Collections/GlfwAxisCollection.cs
fossabot/Silk.NET
0
7025458
<reponame>fossabot/Silk.NET<filename>src/Input/Silk.NET.Input.Desktop/Collections/GlfwAxisCollection.cs // This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Collections; using System.Collectio...
DialogflowCore/WebhookRequest.cs
zapiko/DialogflowCore
0
7025459
using System; namespace DialogflowCore { public class WebhookRequest { public String responseId { get; set; } public QueryResult queryResult { get; set; } //TODO: Implement originalDetectIntentRequest for each platform public Object originalDetectIntentRequest { get; set; } ...
HotUpdate/AssetBundleFramework/Assets/Scripts/Data/BundleData.cs
maplelearC/Unity3DTraining
3,914
7025460
<gh_stars>1000+ using System.Collections; using System.Collections.Generic; using UnityEngine; public class BundleData { static BundleData instance; public static BundleData Instance { get { if (instance == null) instance = new BundleData(); retur...
Assets/_Scripts/Listeners/PlayerListener.cs
evilotaku/CSharp-Enjin-SDK-Sample-Project
1
7025461
<gh_stars>1-10 using System; using Enjin.SDK.Events; using Enjin.SDK.Models; public class PlayerListener : IEventListener { public static event Action PlayerLinked, PlayerCreated, PlayerDeleted, PlayerUnlinked, PlayerUpdated; public void NotificationReceived(NotificationEvent notificationEvent) { ...
Sources/Steepshot/Steepshot.Core/Models/Common/Thumbnails.cs
pmartynov/steepshot-mobile
17
7025462
<reponame>pmartynov/steepshot-mobile using Newtonsoft.Json; namespace Steepshot.Core.Models.Common { [JsonObject(MemberSerialization.OptIn)] public class Thumbnails { private string _micro; private string _mini; /// <summary> /// *256x256 /// </summary> [J...
Gruyere/Views/Flavor/Edit.cshtml
meilar/Gruyere.Solution
0
7025463
@{ Layout = "_Layout"; } <div class="container"> @await Html.PartialAsync("_Navbar") @model Gruyere.Models.Flavor <div class="card card-body"> <h5 class="card-title">Editing: @Model.Name</h5> <form action="~/Flavor/Edit" method="post"> @Html.HiddenFor(model => model.FlavorId) <div class="for...
common/HR.TA.CommonLibrary/HR.TA.Common/Common/Common.Base/Configuration/FabricXmlConfigurationSource.cs
nirajindi/msrecruit-scheduling-engine
8
7025464
<reponame>nirajindi/msrecruit-scheduling-engine<gh_stars>1-10 //----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //-----------------------------------------------------------------------'r'n namespace HR.TA.Common.Base.Co...
Roll-a-Ball/Assets/Script/DangerWall.cs
kugimasa/unityStudy
0
7025465
using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; public class DangerWall : MonoBehaviour { private void OnCollisionEnter(Collision hit) { if(hit.gameObject.CompareTag ("Player")){ int sceneIndex = SceneManager.GetActiveScene().buildIndex; S...
src/Tests.Old/CodeFixes.Tests.Old/CS0710_StaticClassesCannotHaveInstanceConstructors.cs
ProphetLamb-Organistion/Roslynator
0
7025466
<reponame>ProphetLamb-Organistion/Roslynator<gh_stars>0 // Copyright (c) <NAME> and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading.Tasks; namespace Roslynator.CSharp.CodeFixes.Tests { internal static ...
Source/TokenManager/Data/Interfaces/ITokenData.cs
hedipo/SCTokenManager
10
7025467
<reponame>hedipo/SCTokenManager namespace TokenManager.Data.Interfaces { public interface ITokenData { string Name { get; set; } string Label { get; set; } bool Required { get; set; } string AngularMarkup { get;} dynamic Data { get;} object GetValue(string value); } }
src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/TextDataFormat.cs
KodamaSakuno/wpf
5,937
7025468
<gh_stars>1000+ // 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: Specifies the text data formats that can be used to query, get // ...
Kyles-Fantastic-Dialogue-System/Library/PackageCache/com.unity.quicksearch@3.0.0-preview.8/Editor/Indexing/AssetIndexer.cs
smuth98/Kyles-Fantastic-Dialogue-System
0
7025469
<reponame>smuth98/Kyles-Fantastic-Dialogue-System<gh_stars>0 //#define DEBUG_INDEXING using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using UnityEditor.SceneManagement; using UnityEngine; using Object = UnityEngine.Object; namespace UnityEditor...
src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/TaintedDataAnalysis/PooledHashSetExtensions.cs
wagnerhsu/dotnet-roslyn-analyzers
0
7025470
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Analyzer.Utilities.PooledObjects; using Microsoft.CodeAnalys...
src/System.CommandLine.Tests/Utility/ReleaseBuildOnlyTheoryAttribute.cs
adamsitnik/command-line-api
0
7025471
<gh_stars>0 // Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Xunit; namespace System.CommandLine.Tests.Utility; public class ReleaseBuildOnlyTheoryAttribute : TheoryAttribute { publ...
Scripts/Models/Themes/ExternalThemes.cs
PhantomGamers/GalacticScale3
0
7025472
namespace GalacticScale { public static partial class GS2 { public static ThemeLibrary externalThemes = new(); public static class ExternalThemeProcessor { public static void LoadEnabledThemes() { LogJson(Config.ExternalThemeNames); ...
GitActionSharp.Tests.Unit/Services/WorkflowServiceTests.Logic.cs
ShriHumrudha/GitActionSharp
0
7025473
// --------------------------------------------------------------- // Copyright (c) <NAME> All rights reserved. // --------------------------------------------------------------- using GitActionSharp.Models.Workflows; using Moq; using Xunit; namespace GitActionSharp.Tests.Unit.Services { public partial class Wor...
src/Owlvey.Falcon.Components/Models/IncidentRp.cs
owlvey/owlvey_falcon
0
7025474
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using Owlvey.Falcon.Core; namespace Owlvey.Falcon.Models { public class IncidentBaseRp { public int Id { get; set; } public string Key { get; set; } public string Cre...
LoginAPI.EF/Models/RefreshToken.cs
luguima/LoginAPI
0
7025475
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LoginAPI.EF.Models { public class RefreshToken { public RefreshToken() { Id = Guid.NewGuid(); Token = Guid.NewGuid(); } public ...
Tests/Tests.BugFinding/ConcurrencyFuzzing/FuzzingFallbackTests.cs
ScriptBox99/microsoft-coyote
1,233
7025476
<reponame>ScriptBox99/microsoft-coyote<filename>Tests/Tests.BugFinding/ConcurrencyFuzzing/FuzzingFallbackTests.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Threading; using Microsoft.Coyote.Tests.Common.Tasks; using Xunit; using Xunit.Abstractions; namespace Microsoft.Co...
src/Pretzel.Tests/YamlExtensionsTests.cs
markvantilburg/pretzel
1
7025477
<filename>src/Pretzel.Tests/YamlExtensionsTests.cs<gh_stars>1-10 using System.Collections.Generic; using System.IO; using Pretzel.Logic.Extensions; using Xunit; namespace Pretzel.Tests { public class YamlExtensionsTests { public class YamlHeaderTests { [Fact] public voi...
Vialinker Source/BaseVialinkerCommerceApps/Presentation/Nop.Web/obj/Release/Package/PackageTmp/Administration/Views/Product/_CreateOrUpdate.cshtml
atiq-shumon/DotNetProjects
3
7025478
@model ProductModel @Html.ValidationSummary(false) @Html.HiddenFor(model => model.Id) <script> $(document).ready(function () { $("#product-edit").kendoTabStrip({ animation: { open: { effects: "fadeIn" } }, select: tabs...
WinFormsApp1/WinFormsApp1/Form1.Designer.cs
macedoaemg/AplicacaoWindowsFTI
0
7025479
 namespace WinFormsApp1 { partial class FCurso { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
BlueSheep/Common/Protocol/types/game/prism/AllianceInsiderPrismInformation.cs
Sadikk/BlueSheep
22
7025480
// Generated on 12/11/2014 19:02:11 using System; using System.Collections.Generic; using System.Linq; using BlueSheep.Common.IO; namespace BlueSheep.Common.Protocol.Types { public class AllianceInsiderPrismInformation : PrismInformation { public new const short ID = 431; public override short Ty...
Kodestruct/Analysis/Section/AISC/ShapeDetailingParameters.cs
Kodestruct/Kodestruct.Dynamo
7
7025481
<gh_stars>1-10 #region Copyright /*Copyright (C) 2015 <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 applica...
TDD/Inlämning1/Sanjin/Sanjin_inlamning_g/Shape/GeometricThing.cs
marcusjobb/NET20D
1
7025482
<reponame>marcusjobb/NET20D<filename>TDD/Inlämning1/Sanjin/Sanjin_inlamning_g/Shape/GeometricThing.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sanjin_inlamning_g.Shape { public abstract class GeometricThing { ...
src/Aether.Components/Components/TextureComponent.cs
nkast/MGJ3
1
7025483
<reponame>nkast/MGJ3<filename>src/Aether.Components/Components/TextureComponent.cs<gh_stars>1-10 using Microsoft.Xna.Framework.Graphics; using tainicom.Aether.Elementary; using tainicom.Aether.Elementary.Visual; using tainicom.Aether.Elementary.Serialization; using tainicom.Aether.Engine; using tainicom.Aether.MonoGam...
ZbW.Testing.Dms.Client/Model/AppSettings.cs
mihl9/ZbW.Testing.Dms
0
7025484
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZbW.Testing.Dms.Client.Model { public class AppSettings { public string RepositoryPath { get; set; } } }
src/Endpoints/MongoDb/UnitOfWork.cs
sucrose0413/eShopOnContainersDDD
143
7025485
<filename>src/Endpoints/MongoDb/UnitOfWork.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Aggregates; using Aggregates.UnitOfWork.Query; using Infrastructure; using Infrastructure.Extensions; using MongoDB.Bson; using MongoDB.Driver; using S...
src/Exceptional/Settings/ExceptionalSettings.cs
rudidlo/ExceptionalReSharper
137
7025487
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Application.Settings; using JetBrains.Application.Settings.WellKnownRootKeys; using JetBrains.ReSharper.Psi; using JetBrains.Util.Logging; namespace ReSharper.Exceptional.Settings { [SettingsKey(typeof(EnvironmentSettings), "Except...
dotnet/pscoretest/Program.cs
popkinj/itvr
0
7025488
using System; using System.Threading; using System.Management.Automation; namespace pscoretest // Note: actual namespace depends on the project name. { internal class Program { static void Main(string[] args) { using (PowerShell ps = PowerShell.Create()) { ...
src/ISUF.Base/Enum/AppTheme.cs
JanRajnoha/ISUF
2
7025489
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; namespace ISUF.Base.Enum { /// <summary> /// App themes /// </summary> public enum AppTheme { System = 0, Light = ApplicationTheme.Light, ...
src/PTView/PTViewClient/PTView/Driver/DriverInterface.cs
VollRagm/PTView
73
7025490
<filename>src/PTView/PTViewClient/PTView/Driver/DriverInterface.cs<gh_stars>10-100 using System; using System.IO; using static PTViewClient.PTView.Native; using static PTViewClient.PTView.Driver.Internal.Constants; using System.Linq; using System.Windows.Forms; using System.Runtime.InteropServices; namespace PTViewCl...
src/Microsoft.EntityFrameworkCore.Relational/Query/Expressions/SqlFunctionExpression.cs
davidroth/EntityFrameworkCore
0
7025491
<reponame>davidroth/EntityFrameworkCore<gh_stars>0 // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Di...
ToMigrate/Raven.Database/Server/Controllers/StatisticsController.cs
ryanheath/ravendb
1
7025492
<gh_stars>1-10 using System.Net.Http; using System.Web.Http; using Raven.Database.Server.WebApi.Attributes; namespace Raven.Database.Server.Controllers { public class StatisticsController : BaseDatabaseApiController { [HttpGet] [RavenRoute("stats")] [RavenRoute("databases/{d...
MilitantChickensTransferProtocol.UnitTests/UnitTests.cs
abbottjord94/MilitantChickens-TP
0
7025493
<filename>MilitantChickensTransferProtocol.UnitTests/UnitTests.cs using MilitantChickensTranferProtocol.Library; using MilitantChickensTransferProtocol.Terminal; using MilitantChickensTransferProtocol.Server; using NUnit.Framework; using System.Text; using System; using System.IO; using System.Collections.Generic; usin...
Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/OutputStreamPoller.cs
Restok/MediaPipeUnityPlugin
634
7025494
<filename>Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/OutputStreamPoller.cs // Copyright (c) 2021 homuler // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. using System; namespace Mediapipe { p...
src/ChoETL/File/KeyValue/ChoKVPRecordFieldConfiguration.cs
ebptwllc/ChoETL
1
7025495
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace ChoETL { [DataContract] public class ChoKVPRecordFieldConfiguration : ChoFileRecordFieldConfiguration ...
src/FreshMvvmApp/PageModels/ModalPageModel.cs
XAM-Consulting/FreshMvvm.Maui
9
7025496
using System; using FreshMvvm.Maui; using Microsoft.Maui.Controls; namespace FreshMvvmApp { public class ModalPageModel : FreshBasePageModel { public ModalPageModel () { } public Command CloseCommand { get { return new Command (() => { ...
cocos2d/actions/action_grid/CCAccelDeccelAmplitude.cs
Karunp/cocos2d-xna
13
7025497
<filename>cocos2d/actions/action_grid/CCAccelDeccelAmplitude.cs<gh_stars>10-100 using System; namespace Cocos2D { public class CCAccelDeccelAmplitude : CCActionInterval { protected float m_fRate; protected CCActionInterval m_pOther; public float Rate { get { return ...
src/GRA.Controllers/ViewModel/Join/Step3ViewModel.cs
iafb/gra4
1
7025498
<filename>src/GRA.Controllers/ViewModel/Join/Step3ViewModel.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; namespace GRA.Controllers.ViewModel.Join {...
Cesium.CodeGen/Ir/Expressions/LValues/LValueParameter.cs
kant2002/Cesium
1
7025499
using Cesium.CodeGen.Contexts; using Mono.Cecil; using Mono.Cecil.Cil; namespace Cesium.CodeGen.Ir.Expressions.LValues; internal class LValueParameter : ILValue { private readonly ParameterDefinition _definition; public LValueParameter(ParameterDefinition definition) { _definition = definition; ...
csharpcore/GildedRose/Models/ProgramOptions.cs
leo1553/GildedRose-Refactoring-Kata
0
7025500
<reponame>leo1553/GildedRose-Refactoring-Kata<gh_stars>0 using GildedRoseKata.Enums; namespace GildedRoseKata.Models { public class ProgramOptions : IProgramOptions { public LogStrategies LogStrategy { get; set; } public int DaysToSimulate { get; set; } = 30; } }
06-HandmadeWebServer-GameStore-Bootstrap/HttpServer/Server/Common/InternalServerErrorView.cs
DannyBerova/CSharp-Web-Development-Basics-May-2018
1
7025501
<gh_stars>1-10 namespace HttpServer.Server.Common { using System; using Contracts; public class InternalServerErrorView : IView { private readonly Exception exception; public InternalServerErrorView(Exception ex) { this.exception = ex; } public st...
FBB/Program.cs
Mortens4444/ApplicationBlocker
1
7025502
<reponame>Mortens4444/ApplicationBlocker using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using System.Threading; namespace FBB { class Program { [DllImport("User32.dll")] static extern bool ShowWindow(IntPtr WindowHandle, nCmdShow nCmdSh...
src/App.Application/Blog/ITagsService.cs
totoo1024/Blog5.0
2
7025503
using System.Collections.Generic; using System.Threading.Tasks; using App.Application.Blog.Dtos; using App.Core.Entities.Blog; using App.Framwork.Result; namespace App.Application.Blog { public interface ITagsService : IAppService<TagsInfo> { /// <summary> /// 新增标签 /// </su...
src/Fortnite/Fortnite.Model/Responses/WorldInfo/Requirements.cs
pirica/FTN-Power
25
7025504
<filename>src/Fortnite/Fortnite.Model/Responses/WorldInfo/Requirements.cs namespace Fortnite.Model.Responses.WorldInfo { public class Requirements { public int commanderLevel { get; set; } public int personalPowerRating { get; set; } public int maxPersonalPowerRating { get; set; } ...
NT6FileManagerBase/ClickToOpenBehavior.cs
StartNine/NT6FileManagerBase
1
7025505
<reponame>StartNine/NT6FileManagerBase using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Interactivity; using WindowsSharp.DiskItems; namespace NT6FileManagerBase { public cl...
codegenerator/Models/Field.cs
capesean/codegenerator
16
7025506
<reponame>capesean/codegenerator using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace WEB.Models { public partial class Field { [Key] [Required] public Guid FieldId { get; set; } ...
Assets/com.fluid.dialogue/Editor/Windows/UserInput/ScrollManager.cs
DarkSeth/Dialogue-Sistem
79
7025507
using CleverCrow.Fluid.Dialogues.Graphs; using UnityEditor; using UnityEngine; namespace CleverCrow.Fluid.Dialogues.Editors { public class ScrollManager { public const float WINDOW_SIZE = 100000; private readonly EditorWindow _window; private readonly DialogueGraph _graph; public ...
src/FindAndReplace/FileGetter.cs
stgelaisalex/findandreplace
179
7025508
<reponame>stgelaisalex/findandreplace<filename>src/FindAndReplace/FileGetter.cs using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; namesp...
src/TagHelpers/VerdictTagHelper.cs
namofun/polygon
1
7025509
using Microsoft.AspNetCore.Razor.TagHelpers; using Polygon.Entities; namespace Polygon.TagHelpers { /// <summary> /// Show DOMjudge style verdict. /// </summary> [HtmlTargetElement("verdict")] public class VerdictTagHelper : XysTagHelper { [HtmlAttributeName("value")] public Ve...
MP.DocumentDB/Interfaces/IDocumentCollection.cs
mparker42/MP.DocumentDB
0
7025510
using System.Linq.Expressions; namespace MP.DocumentDB.Interfaces { public interface IDocumentCollection<T> where T : class { Task<T> GetFirstOrDefault(Expression<Func<T, bool>> query); Task<T> GetSingle(Expression<Func<T, bool>> query); Task Insert(T item); Task Insert(IEnumer...
Base/GameTime.cs
engeniousproject/engenious
3
7025511
using System; namespace engenious { /// <summary> /// Defines <see cref="GameTime"/> containing time elapsed since the last frame/update and time since game start. /// </summary> public struct GameTime { /// <summary> /// Initializes a new instance of the <see cref="GameTime"/> cla...
MiningProject/Models/MyTask.cs
MarkDvoryanchikov/MiningProject
0
7025512
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace MiningProject.Models { [Table("MyTasks")] public class MyTask { [Key] public int PK_Task { get; set; } [Column("TaskName"), Re...
src/Microsoft.Graph/Generated/requests/SiteGetApplicableContentTypesForListRequestBuilder.cs
microsoftgraph/msgraph-beta-sdk-dotnet
71
7025513
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
Yubico.YubiKey/examples/OathSampleCode/Run/OathSampleRun.cs
Yubico/Yubico.NET.SDK
25
7025514
<gh_stars>10-100 // Copyright 2021 Yubico AB // // 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 o...
src/CleanArchitectureTemplate.Core/Specifications/ToDoItemGetAllSpecification.cs
flier268/CleanArchitectureTemplate
0
7025515
using Ardalis.Specification; namespace CleanArchitectureTemplate.Core.Specifications { public class ToDoItemGetAllSpecification : Specification<Core.Entities.ToDoItem> { public ToDoItemGetAllSpecification(bool isCompleted) { // Use Specification Builder Query.Where(ite...
tests/MongoDB.Driver.GridFS.Tests/GridFSDownloadByNameOptionsTests.cs
kosmakoff/mongo-csharp-driver
2
7025516
/* Copyright 2015-2016 MongoDB 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 to in writi...
tests/apptest.cs
ngelotte/NDHassModel
0
7025517
<filename>tests/apptest.cs using System.Threading.Tasks; using NetDaemon.Daemon.Fakes; using Xunit; /// <summary> /// Tests the fluent API parts of the daemon /// </summary> /// <remarks> /// Mainly the tests checks if correct underlying call to "CallService" /// has been made. /// </remarks> public class ...
chapter-11/BlazingTrails/BlazingTrails.Api/Features/ManageTrails/EditTrail/GetTrailEndpoint.cs
zutjmx/blazor-in-action-main
1
7025518
<gh_stars>1-10 using Ardalis.ApiEndpoints; using BlazingTrails.Api.Persistance; using BlazingTrails.Shared.Features.ManageTrails.EditTrail; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using System; using System.Linq;...
mdlPDF/Xml2PDF/Source/Altsoft/PDFOX/XRefEntry.cs
silvath/siscobras
0
7025519
<gh_stars>0 namespace Altsoft.PDFO { using System; public class XRefEntry { // Methods public XRefEntry() { } // Fields public bool dirty; public int generation; public int index; public PDFIndirect indirect; public long offs...
src/Core/Ipc/TypedMessages/ProjectConfigurationSectionDetails.cs
tcwz/vs-chromium
251
7025520
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. using ProtoBuf; namespace VsChromium.Core.Ipc.TypedMessages { [ProtoContract] public class ProjectConfigurationSectionDetails { [ProtoMember(1)]...
pwiz_tools/Skyline/Model/DocSettings/AbsoluteQuantification/FiguresOfMerit.cs
austinkeller/pwiz
0
7025521
/* * Original author: <NAME> <nicksh .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2018 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wit...
UnityProject/Assets/WaveVR/Scripts/EventSystem/WaveVR_InputModuleManager.cs
TWBob/VRCrossPlatformInterface
0
7025522
<reponame>TWBob/VRCrossPlatformInterface<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using wvr; using WVR_Log; using UnityEngine.SceneManagement; using UnityEngine.Profiling; #if UNITY_EDITOR using UnityEditor; [CustomEditor(t...
Data/Charterio.Data/Configurations/OfferConfiguration.cs
nkrastev/Charterio
6
7025523
namespace Charterio.Data.Configurations { using Charterio.Data.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; public class OfferConfiguration : IEntityTypeConfiguration<Offer> { public void Configure(EntityTypeBuilder<Offer> offer) ...
Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/EncodableHash.cs
QualitySolution/-GMap.NET
1
7025524
<filename>Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/EncodableHash.cs using System; namespace MSR.CVE.BackMaker.ImagePipeline { public class EncodableHash : StrongHash { public EncodableHash() { } public EncodableHash(MashupParseContext ctx) : base(ctx) { } } }
LetsGame.Web/Authorization/AuthPolicies.cs
leddt/lets-game
0
7025525
<filename>LetsGame.Web/Authorization/AuthPolicies.cs namespace LetsGame.Web.Authorization { public static class AuthPolicies { public const string ReadGroup = "ReadGroup"; public const string ManageGroup = "ManageGroup"; public const string ReadSession = "ReadSession"; public co...
aspnet-core/src/Hatra.Messenger.Core/Authorization/Users/UserManager.cs
miladmazaheri/hatra-messenger
1
7025526
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Dynamic.Core; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Abp.Authorization; using Abp.Authorization.Users; using Abp.Configuration; ...
Node/CSharp/Library/Resource/Resources.Designer.cs
SiddharthMadras/myownbot
0
7025527
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
src/MarkPad/Helpers/VisualExtensions.cs
bygreencn/DownmarkerWPF
1
7025528
using System; using System.Linq; using System.Windows; using System.Windows.Media; namespace MarkPad.Helpers { public static class VisualExtensions { public static T FindVisualChild<T>(this DependencyObject obj) where T : DependencyObject { for (int i = 0; i < VisualTreeH...