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
src/Ocelot.Provider.Etcd/EtcdProviderFactory.cs
BuiltCloud/Ocelot.Provider.Etcd
1
7044972
<gh_stars>1-10 namespace Ocelot.Provider.Etcd { using System.Threading.Tasks; using Logging; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using ServiceDiscovery; public static class EtcdProviderFactory { public static ServiceDiscoveryFinderDel...
Src/NCWebCache/Web/Caching/DataSourceClearedCallback.cs
arstorey/NCache
1
7044973
<gh_stars>1-10 // Copyright (c) 2018 Alachisoft // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
AjaxControlToolkit/Slider/SliderExtender.cs
skyhoshi/AjaxControlToolkit
319
7044974
<reponame>skyhoshi/AjaxControlToolkit<gh_stars>100-1000 using AjaxControlToolkit.Design; using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Web.UI; using System.Web.UI.WebControls; namespace AjaxControlToolkit { /// <summary> /// ...
aliyun-net-sdk-oos/Oos/Model/V20190601/ListInventoryEntriesRequest.cs
awei1688/aliyun-openapi-net-sdk
0
7044975
<gh_stars>0 /* * 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 * "Lic...
programme/ascii-value/solution.cs
PA11TEDDU/codinasion
1
7044976
// Write a programme to print ASCII Value of a character. using System; using System.Text; public class ASCIIValue { static void Main(string[] args) { int convert(string input) { return Encoding.ASCII.GetBytes(input)[0]; } // Input character Console.Write("E...
Source/ItWebSite.Core/Help/UtilHelper.cs
snbbgyth/ItWebSite
1
7044977
<gh_stars>1-10 using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace ItWebSite.Core.Help { public static class UtilHelper { public static string SqliteFilePath { get { string dataDirectory = Path.Combine(AppDoma...
Assets/Scripts/SpeedTap Scripts/STLevelChange.cs
JenniTheDev/multimicrogames
1
7044978
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class STLevelChange : MonoBehaviour { private string lvl1 = "SpeedTapLevel1", lvl2 = "SpeedTapLevel2"; public void NextLevel() { SceneManager.LoadScene(lvl2, LoadSceneMode.Sing...
Titanium.Web.Proxy/Network/Tcp/TcpConnectionFactory.cs
GordoMalvado/Titanium-Web-Proxy
0
7044979
<gh_stars>0 using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Security; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using StreamExtended.Network; using Titanium.Web...
Assembly-CSharp/HomePantyChangerScript.cs
JaydenB14/YandereSimulatorDecompiled
1
7044980
<gh_stars>1-10 // Decompiled with JetBrains decompiler // Type: HomePantyChangerScript // Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9 // Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Assembly-CSharp.dll using Uni...
BTU- Moteur 3D/Assets/Scripts/UI/PlayerScore.cs
Ratons/BTU---moteur-3D
0
7044981
<filename>BTU- Moteur 3D/Assets/Scripts/UI/PlayerScore.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PlayerScore : MonoBehaviour { public GameObject ScoreText; public static int Score=0; //On stocke le Score du joueur dans cette variable ...
SaccoBook/Modules/ApprovalEntries/ViewApprovalEntries.Designer.cs
Kamonya/SaccoBook-SQL
0
7044983
<reponame>Kamonya/SaccoBook-SQL<filename>SaccoBook/Modules/ApprovalEntries/ViewApprovalEntries.Designer.cs namespace SaccoBook.Modules.ApprovalEntries { partial class ViewApprovalEntries { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel...
src/Code/Tiger.WebApi.Core.Service/Extensions/JObjectExtension.cs
DeyiXu/TigerWebApi
1
7044984
<filename>src/Code/Tiger.WebApi.Core.Service/Extensions/JObjectExtension.cs using Newtonsoft.Json.Linq; namespace Tiger.WebApi.Core.Service.Extensions { public static class JObjectExtension { /// <summary> /// 获取Value /// </summary> /// <param name="jobj"></param> ...
kelex-memorize/Extensions/StringExtensions.cs
eduardosilva/kelex-memorize
1
7044985
<filename>kelex-memorize/Extensions/StringExtensions.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; public static class StringExtensions { public static string BreakInLines(this string source) { ...
Xamarin/Native/NumberTaker.iOS/ViewController.cs
AzureAdvocateBit/XamarinAndAzureForPlymouth-1
3
7044986
using System; using Foundation; using NumberTaker.Core; using UIKit; namespace NumberTaker.iOS { public partial class ViewController : UIViewController { PhotoViewModel viewModel; public ViewController(IntPtr handle) : base(handle) { } public override void ViewDidLoad...
workers/unity/Assets/Gamelogic/NPC/Wizard/WizardAnimationController.cs
samc-improbable/WizardsTutorial
13
7044987
<gh_stars>10-100 using Assets.Gamelogic.Core; using Improbable.Fire; using Improbable.Npc; using Improbable.Unity; using Improbable.Unity.Visualizer; using UnityEngine; namespace Assets.Gamelogic.NPC.Wizard { [WorkerType(WorkerPlatform.UnityClient)] public class WizardAnimationController : MonoBehaviour { ...
cct2010/CctMain.designer.cs
saeedashraf/Climate_Change_Toolkit
3
7044988
<reponame>saeedashraf/Climate_Change_Toolkit<filename>cct2010/CctMain.designer.cs namespace CCT { partial class CctMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// C...
src/Stump.Server.WorldServer/Database/Arena/ArenaRecord.cs
Daymortel/Stump
2
7044989
using Stump.ORM; using Stump.ORM.SubSonic.SQLGeneration.Schema; using Stump.Server.WorldServer.Game.Maps; namespace Stump.Server.WorldServer.Database.Arena { public class ArenaRelator_3vs3 { public const string FetchQuery = "SELECT * FROM arenas WHERE Id < 13 "; } public class ArenaRelator_1v...
SociumApp/SociumApp.Models/ApplicationUser.cs
David-Mavrodiev/Socium
2
7044990
<reponame>David-Mavrodiev/Socium<filename>SociumApp/SociumApp.Models/ApplicationUser.cs using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using SociumApp.Models.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Text;...
src/EntityFramework/Services/NullLoggerFactory.cs
MikaelEliasson/EntityFramework
1
7044991
<reponame>MikaelEliasson/EntityFramework<gh_stars>1-10 // 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 Microsoft.Framework.Logging; namespace Microsoft.Data.Entit...
resources/.gen/aws/aws/Wafv2WebAclRuleStatementNotStatementStatementByteMatchStatementFieldToMatchUriPath.cs
scottenriquez/cdktf-alpha-csharp-testing
0
7044992
<reponame>scottenriquez/cdktf-alpha-csharp-testing using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementNotStatementStatementByteMatchStatementFieldToMatchUriPath")] public class Wafv2WebAclRuleStatementNotStatementStatem...
modules/market/src/test/java/com/opengamma/strata/market/curve/node/FraCurveNodeTest.cs
ckarcz/Strata.ConvertedToCSharp
0
7044993
<gh_stars>0 using System; using System.Collections.Generic; /* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.market.curve.node { //JAVA TO C# CONVERTER TODO TASK: This Java 'import static' statement ...
Assets/Scripts/DestroyGameObjectAfterDelay.cs
CornyCodingCorn/BlocketJumper
0
7044994
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Experimental.Rendering.Universal; public class DestroyGameObjectAfterDelay : MonoBehaviour { public Light2D lightSource; public int lightStep = 10; public float startUpSec = 0.2f; public float stayMaxSec =...
WundergroundLib/WeatherForecast.cs
cloudbeatsch/WundergroundLib
0
7044995
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace WundergroundLib { public class DayForecast { public int? month; public int? day; public int?...
tests/Grace.Tests/Classes/Simple/KeyedMultipleService.cs
ipjohnson/Grace
265
7044996
<filename>tests/Grace.Tests/Classes/Simple/KeyedMultipleService.cs using System; using System.Collections.Generic; using System.Text; using Grace.DependencyInjection.Attributes; namespace Grace.Tests.Classes.Simple { public interface IKeyedMultipleService { string SomeMethod(); } [ExportKeye...
NetfoxCore/Framework/Snoopers/SnooperMessenger/Models/Events/MessengerEventBase.cs
pokornysimon/NetfoxDetective
0
7044997
<reponame>pokornysimon/NetfoxDetective<filename>NetfoxCore/Framework/Snoopers/SnooperMessenger/Models/Events/MessengerEventBase.cs // Copyright (c) 2017 <NAME>, <NAME> // //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtai...
Aniplus/Model/VideoResult.cs
Piorosen/aniplus-api
0
7044998
<reponame>Piorosen/aniplus-api using System; namespace Aniplus_Api.Model { public class VideoListData { public int contentSerial { get; set; } public int contentPartSerial { get; set; } public string title { get; set; } public int part { get; set; } public string subTitl...
magaza1/presentation_layer/UrunKayit.cs
SevdanurGENC/Magaza-Otomasyonu
0
7044999
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using magaza1.domain_layer; using System.IO; namespace magaza1.presentation_layer { public partial class ...
Reporting/ViewModels/ReportDetail.cs
saimnasir/phone-contact
0
7045000
namespace Reporting.ViewModels { public class ReportDetail: ViewModel { public long Report { get; set; } public int NearbyPersonCount { get; set; } public int NearbyPhoneNumberCount { get; set; } } }
Assets/3D Starfields/Examples/Background Starfield/MatchRotation.cs
leo92613/Outerspacecomposer
0
7045001
using UnityEngine; using System.Collections; public class MatchRotation : MonoBehaviour { public Transform myTransform; void LateUpdate () { if(myTransform != null) transform.rotation = myTransform.rotation; } }
src/Application.Web/App_Start/Routing/Routes.cs
anthonydotnet/dangeasy-umbraco-visual-studio
11
7045002
<reponame>anthonydotnet/dangeasy-umbraco-visual-studio<filename>src/Application.Web/App_Start/Routing/Routes.cs using Umbraco.Core; using Umbraco.Core.Composing; namespace Application.Web.App_Start.Routing { public class RouteComposer : IUserComposer { public void Compose(Composition composition) ...
src/RhinoInside.Revit/Convert/Geometry/MeshDecoder.cs
chuongmep/rhino.inside-revit
1
7045005
<gh_stars>1-10 using Rhino.Geometry; using ARDB = Autodesk.Revit.DB; namespace RhinoInside.Revit.Convert.Geometry { static class MeshDecoder { internal static Mesh ToRhino(ARDB.Mesh mesh) { return Raw.RawDecoder.ToRhino(mesh); } internal static Mesh FromRawMesh(Mesh mesh, double scaleFactor)...
oadrlib/lib/helper/OadrObjectFactory.cs
epri-dev/OpenADR-Virtual-End-Node
30
7045006
////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014, Electric Power Research Institute (EPRI) // All rights reserved. // // oadr2b-ven, oadrlib, and oadr-test ("this software") are licensed under the // BSD 3-Clause license. // // Redistribution and use in sour...
Config.cs
SpookyFM/WritingPrompter
0
7045007
<filename>Config.cs<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace WritingPrompter { /// <summary> /// Global config values /// </summary> static class Config { ...
ImageViewer/InteractiveGraphics/InteractivePolylineGraphicBuilder.cs
econmed/ImageServer20
1
7045008
<filename>ImageViewer/InteractiveGraphics/InteractivePolylineGraphicBuilder.cs #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: ...
CryptoApisLibrary/DataTypes/EthTransaction.cs
Crypto-APIs/cryptoapis.io-dotnetlibrary
21
7045009
<reponame>Crypto-APIs/cryptoapis.io-dotnetlibrary using RestSharp.Deserializers; using System; namespace CryptoApisLibrary.DataTypes { public class EthTransaction : IEquatable<EthTransaction> { [DeserializeAs(Name = "from")] public string From { get; protected set; } [DeserializeAs(Na...
snippets/csharp/VS_Snippets_Winforms/ActiveDesignerEventArgs/CS/class1.cs
ericmutta/samples
2
7045010
<gh_stars>1-10 using System; using System.ComponentModel; using System.ComponentModel.Design; namespace ActiveDesignerEventArgsExample { class Class1 { [STAThread] static void Main(string[] args) { } //<Snippet1> public ActiveDesignerEventArgs CreateActiveDesignerEventArgs(IDes...
Playables.BuildTools.Editor.iOS/PostBuild_OverridePlist.cs
studentutu/net.playables.buildtools
0
7045011
using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEditor.Build; using UnityEditor.Build.Reporting; using UnityEditor.iOS.Xcode; using UnityEngine; public class PostBuild_IOS_OverridePlist : IPostprocessBuildWithReport { public int callbackOrder => 100; public void OnPostprocessBuild...
Squidex.Text/MarkdownExtensions.cs
Squidex/text
2
7045012
<reponame>Squidex/text<gh_stars>1-10 // ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT li...
Src/FluentAssertions/Primitives/StringStartValidator.cs
ITaluone/fluentassertions
0
7045013
using System; using FluentAssertions.Common; namespace FluentAssertions.Primitives; internal class StringStartValidator : StringValidator { private readonly StringComparison stringComparison; public StringStartValidator(string subject, string expected, StringComparison stringComparison, string because, ...
src/Prime/Controls/ControlExtension.cs
RusKnyaz/Prime
4
7045014
using System; using System.Windows.Forms; namespace Prime { public static class ControlExtension { public static void SafeBeginInvoke(this Control obj, Action action) { if (obj.InvokeRequired) { var args = new object[0]; obj.BeginInvoke(action, args); } else { action()...
dotnet/src/Carbonfrost.Commons.Web.Dom/IDomAttributeManipulation.cs
Carbonfrost/f-web-dom
0
7045015
// // Copyright 2020 Carbonfrost Systems, Inc. (https://carbonfrost.com) // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless...
Sniper.Tests/CRUD/Create/History/BugSimpleHistories/CreateBugSimpleHistoryTests.cs
darayman/sniper
0
7045016
using Sniper.Application.Messages; using Sniper.History; using Xunit; using static Sniper.TargetProcess.Routes.TargetProcessHistoryRoutes; namespace Sniper.Tests.CRUD.Create.History.BugSimpleHistories { public class CreateBugSimpleHistoryTests { [Fact] public void CreateBugSimpleHistoryThrowsE...
tests/NW.WIDJobs.UnitTests/JobPostings/JobPostingManagerTests.cs
numbworks/NW.WIDJobs
1
7045018
<reponame>numbworks/NW.WIDJobs<filename>tests/NW.WIDJobs.UnitTests/JobPostings/JobPostingManagerTests.cs using NUnit.Framework; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using NW.WIDJobs.JobPostings; namespace NW.WIDJobs.UnitTests { [TestFixture] public class...
Xania.DbMigrator.Core/DbMigrationAttribute.cs
ibrahimbensalah/Xania.Finance
1
7045019
using System; namespace Xania.DbMigrator.Core { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class DbMigrationAttribute : Attribute { public string Id { get; } public DbMigrationAttribute(string id) { Id = id; } }...
Source/nHydrate.DslPackage/Forms/RegistrationForm.Designer.cs
aTiKhan/nHydrate
77
7045020
<reponame>aTiKhan/nHydrate<filename>Source/nHydrate.DslPackage/Forms/RegistrationForm.Designer.cs namespace nHydrate.DslPackage.Forms { partial class RegistrationForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <su...
RVis.Base/Extensions/StrExt.cs
thehoglet/RVis
0
7045021
using System; using System.Collections.Concurrent; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; using static System.Char; using static System.Convert; using static System.Environment; using static...
src/SocialMediaDashboard.Domain/Models/Statistic.cs
MikhailMasny/social-media-dashboard
2
7045022
using SocialMediaDashboard.Common.Interfaces; using System; namespace SocialMediaDashboard.Domain.Models { /// <summary> /// Statistic model. /// </summary> public class Statistic : IHasDbIdentity { /// <inheritdoc/> public int Id { get; set; } /// <summary> /// Ty...
src/datacollector/Program.cs
navin22/nvstest
0
7045023
<filename>src/datacollector/Program.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.DataCollector { using System; using System.Diagnostics; usi...
Rebus.Tests/Integration/TestMessageDeferral.cs
madstt/Rebus
3
7045024
<reponame>madstt/Rebus<filename>Rebus.Tests/Integration/TestMessageDeferral.cs<gh_stars>1-10 using System; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; using Rebus.Activation; using Rebus.Bus; using Rebus.Config; using Rebus.Tests.Contracts; using Rebus.Tests.Contracts.Extensions; using...
src/ChangeLog/Logging/ContainerBuilderExtensions.cs
ap0llo/changelog-creator
5
7045025
<gh_stars>1-10 using Autofac; using Grynwald.Utilities.Logging; using Microsoft.Extensions.Logging; namespace Grynwald.ChangeLog.Logging { internal static class ContainerBuilderExtensions { public static void RegisterLogging(this ContainerBuilder builder, SimpleConsoleLoggerConfiguration loggerConfigu...
Northwind.Mvc.AJAX/Views/Northwind/Order/_OrderLookup.cshtml
EasyLOB/EasyLOB-Northwind-1
0
7045026
@model LookupModel <div class="input-group"> <span class="input-group-addon"><img id="@(Model.ValueId + "_Button")" class="z-buttonLookup" /></span> @Html.TextBox(Model.ValueId + "_Lookup", Model.Text, new { @class = AppDefaults.CssClassEditor + " z-lookup" }) </div> <div id="Modal_Order_Lookup" aria-...
CustomTaskPane/CTPManager.cs
elvisw/ExcelDNASamples
87
7045027
using System.Windows.Forms; using ExcelDna.Integration.CustomUI; namespace CustomTaskPane { internal static class CTPManager { // WARNING: This won't work well under Excel 2013. There you need a different policy, since a CTP is attached only to a single window (one workbook). // So ha...
06_PhotoSharingApplication - Routing/PhotoSharingApplication/Views/Shared/Error.cshtml
ptylenda/ASPNET-MVC4-Demo
0
7045028
<filename>06_PhotoSharingApplication - Routing/PhotoSharingApplication/Views/Shared/Error.cshtml<gh_stars>0 @model System.Web.Mvc.HandleErrorInfo @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Custom Error</title> </head> <body> <div> ...
Sistema-de-Pizzaria-UNIPIZZA/prjPIM/frmEstoque.cs
unipizza/Sistema-de-Pizzaria-UNIPIZZA
1
7045029
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace prjPIM { public partial class frmEstoque : Form { public frmEstoque() ...
Assets/Scripts/UI/PauseMenu.cs
benfc1993/Rewind
0
7045030
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PauseMenu : MonoBehaviour { public bool open = false; public CanvasGroup canvasGroup; private void Update() { if (Input.GetKeyDown(KeyCode.Escape) && !open) { open = true; //GetComponent<Animator>().SetBool("Ope...
FrostyPlugin/Commands/ImportExportBoxClickCommand.cs
Dangercato/FrostyToolsuite
0
7045031
using Frosty.Core.Controls; using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace Frosty.Core.Commands { public class ImportExportBoxClickCommand : ICommand { public event EventHandler CanExecuteChanged { add => CommandManager.Requ...
TodoManager/TodoManager.UI/MainWindow.xaml.cs
NaskoVasilev/WPF
1
7045032
<gh_stars>1-10 using System.Windows; using TodoManager.UI.Views; namespace TodoManager.UI { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Main.Co...
ContactsApp/ContactsApp/ViewModels/ContactViewModel.cs
arielangeles-xamarin/AppContactsSample
0
7045033
using ContactsApp.Models; using ContactsApp.Views; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Essentials; using Xamarin.Forms; na...
source/Nevermore/Mapping/UniqueRule.cs
matkoch/Nevermore
115
7045035
namespace Nevermore.Mapping { public class UniqueRule { public UniqueRule(string constraintName, params string[] columns) { ConstraintName = constraintName; Columns = columns; } public string Message { get; set; } public string ConstraintName { ge...
src/FA/UI/MainViewModel.cs
MSGRRojas/featureadmin
30
7045036
<reponame>MSGRRojas/featureadmin using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using FA.Models; using FA.SharePoint; using FA.UI.Features; using FA.UI.Locations; using Prism.Events; ...
Rocks.Tests/AssemblyBinderTests.cs
anibalvelarde/Rocks
0
7045038
<filename>Rocks.Tests/AssemblyBinderTests.cs<gh_stars>0 using NUnit.Framework; namespace Rocks.Tests { public sealed class AssemblyBinderTests { [Test] public void Create() { var binder = new AssemblyBinder(); Assert.That(binder.Assemblies.Count, Is.EqualTo(0)); } [Test] public void AddAssembly()...
src/BootstrapMvc.BootstrapCommon/Components/Forms/FormContentBase.cs
kbalint/BootstrapMvc
0
7045039
<reponame>kbalint/BootstrapMvc<gh_stars>0 namespace BootstrapMvc.Forms { using System; using System.Linq.Expressions; using BootstrapMvc.Core; public abstract class FormContentBase : DisposableContent { public FormContentBase(IBootstrapContext context, IForm parent) { t...
src/SFA.DAS.AssessorService.Application.Api/Validators/EpaOrganisationSearchValidator.cs
codescene-org/das-assessor-service
6
7045040
<reponame>codescene-org/das-assessor-service<filename>src/SFA.DAS.AssessorService.Application.Api/Validators/EpaOrganisationSearchValidator.cs using SFA.DAS.AssessorService.Application.Interfaces; using System.Text.RegularExpressions; namespace SFA.DAS.AssessorService.Application.Api.Validators { public class Epa...
Favalon.7/Favalon.Tests/ReduceTest.cs
kekyo/Favalon.PoC
0
7045041
<gh_stars>0 using Favalon.Expressions; using NUnit.Framework; using System; namespace Favalon { using static Favalon.Expressions.Factories; [TestFixture] public sealed class ReduceTest { [Test] public void DotNetMethod() { var parse = typeof(int).GetMethod("Parse",...
src/Machine.Specifications.Fakes/IMethodCallOccurrence.cs
machine/machine.fakes
27
7045042
namespace Machine.Fakes { /// <summary> /// Interface for detail configuration used by <see cref="FakeApi.WasToldTo{TFake}"/>. /// </summary> public interface IMethodCallOccurrence { /// <summary> /// Specifies that the behavior on the fake should be executed several times. <param...
Unity/JeuAirFrance/Assets/TerrainGenerator.cs
yquemener/JeuAirFrance
6
7045043
<reponame>yquemener/JeuAirFrance<filename>Unity/JeuAirFrance/Assets/TerrainGenerator.cs<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif public class TerrainGenerator : MonoBehaviour { public GameObject blockPrefab; public...
RocketTanuki/Move.cs
finphie/RocketTanuki
0
7045044
<filename>RocketTanuki/Move.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; using System.Text; using System.Threading.Tasks; using static RocketTanuki.Types; na...
dev/Nglib/FILES/SERIAL/CsvTools.cs
NueGy/NGLib
1
7045045
<filename>dev/Nglib/FILES/SERIAL/CsvTools.cs<gh_stars>1-10 using Nglib.APP.CODE; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace Nglib.FILES.SERIAL { /// <summary> /// Outils pour gérer un flux CSV /// </summary> public static cl...
DEM_MVC_BL/Services/Conference/ForumReadService.cs
AndreyShpilevoy/DemProject
4
7045046
using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using DEM_MVC_BL.Interfaces.IServices.Conference; using DEM_MVC_BL.Models.ForumModels; using DEM_MVC_DAL.Entities.ForumsViewEntities; using DEM_MVC_DAL.Interfaces.IFactory; using DEM_MVC_DAL.Interfaces.IRepositories; using DEM_MVC_Inf...
src/TT.Tests/Builders/Effects/EffectSourceBuilder.cs
transformania/tt-game
0
7045047
using TT.Domain.Effects.Entities; namespace TT.Tests.Builders.Effects { public class EffectSourceBuilder : Builder<EffectSource, int> { public EffectSourceBuilder() { Instance = Create(); With(u => u.Id, 3); } } }
Source/ZombieStains.cs
Dango998/zombieland
0
7045048
using System.Collections.Generic; using System.Linq; using Verse; namespace ZombieLand { [StaticConstructorOnStartup] static class ZombieStains { public static int maxStainPoints = 6; static readonly Dictionary<string, int> stainsHead; static readonly Dictionary<string, int> stainsBody; static ZombieStai...
Compare-NET-Objects/ComparisonConfig.cs
andy-mcdowall-ptml/Compare-Net-Objects
0
7045049
<reponame>andy-mcdowall-ptml/Compare-Net-Objects using System; using System.Collections.Generic; using KellermanSoftware.CompareNetObjects.TypeComparers; using System.Linq; using System.Linq.Expressions; using System.Reflection; #if !NETSTANDARD using System.Runtime.Serialization; #endif namespace Kellerman...
src/core/Aoite/Aoite/Redis/Extensions/RedisHyperLogLogExtensions.cs
jeenlee/Aoite
2
7045050
using Aoite.Redis; using Aoite.Redis.Commands; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace System { /// <summary> /// 表示 Redis 的 HyperLogLog 扩展方法。 /// </summary> public static class RedisHyperLogLogExtensions { /// <summary> /// 将...
Deezer.Api/CountryInfos.cs
cmaneu/deezer-net-api
9
7045051
using Newtonsoft.Json; namespace Deezer.Api { using System.Diagnostics; /// <summary> /// This class contains informations about the service availability in a country. /// </summary> [DebuggerDisplay("CountryInfos({IsoCode},{IsDeezerServiceOpen})")] public class CountryInfos { ///...
Plugins/Aspose.Cells Vs OpenXML Spreadsheets/Aspose.Cells VS OpenXML/Open read-only access/OpenXML Spreadsheets/Program.cs
sergioruizdeveloper/Aspose.Cells-for-.NET
157
7045052
using DocumentFormat.OpenXml.Packaging; namespace Aspose.Plugins.AsposeVSOpenXML { class Program { static void Main(string[] args) { string FilePath = @"..\..\..\..\Sample Files\"; string FileName = FilePath + "Open a spreadsheet document for read-only access.xlsx"; ...
src/Roix.SourceGenerator/_old2/Extensions/SyntaxExtension.cs
hsytkm/Roix
0
7045054
<gh_stars>0 using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Linq; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; namespace Roix.SourceGenerator.Extensions { static class SyntaxExtension { private static readonly Syn...
src/TakNotify.AspNetCore/NotificationBuilder.cs
TakNotify/TakNotify.AspNetCore
1
7045055
<reponame>TakNotify/TakNotify.AspNetCore // Copyright (c) <NAME> 2020. All rights reserved. // Licensed under the MIT License. using Microsoft.Extensions.DependencyInjection; using System; using System.Net.Http; namespace TakNotify { /// <summary> /// The notification service builder /// </summary> pu...
Rock.Core/Rock.StaticDependencyInjection/ExportAttribute.cs
bfriesen/Rock.Core
0
7045056
using System; namespace Rock.StaticDependencyInjection { /// <summary> /// Indicates that a class should be exported as a static dependency. /// </summary> [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public sealed class ExportAttribute : Attribute { private readonly i...
ThumbService/ThumbService/lib/MindTouch_Core_10.0.1_Source/src/services/mindtouch.mediawiki/MediaWikiService.cs
ChrisHagan/metl2011
1
7045057
<reponame>ChrisHagan/metl2011 /* * MindTouch Core - open source enterprise collaborative networking * Copyright (c) 2006-2010 MindTouch Inc. * www.mindtouch.com <EMAIL> * * For community documentation and downloads visit www.opengarden.org; * please review the licensing section. * * This program is fre...
Intersect (Core)/Config/FactionOptions.cs
WehrJ/Intersect-Engine
0
7045058
<filename>Intersect (Core)/Config/FactionOptions.cs<gh_stars>0 using System; namespace Intersect.Config { /// <summary> /// Contains all options pertaining to factions /// </summary> public class FactionOptions { /// <summary> /// Denotes the minimum amount of characters a ...
CQPSharpService/CQPSharpService/Core/ICQAssembly.cs
paspy/CQPSharpService
0
7045059
<filename>CQPSharpService/CQPSharpService/Core/ICQAssembly.cs<gh_stars>0 using System; namespace CQPSharpService.Core { /// <summary>插件程序集属性接口。</summary> internal interface ICQAssembly { /// <summary>程序集路径。</summary> string AssemblyPath { get; } /// <summary>获取或设置插件名称。</summary> ...
Assets/Scripts/LifeM/LifeProperty/ActionCmd/SkillAction/GridActionCmdSkill100002.cs
741645596/batgame
0
7045060
using UnityEngine; using System.Collections; /// <summary> /// 鐏?灙鐟炲摜鎶€鑳歼缂栧彿100002 /// </summary> /// 1004鏅?敾 public class GridActionCmd100002Skill01 :GridActionCmdAttack{ public GridActionCmd100002Skill01(DoQianyaoFun qianyaofun,DoAttackFun fun,int AttackSceneId,WalkDir AttackDir,int deep,int skillid) :base( qianya...
tests/Shiny.Tests/Infrastructure/DependencyInjectionTests.cs
buzzware/shiny
1
7045061
<filename>tests/Shiny.Tests/Infrastructure/DependencyInjectionTests.cs using System; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using Shiny.Infrastructure; using Shiny.Infrastructure.DependencyInjection; using Shiny.Settings; using Shiny.Testing.Settings; using Xunit; namespace Shiny.Tes...
templates/ca-sln-sql/src/Common/Extensions/TypeExtensions.cs
sayedihashimi/CleanArchitecture
25
7045062
<reponame>sayedihashimi/CleanArchitecture using System; namespace Common.Extensions { /// <summary> /// Provides extended functionality for <see cref="Type"/>. /// </summary> public static class TypeExtensions { /// <summary> /// Returns true if the type contains an empty constructor. /// </summary> publ...
Domain/Interfaces/Cubicacion/ICubicacionCapturaService.cs
ronnysuero/license-app
0
7045063
using System.Collections; using System.Collections.Generic; using Sigede.Domain.Models; namespace Sigede.Domain.Interfaces.Cubicacion { public interface ICubicacionCapturaService { IList GetListaPage(short idProceso, string usuario, int pageSize, int currentPage, string filterText, ref int totalPages,...
src/Synnduit.Core/Events/IDeletionProcessingArgs.cs
Synnduit/Synnduit.Core
0
7045064
namespace Synnduit.Events { /// <summary> /// The event data for the event that occurs when the deletion of a destination system /// entity (identified for deletion) is about to be processed. /// </summary> public interface IDeletionProcessingArgs : IDeletionArgs { } }
Sources/Sandbox.Game/Engine/Voxels/MyVoxelGeometry.CellData.cs
Wrennsun/SpaceEngineers
3
7045065
<reponame>Wrennsun/SpaceEngineers<gh_stars>1-10 using Havok; using Sandbox.Engine.Physics; using Sandbox.Engine.Utils; using Sandbox.Game.Utils; using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using VRage; using VRageMath; namespace Sandbox.Engine.Voxels { partial...
src/activities/Elsa.Activities.Conductor/Services/IEventsProvider.cs
tomy2105/elsa-core
3,147
7045066
<filename>src/activities/Elsa.Activities.Conductor/Services/IEventsProvider.cs<gh_stars>1000+ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Elsa.Activities.Conductor.Models; namespace Elsa.Activities.Conductor.Services { public interface IEventsProvider { ...
src/Extends/AddNotificationExt.cs
RenatoPacheco/BitHelp.Core.Validation
0
7045067
<reponame>RenatoPacheco/BitHelp.Core.Validation using System; using System.Linq.Expressions; namespace BitHelp.Core.Validation.Extends { public static class AddNotificationExt { #region To ISelfValidation public static void AddErrorNotification<T, P>( this T source, Expression<Fun...
AncientMysteries/Items/Staffs/AbyssalGazer.cs
BThree496/AncientMysteriesMod
9
7045068
namespace AncientMysteries.Items { [EditorGroup(group_Guns_Staffs)] [MetaImage(tex_Staff_AbyssalGazer)] [MetaInfo(Lang.Default, "Abyssal Gazer", "The Hellfire is swaying on the staff that shrouded in the darkness of sins.")] [MetaInfo(Lang.schinese, "深渊凝视者", "地狱之业火摇曳于被无尽暗黑笼罩的罪恶之杖")] [MetaType(MetaT...
server/gameserver/realm/entity/player/Player.Damage.cs
UniverseRealms/LoE-Realm-NC-3
1
7045069
#region using LoESoft.GameServer.networking.outgoing; using System; #endregion namespace LoESoft.GameServer.realm.entity.player { partial class Player { public void ForceHit(int dmg, Entity chr, bool NoDef) { if (chr != null) Damage(dmg, chr, NoDef); } ...
src/backend/Infrastructure/Migrations/20220223143247_Initial8.cs
mecvillarina/Vider
1
7045070
using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Infrastructure.Migrations { public partial class Initial8 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "CreatorAssets", ...
Assets/Scripts/UnityTelloController/AutoPilot/Orbit.cs
marcosroque/UnityControllerForTello
1
7045071
<filename>Assets/Scripts/UnityTelloController/AutoPilot/Orbit.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class Orbit : MonoBehaviour { bool orbit = false; Transform target; // Use this for initialization void Start () { target = transform.Find("Target");...
WarOfEmpires/Views/Market/BlackMarket.cshtml
maikelbos0/WarOfEmpires
0
7045072
@model WarOfEmpires.Models.Markets.BlackMarketModel @{ ViewBag.Title = "Black market"; } <h2>Black market</h2> <p> On the black market you can and sell resources that you can't on the normal market. </p> <ul class="text-muted"> <li>Sell price: @Model.SellPrice.ToString(StringFormat.Integer) <icon type=...
DocumentManager/DocumentManager/Views/MergeImages.xaml.cs
YHTechnology/DocumentManager
0
7045073
<reponame>YHTechnology/DocumentManager using DocumentManager.Controls; using DocumentManager.Model.Entities; using DocumentManager.ViewModels; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Net; using System.Windows; using System.W...
SampSharp.VisualStudio/DebugEngine/MonoExpression.cs
ridgew/SampSharp-visualstudio
1
7045074
<gh_stars>1-10 using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.Debugger.Interop; using Mono.Debugging.Client; using SampSharp.VisualStudio.DebugEngine.Events; using static Microsoft.VisualStudio.VSConstants; namespace SampSharp.VisualStudio.DebugEngine { public class MonoExpress...
Server_nw/Server_nw/MusicService/Entities/Listener.cs
Andrewst-commits/MyMusicServer
0
7045075
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Server_nw.MusicApplication.Entities { public class Listener : User { public List<Song> Songs { get; set; } public List<Album> Albums { get; set; } public Listener() ...
MvcPersonRegister/Startup.cs
Tjocksmo/MvcPersonRegister
0
7045076
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using MvcPersonRegister.Data; using MvcPerson...
src/Tools.Vsix.CodeAnalysis/DbInitMapper.cs
aTiKhan/RDO.Net
23
7045078
<filename>src/Tools.Vsix.CodeAnalysis/DbInitMapper.cs using DevZest.Data.Annotations; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Editing; using System; using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Linq; using System.Thread...
src/Kaponata.iOS/NSDictionaryExtensions.cs
kaponata-io/kaponata
10
7045079
// <copyright file="NSDictionaryExtensions.cs" company="Quamotion bv"> // Copyright (c) Quamotion bv. All rights reserved. // </copyright> using Claunia.PropertyList; using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Kaponata.iOS { /// <summary> /// Provides exte...