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
Introduction to DB Apps/3. Minion Names/Program.cs
giggals/Software-University
0
7045080
using System; using System.Data.SqlClient; class Program { static void Main(string[] args) { using (SqlConnection connection = new SqlConnection(Configuration.ConnectionString)) { connection.Open(); int villandId = int.Parse(Console.ReadLine()); ...
src/CSharpCompiler.Demos.EvilString/Program.cs
filipw/2019-flashcon-demos
1
7045081
using System; namespace CSharpCompiler.Demos.EvilString { class Program { static void Main(string[] args) { string s = "hello world"; Console.WriteLine(s); } } } #region hidden namespace System { public class String { public static implicit ...
RealPrice/Models/MainData.cs
tloy1966/RealPrice2
0
7045082
using System; using System.Collections.Generic; namespace RealPrice.Models { public partial class MainData { public int Id { get; set; } public string City { get; set; } public string SellType { get; set; } public string District { get; set; } public string CaseT { get;...
vApus.DistributedTesting/Wizard.cs
sizingservers/vApus
10
7045083
<reponame>sizingservers/vApus /* * 2012 Sizing Servers Lab, affiliated with IT bachelor degree NMCT * University College of West-Flanders, Department GKG (www.sizingservers.be, www.nmct.be, www.howest.be/en) * * Author(s): * <NAME> */ using RandomUtils; using System; using System.Collections.Generic...
DSLink/Request/RemoteSubscriptionManager.cs
SimacTechnik/dslink-dotnet-sensolus
0
7045084
<gh_stars>0 using System; using System.Collections.Generic; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using DSLink.Util; using DSLink.Logging; namespace DSLink.Request { public class RemoteSubscriptionManager { private static readonly ILog Logger = LogProvider.GetCurrentClas...
API/SeiyuuMoe.Tests.Component/MalBackgroundJobs/UpdateAnimeHandlerTests.cs
Ervie/SeiyuuInterlink
0
7045085
using FluentAssertions; using FluentAssertions.Execution; using JikanDotNet; using JikanDotNet.Exceptions; using Microsoft.EntityFrameworkCore; using Moq; using SeiyuuMoe.Domain.Services; using SeiyuuMoe.Domain.SqsMessages; using SeiyuuMoe.Infrastructure.Database.Animes; using SeiyuuMoe.Infrastructure.Database.Context...
Opt.Net.Tests/TypeCreator.cs
lassevk/opt.net
0
7045086
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Reflection.Emit; namespace Opt.Tests { internal static class TypeCreator { private static readonly Dictionary<KeyValuePair<Type, Type>, Type> _ContainerTypes = ...
src/Common/src/Common.Expression/Spring/Ast/OperatorInstanceof.cs
SteeltoeOSS/steeltoe-testbed
495
7045087
<reponame>SteeltoeOSS/steeltoe-testbed // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Steeltoe.Common.Expression.Internal.Spring.Support; using Syste...
Assets/Scripts/TopViewCamController_E.cs
KnowYourRole/delaunay-triangulation-island
0
7045088
<filename>Assets/Scripts/TopViewCamController_E.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class TopViewCamController_E : MonoBehaviour { public Transform camTransform; public float regularSpeed; public float quickSpeed; public float cameraSpeed; pub...
Assets/Plugins/jp.goma_recorder.midity/Editor/CustomEditor/MidiFileAssetEditor.cs
polyspirit/Midity
2
7045089
<reponame>polyspirit/Midity<gh_stars>1-10 using UnityEditor; namespace Midity.Editor { [CustomEditor(typeof(MidiFileAsset))] internal sealed class MidiFileAssetEditor : UnityEditor.Editor { // TODO: File Icon // public override Texture2D RenderStaticPreview(string assetPath, Object[] subAs...
src2/Abplus.MqMessages/MqMessages/AutoMapper/AutoEventsMapToMqMessagesHelper.cs
kaobeixingfu/abplus
179
7045090
using System.Linq; using System.Reflection; using Abp.MqMessages.Handlers; using AutoMapper; namespace Abp.MqMessages.AutoMapper { public static class AutoEventsMapToMqMessagesHelper { public static void CreateEventsToMqMessagesMappings(this IMapperConfigurationExpression mapper, Assembly assembly) ...
src/Client/Utils/DataPageUtils.cs
devInstance/nocrast
0
7045091
using System; using System.Collections.Generic; using System.Linq; namespace NoCrast.Client.Utils { public static class DataPageUtils { public static IEnumerable<int> GetPageRange(int selectedPage, int pageCount, int maxItems) { if (pageCount <= maxItems) { ...
ModEnfasisPlus/Controller/Delta/MamparaSower.cs
ANamelessWolf/RivieraModulador
0
7045092
using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Geometry; using DaSoft.Riviera.OldModulador.Model; using DaSoft.Riviera.OldModulador.Model.Delta; using DaSoft.Riviera.OldModulador.Runtime; using DaSoft.Riviera.OldModulador.UI.Delta; using NamelessOld.Librarie...
PantherDI.Tests/Helpers/TestProvider.cs
MarkusPalcer/PantherDI
2
7045093
using System; using System.Collections.Generic; using PantherDI.Registry.Registration; using PantherDI.Resolved.Providers; namespace PantherDI.Tests.Helpers { public class TestProvider : IProvider { private readonly Func<Dictionary<Dependency, object>, object> _delegate; public TestProvider(...
testing/MuehleSteinTest/UnitTests.cs
cihan-demir/NineMensMorris
0
7045094
<gh_stars>0 using System; using NUnit.Framework; using MuehleStein; using System.Collections.Generic; namespace MuehleSteinTest { public class Tests { [SetUp] public void Setup() { } [Test] public void PlayGame3() { Game game = new Game(); ...
GraphLinqQL.Ast/Ast/Nodes/LocationRange.cs
mdekrey/GraphLinQL
2
7045095
using Antlr4.Runtime; using System; namespace GraphLinqQL.Ast.Nodes { public readonly struct LocationRange : IEquatable<LocationRange> { public Location Start { get; } public Location Stop { get; } public LocationRange(Location start, Location stop) { this.Start = ...
Tortuga.Anchor/Tortuga.Anchor/CollectionUtilities.cs
TortugaResearch/Anchor
2
7045096
using System.Collections; using System.Collections.Concurrent; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using Tortuga.Anchor.Collections; namespace Tortuga.Anchor; /// <summary> /// Utility methods for collection classes. /// </summary> public static partial class CollectionUtilit...
src/Krino/Krino.Vertical.Utils/Transformations/ContinueWithTransformation.cs
sparxsystems/krino
0
7045097
namespace Krino.Vertical.Utils.Transformations { /// <summary> /// Concatenates transformations. /// </summary> /// <typeparam name="T"></typeparam> public class ContinueWithTransformation<T> : ITransformation<T> { private ITransformation<T> myTransformation1; private ITransform...
src/RoslynPad.Roslyn/WorkspaceServices/DocumentationProviderServiceFactory.cs
gmanny/RoslynPad
0
7045098
using System.Collections.Concurrent; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; using System.Composition; using System.IO; using Microsoft.CodeAnalysis; namespace RoslynPad.Roslyn.WorkspaceServices { [ExportWorkspaceServiceFactory(typeof(IDocumentationProviderService), ServiceLayer....
BaseSpace.SDK/src/BaseSpace.SDK.MonoTouch/BaseSpace.SDK.MonoTouch.Tests/Integration/UsersTests.cs
brunzefb/basespace-csharp-sdk
0
7045099
<filename>BaseSpace.SDK/src/BaseSpace.SDK.MonoTouch/BaseSpace.SDK.MonoTouch.Tests/Integration/UsersTests.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Illumina.BaseSpace.SDK.ServiceModels; using Illumina.BaseSpace....
Msg.FileUpload/QrCodeGeneratorProxy.cs
chenlongkuan/e-commerce-meisugou
0
7045100
using System.ServiceModel.Channels; using WCF.WEB.FileService; namespace Msg.FileUpload { class QrCodeGeneratorProxy : ServiceProxy<IQrCodeGenerator> { public QrCodeGeneratorProxy(Binding binding, string remoteAddress) : base(binding, remoteAddress) { } } }
YUtil/YUnity/12_DBTools/DB_content_delete.cs
yscode001/YUtil
0
7045101
<gh_stars>0 using Mono.Data.Sqlite; namespace YUnity { public partial class DB { /// <summary> /// 删除表所有的内容 /// </summary> /// <param name="tableName">数据表名称</param> /// <returns></returns> public SqliteDataReader Delete(string tableName) { if ...
src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenAppMsgDingSendResponse.cs
LuohuaRain/payment
1
7045102
<filename>src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenAppMsgDingSendResponse.cs using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// AlipayOpenAppMsgDingSendResponse. /// </summary> public class AlipayOpenAppMsgDingSendResponse...
src/Parsec/Shaiya/Wld/Wld.cs
kreon800/Parsec
0
7045103
<reponame>kreon800/Parsec using System; using Newtonsoft.Json; using Parsec.Shaiya.Core; namespace Parsec.Shaiya.Wld { public class Wld : FileBase { /// <summary> /// "FLD" or "DUN" as char[4] /// </summary> public string Type { get; set; } #region FLD Only fields ...
src/Disqord.Rest/Extensions/RestClientExtensions.Guild.cs
Neuheit/Diqnod
1
7045104
<filename>src/Disqord.Rest/Extensions/RestClientExtensions.Guild.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Disqord.Collections; using Disqord.Http; using Disqord.Models; using Disqord.Rest.Api; using Disqord.Rest.Pagination; namespace Disqord.Re...
IndieGameProject/Assets/Scripts/Textparser/Sentence.cs
robin-weiland/IndieGameProject
1
7045105
<reponame>robin-weiland/IndieGameProject using System.Collections.Generic; using System.Text; namespace TextParser { public class Sentence { private const string Spacing = "[+]"; private readonly string _line; private readonly List<string> _keywords; public Sentence(string ...
Assets/Scripts/Tools/FileUploadHelper.cs
lorenchorley/StrangeIoC-Updated
2
7045106
<reponame>lorenchorley/StrangeIoC-Updated<filename>Assets/Scripts/Tools/FileUploadHelper.cs using System.Collections; using System.IO; using System.Text; using System.Xml; using UnityEngine; // https://forum.unity3d.com/threads/2-simple-scripts-to-upload-files-to-a-http-server-and-free-hosting-recommendation.144...
Database Advanced/Advanced Querying - Exercise/BookShop/StartUp.cs
RosenBobchev/CSharp-DB-Fundamentals
1
7045107
<reponame>RosenBobchev/CSharp-DB-Fundamentals namespace BookShop { using BookShop.Data; using Microsoft.EntityFrameworkCore; using System; using System.Globalization; using System.Linq; using System.Text; public class StartUp { public static void Main() { } ...
UnitTest/Math/SoundMathTest.cs
nanase/SoundUtils
0
7045108
/* SoundUtils LICENSE - The MIT License (MIT) Copyright (c) 2017 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy...
ApartmentReservation.Application/Features/Reservations/Commands/UpdateReservationCommand.cs
DaniloNovakovic/apartment-reservation
5
7045109
<gh_stars>1-10 using System; using System.Threading; using System.Threading.Tasks; using ApartmentReservation.Common.Exceptions; using ApartmentReservation.Application.Interfaces; using MediatR; using Microsoft.EntityFrameworkCore; namespace ApartmentReservation.Application.Features.Reservations.Commands { public...
Services/MiddleMan.Services/CategoryService.cs
AlexVanchov/MiddleMen-ASP.NET
1
7045110
namespace MiddleMan.Services { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using MiddleMan.Data; using MiddleMan.Data.Models; using MiddleMan.Services.Interfaces; using M...
FoxDb.Core/Interfaces/Entity/IEntityGraphMapping.cs
Raimusoft/FoxDb
2
7045111
using System; namespace FoxDb.Interfaces { public interface IEntityGraphMapping { ITableConfig Table { get; } Type EntityType { get; } } }
src/base/common/configuration/IConfigurationLoader.cs
nohros/nohros-must
0
7045112
using System; using System.Xml; using System.IO; namespace Nohros.Configuration { /// <summary> /// A class used to build a <see cref="IConfiguration"/> object from a XML /// file. /// </summary> public interface IConfigurationLoader<T> where T : IConfiguration { /// <summary> /// Loa...
com/netfx/src/framework/designer/webforms/system/web/ui/design/webcontrols/listcontroldatabindinghandler.cs
npocmaka/Windows-Server-2003
17
7045113
<reponame>npocmaka/Windows-Server-2003<filename>com/netfx/src/framework/designer/webforms/system/web/ui/design/webcontrols/listcontroldatabindinghandler.cs //------------------------------------------------------------------------------ // <copyright file="ListControlDataBindingHandler.cs" company="Microsoft"> // ...
Assets/Frameworks/Core.Editor.Components/PropertyDrawers/TagDrawer.cs
VisualStudioEX3/Artemis
0
7045114
<reponame>VisualStudioEX3/Artemis using System; using UnityEditor; using UnityEngine; using VisualStudioEX3.Artemis.Framework.Core.Contracts.Attributes; namespace VisualStudioEX3.Artemis.Framework.Core.Editor.Components.PropertyDrawers { [CustomPropertyDrawer(typeof(TagAttribute))] public class TagDrawer : Pr...
LibTests/Extensions/DictionaryExtensions.cs
Somnid/cs-lib
0
7045115
using System.Collections.Generic; using Lib.Extensions; using NUnit.Framework; namespace LibTests.Extensions { [TestFixture] public class DictionaryExtensions { [Test] public void Pick_should_create_a_subdictionary() { var dict = new Dictionary<string, strin...
src/Grok.Net/Grok.cs
sandreas/grok.net
0
7045116
<filename>src/Grok.Net/Grok.cs<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Text.RegularExpressions; namespace GrokNet { public class Grok { private readonly string _grokPattern; private ...
src/chia-dotnet/HttpRpcClient.cs
andyraddatz/chia-dotnet
16
7045118
using System; using System.Dynamic; using System.Net.Http; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading; using System.Threading.Tasks; namespace chia.dotnet { /// <summary> /// Class that handles core communication with the rpc endpo...
src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.ServiceClientAdapter/CommonHelpers.cs
udayupasani/Azure-Vault
1
7045119
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
Views/_ViewStart.cshtml
junaid1460/discussion_forum
0
7045122
<reponame>junaid1460/discussion_forum @{ if(!IsAjax){ Layout = "~/Views/shared/_layout-4h.cshtml"; } var weburl = Request.Url.Port.ToString(); weburl = weburl == "80" ? "" : ":" + weburl; weburl = Request.Url.Host + weburl; Session["sURL"] = "http://"+weburl; }
Obvs.Logging.NLog/Configuration/FluentConfigExtensions.cs
megakid/Obvs.Logging
215
7045123
<reponame>megakid/Obvs.Logging<filename>Obvs.Logging.NLog/Configuration/FluentConfigExtensions.cs<gh_stars>100-1000 using System; using Obvs.Configuration; namespace Obvs.Logging.NLog.Configuration { public static class FluentConfigExtensions { public static ICanCreate<TMessage, TCommand, TEvent, TReq...
sources/launcher/Xenko.Launcher/Views/Announcement.xaml.cs
nesrak1/xenko
34
7045124
<filename>sources/launcher/Xenko.Launcher/Views/Announcement.xaml.cs // Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System.Windows.Controls; ...
src/HotChocolate/Core/test/StarWars/Types/HumanType.cs
anadale/hotchocolate
3,399
7045125
<filename>src/HotChocolate/Core/test/StarWars/Types/HumanType.cs<gh_stars>1000+ using HotChocolate.Types; using HotChocolate.StarWars.Models; using HotChocolate.StarWars.Resolvers; namespace HotChocolate.StarWars.Types { public class HumanType : ObjectType<Human> { protected override void Configure(IO...
server/API/LocationHistory.API/Extensions/StringExtensions.cs
tomasjurasek/location-history-app
5
7045126
<reponame>tomasjurasek/location-history-app<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LocationHistory.API.Extensions { public static class StringExtensions { public static bool IsValidPhone(this string phone) { ...
Core/Exceptions/PlainException.cs
J00niper/TerrariaOverhaul
78
7045127
<filename>Core/Exceptions/PlainException.cs<gh_stars>10-100 using System; namespace TerrariaOverhaul.Core.Exceptions { public class PlainException : Exception { public PlainException(string message) : base(message) { } } }
src/IxMilia.Pdf/PdfText.cs
ixmilia/pdf
6
7045128
using IxMilia.Pdf.Extensions; namespace IxMilia.Pdf { public class PdfText : PdfStreamItem { public string Value { get; set; } public PdfFont Font { get; set; } public PdfMeasurement FontSize { get; set; } public PdfPoint Location { get; set; } public PdfStreamState Sta...
PMA.Domain/Interfaces/Providers/IFreqRatingDbProvider.cs
ap185327/PMA
0
7045129
// <copyright file="IFreqRatingDbProvider.cs" company="<NAME>"> // Copyright 2017-2021 <NAME>. All rights reserved. // </copyright> using PMA.Domain.Interfaces.Providers.Base; namespace PMA.Domain.Interfaces.Providers { /// <summary> /// Initializes a new instance of the <see cref="IFreqRatingDbProvider"...
stankinsv2/solution/StankinsV2/Stankins.AzureDevOps/Helpers/JobYaml.cs
fossabot/stankins
17
7045130
using System.Collections.Generic; namespace Stankins.AzureDevOps { public class JobYaml { public JobYaml() { DependsOn = new List<string>(); Steps = new List<Step>(); } public string condition { get; set; } public List<string> DependsOn { get; se...
PrometheusCore.Collectors/ProcessCollectors.cs
tellybrown/PrometheusCore
0
7045131
<filename>PrometheusCore.Collectors/ProcessCollectors.cs using System; using System.Diagnostics; namespace PrometheusCore.Collectors { public class ProcessCollectors : IProcessCollectors { public ICollectorBuilder<ICounter> CollectionCounts { get; private set; } public ICollectorBuilder<IGauge...
course-sense-dotnet/Models/NotificationRequest.cs
jacobmichels/course-sense-dotnet
1
7045132
<filename>course-sense-dotnet/Models/NotificationRequest.cs using LiteDB; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace course_sense_dotnet.Models { // This class is a model for a user's notification request. // It includes the course the user wants...
src/Graphviz4Net.Core/Dot/AntlrParser/StringDotGraphBuilder.cs
tomap/Graphviz4Net
24
7045133
<filename>src/Graphviz4Net.Core/Dot/AntlrParser/StringDotGraphBuilder.cs  namespace Graphviz4Net.Dot.AntlrParser { using System; using System.Linq; using System.Collections.Generic; public class StringDotGraphBuilder : DotGraphBuilder<string> { private readonly IDictionary<string, DotVerte...
WebApiProxy.Tasks/Models/Configuration.cs
cedricboon/WebApiProxy
87
7045134
<reponame>cedricboon/WebApiProxy using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; using WebApiProxy.Core.Models; namespace WebApiProxy.Tasks.Models { [XmlRoot("proxy")] public ...
WalletWasabi/JsonConverters/Bitcoin/MoneyBtcJsonConverter.cs
soosr/WalletWasabi
1,517
7045135
<filename>WalletWasabi/JsonConverters/Bitcoin/MoneyBtcJsonConverter.cs<gh_stars>1000+ using NBitcoin; using Newtonsoft.Json; namespace WalletWasabi.JsonConverters.Bitcoin { public class MoneyBtcJsonConverter : JsonConverter<Money> { /// <inheritdoc /> public override Money? ReadJson(JsonReader reader, Type objec...
NixxisSupControls/NixxisSupervisionTileItems.cs
Nixxis/ncs-client
0
7045136
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Data; using Nixxis.Client.Controls; using System.Windows; using System.ComponentModel; using System.Windows.Media; using System.Xml; using System.Windows...
src/System.Runtime/tests/System/Object.cs
benjamin-bader/corefx
0
7045137
<reponame>benjamin-bader/corefx // 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 Xunit; public static unsafe class ObjectTests { [Fact] ...
sources/ClangSharp.PInvokeGenerator/Abstractions/ValueDesc.cs
ihnorton/ClangSharp
286
7045138
<reponame>ihnorton/ClangSharp // Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. using System; using ClangSharp.Interop; namespace ClangSharp.Abstractions { internal struct ValueDesc { ...
src/DotNetOpenAuth.OpenIdOAuth/OAuth/ServiceProviderOpenIdProvider.cs
felixonmars/DotNetOpenAuth
1,182
7045139
<reponame>felixonmars/DotNetOpenAuth //----------------------------------------------------------------------- // <copyright file="ServiceProviderOpenIdProvider.cs" company="Outercurve Foundation"> // Copyright (c) Outercurve Foundation. All rights reserved. // </copyright> //--------------------------------------...
src/DynamoDbModules/Helpers/DynamoDbHelper.cs
ChadRoesler/DynamoDBModules
0
7045140
using Amazon.DynamoDBv2; using Amazon.DynamoDBv2.DocumentModel; using Amazon.DynamoDBv2.Model; using System.Collections.Generic; namespace DynamoDbModules.Helpers { internal static class DynamoDbHelper { internal static Table GetTable (AmazonDynamoDBClient client, string tableName) { ...
Source/Fcop.Core/ICommand.cs
dlid/fcop
0
7045141
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace Fcop.Core { public interface ICommand { void ExecuteCommand(CommandArguments Args); [XmlIgnore] string Name { get; } ...
src/FullSpectrumWebForms_Semantic/Controls/ServerSide/HorizontalStack/HorizontalStack.cs
FullSpectrumWebForms/FullSpectrumWebForms
5
7045142
using FSW.Controls.Html; using FSW.Semantic.Controls.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FSW.Semantic.Controls.ServerSide.HorizontalStack { public class HorizontalStackItem { public string Id; ...
OOPTut/src/OOPTut.Web.UI/Views/Manage/AddRoleToUser.cshtml
ilyasaruca/dotnet-core-mvc-web-api-course
17
7045143
@model OOPTut.Web.UI.Models.ManageViewModels.AddRoleToUserViewModel @{ ViewData["Title"] = "AddRoleToUser"; } <h1>Kullaniciya rol ekle</h1> <form asp-action="AddRoleToUser" method="post" class="form-horizontal"> <div asp-validation-summary="All" class="text-danger"> </div> <div class="form-group"> ...
src/BrightChain.Engine/Services/BrightChainKeyService.cs
The-Revolution-Network/BrightChain
21
7045144
<gh_stars>10-100 namespace BrightChain.Engine.Services { using System; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Cryptography; using BrightChain.Engine.Models.Hashes; using BrightChain.Engine.Services.CacheManagers.Block; using Microsoft.IdentityModel.T...
src/Terrace.Extensions/System.Object/Object.IsNullThen.cs
YeochangYoon/Terrace.Extensions
0
7045145
using System; namespace Terrace.Extensions { public static partial class ObjectExtension { public static void IsNullThen<T>(this T @this, Action action) where T : class { if (@this is null) { action(); } } } }
Source/Tests/Trakt.NET.Objects.Post.Tests/Users/Responses/Json/Writer/UserCustomListsReorderPostResponseObjectJsonWriter/UserCustomListsReorderPostResponseObjectJsonWriter_StringWriter_Tests.cs
henrikfroehling/Trakt.NET
39
7045146
namespace TraktNet.Objects.Post.Tests.Users.Responses.Json.Writer { using FluentAssertions; using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Objects.Post.Users.Responses; using TraktNet.Ob...
Assets/Scripts/Core/Utility.cs
Shakenbake158/Earth
0
7045147
namespace Earth.Core { public static class Utility { public static void Swap<T>(ref T left, ref T right) { T temp = left; left = right; right = temp; } } }
NetObsBindings/ObsInterop/ObsVideo.cs
kostya9/NetObsBindings
0
7045148
<reponame>kostya9/NetObsBindings<filename>NetObsBindings/ObsInterop/ObsVideo.cs<gh_stars>0 using System.Runtime.InteropServices; namespace ObsInterop; public static unsafe partial class ObsVideo { [DllImport("obs", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [return: NativeTypeName("en...
RazerChroma/Devices/Mousepad/RazerChromaMousepadDeviceMetadata.cs
deankevorkian/chroma-yeelight-music
59
7045149
<reponame>deankevorkian/chroma-yeelight-music using Common; using System; using System.Collections.Generic; using System.Text; namespace RazerChroma.Devices.Mousepad { public class RazerChromaMousepadDeviceMetadata : DeviceMetadata { public RazerChromaMousepadDeviceMetadata(Guid discoveringProvider, s...
DotNetMessenger.WebApi/Handlers/LoggingHandler.cs
d32f123/DotNetMessenger
0
7045150
<gh_stars>0 using System.Net.Http; using System.Threading; using System.Threading.Tasks; using DotNetMessenger.Logger; namespace DotNetMessenger.WebApi.Handlers { public class LoggingHandler : DelegatingHandler { protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, ...
Source/Assets/Minigames/The Average 9-5 Job/Scripts/Abstract/GameScene.cs
That-One-Nerd/Arcade-Maniac
1
7045151
<reponame>That-One-Nerd/Arcade-Maniac<filename>Source/Assets/Minigames/The Average 9-5 Job/Scripts/Abstract/GameScene.cs using System; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; namespace That_One_Nerd.Unity.Games.ArcadeManiac.Minigames.TheAverage9To5Job.Abstract { [Serializable] public...
src/Essentials/src/PhoneDialer/PhoneDialer.shared.cs
vladboss61/maui
1
7045152
<gh_stars>1-10 #nullable enable using System; using System.ComponentModel; using Microsoft.Maui.Essentials; using Microsoft.Maui.Essentials.Implementations; namespace Microsoft.Maui.Essentials { public interface IPhoneDialer { bool IsSupported { get; } void Open(string number); } /// <include file="../../doc...
src/Yaksa.OrckestraCommerce.Client/Model/FindInventoryItemsStatusByScopeAndSkusRequest.cs
Yaksa-ca/eShopOnWeb
0
7045153
<filename>src/Yaksa.OrckestraCommerce.Client/Model/FindInventoryItemsStatusByScopeAndSkusRequest.cs<gh_stars>0 /* * Overture API * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * Generated by: https://git...
src/VendorCollection/Features/Vendors/VendorController.cs
QuinntyneBrown/vendor-collection
1
7045154
<reponame>QuinntyneBrown/vendor-collection using VendorCollection.Security; using MediatR; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using static VendorCollection.Features.Vendors.AddOrUpdateVendorCommand; using static VendorCollection.Features.Vendors.GetVendorsQuery; usin...
Redis.NET/Event/RedisTransactionQueuedEventArgs.cs
Bleikind/redis.net
0
7045155
using System; namespace Redis.NET.Event { /// <summary> /// Provides data for the event that is raised when a transaction command has been processed by the server /// </summary> public class RedisTransactionQueuedEventArgs : EventArgs { /// <summary> /// The status code of the tran...
src/ExternalPriceCollector/Rabbit/Subscribers/QuoteSubscriber.cs
SC-Poc/ExternalPriceCollector
0
7045156
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Common; using ExternalPriceCollector.Azure; using ExternalPriceCollector.Cache; using ExternalPriceCollector.Configuration; using ExternalPriceCollector.EntityFramework.Repositories; using E...
src/jogging/BusinessLogic/FilterParser/PropertiesList.cs
treshnikov/net-core-trainings
0
7045157
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using Domain.Attributes; namespace BusinessLogic.FilterParser { public static class PropertiesList { private static readonly ConcurrentDictionary<Type, IReadOnlyDictionary<string, ShortPropertyInfo>>...
src/DataParsing/HandleAPIErrors/ErrorsDictionary.cs
StanlsSlav/Guessr
0
7045158
using System; using System.Collections.Generic; using System.Threading.Tasks; using OpenTriviaAPICaller.UI; using static System.ConsoleColor; using static OpenTriviaAPICaller.ColorFeedBack; using static OpenTriviaAPICaller.DataParsing.ParseApiToken; namespace OpenTriviaAPICaller.DataParsing.HandleAPIErrors { inte...
ProgrammingFundamentalsExtended/11_FilesAndExceptions/FilesAndExceptionsLab/03_WordCount/_3_WordCount.cs
samuilll/BeginnerExams
0
7045159
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; class _3_WordCount { static void Main(string[] args) { var firstFileWords = File .ReadAllText("words.txt") .Split(new char[] { '...
BACnet.Ashrae/Generated/ConfirmedServiceAck.cs
LorenVS/bacstack
8
7045160
using System; using BACnet.Types; using BACnet.Types.Schemas; namespace BACnet.Ashrae { public abstract partial class ConfirmedServiceAck { public abstract Tags Tag { get; } public bool IsGetAlarmSummary { get { return this.Tag == Tags.GetAlarmSummary; } } public GetAlarmSummaryAck AsGetAlarmSummary { get {...
Signum.Upgrade/Upgrades/Upgrade_20200929_WebAuthn.cs
DCoder1997/CustomSignumFR
1
7045161
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Signum.Upgrade.Upgrades { class Upgrade_20200929_WebAuthn : CodeUpgrad...
PowerShellTools.Explorer/Helpers/NotifiyTaskCompletion.cs
kilasuit/poshtools
135
7045162
using System; using System.ComponentModel; using System.Threading.Tasks; namespace PowerShellTools.Explorer { internal sealed class NotifiyTaskCompletion<TResult> : INotifyPropertyChanged { public NotifiyTaskCompletion(Task<TResult> task) { Task = task; if (!...
OmniGui.Wpf/Conversion.cs
uamhforever/OmniGUI
180
7045163
using System; using System.IO; using System.Windows.Media.Imaging; using OmniGui.Xaml; using OmniXaml.Attributes; using OmniXaml; namespace OmniGui.Wpf { public class Conversion { [TypeConverterMember(typeof(Bitmap))] public static Func<string, ConvertContext, (bool, object)> ThicknessConverte...
sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/CertificateProperties.cs
frank-pang-msft/azure-sdk-for-net
3,268
7045164
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
NuKeeper/Engine/IGitHubRepositoryEngine.cs
Opiskull/NuKeeper
0
7045165
using LibGit2Sharp; using NuKeeper.Configuration; using System.Threading.Tasks; namespace NuKeeper.Engine { public interface IGitHubRepositoryEngine { Task<int> Run(RepositorySettings repository, UsernamePasswordCredentials gitCreds, Identity userIdentity, SettingsContainer sett...
C# Programming Basics/Homeworks/For Loop/02.HalfSumElement/Program.cs
DiyanApostolov/SoftUni-Software-Engineering
3
7045166
<gh_stars>1-10 using System; namespace _02.HalfSumElement { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int sum = 0; int maxNum = int.MinValue; for (int i = 0; i < n; i++) { ...
ViewToolkit/Geometries/GeometryHelper.cs
mff-uk/exolutio
1
7045167
<filename>ViewToolkit/Geometries/GeometryHelper.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace Exolutio.ViewToolkit { /// <summary> /// This class contains several methods for drawing connectors and...
src/Disqord.Gateway.Api/Models/Payloads/ThreadMembersUpdateJsonModel.cs
moriyahiroaki/Disqord
1
7045168
<gh_stars>1-10 using Disqord.Models; using Disqord.Serialization.Json; namespace Disqord.Gateway.Api.Models { public class ThreadMembersUpdateJsonModel : JsonModel { [JsonProperty("id")] public Snowflake Id; [JsonProperty("guild_id")] public Snowflake GuildId; ...
07.C# DB Fundamentals/07.02.Databases Advanced - Entity Framework/08.Best Practices and Architecture/PhotoShare.Client/Core/Commands/ModifyUserCommand.cs
mdamyanova/C-Sharp-Web-Development
10
7045169
<gh_stars>1-10 namespace PhotoShare.Client.Core.Commands { using System; using Services; using Models; using System.Linq; public class ModifyUserCommand { private readonly TownService townService; private readonly UserService userService; public ModifyUserCommand(UserS...
src/go-src-converted/math/big/intmarsh.cs
rgwood/go2cs
249
7045170
<gh_stars>100-1000 // Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements encoding/decoding of Ints. // package big -- go2cs converted at 2020 October 09 04:53:30 UTC // import "math/big" ==...
src/HttpMessageSigning.Signing/Extensions.IServiceCollection.AddRSAHttpMessageSigning.cs
zacuke/HttpMessageSigning
9
7045171
using System; using System.Diagnostics.CodeAnalysis; using System.Security.Cryptography; using Microsoft.Extensions.DependencyInjection; namespace Dalion.HttpMessageSigning.Signing { public static partial class Extensions { /// <summary>Adds http message signing registrations to the specified <see cref="I...
Le_LEPIDOPTERE/Program.cs
pascalgage/CDAdemo2021
0
7045172
<filename>Le_LEPIDOPTERE/Program.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ClassLibrary_Lepidoptere; namespace Le_LEPIDOPTERE { public class Program { static void Main(string[] args) { Le...
src/Libraries/FaraMedia.Services/Querying/ContentManagement/TagQuery.fixed.cs
m-sadegh-sh/FaraMedia
0
7045173
<gh_stars>0 namespace FaraMedia.Services.Querying.ContentManagement { using System.Collections.Generic; using System.Linq; using FaraMedia.Core; using FaraMedia.Core.Domain.ContentManagement; using FaraMedia.Core.Operators; public sealed class TagQuery : EntityQueryBase<Tag, TagQuery> { public TagQuery(IEnume...
source/SteamCMD_reUI_Core/Configs/Theme.cs
EpicMorg/SteamCMD_reUI
3
7045174
<gh_stars>1-10 using System.Xml.Serialization; using MetroFramework; namespace SteamCMD_reUI_Core.Configs { public class Theme { public Theme() { } public Theme(MetroThemeStyle theme = MetroThemeStyle.Dark) { ThemeCode = theme; } [XmlAttribute] publi...
UltimateOrb.Core.Tests/fff.cs
LEI-Hongfaan/UltimateOrb.Core
2
7045175
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UltimateOrb { } namespace UltimateOrb.TypeSignatures { internal struct LValueReference<T> { } internal struct RValueReference<T> { } }
BaseListener.Tests/E2ETests/Stories/DoSomethingTests.cs
LBHackney-IT/lbh-base-listener
0
7045176
using BaseListener.Tests.E2ETests.Fixtures; using BaseListener.Tests.E2ETests.Steps; using Hackney.Core.Testing.DynamoDb; using System; using TestStack.BDDfy; using Xunit; namespace BaseListener.Tests.E2ETests.Stories { [Story( AsA = "SQS Entity Listener", IWant = "a function to process the DoSomet...
CSharp/NumberTheory/Fermat/Settings/TestSetting.cs
CNHume/Samples
0
7045177
// // Copyright (C) 2020, <NAME>. All rights reserved. // namespace Fermat.Settings { public class TestSetting { #region Properties public decimal Totient { get; set; } #endregion } }
Assets/Plugins/DockerDotNet/src/Docker.DotNet/Models/SystemInfoResponse.Generated.cs
KOREAN139/simulator
674
7045178
<gh_stars>100-1000 using System.Collections.Generic; using System.Runtime.Serialization; namespace Docker.DotNet.Models { [DataContract] public class SystemInfoResponse // (types.Info) { [DataMember(Name = "ID", EmitDefaultValue = false)] public string ID { get; set; } [DataMember(...
src/BlazorSushi/Shared/CartPreview.cshtml
lohithgn/blazor-sushi
12
7045179
<div id="shop-info" class="@(Items.Count > 0 ? "active" : "empty")"> <ul id="shop-list"> @foreach (var item in Items) { <li class="selected-products-list"> <a class="view-selected-items" onclick="@(()=>OnRemove(item))"> <img width="100" height="100" ...
Assets/Scripts/UI Scripts/Dining/DiningMenu.cs
brinleyzhao1/Whimel-A-Magic-Academy
0
7045180
<filename>Assets/Scripts/UI Scripts/Dining/DiningMenu.cs using System.Collections.Generic; using GameDev.tv_Assets.Scripts.Inventories; using Player.Interaction; using UI; using UI_Scripts.Shop; using UnityEngine; namespace UI_Scripts.Dining { /// <summary> /// parallel to shopMenu, sit on ui diningMenu /// </s...
TicketsDemo.CSV/CSVDTO/CarriageCSV.cs
RezzylAzzir/TicketsDemo
0
7045181
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TicketsDemo.CSV.CSVDTO { public class CarriageCSV { public string CarriageId { get; set; } public string Type { get; set; } public string Places { get; set; } ...
src/GinPlatform.NET SDK/GinPlatformSettings.cs
kkabala/GinPlatform.NET-SDK
1
7045183
<reponame>kkabala/GinPlatform.NET-SDK namespace GinPlatform.NET_SDK { public static class GinPlatformSettings { public static string GinPlatformUrl { get; set; }= "https://api.ginplatform.io"; public static bool ProtectionFromBeingRateLimited { get; set; } = true; private static int maxRe...