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
Homeless/ERC20Token/ContractDefinition/DonorIssuance.cs
Homeless-Page/Homeless-Erc20-token
2
7030676
using System; using System.Threading.Tasks; using System.Collections.Generic; using System.Numerics; using Nethereum.Hex.HexTypes; using Nethereum.ABI.FunctionEncoding.Attributes; namespace Homeless.Contracts.ERC20Token.ContractDefinition { public partial class DonorIssuance : DonorIssuanceBase { } public cla...
wch/wchLibrary/bll/Terms.cs
HoursX/WCH
0
7030678
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace wch.bll { public class Terms { public static void Update(string trem_json) { wchEntities dc = new wchEntities(); ...
Altar.NET.Util/ILHacks.cs
TheNetheriteBlock/Altar.NET
47
7030679
<filename>Altar.NET.Util/ILHacks.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; #pragma warning disable 626 // extern method without DllImport namespace Altar { public unsafe static class ILHacks { [MethodImpl(MethodImplOpt...
ArkBot/Discord/AutofacDiscordServiceProvider.cs
Betrail/ArkBot
73
7030680
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Autofac; namespace ArkBot.Discord { public class AutofacDiscordServiceProvider : IServiceProvider { private readonly ILifetimeScope _scope; public Autofac...
LawMate/fSystemMessage.cs
chris-weekes/atrium
0
7030681
<reponame>chris-weekes/atrium<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using lmDatasets; namespace LawMate.Admin { public partial class fSystemMessage : LawMate.Admin.fBase { ...
src/Web.Api/Services/AuthService.cs
khteh/AspNetCoreApiStarter
3
7030682
<filename>src/Web.Api/Services/AuthService.cs<gh_stars>1-10 using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Google.Protobuf.WellKnownTypes; using Grpc.Core; using Web.Api.Core.DTO.UseCaseRequests; using Web.Api.Core.DTO.UseCaseR...
ZConfig.NET/ZConfigCommon/Src/Config/Parsers/XmlConfigParser.cs
subhagho/Zconfig.NET
1
7030683
#region copyright // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the ...
Assets/Plugins/Sirenix/Demos/Odin Inspector/Scripts/Object Placement Demo/ObjectPlacementFunction.cs
brustlinker/unity_gameai
1
7030684
namespace Sirenix.OdinInspector.Demos { using UnityEngine; public abstract class ObjectPlacementFunction { public abstract Vector3 GetPosition(float t); public virtual Vector3 GetTangent(float t) { float t1 = Mathf.Clamp01(t + 0.01f); float t2 = M...
src/JedzenioPlanner.Api/Utils/Auth0Utils.cs
JedzenioPlanner/JedzenioPlanner.Api
1
7030686
using System; using System.IO; using System.Security.Cryptography; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; namespace JedzenioPlanner.Api.Utils { public static class Auth0Uti...
apps/ServerlessMediaIngester/Constants.cs
steveataws/talk-samples
1
7030687
namespace MediaIngester { internal abstract class Constants { // The Amazon Resource Name (ARN) identifier for the step functions state machine, // this value is posted to Systems Manager's Parameter Store from the serverless // template when the serverless application stack is construc...
sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SearchProfile.cs
v-kaifazhang/azure-sdk-for-net
0
7030688
<gh_stars>0 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using Azure.Core; namespace Azure.ResourceManager.Workloads.Models { /// <summary> Search profile. </summary> pub...
UnitsNet.NanoFramework/GeneratedCode/Quantities/MolarMass.g.cs
Gas-Liquids-Engineering/UnitsNet
0
7030689
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step ...
ZTraxApp/Models/Badges.cs
linkxu1989/ZTraxApp
0
7030690
<filename>ZTraxApp/Models/Badges.cs<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZTraxApp.Models { public class Badges : INotifyPropertyChanged { public event PropertyChangedEventHa...
src/Libraries/Thinktecture.IdentityServer.Protocols/OpenIdConnect/OidcToken.cs
plunix/identityserverv2
122
7030691
using System; using System.Collections.Generic; using System.IdentityModel.Protocols.WSTrust; using System.IdentityModel.Tokens; using System.Security.Claims; namespace Thinktecture.IdentityServer.Protocols.OpenIdConnect { public abstract class OidcToken { public string Issuer { get; set; } pu...
src/HareDu.Diagnostics.Tests/Probes/DiagnosticProbeTestingHarness.cs
ahives/HareDu1
0
7030692
<filename>src/HareDu.Diagnostics.Tests/Probes/DiagnosticProbeTestingHarness.cs namespace HareDu.Diagnostics.Tests.Probes { using Core.Configuration; using Core.Configuration.Internal; using KnowledgeBase; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; u...
Editor/TypeDropdown/TypeItem.cs
meckzqz/ClassTypeReference-for-Unity
136
7030693
<gh_stars>100-1000 namespace TypeReferences.Editor.TypeDropdown { using System; using UnityEngine.Assertions; using Util; /// <summary> /// Item that contains <see cref="System.Type"/>, its full name, and path (full type name, formatted according to /// <see cref="Grouping"/>). /// </summa...
MonoUI.Controls.WinForms/ControlExternsions.cs
Suremaker/MonoUI
0
7030694
<gh_stars>0 using MonoUI.Core; namespace MonoUI.Controls.WinForms { internal static class ControlExternsions { public static IWinFormsControlView GetWinFormsView(this IControl control) { return (IWinFormsControlView)control.View; } } }
Nexus.Commands/Enums/CommandSource.cs
NexusCommunity/Nexus
0
7030695
<filename>Nexus.Commands/Enums/CommandSource.cs namespace Nexus.Commands.Enums { /// <summary> /// An enum used to specify a command environment. /// </summary> public enum CommandSource { /// <summary> /// Specifies the Remote Admin Panel. /// </summary> RemoteAdmin...
Tests/Magick.NET.Tests/Shared/MagickNETTests/TheDelegatesProperty.cs
SumorMax/Magick.NET
1
7030696
// Copyright 2013-2018 <NAME> <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // // https://www.imagemagick.org/script/license.php // // Unless required ...
Src/Fido2.Models/Converters/FidoEnumConverter.cs
syh-jeffk/fido2-net-lib
454
7030697
<gh_stars>100-1000 using System; using System.Text.Json; using System.Text.Json.Serialization; namespace Fido2NetLib { public sealed class FidoEnumConverter<T> : JsonConverter<T> where T: struct, Enum { public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOption...
src/s32.Sceh.WinApp/BBCodeWriters/BoldTextWriter.cs
Sinus32/sceh
0
7030698
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace s32.Sceh.WinApp.BBCodeWriters { public class BoldTextWriter : TextFormatWriter { internal override string GetEndTag() { return "[/b]"; } in...
Jock.Net.TcpJson/ReceiveRequestCallback.cs
lishu/Jock.Net.TcpJson
3
7030699
<reponame>lishu/Jock.Net.TcpJson<filename>Jock.Net.TcpJson/ReceiveRequestCallback.cs using System; namespace Jock.Net.TcpJson { class ReceiveRequestCallback { public string URI; public Type RequestType; public Type ResponseType; public Delegate Callback; public Receive...
ConsoleExtensions.Commandline/Parser/ModelCommand.cs
oswaldsql/ConsoleExtensions.Commandline
0
7030700
<gh_stars>0 // -------------------------------------------------------------------------------------------------------------------- // <copyright file="ModelCommand.cs" company="<NAME>"> // Copyright (c) 2019 <NAME> // Licensed under the MIT license. See LICENSE file in the solution root for full license informati...
Master/MPlayer/Helpers/StringHelpers.cs
eltra-ch/eltra-mplayer
0
7030701
using System; using System.Linq; namespace MPlayerMaster.Helpers { class StringHelpers { public static string RemoveWhitespace(string input) { string result = string.Empty; if (!string.IsNullOrWhiteSpace(input)) { result = new string(input.T...
E-Shop-Engine.Website/Controllers/BaseController.cs
LadyHail/E-Shop-Engine
3
7030702
using System.Web.Mvc; using AutoMapper; using E_Shop_Engine.Website.Models.Custom; using NLog; namespace E_Shop_Engine.Website.Controllers { public class BaseController : Controller { protected Logger _logger; protected IMapper _mapper; public BaseController(IMapper mapper) { ...
sources/Interop/Windows/um/wincodec/WICComponentEnumerateOptions.cs
mfkl/terrafx.interop.windows
0
7030703
<gh_stars>0 // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/wincodec.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { p...
WpfAnalyzers/Analyzers/ClrMethodDeclarationAnalyzer.cs
JohanLarsson/WpfAnalyzer
1
7030704
namespace WpfAnalyzers; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Threading; using Gu.Roslyn.AnalyzerExtensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; [Di...
src/Hangfire.Autofac/GlobalConfigurationExtensions.cs
camiller2/Hangfire.Autofac
67
7030705
<gh_stars>10-100 using System; using Autofac; using Hangfire.Annotations; // ReSharper disable once CheckNamespace namespace Hangfire { public static class GlobalConfigurationExtensions { public static IGlobalConfiguration<AutofacJobActivator> UseAutofacActivator( [NotNull] this IGlobalCon...
Backend/RiderPlugin/ForTea.RiderPlugin/ProtocolAware/Highlighting/T4RiderSyntaxHighlightingHost.cs
JetBrains/ForTea
49
7030706
using GammaJul.ForTea.Core.Psi.FileType; using JetBrains.Annotations; using JetBrains.DocumentModel; using JetBrains.ForTea.RiderPlugin.Model; using JetBrains.ForTea.RiderPlugin.ProtocolAware.Highlighting.Impl; using JetBrains.Lifetimes; using JetBrains.ProjectModel; using JetBrains.RdBackend.Common.Features.Documents;...
democode/Proto.Actor/Actor/RootContext.cs
renesugar/ProjectExodus
0
7030707
<filename>democode/Proto.Actor/Actor/RootContext.cs // ----------------------------------------------------------------------- // <copyright file="RootContext.cs" company="Asynkron HB"> // Copyright (C) 2015-2017 Asynkron HB All rights reserved // </copyright> // ---------------------------------------------...
Lpp.Dns.Data/Migrations/201408061607107_SpeedUp1.cs
Missouri-BMI/popmednet
9
7030708
namespace Lpp.Dns.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class SpeedUp1 : DbMigration { public override void Up() { Sql(@"SET ANSI_PADDING ON CREATE NONCLUSTERED INDEX [_dta_index_Requests_6_210099789__K20D_K24_K9_1_3_6_11_...
Introducing/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Core/Cloning/Cloners/AnimationCurveCloner.cs
MrMYX/StartingUnity2D
10
7030709
<gh_stars>1-10 using System; using UnityEngine; namespace Unity.VisualScripting { public sealed class AnimationCurveCloner : Cloner<AnimationCurve> { public override bool Handles(Type type) { return type == typeof(AnimationCurve); } public override AnimationCurve Co...
Healthcare/Alerts/InvalidVisitAlert.cs
econmed/ImageServer20
1
7030710
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
Audio/NAudio/Wave/SampleChunkConverters/Mono8SampleChunkConverter.cs
hexd0t/Garm_Net
1
7030711
using System; using System.Collections.Generic; using System.Text; namespace NAudio.Wave.SampleProviders { class Mono8SampleChunkConverter : ISampleChunkConverter { int offset; byte[] sourceBuffer; int sourceBytes; public bool Supports(WaveFormat waveFormat) { ...
test/Nydus.IntegrationTestsServer/DatabaseInitializer.cs
ppioli/Nydus
0
7030712
<filename>test/Nydus.IntegrationTestsServer/DatabaseInitializer.cs using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Nydus.IntegrationTestsServer; public class DatabaseInitializer { private readonly CoreKitTestDbContext _context; public DatabaseInitializer(CoreKitTestDbC...
Part1-IdentityServer4/19/authSample/mvcCookieAuthSample2/Views/Consent/_ScopeListItem.cshtml
mgxfm/NetCoreMicroService
1
7030713
<reponame>mgxfm/NetCoreMicroService<filename>Part1-IdentityServer4/19/authSample/mvcCookieAuthSample2/Views/Consent/_ScopeListItem.cshtml @using mvcCookieAuthSample.ViewModels @model ScopesViewModel @{ ViewData["Title"] = "Index"; } <li> <label> <input type="checkbox" name="ScopeConsente...
ForgeAlloyUnity/Assets/ForgeNetworking/Reflection/TypeReflectionRepository.cs
BrentFarris/ForgeAlloy
5
7030714
using System; using System.Collections.Generic; using System.Linq; namespace Forge.Reflection { public class TypeReflectionRepository : ITypeReflectionRepository { private readonly List<Type> _typeList = new List<Type>(); private readonly Dictionary<Type, List<Type>> _reflectedTypeList = new Dictionary<Type, Lis...
AutoTest.Domain/Repositories/ITestRunsRepository.cs
luhis/AutoTest
0
7030715
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using AutoTest.Domain.StorageModels; namespace AutoTest.Domain.Repositories { public interface ITestRunsRepository { Task<IEnumerable<TestRun>> GetAll(ulong eventId, CancellationToken cancellationToken); ...
ShiroiFX-Editor/PopUp/EffectSelectorContent.cs
LunariStudios/ShiroiFX
7
7030716
using System; using System.Collections.Generic; using System.Linq; using Shiroi.FX.Effects; using UnityEditor; using UnityEngine; using Lunari.Tsuki; using Types = Lunari.Tsuki.Types; namespace Shiroi.FX.Editor.PopUp { public class EffectSelectorContent : PopupWindowContent { public const float Width = 30...
CleverDock/CleverDock/Models/ThemeModel.cs
ldom66/clever-dock
69
7030718
<gh_stars>10-100 using CleverDock.ViewModels; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CleverDock.Models { public class ThemeModel { public ThemeModel() { } public ThemeModel(...
Assets/Scripts/LevelManager.cs
jasonwnorris/GameBoyJam5
0
7030719
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LevelManager : MonoBehaviour { #region Constants #endregion #region Public Variables public Transform PlayerTransform; #endregion #region Members private str...
src/Facility.CodeGen.Python/CodeTemplateGlobals.cs
FacilityApi/FacilityPython
0
7030720
<reponame>FacilityApi/FacilityPython using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text.RegularExpressions; using Facility.Definition; using Facility.Definition.CodeGen; using Facility.Definition.Http; namespace Facility.CodeGen.Python { in...
Assets/Scripts/LuaMod/MethodPool.cs
friuns2/MonoHook
0
7030721
<filename>Assets/Scripts/LuaMod/MethodPool.cs using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using NLua; using UnityEngine; public class MethodPool { public static MethodPool mp = new MethodPool(); public class MethodPoolItem { public int luaID; publ...
src/SmsService.Core.SmsProvider/ISmsService.cs
MalekiSirius/sms-emitter
2
7030722
<reponame>MalekiSirius/sms-emitter using System; using System.Collections.Generic; using System.Threading.Tasks; namespace SmsService.Core.SmsProvider { public interface ISmsService : IMagfaService { Task<AppCore.Result<Model.Sms>> SendMessageAsync(Model.Sms sms, Model.SmsConfig config); Task...
number-wizard-console/Number Wizard Console/Assets/NumberWizard.cs
berkayersever/unity-2d
0
7030724
<filename>number-wizard-console/Number Wizard Console/Assets/NumberWizard.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class NumberWizard : MonoBehaviour { int min; int max; int guess; // Use this for initialization void Start () { StartGame(); } ...
tests/Unity.Specification/Injection/Constructor.cs
TrayanZapryanov/container
0
7030725
<reponame>TrayanZapryanov/container using Microsoft.VisualStudio.TestTools.UnitTesting; using Unity; using Unity.Specification.Injection.Constructor; namespace Injection { [TestClass] public class Constructor : SpecificationTests { public override IUnityContainer GetContainer() { ...
src/WizBot/Modules/Games/Services/GamesConfigService.cs
Wizkiller96/WizBot
12
7030726
using WizBot.Common; using WizBot.Common.Configs; using WizBot.Services; using WizBot.Modules.Games.Common; namespace WizBot.Modules.Games.Services { public sealed class GamesConfigService : ConfigServiceBase<GamesConfig> { public override string Name { get; } = "games"; private const string F...
tea_game_hw/Assets/Skyboxes/BOXOPHOBIC/Skybox Cubemap Extended/Core/Editor/SkyboxExtendedShaderGUI.cs
honeyboyJones/code_lab_1_assignments
12
7030727
//<NAME> - https://boxophobic.com/ using UnityEngine; using UnityEditor; using System.Collections.Generic; public class SkyboxExtendedShaderGUI : ShaderGUI { public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props) { //base.OnGUI(materialEditor, props); ...
MetadataExtractor.Tests/Formats/Iptc/IptcDirectoryTest.cs
kwhopper/metadata-extractor-dotnet
677
7030728
<reponame>kwhopper/metadata-extractor-dotnet // Copyright (c) <NAME> and contributors. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using MetadataExtractor.Formats.Iptc; using Xunit; namespace MetadataExtractor.Tests.Forma...
GhostModKevin/GhostExtensions.cs
thefoxbot/Kevinball
2
7030729
<filename>GhostModKevin/GhostExtensions.cs using Celeste.Mod; using Microsoft.Xna.Framework; using Monocle; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Celeste.Mod.Ghos...
Source/DotSpatial.Data.Rasters.GdalExtension/GdalTiledImage.cs
eapbokma/DotSpatial
0
7030730
<filename>Source/DotSpatial.Data.Rasters.GdalExtension/GdalTiledImage.cs // Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System; using System.Drawing; using System.Drawing.Imaging; using OSGeo.G...
.NetCore/CheckMySymptoms/CheckMySymptoms.Forms.View/Common/MessageTemplateView.cs
BlaiseD/LogicBuilder.Samples
1
7030731
<reponame>BlaiseD/LogicBuilder.Samples<filename>.NetCore/CheckMySymptoms/CheckMySymptoms.Forms.View/Common/MessageTemplateView.cs<gh_stars>1-10 using System.Collections.Generic; namespace CheckMySymptoms.Forms.View.Common { public class MessageTemplateView : ViewBase { public string Caption { get; set; } ...
src/Plugins/Nop.Plugin.Payments.PayPalCommerce/Models/ConfigurationModel.cs
tanzimsiddiqee/nopPractice
0
7030732
<filename>src/Plugins/Nop.Plugin.Payments.PayPalCommerce/Models/ConfigurationModel.cs using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc.Rendering; using Nop.Web.Framework.Models; using Nop.Web.Framework.Mvc.ModelBinding; namespace Nop.Plugin.Payments.PayPalC...
WindowGraph.cs
SHv2/PerformanceMeter
0
7030733
<filename>WindowGraph.cs<gh_stars>0 /* ------------------- Code Monkey ------------------- Thank you for downloading this package I hope you find it useful in your projects If you have any questions let me know Cheers! unitycodemonkey.com --------------------------------------...
Source/Utilities/Structures/Vector3D.cs
andreamattei97/Beryl
5
7030734
using System; using System.Runtime.Serialization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; namespace Beryl.Utilities.Structures { public struct Vector3D : IXmlSerializable, ISerializable { private double _x; public double x { get { return _...
Assets/RGScripts/Avatar/PlayerCharacter.cs
RutgersUniversityVirtualWorlds/FreshTherapyOffice
0
7030735
/* Copyright (c) 2009-11, ReactionGrid Inc. http://reactiongrid.com * See License.txt for full licence information. * * PlayerCharacter.cs Revision 1.4.1106.11 * Controls how a player moves */ using UnityEngine; using System.Collections; public class PlayerCharacter : MonoBehaviour { // Character ...
zinfotools/system/zinfoimage/MyInfo.cs
zyl910/zyllibcs
0
7030736
using System; using System.Collections.Generic; using System.Linq; using System.Drawing; using zyllibcs.text; using System.Reflection; using System.Drawing.Imaging; using System.Diagnostics; using System.IO; namespace zinfoimage { /// <summary> /// My info: Image infos. /// </summary> class MyInfo { ...
lib/netstd/Thrift/Transport/Client/TNamedPipeTransport.cs
many-sigsegv/thrift
6
7030737
<reponame>many-sigsegv/thrift<filename>lib/netstd/Thrift/Transport/Client/TNamedPipeTransport.cs // Licensed to the Apache Software Foundation(ASF) under one // or more contributor license agreements.See the NOTICE file // distributed with this work for additional information // regarding copyright ownership.The ASF li...
wrappers/dotnet/indy-sdk-dotnet-test/AnonCredsTests/ProverGetClaimsForProofRequestTest.cs
nveskovic/indy-sdk
1
7030739
<reponame>nveskovic/indy-sdk<gh_stars>1-10 using Hyperledger.Indy.AnonCredsApi; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; using System.Threading.Tasks; namespace Hyperledger.Indy.Test.AnonCredsTests { [TestClass] public class ProverGetClaimsForProofRequestTest : AnonCreds...
src/System.Net.Mail/tests/Unit/MailAddressTests/MailAddressParserTest.cs
hgGeorg/corefx
0
7030740
// 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 Xunit; namespace System.Net.Mail.Tests { public class MailAddressParse...
src/Client/Web/Playground/Bit.Client.Web.BlazorUI.Playground/App/MauiProgram.cs
saeedhalab/bitframework
1
7030741
using System; using System.Net.Http; using System.Reflection; using Microsoft.AspNetCore.Components.WebView.Maui; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using Microsoft.Maui.Controls.Hosting; using Microsoft.Maui.Hosting; nam...
EventsFlow.Tests/EventsProcessorFixture.cs
whitestrannik/Examples.EventsFlow
0
7030742
using EventsFlow.Common; using EventsFlow.Main.Impl; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Concurrent; using System.Collections.Generic; namespace EventsFlow.Tests { [TestClass] public class EventsProcessorFixture { [TestMethod] public v...
src/Tbs.Web.Mvc/Controllers/Domain/ArticleTypesController.cs
jiangyimin/Tbs
0
7030743
<gh_stars>0 using Abp.Application.Services; using Abp.AspNetCore.Mvc.Authorization; using Abp.Domain.Repositories; using Tbs.DomainModels; using Tbs.DomainModels.Dto; using Tbs.Authorization; namespace Tbs.Web.Controllers { [AbpMvcAuthorize(PermissionNames.Admin_Setup)] public class ArticleTypesController : T...
Plugins/GameServerMonitor/ServerMonitors/MinecraftServerMonitor.cs
Lomztein/ModularDiscordBot
0
7030744
using Lomztein.Moduthulhu.Core; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Lomztein.Moduthulhu.Plugins.GameServerMonitor.ServerMonitors { public class MinecraftServerMonitor : GameServerMonitorBase { protected ...
backend/dal/Helpers/Extensions/ResearchExtensions.cs
FuriousLlama/PSP
0
7030745
namespace Pims.Dal.Helpers.Extensions { using System.Linq; using Microsoft.EntityFrameworkCore; using Pims.Core.Extensions; using Entity = Pims.Dal.Entities; /// <summary> /// ResearchExtensions static class, provides extension methods for research. /// </summary> public static class Re...
src/net/ICE/TurnServer.cs
FrankPfattheicher/sipsorcery
0
7030746
<reponame>FrankPfattheicher/sipsorcery<filename>src/net/ICE/TurnServer.cs //----------------------------------------------------------------------------- // Filename: TurnServer.cs // // Description: Encapsulates the connection details for a TURN/STUN server. // // Author(s): // <NAME> // // History: // 26 F...
CraftworkProject.Web/Areas/Admin/Controllers/OrdersController.cs
explosion204/craftwork-project
1
7030747
using System; using System.Threading.Tasks; using CraftworkProject.Domain; using CraftworkProject.Domain.Models; using CraftworkProject.Services.Interfaces; using CraftworkProject.Web.Areas.Admin.ViewModels; using Microsoft.AspNetCore.Mvc; namespace CraftworkProject.Web.Areas.Admin.Controllers { [Area("Admin")] ...
src/StockportWebapp/Views/stockportgov/Shared/Header.cshtml
smbc-digital/iag-webapp
5
7030748
@using System.Threading.Tasks @using StockportWebapp.Models @inject IStaticAssets StaticAssets @inject StockportWebapp.Utils.ILoggedInHelper loggedInHelper @inject StockportWebapp.FeatureToggling.FeatureToggles featureToggles @{ var user = loggedInHelper.GetLoggedInPerson(); var bannerTypeformUrl = V...
GenLibrary/Extended/GenClass/GridViewColumnExt/LayoutColumn.cs
JustGentle/Just.WPF
0
7030749
<reponame>JustGentle/Just.WPF<gh_stars>0 using System; using System.Windows; using System.Windows.Controls; namespace GenLibrary.GenClass { public abstract class LayoutColumn { // ---------------------------------------------------------------------- protected static bool HasPropertyValue(Gri...
Controls/DataControls/DataControls.UWP/DataForm/View/Editors/EditorGeneration/EntityEditorGenerator.cs
perry-contribs/Uno.Telerik.UI-For-UWP
8
7030750
<gh_stars>1-10 using System; using System.Collections.Generic; using Telerik.Data.Core; using Telerik.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Telerik.UI.Xaml.Controls.Data.DataForm.View { internal class EntityEditorGenerator { private readonly IDat...
Challenges/MultiBracketValidation/TestMBV/UnitTest1.cs
Thood50/401-data-structures-and-algorithms
0
7030751
using System; using Xunit; using MultiBracketValidation; using MultiBracketValidation.Classes; namespace TestMBV { public class UnitTest1 { [Fact] public void TestMBVForTrue() { string thing = "public CharNode(char value) {Value = value; Next = null;}"; bool test...
Tortuga.Chain/Tortuga.Chain.Core/DataSources/IDataSource.cs
TortugaResearch/Chain
2
7030752
<reponame>TortugaResearch/Chain using Tortuga.Chain.AuditRules; using Tortuga.Chain.Core; using Tortuga.Chain.Metadata; namespace Tortuga.Chain.DataSources { /// <summary> /// Interface IDataSource is used to expose a data source to appenders. /// </summary> public interface IDataSource { /// <summary> /// Ra...
src/RxBim.Shared/UserSettings.cs
AlexNik235/RxBim
0
7030753
<gh_stars>0 namespace RxBim.Shared { using System; using System.IO; using System.Linq; using System.Reflection; using System.Xml; using System.Xml.Linq; using System.Xml.Serialization; using Abstractions; /// <inheritdoc /> public class UserSettings : IUserSettings { ...
src/Services/Catalog/Catalog.API/Controllers/CatalogController.cs
caohoangtg/HUEThoMicroservices
1
7030754
<reponame>caohoangtg/HUEThoMicroservices using Catalog.Application.Commands; using Catalog.Application.Queries; using Catalog.Application.Utilities.DTOs; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; namespace Catalog.API.Controllers { ...
Chart/Symbols.aspx.cs
syncfusion/aspnet-ej1-demos
3
7030755
#region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL>. Any infringement will be prosecuted under // applicable laws. #endr...
src/Microsoft.AspNet.Mvc.Core/Internal/TypeHelper.cs
augustoproiete-forks/aspnet--Mvc
0
7030756
// Copyright (c) Microsoft Open Technologies, Inc. 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.Reflection; using System.Threading.Tasks; namespace Microsoft.AspNet.Mvc ...
Models/API/Games/TopGamesPage.cs
RokuHodo/Twitch-Library
1
7030757
<filename>Models/API/Games/TopGamesPage.cs // standard namespaces using System.Collections.Generic; // imported .dll's using Newtonsoft.Json; namespace TwitchLibrary.Models.API.Games { public class TopGamesPage { [JsonProperty("_total")] public int _total { get; protected set; } [Jso...
src/Core/StylusEventArgs.cs
Geo3gamer/OpenPDN
0
7030758
<gh_stars>0 ///////////////////////////////////////////////////////////////////////////////// // Paint.NET // // Copyright (C) dotPDN LLC, <NAME>, <NAME>, and contributors. // // Portions Copyright (C) Microsoft Corporation. All Rights Reserved. ...
IRV-Evaluator/Vote.cs
Free-Nations-Region/IRV-Evaluator
0
7030759
<gh_stars>0 using System; using System.Collections.Generic; namespace IRV_Evaluator { public class Vote { public List<int> Rankings { get; } = new List<int>(); public bool IsValid { get; set; } public int GetRankingByIndex(int index) { if (index < 0 || index >= Ran...
CustomCritters/Framework/CritterData/BehaviorPatrolPoint.cs
elizabethcd/StardewValleyMods
30
7030760
<reponame>elizabethcd/StardewValleyMods namespace CustomCritters.Framework.CritterData { internal class BehaviorPatrolPoint { public string Type { get; set; } = "start"; public float X { get; set; } public float Y { get; set; } } }
Neolitic-NET/Parsers/Int64Parser.cs
talk-code/Neolitic-NET
0
7030761
using System; using Neolitic; using Neolitic.Abstracts; using Neolitic.Attributes; namespace Neolitic { [Named("pint64")] public class Int64Parser : IValueParser { public object Parse (string value) { return Int64.Parse (value); } } }
StoreApp/WebUI/Models/LocationVM.cs
phoebe1002/Fang-Phoebe-P1
0
7030762
using StoreModels; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace WebUI.Models { public class LocationVM { public LocationVM() {} public LocationVM(Locat...
SubcutaneousTestsPresentation/SubcutaneousTestsPresentation/Features/ViewUsers/GetAllUsersQuery.cs
robdmoore/SubcutaneousTestsPresentation
3
7030763
using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using SubcutaneousTestsPresentation.Domain.Users; using SubcutaneousTestsPresentation.Infrastructure.Database; using SubcutaneousTestsPresentation.Infrastructure.Queries; namespace SubcutaneousTestsPre...
src/Catel.Test/Catel.Test.NET40/Caching/CacheStorageValueInfoFacts.cs
gautamsi/Catel
0
7030764
<filename>src/Catel.Test/Catel.Test.NET40/Caching/CacheStorageValueInfoFacts.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="CacheStorageValueInfoFacts.cs" company="Catel development team"> // Copyright (c) 2008 - 2014 Cat...
C# Fundamentals Module/CSharp-OOP-Basics/Past Exams/ExamSample_12.07.2017/Avatar.App/Models/Implementations/Monuments/WaterMonument.cs
msotiroff/Softuni-learning
1
7030765
public class WaterMonument : Monument { private int waterAffinity; public int WaterAffinity { get => this.waterAffinity; private set { this.waterAffinity = value; } } public WaterMonument(string name, int waterAffinity) : base(name) { ...
facereco_test/Main.Designer.cs
adelriosantiago/FaceMouse-en
1
7030766
namespace FaceMouse { partial class Main { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param nam...
AddressFinder.Tests/AddressValidationTestBase.cs
kiwipiet/AddressFinder
0
7030767
<gh_stars>0 using System.Collections.Generic; using System.Diagnostics; namespace AddressFinder.Tests { public class AddressValidationTestBase { [Conditional("DEBUG")] protected void ExplainResult(PostalAddressSearchResult result) { Trace.WriteLine(string.Format("{0} - {1}"...
FrostyPlugin/Mod/ILegacyCustomHandler.cs
Dangercato/FrostyToolsuite
0
7030768
<filename>FrostyPlugin/Mod/ILegacyCustomHandler.cs using Frosty.Core.IO; using FrostySdk; using FrostySdk.IO; namespace Frosty.Core.Mod { // internally used for handling legacy asset changes. internal interface ILegacyCustomActionHandler : IModCustomActionHandler { void SaveToMod(FrostyModWriter w...
Scripts/Items/Armor/Helmets/DaemonHelm.cs
greeduomacro/vivre-uo
0
7030769
using System; using Server; namespace Server.Items { [FlipableAttribute( 0x1451, 0x1456 )] public class DaemonHelm : BaseArmor { public override int BasePhysicalResistance{ get{ return 6; } } public override int BaseFireResistance{ get{ return 6; } } public override int BaseColdResistance{ get{ return 7; } } ...
resources/.gen/aws/aws/AutoscalingSchedule.cs
scottenriquez/cdktf-alpha-csharp-testing
0
7030770
<reponame>scottenriquez/cdktf-alpha-csharp-testing<filename>resources/.gen/aws/aws/AutoscalingSchedule.cs using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiClass(nativeType: typeof(aws.AutoscalingSchedule), fullyQualifiedName: "aws.AutoscalingSchedule", parameters...
MarkupDoc/CodeModel/PropertyMember.cs
adamecr/MarkupDoc
0
7030771
<reponame>adamecr/MarkupDoc using System.Collections.Generic; using net.adamec.dev.markupdoc.CodeModel.Builder; namespace net.adamec.dev.markupdoc.CodeModel { /// <inheritdoc /> /// <summary> /// Represents a property within the code model /// </summary> public class PropertyMember : TypeContentMe...
Umbraco.CodeGen.Tests/Generators/Annotated/CommonInfoGeneratorTests.cs
lars-erik/Umbraco.CodeGen
9
7030772
using System; using System.CodeDom; using System.Linq; using System.Text; using NUnit.Framework; using Umbraco.CodeGen.Configuration; using Umbraco.CodeGen.Definitions; using Umbraco.CodeGen.Generators.Annotated; namespace Umbraco.CodeGen.Tests.Generators.Annotated { [TestFixture] public class CommonInfoGener...
src/calc/src/hosts/Dist.cs
0xCM/z0
0
7030773
//----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using System.Runtime.In...
SamFirm/FWFetch.cs
jesec/samfirm-streaming
2
7030774
<filename>SamFirm/FWFetch.cs using System; using System.Collections.Generic; using System.Net; namespace SamFirm { internal static class FWFetch { internal static readonly List<Func<string, string, string>> FWFetchFuncs; static FWFetch() { List<Func<string, string, string>...
LoginProvider/Views/Auth/Login.cshtml
masbicudo/InterSiteLogin
0
7030775
<reponame>masbicudo/InterSiteLogin @using Infra @model LoginProvider.ViewModels.Auth.LoginViewModel @{ this.ViewBag.Title = "Login"; this.Layout = null; Dependencies.RequireFile("~/Scripts/jquery-1.11.1.js"); Dependencies.RequireFile("~/Scripts/jquery.unobtrusive-ajax.js"); Dependencies.RequireFil...
src/gx-arc/ExtractCommand.cs
lixiss/glacie-tools
1
7030776
using System; using System.Buffers; using System.Collections.Generic; using System.CommandLine; using System.CommandLine.Invocation; using System.CommandLine.IO; using System.IO; using Glacie.ChecksumAlgorithms; using Glacie.Data.Arc; namespace Glacie.Tools.Arc { internal sealed class ExtractCommand : CommandBas...
SampleApplication/FluentSecurity.SampleApplication.Tests/SecurityConfigurationTestsStyle1.cs
dmitryzarovnyy/FluentSecurity-1
0
7030777
using System.Linq; using FluentSecurity.Policy; using FluentSecurity.TestHelper; using FluentSecurity.SampleApplication.Controllers; using FluentSecurity.SampleApplication.Models; using NUnit.Framework; namespace FluentSecurity.SampleApplication.Tests { [TestFixture] [Category("SecurityConfigurationTests")] public ...
ScribblersSharp/Delegates/GameOverMessageReceivedDelegate.cs
scribble-rs/ScribbleRSSharp
1
7030778
<reponame>scribble-rs/ScribbleRSSharp /// <summary> /// Scribble.rs ♯ namespace /// </summary> namespace ScribblersSharp { /// <summary> /// Used to signal when a "game-over" game message has been received /// </summary> public delegate void GameOverMessageReceivedDelegate(); }
src/UserInterface/StatusWindow.cs
CptNelson/StarsHollow
0
7030779
using SadConsole; using System; using Microsoft.Xna.Framework; using StarsHollow.World; using Console = System.Console; namespace StarsHollow.UserInterface { // TODO: system for updating statuses. public class StatusWindow : Window { private SadConsole.Console statusConsole; private WorldM...
techtake/Formularios/Adicionar/frmAdicionarPessoa.Designer.cs
pedrohqesilva/techtake
0
7030780
namespace techtake { partial class frmAdicionarPessoa { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...