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
ResponseClasses/UpdateURLResponse.cs
thalber/AUDBTool
0
7042976
<filename>ResponseClasses/UpdateURLResponse.cs using System; using System.Security.Cryptography; namespace PastebinMachine.AutoUpdate.CryptoTool.ResponseClasses { public class UpdateURLResponse { public bool VerifySignature(byte[] data) { RSAParameters parameters = default(RSAParameters); parameters.Expone...
src/tests/graphql-aspnet-tests/CommonHelpers/Person.cs
NET1211/aspnet-archive-tools
22
7042977
<filename>src/tests/graphql-aspnet-tests/CommonHelpers/Person.cs // ************************************************************* // project: graphql-aspnet // -- // repo: https://github.com/graphql-aspnet // docs: https://graphql-aspnet.github.io // -- // License: MIT // ********************************************...
YoutubeDownloader/Domain/DependencyInjection/TaskModule.cs
sste9512/YoutubeDownloader
1
7042978
using System.Threading; using Autofac; namespace YoutubeDownloader.Domain.DependencyInjection { public class TaskModule : Module { protected override void Load(ContainerBuilder builder) { builder.Register(x => new CancellationTokenSource()); base.Load(builder); }...
Taste.Models/ViewModels/MenuItemVM.cs
milosmartinov/TasteNETCORE
0
7042980
<filename>Taste.Models/ViewModels/MenuItemVM.cs using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Rendering; namespace Taste.Models.ViewModels { public class MenuItemVM { public MenuItem MenuItem { get; set; } public IEnumerable<SelectListItem> Category { get; set; } publ...
Tests/FeedbackMessages.Test/FeedbackMessageAttributeCollectionUnitTest.cs
SaravananR22/FeedbackMessages
0
7042981
<filename>Tests/FeedbackMessages.Test/FeedbackMessageAttributeCollectionUnitTest.cs using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FeedbackMessages.Test { [TestClass] public class FeedbackMessageAttributeCollectionUnitTest : FeedbackMessagesUnitTestBase { [TestMethod] publi...
camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/bpmn/subprocess/InterruptingEventSubProcessTest.cs
luizfbicalho/Camunda.NET
6
7042982
using System.Collections.Generic; /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under t...
tools/POIFS Browser/HSSF/RecordAggregateTreeNode.cs
Cy-Team/npoi
1,012
7042983
<gh_stars>1000+ using System; using System.Collections.Generic; using System.Text; using NPOI.HSSF.Record.Aggregates; using System.Windows.Forms; using NPOI.HSSF.Record; using System.Collections; using NPOI.SS.Util; namespace NPOI.Tools.POIFSBrowser { class RecordAggregateTreeNode:AbstractRecordTreeNode { ...
Moogsoft/MGS Create Alert/MGS Create Alert.cs
MithunKulkarniCTS/MithunKulkarniCTS
4
7042984
<gh_stars>1-10 using System; using Ayehu.Sdk.ActivityCreation.Interfaces; using Ayehu.Sdk.ActivityCreation.Extension; using Ayehu.Sdk.ActivityCreation.Helpers; using System.Net; using System.Net.Http; using System.Text; using System.Collections.Generic; namespace Ayehu.Moogsoft { public class MGCreateAlert : IActi...
SafeExamBrowser.Runtime.UnitTests/Operations/ServiceOperationTests.cs
shashinma/CSEB-Windows
0
7042985
<reponame>shashinma/CSEB-Windows /* * Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/...
Quickstart/01-Login/iOS/iOSSample/MyViewController.cs
cozyplanes/auth0-xamarin-oidc-samples
10
7042986
using System; using UIKit; using Auth0.OidcClient; using System.Text; namespace iOSSample { public partial class MyViewController : UIViewController { private Auth0Client _client; public MyViewController() : base("MyViewController", null) { } public override void ViewDidLoad() { base.ViewDidLoad()...
trunk/Samples/DeepLoad/DAL-DTO/SelfLoadSoftDelete.DataAccess.Sql/ERLevel/G06_CountryDal.Designer.cs
CslaGenFork/CslaGenFork
11
7042988
<reponame>CslaGenFork/CslaGenFork using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using Csla; using Csla.Data; using SelfLoadSoftDelete.DataAccess; using SelfLoadSoftDelete.DataAccess.ERLevel; namespace SelfLoadSoftDelete.DataAccess.Sql.ERLevel { /// <summ...
src/libs/SoloX.TableModel.Server/Services/Impl/TableDataEndPointService.cs
xaviersolau/TableModel
2
7042989
// ---------------------------------------------------------------------- // <copyright file="TableDataEndPointService.cs" company="<NAME>"> // Copyright © 2021 <NAME>. // Licensed under the MIT license. // See LICENSE file in the project root for full license information. // </copyright> // --------------------------...
Data/Piranha.RavenDb/Session.cs
BilalHasanKhan/Piranha.vNext
4
7042990
<reponame>BilalHasanKhan/Piranha.vNext /* * Copyright (c) 2014 <NAME> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * http://github.com/piranhacms/piranha.vnext * */ using System; using System.Collections.Generic; usi...
Xamarians.FacebookLogin/Sample/Sample/MainPage.xaml.cs
Xamarians/Xamarians.FacebookLogin
0
7042991
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarians.FacebookLogin; using Xamarin.Forms; using System.IO; using Xamarians.Media; #if __ANDROID__ using Newtonsoft.Json; #endif using Xamarians.FacebookLogin.Platforms; namespace S...
tests/Program.cs
WildGoat07/InterProcessComm
0
7042992
<gh_stars>0 using Interprocomm; using System; using System.IO; using System.IO.Pipes; using System.Text; using System.Threading; using System.Threading.Tasks; public class Program { #region Private Fields private static Mutex mutex; #endregion Private Fields #region Public Methods public stati...
Assets/Engine/Scripts/Items/CollectibleItem.cs
Vasboch/Paper-Mario--Stuck-Together
3
7042993
<filename>Assets/Engine/Scripts/Items/CollectibleItem.cs<gh_stars>1-10 using UnityEngine; public class CollectibleItem : MonoBehaviour { public BaseItem itemType; public AudioClip collectSound; public SpriteRenderer art; public GameObject itemPopup; private GameObject uiParent; private Playe...
Sensit.App.GasMixer/FormGasMixer.cs
SensitTechnologies/TestSuite
2
7042994
using System; using System.Deployment.Application; using System.Globalization; using System.IO.Ports; using System.Windows.Forms; using Sensit.TestSDK.Devices; using Sensit.TestSDK.Exceptions; using Sensit.TestSDK.Interfaces; namespace Sensit.App.GasConcentration { public partial class FormGasMixer : Form { // ma...
XamMvvmAndWebServices.Client/XamMvvmAndWebServices.iOS/Views/Cells/CustomerCellView.cs
karolzak/Xamarin-MVVMCross-And-Web-Service-Sample
2
7042995
<reponame>karolzak/Xamarin-MVVMCross-And-Web-Service-Sample using Foundation; using MvvmCross.Binding.iOS.Views; using System; using UIKit; using XamMvvmAndWebServices.Models; namespace XamMvvmAndWebServices.iOS.Views.Cells { public partial class CustomerCellView : MvxTableViewCell { private const str...
src/CodeBreaker.Core/GameManagerExtensions.cs
vlesierse/codebreaker
2
7042996
namespace CodeBreaker.Core { public static class GameManagerExtensions { public static Game NewGame(this IGameManager gameManager) { return gameManager.NewGame(GameOptions.Default); } } }
Binding Sample/XamBindingSample/XamBindingSample.Data/ViewModel/ViewModelLocator.cs
lbugnion/sample-2016-vslive-crossplatform
13
7042997
using System.Diagnostics.CodeAnalysis; using GalaSoft.MvvmLight.Ioc; using Microsoft.Practices.ServiceLocation; namespace XamBindingSample.ViewModel { /// <summary> /// This class contains static references to the most relevant view models in the /// application and provides an entry point for the binding...
DataStructures/LinkedList/LinkedList.cs
bkeyes86/401DSA
0
7042998
<reponame>bkeyes86/401DSA namespace DataStructures.LinkedList { public class LinkedLister { public Node Head { get; set; } public void Insert(int value) { Node newNode = new Node(value); newNode.Next = Head; Head = newNode; } publi...
GW2CraftToolDbUpdater/DbLine.cs
stephanel/Gw2MyCraftingList
0
7042999
<reponame>stephanel/Gw2MyCraftingList using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GW2CraftToolDbUpdater { class DbLine { private int _id; public int Id { get { return _id; } set {...
Assets/PlayForKeeps/Application/SharedComponents/LoadingSpinner/Scripts/LoadingSpinner.cs
npnf-inc/PlayForKeeps
0
7043000
<filename>Assets/PlayForKeeps/Application/SharedComponents/LoadingSpinner/Scripts/LoadingSpinner.cs // Copyright (C) 2014 npnf, inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // //...
src/MailCheck.AggregateReport.EslrSaver/Dao/EslrSaverSqlBuilderExtensions.cs
ukncsc/MailCheck.Public.AggregateReport
0
7043001
using System; using MailCheck.Common.Data; namespace MailCheck.AggregateReport.EslrSaver.Dao { public static class EslrSaverSqlBuilderExtensions { public static SqlBuilder AddEslrSaverTokens(this SqlBuilder builder, EslrSaverSqlBuilderSettings settings) { if (builder is null) ...
CiotEFrete/Classes/PefAdicionarOperacaoTransporteValores.cs
MatheusVCoelho97/CiotEFrete
5
7043002
<reponame>MatheusVCoelho97/CiotEFrete<filename>CiotEFrete/Classes/PefAdicionarOperacaoTransporteValores.cs using ACBr.Net.DFe.Core.Attributes; using ACBr.Net.DFe.Core.Serializer; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Ta...
Assets/EmotionRegulation/EmotionRegulationAsset/PersonalityTraits.cs
JuanJoseSolo/FAtiMA-version-01
0
7043003
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using FLS; using ScottPlot; namespace EmotionRegulationAsset { public class PersonalityTraits { public PersonalityTraits() { } public PersonalityTraits( float Openness, float Conscientiousness, float Ex...
CommonLibraries/Libraries/Komodex.DACP (Win8)/Utility/DacpNode.cs
misenhower/WPRemote
2
7043004
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Komodex.DACP { public class DacpNode { public DacpNode(string key, byte[] value) { Key = key; Value = value; } public string Ke...
src/SpectraSorter/devices/COMScanner.cs
SpectraSorter/SpectraSorter
1
7043005
<gh_stars>1-10 /* Copyright © 2018-2021, ETH Zurich, D-BSSE, <NAME> & <NAME> All rights reserved. This program and the accompanying materials are made available under the terms of the Apache-2.0 license which accompanies this distribution, and is available at https://www.apache.org/licenses/...
Programming/Database/Teamwork SuperMarket/SuperMarket.SQLServer.Data/SupermarketContext.cs
niki-funky/Telerik_Academy
1
7043006
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Validation; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Entity; using SuperMarket.SQLServer.Models; namespace SuperMarket.SQLServer.Data { public c...
src/QuinntyneBrownPhotography/Features/DigitalAssets/GetDigitalAssetsQuery.cs
QuinntyneBrown/quinntyne-brown-photography
3
7043007
using MediatR; using QuinntyneBrownPhotography.Data; using QuinntyneBrownPhotography.Features.Core; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using System.Data.Entity; namespace QuinntyneBrownPhotography.Features.DigitalAssets { public class GetDigitalAssetsQuery { ...
src/dotValidate.App/Extensions/ConditionExtensions.cs
jephbayf1986/JustDeclare
0
7043008
using dotValidate.Conditions; using dotValidate.Main.Conditions; using dotValidate.Main.ValidationChecks; using dotValidate.Models; using System; namespace dotValidate { /// <summary> /// Property Extensions for building Validation Rules with dotValidate /// </summary> public static partial class Prop...
Jockusch.Common.Debugging/Additions/ClassAdditions.cs
verybadcat/Debugging
0
7043009
<reponame>verybadcat/Debugging using System; using Jockusch.Common.Debugging; namespace Jockusch.Common { public static class ClassAdditions { public static T NotNull<T> (this T obj, T backup) where T: class { CommonDebug.NullCheck(obj); T r = obj ?? backup; return r; } } }
Subscription Manager/DarkBond.SubscriptionManager.Infrastructure/View Models/Forms/SubscriptionViewModel.cs
DonaldAirey/dark-bond-main
0
7043010
<gh_stars>0 // <copyright file="SubscriptionViewModel.cs" company="Dark Bond, Inc."> // Copyright © 2016-2018 - Dark Bond, Inc. All Rights Reserved. // </copyright> // <author><NAME></author> namespace DarkBond.SubscriptionManager.ViewModels.Forms { using System; using System.Collections.Generic; usin...
tests/basic/gallery/native/FormsAll/MainPage.xaml.cs
sgrebnov/jqmobile-metro-theme
13
7043011
<filename>tests/basic/gallery/native/FormsAll/MainPage.xaml.cs using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Ani...
UltimaOnline.Data/Mobiles/Vendors/NPC/Blacksmith.cs
netcode-gamer/game.ultimaonline.io
0
7043012
<reponame>netcode-gamer/game.ultimaonline.io using System; using System.Collections.Generic; using UltimaOnline; using UltimaOnline.Engines.BulkOrders; namespace UltimaOnline.Mobiles { public class Blacksmith : BaseVendor { private List<SBInfo> m_SBInfos = new List<SBInfo>(); protecte...
Solution/01_Libraries/Neti.CodeGeneration/Generators/MessageHandlingCodeGenerator.cs
appastoy/ServerStudy
0
7043013
<filename>Solution/01_Libraries/Neti.CodeGeneration/Generators/MessageHandlingCodeGenerator.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace Neti.CodeGeneration.Generators { public class MessageHandlingCodeGenerator : ICodeGenerator { const ...
Tests/ServerManagerTestFixture.cs
68681395/JexusManager
0
7043015
<reponame>68681395/JexusManager // Copyright (c) <NAME>. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.Reflection; using System.Xml.Linq; using System.Xml.XPath; using Microsoft.Web.Administra...
GeorgesMovies/GeorgesMovies.Web/obj/Debug/net5.0/Razor/Areas/Admin/Views/Movie/Manage.cshtml.g.cs
GeorgiPopovIT/GeorgesMovies
0
7043016
<filename>GeorgesMovies/GeorgesMovies.Web/obj/Debug/net5.0/Razor/Areas/Admin/Views/Movie/Manage.cshtml.g.cs #pragma checksum "C:\Users\Georges\Desktop\GeorgesMovies\GeorgesMovies\GeorgesMovies.Web\Areas\Admin\Views\Movie\Manage.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "522e5cf104032ac886b59ef86cbfe2ed223d1865" ...
WuQuant/QuantizationException.cs
tle5/nquant
0
7043017
<reponame>tle5/nquant using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WuQuant { [Serializable] public class QuantizationException : ApplicationException { public QuantizationException(string message) : base(message) { } } }
OpenNefia.Content/UI/Hud/HudLayer.cs
OpenNefia/OpenNefia
38
7043018
<reponame>OpenNefia/OpenNefia using OpenNefia.Content.UI.Element; using OpenNefia.Content.Prototypes; using OpenNefia.Core.Graphics; using OpenNefia.Core.IoC; using OpenNefia.Core.Rendering; using OpenNefia.Core.UI; using OpenNefia.Core.UI.Element; using OpenNefia.Core.UI.Layer; using OpenNefia.Core.UI.Element; using ...
src/AspNetCore2x/HttpClientFactoryWebApp/Startup.cs
ichiroku11/Sample
0
7043019
<reponame>ichiroku11/Sample using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace HttpClientFactoryWebApp { public class Startup { public void ...
Assets/actions.cs
VasilyBulgakov/Unity-ARkit1.5
0
7043021
using System.Collections; using System.Collections.Generic; using UnityEngine; public class actions : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { if( Input.touchCount > 0 ) { Touch touch = Input.GetTouch(0); if(touch.phase...
Test.Arebis.Extensions/Tests/Arebis.Utilities/StringUtilitiesTests.cs
codetuner/Arebis.Common
10
7043022
<reponame>codetuner/Arebis.Common<filename>Test.Arebis.Extensions/Tests/Arebis.Utilities/StringUtilitiesTests.cs using System; using System.Collections.Generic; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using Arebis.Extensions; namespace Arebis.Extensions.Tests.Arebis.Utilities { ...
Project/DataAccessLayer/InstrumentRepository.cs
maxadamsdes/SDV701ProjectFinal
0
7043023
<filename>Project/DataAccessLayer/InstrumentRepository.cs using System.Collections.Generic; using System.Linq; using System.Data.Entity; using System.Collections; namespace InstrumentShop.DataAccessLayer { public class InstrumentRepository : Repository, IInstrumentRepository { public InstrumentReposit...
TwitterBootstrapMVC/Controls/ModalBuilder.cs
DmitryEfimenko/TwitterBootstrapMvc
90
7043024
using System.Web.Mvc; using TwitterBootstrapMVC.Infrastructure; namespace TwitterBootstrapMVC.Controls { public class ModalBuilder<TModel> : BuilderBase<TModel, Modal> { internal ModalBuilder(HtmlHelper<TModel> htmlHelper, Modal modal) : base(htmlHelper, modal) { } ...
DParser2/Resolver/ExpressionSemantics/MethodOverloadCandidateSearchVisitor.cs
aBothe/D_Parser
16
7043025
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using D_Parser.Dom; using D_Parser.Dom.Expressions; using D_Parser.Resolver.TypeResolution; namespace D_Parser.Resolver.ExpressionSemantics { class MethodOverloadCandidateSearchVisitor : IResolvedTypeVisitor...
CrawlerProgram/TypeData.cs
HamidMolareza/FileSignatureUtility
0
7043026
<reponame>HamidMolareza/FileSignatureUtility namespace CrawlerProgram { public class TypeData { public TypeData () { } public TypeData (string typeName, string signature, string description) { // Signature.Add(ParseToBytes (signature)); Signature = signature.TrimEnd (); ...
src/K4os.Hash.Crc/HashAlgorithmAdapter.cs
MiloszKrajewski/K4os.Hash.Crc
3
7043027
<reponame>MiloszKrajewski/K4os.Hash.Crc using System; using System.Security.Cryptography; namespace K4os.Hash.Crc { internal class HashAlgorithmAdapter: HashAlgorithm { private readonly Action _reset; private readonly Action<byte[], int, int> _update; private readonly Func<byte[]> _digest; public HashAlgor...
Items/Placeables/VoidBlock.cs
WaitWhatWolf/Ascension
2
7043028
using Ascension.Attributes; using Ascension.Enums; using Ascension.Tiles; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace Ascension.Items.Placeables { [CreatedBy(Dev.Adragon, 2021, 08, 08)] class VoidBlock : AscensionItem { [Note(Dev.WaitWhatWolf, "Previous tooltip: \"This i...
Kore.Data.PostgreSql/PostgreSqlEntityFrameworkHelper.cs
widecommerce/kore-cms
2
7043030
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.Entity; using System.Data.Entity.Core; using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Infrastructure; using System.Linq; using System.Text; using Kore.Collections; using Kore....
MoreFactionInteraction/World Incidents/Buff_All.cs
Mehni/MoreFactionInteraction
34
7043031
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using RimWorld; using Verse; namespace MoreFactionInteraction.More_Flavour { public abstract class Buff : IExposable, IEquatable<Buff> { public bool Active; public virtual TechLevel MinTechL...
IronFrame.Test/Messaging/MessagingClientTest.cs
cloudfoundry/IronFrame
9
7043032
using System; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace IronFrame.Messaging { public class MessagingClientTest { [Fact] public void InvokesSenderToSendMessage() { ...
src/Notes/Views/Shared/_LayoutMinimal.cshtml
virtualdreams/postit-core
2
7043033
<filename>src/Notes/Views/Shared/_LayoutMinimal.cshtml @using Notes.Options @using Microsoft.Extensions.Options @inject IOptionsSnapshot<AppSettings> AppSettings <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" co...
StandardSchedulesInformation/StandardSchedulesInformation.Consumer/FileProcessor.cs
Particular/BugsRepro
0
7043034
using NServiceBus; using StandardSchedulesInformation.Consumer.Commands; namespace StandardSchedulesInformation.Consumer { public class FileProcessor : IHandleMessages<ProcessFile> { public void Handle(ProcessFile message) { } } }
TestTask/ReadOnlyStream.cs
bocharov-vyacheslav/TestTask
0
7043036
<gh_stars>0 using System; using System.IO; namespace TestTask { public class ReadOnlyStream : IReadOnlyStream { private bool _disposed; private readonly StreamReader _localStream; /// <summary> /// Конструктор класса. /// Т.к. происходит прямая рабо...
BackEnd/Timeline/Models/Http/HttpUser.cs
crupest/Timeline
5
7043037
using System.Collections.Generic; namespace Timeline.Models.Http { /// <summary> /// Info of a user. /// </summary> public class HttpUser { public HttpUser() { } public HttpUser(string uniqueId, string username, string nickname, List<string> permissions, HttpUserLinks li...
dotnet/src/CodeSharp.Core.Castles/includes/Castle.Services.Transaction/Exceptions/TransactionalConflictException.cs
codesharp/infrastructure
2
7043038
<filename>dotnet/src/CodeSharp.Core.Castles/includes/Castle.Services.Transaction/Exceptions/TransactionalConflictException.cs<gh_stars>1-10 using System; using System.Runtime.Serialization; namespace Castle.Services.Transaction { public class TransactionalConflictException : TransactionException { public Transacti...
Src/LeetCode/204_Count_Primes.cs
LouisGuo/LeetCode
0
7043039
<reponame>LouisGuo/LeetCode using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeetCode { public class CountPrimes { public int Solution(int n) { if (n <= 2) return ...
Assets/Scripts/UseParticles.cs
HSMCode/hsm-wise2021-prototype103-party-BromBromley
0
7043040
using System.Collections; using System.Collections.Generic; using UnityEngine; public class UseParticles : MonoBehaviour { // emits confetti like particles if the player wins // attached to particle system [SerializeField] private ParticleSystem playParticleSystem; [SerializeField] private ParticleSyst...
src/Elements/ElectronConfiguration.cs
Tavenem/Chemistry
0
7043041
<reponame>Tavenem/Chemistry<gh_stars>0 namespace Tavenem.Chemistry.Elements; /// <summary> /// Defines an atom's configuration of electrons. /// </summary> public readonly struct ElectronConfiguration : IEquatable<ElectronConfiguration> { /// <summary> /// The orbitals involved in this configuration. /// ...
Macaw.Umbraco.Foundation/Application.cs
MacawNL/Macaw.Umbraco.Foundation
2
7043042
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using Umbraco.Web; namespace Macaw.Umbraco.Foundation { public class Application : UmbracoApplication { public override string GetVaryByCustomString(HttpContext context, string cus...
RankedPlaylist/Plugin.cs
qe201020335/RankedPlaylist
7
7043043
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using IPA; using IPA.Config; using IPA.Config.Stores; using UnityEngine; using UnityEngine.SceneManagement; using IPALogger = IPA.Logging.Logger; using RankedPlaylist.RankedPlaylistGenerator; using BeatSaberMarkupLanguage.Menu...
src/Whim.TreeLayout.Tests/TestParents.cs
dalyIsaac/Whim
0
7043044
using Xunit; namespace Whim.TreeLayout.Tests; public class TestParents { [Fact] public void GetParents_RootNode() { TestTree tree = new(); Assert.Equal(new Node[] { tree.Root }, tree.Root.Lineage); } [Fact] public void GetParents_RightTopLeftBottomRightTop() { TestTree tree = new(); Node[] expected ...
PCV-PRG/BitmapEditor/Code/Form2.cs
Riyufuchi/OtazkyIKT
1
7043045
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 BitmapEditor { public partial class Form2 : Form { private Bitmap btm; ...
src/HallOfBeorn/Models/LotR/Scenarios/AngmarAwakened/TheTreacheryOfRhudaurScenario.cs
danpoage/hall-of-beorn
5
7043046
namespace HallOfBeorn.Models.LotR.Scenarios.AngmarAwakened { public class TheTreacheryOfRhudaurScenario : Scenario { public TheTreacheryOfRhudaurScenario() { Title = "The Treachery of Rhudaur"; ProductName = "Treachery of Rhudaur"; GroupName = "<NAME>"...
Source/CiCiAI/DdzInfo.cs
cicistudio/DouDiZhu
3
7043047
using System; using System.Collections.Generic; using System.Linq; using System.Text; /************************************************************* * Copyright by cicistudio 2000-2017 * http://chengchen.cnblogs.com * https://github.com/cicistudio/ * The Current code cannot be used in the Commercial software. * M...
test/Microsoft.OpenApi.CSharpAnnotations.DocumentGeneration.Tests/ReferenceRegistryTests/Types/ISampleGenericType.cs
JoshuaWhatley/OpenAPI.NET.CSharpAnnotations
92
7043048
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using System.Collections.Generi...
Zenkov1/VigenereCipher.cs
Roccowen/caesar_vigenere_ciphers
3
7043049
using System; using System.Collections.Generic; using System.Linq; namespace Zenkov1 { public class VigenereCipher : ICipher { private char[][] tabulaRecta; private readonly CaesarCipher caesarCipher; private readonly string cyrillicAlphabet = "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮ...
test/WebApiContrib.Formatting.ProtoBuf.Test/ProtoBufFormatterTest.cs
WebApiContrib/WebApiContrib.Formatting.ProtoBuf
21
7043050
<reponame>WebApiContrib/WebApiContrib.Formatting.ProtoBuf<filename>test/WebApiContrib.Formatting.ProtoBuf.Test/ProtoBufFormatterTest.cs<gh_stars>10-100 using System; using System.IO; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using Moq; using Xunit; namespace WebApiContrib.Formatting.P...
BMCLV2/Report.cs
xfl03/BMCL
0
7043051
<filename>BMCLV2/Report.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Threading; using System.Web; using System.Runtime.Serialization.Json; using System.Collections; using System.IO; using System.Management; namespace BMCLV2 { class Report...
Stacking-Cups/StackingCups/Program.cs
mpreyes/KattisProblems
0
7043052
using System; using System.Text; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Linq; using System.Collections; using System.Threading.Tasks; namespace StackingCups { class MainClass { public static void Main(string[] args) { int N = int.Parse...
Blog/Blog/Shared/Enums/CommentStatus.cs
misiukanis/simple-blog
3
7043053
using System.ComponentModel; using System.Text.Json.Serialization; namespace Blog.Shared.Enums { [JsonConverter(typeof(JsonStringEnumConverter))] public enum CommentStatus { [Description("New")] New = 1, [Description("Accepted")] Accepted = 2, [Description("Reject...
Tests/AsyncCoroutineProxyTest.cs
sboothza/devcomrade
0
7043054
// Copyright (C) 2020 by Postprintum Pty Ltd (https://www.postprintum.com), // which licenses this file to you under Apache License 2.0, // see the LICENSE file in the project root for more information. // Author: <NAME> (@noseratio) #nullable enable using System.Collections.Generic; using System.Diagnostics; using...
GenerateSDKCode/GenerateSDKCode/Features/Rendering/SdkCodeRenderingExtensions_RuleSetParameterDef.cs
InRule/irAuthor-Extensions
3
7043055
using System.CodeDom; using System.Collections.Generic; using InRule.Repository; using InRule.Repository.RuleElements; namespace InRuleLabs.AuthoringExtensions.GenerateSDKCode.Features.Rendering { public static partial class SdkCodeRenderingExtensions_RulesetParameterDef { public static CodeExpre...
Assets/Scripts/BuildManager/WireBuilder.cs
InFaNsO/CorperateSim
0
7043056
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WireBuilder : BuilderBase { ElectricNode node1 = null; ElectricNode node2 = null; int NodeMask = 0; int GroundMask = 0; float playerRange = float.MaxValue; ElectricPoleBuilder mPoleMaker = null; G...
src/TravelMonkey/Services/ComputerVisionService.cs
ymebrugts/TravelMonkey
0
7043057
<reponame>ymebrugts/TravelMonkey using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.Azure.CognitiveServices.Vision.ComputerVision; using Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models; using TravelMonkey.Models; using Xamarin.Forms; namespace TravelMonkey.Services { ...
TTCMS.Web/Models/Home/LienHeViewModel.cs
thuongaptech/TTCMS
0
7043058
<filename>TTCMS.Web/Models/Home/LienHeViewModel.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace TTCMS.Web.Models { public class LienHeViewModel { public int Id { get; set; } [Required(ErrorMessage =...
MockCreator/ObjectCreator.Test/Interfaces/IPrimitivePropertyInterface.cs
RenePeuser/DynamicMockCreator
0
7043059
using System; namespace ObjectCreatorTest.Interfaces { public interface IPrimitivePropertyInterface { sbyte PropertySByte { get; } byte PropertyByte { get; } short PropertyShort { get; } ushort PropertyUShort { get; } int PropertyInt { get; } uint PropertyUInt { ...
ObsidianAPITEST/Entities/MiniCampaign.cs
MystikalPooka/ObsidianPortalAPITest
0
7043060
<reponame>MystikalPooka/ObsidianPortalAPITest using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace ObsidianAPITEST.Entities { internal class MiniCampaign { [JsonProperty("id")] public string Id { ge...
src/EthernaSSO.Domain/Models/EntityModelBase.cs
Etherna/etherna-sso
0
7043061
// Copyright 2021-present <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
crest/Assets/Crest/Crest/Scripts/Helpers/Editor/EditorHelpers.cs
huwb/crest-oceanrender
980
7043062
<reponame>huwb/crest-oceanrender // Crest Ocean System // This file is subject to the MIT License as seen in the root of this folder structure (LICENSE) #if UNITY_EDITOR using UnityEditor; using UnityEngine; namespace Crest.EditorHelpers { /// <summary> /// Provides general helper functions for the editor....
src/Core/src/Platform/Android/LayoutViewGroup.cs
vladboss61/maui
0
7043063
using System; using Android.Content; using Android.Runtime; using Android.Util; using Android.Views; using Android.Widget; using Microsoft.Maui.Graphics; using ARect = Android.Graphics.Rect; using Rectangle = Microsoft.Maui.Graphics.Rect; using Size = Microsoft.Maui.Graphics.Size; namespace Microsoft.Maui.Platform { ...
src/ripple/Model/IgnoreAssemblyReference.cs
danielHalan/ripple
0
7043064
<gh_stars>0 using FubuCore; namespace ripple.Model { public class IgnoreAssemblyReference { public string Package { get; set; } public string Assembly { get; set; } public bool Matches(Dependency dependency, string assembly) { return dependency.Matches...
KrisHemenway.Common/ResultOfT.cs
krishemenway/krishemenway-svc
0
7043065
<reponame>krishemenway/krishemenway-svc namespace KrisHemenway.Common { public class Result<T> { public bool Success { get; private set; } public string ErrorMessage { get; private set; } public T Data { get; set; } public static Result<T> Successful(T data) { return new Result<T> { Success = true, Dat...
Toolbox/Core/Serializer/Surrogates/SceneAssetSurrogate.cs
Flohs/PGI
15
7043066
/********************************************** * Pantagruel * Copyright 2015-2016 <NAME> **********************************************/ #if UNITY_EDITOR using UnityEngine; using UnityEditor; using System.Runtime.Serialization; using System.Collections.Generic; using System; namespace Pantagruel.Serializer.Surrogat...
workyard/tests/codedom/tests/genericstest.cs
tpetricek/FSharp.PowerPack
2
7043067
// F#: changed multiplication from decimal*int to int*int // unfortunately this fails because the following code doesn't compile // (type arguments 'k and 'v are restricted to values from use in the 'Test' class) // otherwise it should be correct /* #light open System.Collections.Generic t...
XamF.Controls/XamF.Controls.CustomDialogs/Services/Imp/DialogService.cs
abdoemad/XamF.Controls.DataGrid
2
7043068
<reponame>abdoemad/XamF.Controls.DataGrid<gh_stars>1-10 using Rg.Plugins.Popup.Contracts; using Rg.Plugins.Popup.Services; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace XamF.Controls.CustomDialogs.Services.Imp { public class DialogS...
Library/Locust.AspNet.Identity/Options/UserValidatorOptions.cs
mansoor-omrani/Locust.NET
1
7043069
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Locust.AspNet.Identity.Options { public class UserValidatorOptions { public bool AllowOnlyAlphanumericUserNames { get; set; } public bool RequireUniqueEmail { get; set;...
project1/WindowsFormsApp1/ArticleViewDisplay.Designer.cs
liyusang1/--TeamProject
0
7043070
namespace WindowsFormsApp1 { partial class ArticleViewDisplay { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
EasyPost/ClientConfiguration.cs
kendallb/easypost-async-csharp
6
7043071
/* * Licensed under The MIT License (MIT) * * Copyright (c) 2014 EasyPost * Copyright (C) 2017 AMain.com, Inc. * All Rights Reserved */ namespace EasyPost { /// <summary> /// Provides configuration options for the EasyPost client /// </summary> public class ClientConfiguration { inte...
Masarin.IoT.Sensor/Messages/VehicleMovementMessage.cs
iot-for-tillgenglighet/ingress-mqtt
0
7043072
<gh_stars>0 namespace Masarin.IoT.Sensor { class VehicleMovementMessage : IoTHubMessage { public double Heading { get; } public double Speed { get; } public string Type { get; set; } public VehicleMovementMessage(IoTHubMessageOrigin origin, string timestamp, double heading...
Tools/Navio Hardware Test/Models/TestApplicationUIModel.cs
tnkaiser/NavioIoT
0
7043073
using Emlid.UniversalWindows.UI.Models; using Emlid.WindowsIot.Hardware.Boards.Navio; using System; using System.Threading.Tasks; namespace Emlid.WindowsIot.Tools.NavioHardwareTest.Models { /// <summary> /// Application UI model. /// </summary> public class TestApplicationUIModel : ApplicationUIModel ...
samples/CommunityToolkit.Maui.Sample/MainPage.xaml.cs
StevenHanquez/Maui
0
7043074
using CommunityToolkit.Maui.Sample.Pages; namespace CommunityToolkit.Maui.Sample; public partial class MainPage : BasePage { public MainPage() { InitializeComponent(); Page ??= this; } }
Emgu.CV/Emgu.CV/Subdiv2D.cs
rlabrecque/RLSolitaireBot
5
7043075
<gh_stars>1-10 //---------------------------------------------------------------------------- // Copyright (C) 2004-2016 by EMGU Corporation. All rights reserved. //---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnost...
NewsFeed.Tests/Core/GuardTests.cs
gchoy-vmware/NewsFeed
1
7043076
using NewsFeed.Core; using System; using Xunit; namespace NewsFeed.Tests.Core { /// <summary> /// Guard tests. /// </summary> public class GuardTests { /// <summary> /// IsNotNull throws exception for null object. /// </summary> [Fact] public void IsNotNull_N...
src/AngleSharp.Core.Tests/Mocks/VirtualRequester.cs
tbolon/AngleSharp
293
7043077
namespace AngleSharp.Core.Tests.Mocks { using AngleSharp.Network; using System; using System.Threading; using System.Threading.Tasks; sealed class VirtualRequester : IRequester { private readonly Func<IRequest, IResponse> _onRequest; public VirtualRequester(Func<IRequest, IRes...
Joke.Compiler/Tree/Unit.cs
knutjelitto/Joke
0
7043078
<reponame>knutjelitto/Joke using System.Collections.Generic; using System.Linq; using Joke.Front.Pony.ParseTree; using Joke.Outside; namespace Joke.Compiler.Tree { public class Unit : IDiscover { public readonly List<IUse> Uses = new List<IUse>(); public Unit(PtUnit source, FileRef...
ApiDumpTool.cs
CloneTrooper1019/Roblox-API-Dump-Tool
17
7043079
<reponame>CloneTrooper1019/Roblox-API-Dump-Tool using System; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using RobloxDeployHistory; using Microsoft.Win32; na...
src/Consolonia.Core/Drawing/PixelBuffer/PixelBufferSize.cs
wieslawsoltes/Consolonia
0
7043080
namespace Consolonia.Core.Drawing.PixelBuffer { public readonly struct PixelBufferSize { public PixelBufferSize(ushort width, ushort height) { RightBottom = new PixelBufferCoordinate(width, height); } private PixelBufferCoordinate RightBottom { get; } public ...
SimpleRandomWallpaper/frmMain.Designer.cs
fourDotsSoftware/SimpleRandomWallpaper
0
7043082
<filename>SimpleRandomWallpaper/frmMain.Designer.cs namespace SimpleRandomWallpaper { partial class frmMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any ...