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
NactuatorSample/NactuatorTest/ControllerTests/BeanControllerTest.cs
codecentric/net_core_admin
1
7030986
<gh_stars>1-10 using FluentAssertions; using Microsoft.AspNetCore.Mvc; using Moq; using NetCoreAdmin.Beans; using NetCoreAdmin.Controllers; using Xunit; namespace NetCoreAdminTest.ControllerTests { public class BeanControllerTest { [Fact] public void GetBeanshReturnsResultOfIBeanProvider() ...
tests/Tests.MaybeF/_/EnumerableExtensions/Filter_Tests.cs
bfren/maybe
0
7030987
// Maybe: Unit Tests // Copyright (c) bfren - licensed under https://mit.bfren.dev/2019 namespace MaybeF.EnumerableExtensions_Tests; public class Filter_Tests : Abstracts.Enumerable.Filter_Tests { [Fact] public override void Test00_Maps_And_Returns_Only_Some_From_List() { Test00(list => list.Filter()); } [Fac...
MasterMindLibrary/ColourChoice.cs
diversemix/MasterMind
0
7030988
<filename>MasterMindLibrary/ColourChoice.cs<gh_stars>0 namespace MasterMindLibrary { /// <summary> /// Valid colour choices for a ColourSet. /// </summary> public enum ColourChoice { RED = 'R', GREEN = 'G', BLUE = 'B', YELLOW = 'Y' } }
src/BlazorWebView/src/Wpf/IWpfBlazorWebViewBuilder.cs
abod1944/maui
0
7030989
// 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 Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Components.WebView.Wpf { /// <summary> /// A builder for WPF Blazor W...
csharp/OpenClosed/IPostulante.cs
mario21ic/solid-demos
0
7030990
using System; using OpenClosed.Modelos; namespace OpenClosed { public interface IPostulante { string Nombre { get; set; } string Apellidos { get; set; } IReclutamientoServicio Procesador { get; set; } } }
Assets/Framework/Utilities/Pools/RegisterNonPooledInterfaces.cs
PixelComrades/Framework
10
7030991
<gh_stars>1-10 using UnityEngine; using System.Collections; using PixelComrades; public class RegisterNonPooledInterfaces : MonoBehaviour { private ISystemFixedUpdate[] _systemFixedUpdate; private ISystemUpdate[] _systemUpdate; private IPoolEvents[] _poolListeners; private ITurnUpdate[] _turnUpdate; ...
KrkrzPack/Util.cs
crskycode/KrkrzPack
1
7030992
<gh_stars>1-10 using ICSharpCode.SharpZipLib.Checksum; using ICSharpCode.SharpZipLib.Zip.Compression; using ICSharpCode.SharpZipLib.Zip.Compression.Streams; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KrkrzPack { st...
src/ApplicationCore/Entities/BuyerAggregate/Buyer.cs
root-marco/eShopOnWeb
0
7030993
using Ardalis.GuardClauses; using Microsoft.eShopWeb.ApplicationCore.Interfaces; using System.Collections.Generic; namespace Microsoft.eShopWeb.ApplicationCore.Entities.BuyerAggregate { public class Buyer : BaseEntity, IAggregateRoot { public string IdentityGuid { get; private set; } private List<PaymentM...
CMCL.LauncherCore/GameEntities/JsonClasses/LibraryInfo.cs
Removable/CMCL
0
7030994
<filename>CMCL.LauncherCore/GameEntities/JsonClasses/LibraryInfo.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Text.RegularExpressions; using ComponentUtil.Common.Data; using Newtonsoft.Json; namespace CMCL.Launcher...
Moonscraper Chart Editor/Assets/Scripts/Game/Input/InputConfig.cs
Caio-Giacomelli/Moonscraper-Chart-Editor
128
7030995
// Copyright (c) 2016-2020 <NAME> // See LICENSE in project root for license information. using System.Collections; using System.Collections.Generic; using UnityEngine; using MoonscraperEngine; public class InputConfig { // Default values const bool kRebindableDefault = true; const bool kHiddenInListsD...
DNN Platform/Library/Services/Search/SearchEngine.cs
jmbockhorst/Dnn.Platform
941
7030996
// 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 namespace DotNetNuke.Services.Search { using System; using System.Collections.Generic; using System.Da...
3. CSharp OOP Advanced/01. SOLID/2. Exercise/Logger/Engine.cs
ViktorAleksandrov/SoftUni--CSharp-Fundamentals
0
7030997
<reponame>ViktorAleksandrov/SoftUni--CSharp-Fundamentals using System; using Logger.Contracts; using Logger.Factories; namespace Logger { public class Engine { private ILogger logger; private ErrorFactory errorFactory; public Engine(ILogger logger, ErrorFactory errorFactory) {...
Content/Views/_basecode.cshtml
nantcom/NancyBlack
12
7030999
@inherits NantCom.NancyBlack.NancyBlackRazorViewBase <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <link rel="shortcut icon" href="/NancyBlack/Content/favicon.ico" /> ...
src/NetatmoAzure/NetatmoDto/Measurement.cs
jiri-vinarek/netatmo-azure
1
7031000
<gh_stars>1-10 namespace NetatmoAzure { public sealed class Measurement { public long Time_utc { get; set; } public double Temperature { get; set; } public int CO2 { get; set; } public int Humidity { get; set; } public int Noise { get; set; } public double Pressur...
LockKeysIndicator/Classes/Tilemap.cs
JamiKettunen/LockKeysIndicator
2
7031001
<filename>LockKeysIndicator/Classes/Tilemap.cs using System.Drawing; using System.Collections.Generic; namespace LockKeysIndicator { public class Tilemap { /// <summary> /// Loads a tilemap, seperates parts by Width and returns a List of images. /// </summary> /// <param name="...
lean_tech_backend_test/sql-CRUD/Models/Carrier.cs
afraser-lt/lean_tech_backend_test
0
7031002
<gh_stars>0 using System; using System.Collections.Generic; namespace sql_CRUD.MyModels { public class Carrier { public int Id { get; set; } public string Name { get; set; } public string Scac { get; set; } public long Mc { get; set; } public long Dot { get; set; } ...
Source/AutoPriorities/AutoPriorities/Percents/TablePercent.cs
LokiVKlokeNaAndoke/RimWorld_Mod_AutoPriorities
3
7031003
using System; namespace AutoPriorities.Percents { public readonly struct TablePercent { public PercentVariant Variant { get; } public double Value => Variant switch { PercentVariant.Percent => PercentValue, PercentVariant.Number => (doubl...
AetherAlchemy/Assets/Scripts/AdjustBrightness.cs
MattBelan/AetherAlchemyRepo
0
7031004
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class AdjustBrightness : MonoBehaviour { public Slider brightnessSlider; public float newBrightness; // Use this for initialization void Start () { brightnessSlider.value = 0.75f; } // Update is calle...
Assets/Tier0/src/CameraScript.cs
RobertoE90/Roberto-Estrada-SIDIA-Unity3D-test
0
7031005
<filename>Assets/Tier0/src/CameraScript.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraScript : MonoBehaviour { public Transform target; public Vector3 distanceToTarget; public Vector3 rotationToTarget; public GameController gameController;...
ZombieAttack/Assets/Scripts/EnemyAttack.cs
ItalianStyle/ZombieAttack_Repository
0
7031006
<reponame>ItalianStyle/ZombieAttack_Repository using System.Collections; using UnityEngine; namespace ZombieAttack { public class EnemyAttack : MonoBehaviour { [Tooltip("How much damage the enemy deals to the player.")] [SerializeField] float collisionDamage = 10f; [Tooltip("How much ...
src/Nest/Search/Search/SearchRequest.cs
Svengali/elasticsearch-net
3
7031007
<filename>src/Nest/Search/Search/SearchRequest.cs using System; using System.Collections.Generic; using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [ReadAs(typeof(SearchRequest))] public partial interface ISearchRequest : ICovariantSearchRequest { [DataMember(Name = "aggs")] Aggrega...
UltimaOnline.Data/Holiday Stuff/Halloween/2011/Mobiles/PumpkinHead.cs
netcode-gamer/game.ultimaonline.io
0
7031008
using System; using UltimaOnline; using UltimaOnline.Items; using UltimaOnline.Items.Holiday; using UltimaOnline.Mobiles; namespace UltimaOnline.Mobiles { [CorpseName("a killer pumpkin corpse")] public class PumpkinHead : BaseCreature { public override bool AutoDispel { get { return tru...
Assets/_app/_scripts/AnturaSpace/Shop/ShopAction_UnlockDecoration.cs
vgwb-private/EA4S_Antura_U3D
0
7031009
<filename>Assets/_app/_scripts/AnturaSpace/Shop/ShopAction_UnlockDecoration.cs<gh_stars>0  using System; using UnityEngine; namespace Antura.AnturaSpace { public class ShopAction_UnlockDecoration : ShopAction { public ShopDecorationObject UnlockableDecorationObject; public override GameObject...
WebUI/Views/Cart/Index.cshtml
Ded-Mozila/BookStore
0
7031010
<reponame>Ded-Mozila/BookStore @model WebUI.Models.CartIndexViewModel @{ ViewBag.Title = "BookStore: Ваша корзина"; } <h2>@ViewBag.Title</h2> <table id="cartTable" class="table"> <thead> <tr> <th>Колическво</th> <th>Наименование</th> <th class=" text-right">Цена</th> ...
src/Black.Beard.Sdk.Decompiler/MethodDecompilerHelper.cs
Black-Beard-Sdk/Decompile
0
7031011
using Bb.Sdk.Decompiler.IlParser; using System; using System.CodeDom; using System.Collections.Generic; using System.Text; namespace Bb.Sdk { public static class MethodDecompilerHelper { /// <summary> /// Gets the source code of the method in CodeDom tree. /// </summary> /// ...
main/Boku/Fx/SurfaceSet.cs
chrisphillips/KoduGameLab
11
7031012
<reponame>chrisphillips/KoduGameLab // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. //#define TOGGLE_DIRTMAP_HACK using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework....
Runtime/ContinuousDistributions/DistributionFilters/CloseFilters/CloseFiltering.cs
ZorPastaman/Random-Generators
14
7031013
// Copyright (c) 2020-2021 <NAME> <EMAIL> https://github.com/ZorPastaman/Random-Generators using JetBrains.Annotations; using UnityEngine; namespace Zor.RandomGenerators.ContinuousDistributions.DistributionFilters { public static class CloseFiltering { public const float DefaultReferenceValue = 0f; public const...
Generic.ViewModels/Events/DispatcherEventSubscription.cs
christiannagel/Generic.ViewModels
3
7031014
using System; using System.Threading; namespace GenericViewModels.Events { public class DispatcherEventSubscription : EventSubscription { private readonly SynchronizationContext _syncContext; public DispatcherEventSubscription(IDelegateReference actionReference, SynchronizationContext syncCont...
src/Rebus.HeaderConverterExtensions/Rebus.HeaderConverterExtensions/Utilities/StandardAdapter.cs
hansehe/Rebus.HeaderConverterExtensions
1
7031015
using System.Linq; using Rebus.HeaderConverterExtensions.HeaderStandard; using Rebus.Messages; namespace Rebus.HeaderConverterExtensions.Utilities { public static class StandardAdapter { public static bool IsUsableOnIncoming(TransportMessage transportMessage, IStandardHeaderOptions standardHeaderOptio...
aspnet-core/src/WebShop.Core/Domain/Auction/AuctionManager.cs
dangminhbk/auction
0
7031016
using Abp.Domain.Repositories; using Abp.Domain.Services; using Abp.Domain.Uow; using Abp.UI; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Threading.Tasks; namespace WebShop.Domain.Auction { public class AuctionManager : DomainService, IAuctionManager { private re...
MediaBox/Views/SplashScreen.xaml.cs
southernwind/MediaBox
6
7031017
namespace SandBeige.MediaBox.Views { /// <summary> /// SplashScreen.xaml の相互作用ロジック /// </summary> public partial class SplashScreen { public SplashScreen() { this.InitializeComponent(); } } }
NbicDragonflies/NbicDragonflies/NbicDragonflies/Views/Pages/TaxonContentPage.xaml.cs
Capeo/nbic-dragonflies
0
7031018
using System; using NbicDragonflies.Controllers; using NbicDragonflies.Models; using NbicDragonflies.Models.Taxon; using Xamarin.Forms; namespace NbicDragonflies.Views.Pages { /// <summary> /// Taxon content/info page. /// </summary> public partial class TaxonContentPage : ContentPage { private ...
Whois/Cache/IFileStore.cs
txdv/whois
0
7031020
using System; using System.Collections.Generic; namespace Whois.Cache { /// <summary> /// Wrapper for accessing the file system /// </summary> public interface IFileStore { /// <summary> /// Writes the specified string to the key in the given area. /// </summary> //...
Infrastructure.MailLibrary/Models/EMailRequest.cs
sysmaxx/AspCoreAuthentication
0
7031021
<filename>Infrastructure.MailLibrary/Models/EMailRequest.cs namespace Infrastructure.EMailLibrary.Models { public class EMailRequest { public string To { get; set; } public string Subject { get; set; } public string Content { get; set; } } }
src/GodaddyWrapper/Responses/RealNameValidationResponse.cs
ahwm/GoDaddyWrapper.Net
11
7031022
<filename>src/GodaddyWrapper/Responses/RealNameValidationResponse.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace GodaddyWrapper.Responses { public class RealNameValidationResponse { /// <summary...
src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Factories/System.Windows.Controls/ToolBarTrayFactory.cs
kant2002/wpf-test
25
7031023
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Windows.Controls; using System.Windows.Media; using Microsoft.Test.S...
AdminDashboard/IRepositories/IObdDataRecordRepository.cs
AntonMisiura/CsvRepo
0
7031024
<filename>AdminDashboard/IRepositories/IObdDataRecordRepository.cs using AdminDashboard.Models; using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AdminDashboard.Contracts { public interface IObdDataRecordRepository ...
src/IabTcf/BinaryString.shared.cs
GalaxiaGuy/IabTcf
0
7031025
<filename>src/IabTcf/BinaryString.shared.cs<gh_stars>0 namespace GamesWithGravitas.IabTcf { public class BinaryString : ValueListString<bool> { public BinaryString(string rawValue) : base(rawValue) { } protected override bool ConvertValue(char arg) => arg == '1'; } }
app037_domino/Bone.cs
llgiant/csharp
0
7031026
<filename>app037_domino/Bone.cs using System; using System.Collections.Generic; using System.IO; class Bone : ISerialize { private int _left = 0; private int _right = 0; #region Конструкторская public Bone() { } public Bone(int left, int right) { Left = left; Right = right; ...
Assets/ThirdParty/Ultraleap/Tracking/Core/Runtime/Scripts/DataStructures/IIndexableStruct.cs
Reality-Hack-2022/TEAM-52
33
7031027
<filename>Assets/ThirdParty/Ultraleap/Tracking/Core/Runtime/Scripts/DataStructures/IIndexableStruct.cs /****************************************************************************** * Copyright (C) Ultraleap, Inc. 2011-2021. * * ...
SolderTool/PartList.cs
ghent360/GerberTools
0
7031028
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using GerberLibrary; using GerberLibrary.Core; namespace SolderTool { public partial class Pa...
AppLog/Models/Project.cs
hewerthomn/applog
0
7031029
using System; using System.ComponentModel.DataAnnotations.Schema; namespace AppLog.Models { public class Project { public int Id { get; set; } public int OwnerId { get; set; } public String Name { get; set; } public String About { get; set; } public...
AzureServiceBusMessagingSample/Model/ConversationMessage.cs
dasensio/AzureServiceBusMessagingSample
0
7031030
<filename>AzureServiceBusMessagingSample/Model/ConversationMessage.cs<gh_stars>0 using System; namespace AzureServiceBusMessagingPoc.Model { public class ConversationMessage { public const string SYSTEM_USER_NAME = "System"; public Guid ApplicationId { get; set; } public stri...
Factory/Views/Machines/Index.cshtml
thomasglenngit/Factory.Solution
0
7031031
<filename>Factory/Views/Machines/Index.cshtml @{ Layout = "_Layout"; } @using Factory.Models; @model List<Factory.Models.Machine>; <div class="content"> <h1>Machines</h1> <hr /> @if (@Model.Count == 0) { <h3>Machines Have Not Yet Been Added</h3> } @foreach (Machine machine in Model) { <div cl...
Application.Extension.Infrastructure/Crontab/Quartz/Factory/DependencyInjectionJobFactory.cs
JosephYue/application
1
7031032
<filename>Application.Extension.Infrastructure/Crontab/Quartz/Factory/DependencyInjectionJobFactory.cs using Quartz; using Quartz.Spi; using System; namespace Application.Extension.Infrastructure.Crontab.Quartz.Factory { internal class DependencyInjectionJobFactory : IJobFactory { private readonly ISe...
RI.Framework.Linux.Fx/Linux/Cryptography/_NamespaceDoc.cs
gosystemsgmbh/RI_Framework
1
7031033
using System.Runtime.CompilerServices; namespace RI.Framework.Linux.Cryptography { /// <summary> /// Contains Linux-specific cryptography utilities. /// </summary> [CompilerGenerated] public sealed class NamespaceDoc { } }
src/Features/CSharp/Portable/ConvertProgram/ConvertProgramTransform_TopLevelStatements.cs
AlexanderSemenyak/roslyn
0
7031034
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading...
Heck/HeckPatch.cs
Fernthedev/Heck
69
7031035
<filename>Heck/HeckPatch.cs using System; using HarmonyLib; using JetBrains.Annotations; namespace Heck { [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public class HeckPatch : Attribute { public HeckPatch(Type declaringType) { DeclaringType = declaringType; ...
src/ResourceManagement/Network/Domain/InterfaceImpl/ExpressRouteCircuitPeeringsImpl.cs
avantida/azure-libraries-for-net
365
7031036
<reponame>avantida/azure-libraries-for-net<filename>src/ResourceManagement/Network/Domain/InterfaceImpl/ExpressRouteCircuitPeeringsImpl.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azur...
App.xaml.cs
ricardotejo/SpotlightWallpaper
0
7031037
using Microsoft.Win32; using System; using System.Windows; using SpotlightWallpaper.Properties; using MenuItem = System.Windows.Forms.MenuItem; namespace SpotlightWallpaper { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { System.Win...
RabbitMQ.Migrations.Tests/Operations/AddQueueOperationTests.cs
dsalden/RabbitMQ.Migrations
0
7031038
<filename>RabbitMQ.Migrations.Tests/Operations/AddQueueOperationTests.cs using Microsoft.VisualStudio.TestTools.UnitTesting; using RabbitMQ.Client; using RabbitMQ.Fakes; using RabbitMQ.Migrations.Operations; using System.Linq; namespace RabbitMQ.Migrations.Tests.Operations { [TestClass] public class AddQueueO...
LayoutFarm.Platforms.WinForms/3_OpenGL/0_MyOpenGLPortal.cs
prepare/MiniAggLegacy
3
7031039
// 2015,2014 ,Apache2, WinterDev using PixelFarm.Drawing; namespace LayoutFarm.UI.OpenGL { public static class MyOpenGLPortal { public static GraphicsPlatform Start() { PixelFarm.DrawingGL.CanvasOptions.DefaultOrientation = CanvasOrientation.LeftTop; PixelFarm.Drawing...
source/SharpTM/app/SharpTM/Core/TopicMap.cs
mhoyer/sharptm
0
7031040
<gh_stars>0 // <copyright file="TopicMap.cs" company="Pixelplastic"> // Copyright (C) <NAME> 2009. All rights reserved. // </copyright> // <author><NAME></author> // <email>mhoyer AT pixelplastic DOT de</email> using System; using System.Collections.Generic; using System.Collections.ObjectModel; #if LOG4NET us...
src/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/testobj.cs
MisinformedDNA/corefx
15
7031041
// 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. #if TESTHOOK using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; usi...
src/WrldcHrIs.WebApp/Pages/Users/Index.cshtml.cs
nagasudhirpulla/wrldc_hris
0
7031042
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using WrldcHrIs.Application.Users; using WrldcHrIs.Appl...
Love-Babbar-450-In-CSharp/08_greedy/05_fractional_knapsack_problem.cs
harshanu11/Love-Babbar-450-In-CSharp
0
7031043
<reponame>harshanu11/Love-Babbar-450-In-CSharp using System; using System.Collections.Generic; using System.Text; using Xunit; namespace _08_greedy { public class _05_fractional_knapsack_problem { [Fact] public void reverse_arrayTest() { } } } /* link: https://practice.geeksforgeeks.org/...
ADD/Properties/Settings.Designer.cs
HugPuddle/Apertus
32
7031044
//------------------------------------------------------------------------------ // <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> //--...
depgraph/meshop_nodes/MeshNormalOffsetNode.cs
Jmerk523/gsShapeModels
5
7031045
using System; using System.Collections.Generic; using g3; namespace gs { public class MeshNormalOffsetNode : DGCachingNode { DMesh3 OffsetMesh; public MeshNormalOffsetNode() { Inputs.Add(new DMesh3InPort()); Inputs.Add(new DoubleInPort()); Outputs....
src/NAdapter/Customization/Method/LINQ/ParameterExpressionContainer.cs
keith-anders/NAdapter
0
7031046
using System.Linq.Expressions; namespace NAdapter { /// <summary> /// Container for the data related to a parameter of a LINQ expression /// </summary> internal class ParameterExpressionContainer { /// <summary> /// Constructor. /// </summary> /// <param name="param...
src/Nucleo/Lookups/Lookup.cs
brianmains/Nucleo.NET
2
7031047
<filename>src/Nucleo/Lookups/Lookup.cs using System; using System.Collections.Generic; using System.Text; namespace Nucleo.Lookups { /// <summary> /// Represents the lookup. /// </summary> public class Lookup : ILookup { private string _name = null; private object _representationCode = null; private string...
Otel Otomasyon Projesi-YZM3101/Otel Otomasyon Projesi-YZM3101/T/frmTabanFiyatEkle.Designer.cs
tugrulcan/Otel-Otomasyon-Sistemi
0
7031048
<gh_stars>0 namespace Otel_Otomasyon_Projesi_YZM3101 { partial class frmTabanFiyatEkle { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used....
src/StatsdClient/LineProtocol/InfluxPoint.cs
abdullin/telegraf-client
1
7031049
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Telegraf { public class InfluxPoint { public readonly string Measurement; public readonly IReadOnlyDictionary<string, object> Fields; public readonly IReadOnlyDictionary<string, string> Tags; public readonly DateTim...
src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Factories/ByteArrayFactory.cs
kant2002/wpf-test
25
7031050
<filename>src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Factories/ByteArrayFactory.cs<gh_stars>10-100 // 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. us...
Assets/Scripts/AsteroidSpawner.cs
Kepler-Br/Unity-Asteroids
0
7031051
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AsteroidSpawner : MonoBehaviour { [SerializeField] GameObject asteroidPrefab = null; [SerializeField] Transform player = null; [SerializeField] float minimumDistanceToPlayer; [Serializ...
StormReport/Annotations/ExportableColumnContentStyleAttribute.cs
mikemajesty/StormReport
20
7031052
<gh_stars>10-100 using System; namespace StormReport { [AttributeUsage(AttributeTargets.Property)] public class ExportableColumnContentStyleAttribute : Attribute { public string[] Styles { get; set; } public ExportableColumnContentStyleAttribute(params string[] styles) { ...
test/Mendham.Testing.Builder.Test/BuilderAssemblyQueryServiceTest.cs
Mendham/Mendham
1
7031053
<filename>test/Mendham.Testing.Builder.Test/BuilderAssemblyQueryServiceTest.cs using FluentAssertions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace Mendham.Testing.Builder.Test { public class BuilderAssemblyQueryServiceTest { [...
Negocio/Strategy/Implementacao/CalcularValorFreteCarrinho.cs
SamuelPinho/books-ecommerce
0
7031054
using Microsoft.EntityFrameworkCore; using Modelo; using Modelo.Cadastros; using Negocio.DAO.Implementacao; using Negocio.Strategy; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; namespace Negocio.Strategy.Implementacao { public class Ca...
SimpleMenuController/Runtime/Menu.cs
benjaminhate/Unity-SimpleMenuController
1
7031055
<reponame>benjaminhate/Unity-SimpleMenuController using UnityEngine; namespace SimpleMenuController.Runtime { [AddComponentMenu("Simple Menu Controller/Menu")] public class Menu : MonoBehaviour { [Header("Self contained menu")] [Tooltip("If enabled, the GameObject with the Menu component w...
Fabric.Terminology.API/Configuration/FabricServiceLocations.cs
HealthCatalyst/Fabric.Terminology
4
7031056
<gh_stars>1-10 namespace Fabric.Terminology.API.Configuration { using System; public class FabricServiceLocations { public FabricServiceLocations(Uri identityUri, Uri authorizationUri) { this.IdentityServiceUri = identityUri; this.AuthorizationServiceUri = authorizat...
tests/Messaging.Tests/Extensions/when_checking_type_compatibility_for_compatible_types.cs
code-attic/Symbiote
3
7031057
<reponame>code-attic/Symbiote using System; using System.Collections.Generic; using System.Linq; using System.Text; using Machine.Specifications; using Symbiote.Messaging.Extensions; namespace Messaging.Tests.Extensions { public class when_checking_type_compatibility_for_compatible_types { protected s...
ZarahDB_Library/Enums/StatusCode.cs
MikeReedKS/ZarahDB
3
7031059
<reponame>MikeReedKS/ZarahDB<gh_stars>1-10 // ReSharper disable InconsistentNaming namespace ZarahDB_Library.Enums { /// <summary> /// Enum StatusCode /// See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html /// </summary> public enum StatusCode { //Informational 1xx ...
Src/AlonsoAdmin.HttpApi/Controllers/V1/System/_ModuleBaseController.cs
sukney/TenantSite.Server
123
7031060
<reponame>sukney/TenantSite.Server using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AlonsoAdmin.HttpApi.SwaggerHelper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using static AlonsoAdmin.HttpApi.Swagge...
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/RunQueryFilter.cs
fleckert/azure-sdk-for-net
1
7031061
<reponame>fleckert/azure-sdk-for-net // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Linq; namespace Azure.Analytics.Synapse.Artifacts.Models { /// <summary> Query ...
src/Marketplace.WebApi/CommandApi.cs
RaymondLCZ/Marketplace
0
7031062
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Marketplace.EventSourcing; namespace Marketplace.WebApi; public abstract class CommandApi<T> : ControllerBase where T : AggregateRoot { readonly ILogger _log; protected CommandApi(ApplicationService<T> applicationService, ILoggerFactor...
VS/CSharp/Hello/ifNested6FigAreas/ifNested7FigAreas.cs
kilarionov/cppTopics
0
7031063
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /* * Да се напише програма, в която потребителят въвежда вида и размерите на геометрична фигура и пресмята лицето й. * Фигурите са четири вида: * квадрат (square), правоъгълник (rectangle), кръг (ci...
tests/Couchbase.Transactions.Tests.UnitTests/Cleanup/ClientRecordDetailsTests.cs
malclear/couchbase-transactions-dotnet
0
7031064
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.InteropServices.ComTypes; using System.Text; using System.Threading.Tasks; using Couchbase.Transactions.ActiveTransactionRecords; using Couchbase.Transactions.Cleanup.LostTransactions; using C...
Apex/ApexSharp/Default/System/RestResponseImplementation.cs
apexsharp/apexsharp
25
7031065
using Apex.ApexSharp.Implementation; using Apex.System; namespace Apex.ApexSharp.Default.System { [Implements(typeof(RestResponse))] public class RestResponseImplementation { // Self public class RestResponseInstance { public static implicit operator RestResponse(RestRe...
MusicStore/samples/MusicStore/Views/Store/Index.cshtml
geffzhang/NetOnLinuxBook
0
7031066
<reponame>geffzhang/NetOnLinuxBook<filename>MusicStore/samples/MusicStore/Views/Store/Index.cshtml @model IEnumerable<Genre> @{ ViewBag.Title = "Store"; } <h3>Browse Genres</h3> <p> Select from @Model.Count() genres: </p> <ul class="list-group"> @foreach (var genre in Model) { <li ...
src/dev/impl/DevToys/Views/Tools/Converters/Timestamp/TimestampToolPage.xaml.cs
dlphinStudios/DevToys
9,271
7031067
#nullable enable using System; using DevToys.Api.Core.Navigation; using DevToys.Shared.Core; using DevToys.ViewModels.Tools.Timestamp; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace DevToys.Views.Tools.Timestamp { public sealed partial class TimestampToolPage :...
Assets/Scripts/CrewMember.cs
bshishov/LudumDare39
0
7031068
using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Assets.Scripts { public class CrewMember : MonoBehaviour { enum State { Idle, Moving } private State _state = State.Idle; private CrewWaypoint[] _currentRoute; ...
Gearset/UserInterface/Wpf/InspectorWPF/Controls/Texture2DItem.xaml.cs
PumpkinPaul/Gearset
20
7031069
using System; using System.Collections.Generic; using System.Linq; 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.Imaging; using System.Windows.Navigati...
NPoco/PocoData.cs
asterd/NPoco.iSeries
0
7031070
<filename>NPoco/PocoData.cs using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using System.Text; namespace NPoco { public class PocoData { protected internal IMapper Mapper; ...
EFCoreOptimizationHints/EFCoreOptimizationHints/CustomSqlBuilder.cs
Alikont/EFCorePlayground
2
7031071
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Query.Expressions; using Microsoft.EntityFrameworkCore.Query.Sql; using Microsoft.EntityFrameworkCore.SqlServer.Query.Sql.Internal; using Microsoft.EntityFrameworkCore.Storage; using System; using System.Linq; using System.Linq.Expressions; name...
src/Ponics.Analysis/Levels/Salinity/AnalyseSalinityQueryHandler.cs
simpleponics/Ponics
0
7031072
using System; using System.Collections.Generic; using Ponics.Analysis.Levels.Handlers; using Ponics.Kernel.Queries; using Ponics.Organisms; using Ponics.Organisms.Queries; using Ponics.Organisms.Tolerances; namespace Ponics.Analysis.Levels.Salinity { public class AnalyseSalinityQueryHandler: AnalyseLevelsQueryHan...
source/LogMonitor.Core/Output/Helper.cs
dineshkummarc/LogMonitor
22
7031073
using System; using System.Linq; using LogMonitor.Helpers; namespace LogMonitor.Output { internal static class Helper { public static string BuildKey(string key, string keyPrefix) { return string.IsNullOrEmpty(keyPrefix) ? key : keyPrefix.EnsureLast(...
SharpEncrypt/SharpEncrypt.Models/CellModel.cs
OliverMBathurst/SharpEncrypt
1
7031074
<gh_stars>1-10 using System; using System.Windows.Forms; using SharpEncrypt.Enums; namespace SharpEncrypt.Models { [Serializable] public sealed class CellModel { public CellType CellType { get; set; } = CellType.TextBox; public object InitialValue { get; set; } public bool ReadOn...
SyncKusto/SyncSources/DestinationSelections.cs
adirh3/synckusto
21
7031075
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using SyncKusto.SyncSources; namespace SyncKusto { public class DestinationSelections : ISourceSelectionFactory { public IReadOnlyDictionary<SourceSelection,...
Managed/firstpass/Epic/OnlineServices/Achievements/DefinitionV2.cs
undancer/oni-data
1
7031076
<gh_stars>1-10 namespace Epic.OnlineServices.Achievements { public class DefinitionV2 { public int ApiVersion => 2; public string AchievementId { get; set; } public string UnlockedDisplayName { get; set; } public string UnlockedDescription { get; set; } public string LockedDisplayName { get; set; } p...
Source/Schema.NET/core/PublicationVolume.cs
radetskyi/Schema.NET
1
7031077
<filename>Source/Schema.NET/core/PublicationVolume.cs namespace Schema.NET { using System; using System.Runtime.Serialization; using Newtonsoft.Json; /// <summary> /// A part of a successively published publication such as a periodical or multi-volume work, often numbered. It may represent a time s...
OpenBullet2.Native/Views/Pages/About.xaml.cs
Enigma422/OpenBullet2
565
7031078
using OpenBullet2.Native.Helpers; using System.Windows; using System.Windows.Controls; namespace OpenBullet2.Native.Views.Pages { /// <summary> /// Interaction logic for About.xaml /// </summary> public partial class About : Page { public About() { InitializeComponent()...
Rhino.Etl.Core/DataReaders/EnumerableDataReader.cs
eisbaer66/rhino-etl
0
7031079
<reponame>eisbaer66/rhino-etl using System.Data.Common; using System.Threading; using System.Threading.Tasks; using Dasync.Collections; namespace Rhino.Etl.Core.DataReaders { using System; using System.Collections; using System.Collections.Generic; using System.Data; /// <summary> /// Represen...
PersonalisationGroups/Criteria/MemberProfileField/MemberProfileFieldSetting.cs
AndyButland/UmbracoPersonalisationGroupsCore
4
7031080
<reponame>AndyButland/UmbracoPersonalisationGroupsCore<gh_stars>1-10 namespace Our.Umbraco.PersonalisationGroups.Criteria.MemberProfileField { public enum MemberProfileFieldSettingMatch { MatchesValue, DoesNotMatchValue, GreaterThanValue, GreaterThanOrEqualToValue, LessT...
Framework/Microsoft.Xrm.Portal/Web/UI/AsyncDataSource.cs
hhnguyen/xRM-Portals-Community-Edition
117
7031081
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ using System; using System.Collections; using System.ComponentModel; using System.Threading; using System.Web; using System.Web.UI; using Microsoft.Xrm.Portal...
ShopApp/ShopApp.WebUI/Models/CartModel.cs
Nur9835/C-Sharp-MVC-E-Shopping
0
7031082
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ShopApp.WebUI.Models { public class CartModel { public int CartId { get; set; } public List<CartItemModel> CartItems { get; set; } public decimal TotalPrice() ...
WpfThemeExample/Model/IThemesDataService.cs
edricr/WPF-Theme-Example
0
7031083
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WpfThemeExample.Model { public interface IThemesDataService { void GetAllThemes(Action<ObservableCollection<Theme>, Exception> callback); ...
Views/Shared/_Layout.cshtml
tantruong2303/Grocery-store
0
7031084
@{ var title = ViewData["Title"] + " | Grocery Store"; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="apple-touch-icon" sizes="57x57" href="~/header/apple-icon-57x57.png"> <link rel="apple-tou...
OpenReservation.SourceGeneratorTest/ServiceGeneratorTest.cs
OpenReservation/ReservationServer
109
7031085
using Microsoft.CodeAnalysis.CSharp.Testing; using Microsoft.CodeAnalysis.Testing.Verifiers; using OpenReservation.Database; using Xunit; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Text; using System.Text; using Microsoft.CodeAnalysis.Testing; using Microsoft.EntityFrameworkCore; using OpenReservation....
ThirdParty/HttpServer/HttpServer/Rendering/ResourceTemplateLoader.cs
Asterionworld/ether
25
7031086
using System.IO; using System.Reflection; using Xunit; namespace HttpServer.Rendering { /// <summary> /// Loads templates from embedded resources. /// </summary> public class ResourceTemplateLoader : ITemplateLoader { private readonly ResourceManager _resourceManager; /// <summary> /// In...
Solutions/C#/Keep up the hoop(8 kyu).cs
collenirwin/Codewars-Solutions
0
7031087
public class Kata { public static string HoopCount(int n) { return n < 10 ? "Keep at it until you get it" : "Great, now move on to tricks"; } }
Public/Src/FrontEnd/UnitTests/Script.ErrorHandling/LintRules/TestEnforceSimplifiedForRule.cs
miniksa/BuildXL
448
7031089
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using BuildXL.FrontEnd.Script.Tracing; using Test.BuildXL.FrontEnd.Core; using Xunit; using Xunit.Abstractions; namespace Test.DScript.Ast.ErrorHandling { public class TestEnforceSimplifiedForRule : DsTest { public ...