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/ChessSharp.Engine/Events/PromotionTypeRequiredEventArgs.cs
gregstanley/ChessSharp
0
7056060
namespace ChessSharp.Engine.Events { public class PromotionTypeRequiredEventArgs : UserMovedPieceEventArgs { public PromotionTypeRequiredEventArgs(int fromSquareIndex, int toSquareIndex) : base(fromSquareIndex, toSquareIndex) { } } }
MeioMundo.Ferramentas/Internal/CustomScrollViewer.cs
WinterStudios/MeioMundo.Ferramentas
0
7056061
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media.Animation; namespace MeioMundo.Ferramentas.Internal { public class CustomScrollViewer: Scr...
test1.aspx.cs
NIHAL-JAIN/Employment-management-system
0
7056062
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; namespace EventManager { public partial class test1 : System.Web.UI.Page { DMLHelper dml = new DMLHelper(); protected void Page_Load(obj...
src/samples/ToolKits.DawnApp/src/FormView/DESEncryptForm.Designer.cs
cockroach888/GSA.MOLLE.ToolKits
0
7056063
<filename>src/samples/ToolKits.DawnApp/src/FormView/DESEncryptForm.Designer.cs  namespace GSA.ToolKits.DawnApp.FormView { partial class DESEncryptForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; ...
src/ThisNetWorks.LogrPCL.Writer.Shared/LogrWriterBase.cs
thisnetworks/ThisNetWorks.Logr
1
7056064
using System; using System.Reflection; using ThisNetWorks.LogrPCL.Abstractions; using System.Linq; using System.Collections.Generic; using ThisNetWorks.LogrPCL; #if !PCL namespace ThisNetWorks.LogrPCL.Writer.Shared { public abstract class LogrWriterBase { public ILogrWriterSettings Settings { get; set; } = new Lo...
CameraFeeder/Configuration/ConfigExtensions.cs
nilbot/cam-feed-automat
0
7056065
using System; using System.Collections.Generic; using System.IO; using System.Threading; using Feeder.Model; using Feeder.Properties; using Feeder.ViewModel; using ServiceStack.Text; namespace Feeder.Configuration { public static class ConfigExtensions { public static string Index(this Be...
SwitchvoxAPI/Responses/Users/CallQueues/CallQueueTodaysStatusCallsWaiting.cs
spider-bkv/SwitchvoxAPI
14
7056066
<reponame>spider-bkv/SwitchvoxAPI using System; using System.Xml.Serialization; namespace SwitchvoxAPI { //todo: i dont think this has been done correctly - i think the position attribute should have a position xml attribute? public class CallQueueTodaysStatusWaitingCall { [XmlAttribute("waiting_c...
Sonic4_ModLoader/OneClickModInstaller/Forms/UltimateWinForm.cs
OSA413/Sonic4_ModLoader
9
7056067
using System; using System.Windows.Forms; using System.IO; using System.Net; using System.ComponentModel; using System.Threading.Tasks; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Common.Ini; using Common.MyIO; using Common.URL; using Common.Launcher; using Common.ValueUpdater...
src/TWCore.Messaging.NSQ/NSQueueServer.cs
tonyredondo/TWCore2
29
7056068
<filename>src/TWCore.Messaging.NSQ/NSQueueServer.cs /* Copyright 2015-2018 <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...
Local3DModelRepository/Models/Tag.cs
ChrisSippel/Local3DModelRepository
0
7056069
<filename>Local3DModelRepository/Models/Tag.cs using System; namespace Local3DModelRepository.Models { public sealed class Tag : ITag, IEquatable<Tag> { public Tag(string value) { Value = value; } public string Value { get; } public bool Equals(Tag other) ...
Wingman.Tests/Container/DependencyRegistrarTests.cs
Aleksbgbg/Wingman
1
7056070
<gh_stars>1-10 namespace Wingman.Tests.Container { using System; using System.Linq.Expressions; using Moq; using Wingman.Container; using Wingman.Container.Entries; using Wingman.Container.Strategies; using Xunit; public class DependencyRegistrarTests { private const str...
Entities/DisruptedRoute.cs
ColumbusUtrigas/TFL
0
7056071
using System.Globalization; namespace TFL.Entities; public class DisruptedRoute : IIdentifiable { public string Id; public string LineId; public string RouteCode; public string Name; public string LineString; public string Direction; public string OriginationName; public string Destina...
DryWetMidi/Interaction/Chords/ChordSearchContext.cs
olejorgensen/drywetmidi
0
7056072
using Melanchall.DryWetMidi.Core; namespace Melanchall.DryWetMidi.Interaction { /// <summary> /// Defines a context to search chords within. /// </summary> /// <example> /// <para> /// To understand what context means let's take a look at following events sequence /// within two track chun...
NetworkToolkit/Tools.cs
scalablecory/NetworkToolkit
88
7056073
<reponame>scalablecory/NetworkToolkit using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; namespace NetworkToolkit { internal static class Tools { [MethodImpl(MethodImplOptions.AggressiveInlining)] pub...
src/MatatakiBot.Core/Middlewares/NonCommandFilter.cs
Matataki-io/Matataki-Telegram-Bot
6
7056074
using System.Collections.Generic; using System.Linq; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; namespace MatatakiBot.Middlewares { class NonCommandFilter : IMessageMiddleware { public IAsyncEnumerable<MessageResponse> HandleMessageAsync(Message message, NextHandler nextHandler) ...
HemaDrillBook/HemaDrillBook/AuthMessageSenderOptions.cs
Grauenwolf/HemaDrillBook
3
7056075
<gh_stars>1-10 namespace HemaDrillBook { public class AuthMessageSenderOptions { public string? FromEmailAddress { get; set; } public string? FromName { get; set; } public string? SmtpPassword { get; set; } public string? BogusSetting { get; set; } public string? SmtpServ...
src/Chat/Client/Method/Client.cs
EldarYu/Simple-Socket-Chat
3
7056076
using Core.Protocol; using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Threading; using System.Windows; using System.Threading.Tasks; namespace Client.Method { public class Client : Core.Net.Client { public List<Message<List<string>>> Session; ...
Roguelike/Abstract/Effects/IEffect.cs
tomaszkot/Roguelike
0
7056078
<filename>Roguelike/Abstract/Effects/IEffect.cs using Roguelike.Attributes; using Roguelike.Factors; namespace Roguelike.Abstract.Effects { /// <summary> /// ILastingEffectSrc can be Spell, Hit by melee or projectile /// </summary> public interface ILastingEffectSrc { int TurnLasting { get; set; } E...
src/Covid19Reports.App/Program.cs
StarTrekFan/covid19ReportsAndCharts
0
7056079
using System; using Microsoft.Extensions.Configuration; using Covid19Reports.Lib; using Covid19Reports.Lib.Publisher; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Net.Http; using System.IO; namespace Covid19Reports.App { class Program { private stati...
framework/src/Sprite.Core/System/Reflection/ActivateFactory.cs
beango-project/beango-framework
2
7056080
namespace System.Reflection { public static class ActivateFactory { public static T CreateInstance<T>() { var instance = New<int>.Instance(); return default; } } }
android/naked-stubs/gov/nist/javax/sip/header/ims/PServedUserHeader.cs
gordonjohnpatrick/XobotOS
263
7056081
<gh_stars>100-1000 using Sharpen; namespace gov.nist.javax.sip.header.ims { [Sharpen.NakedStub] public interface PServedUserHeader { } [Sharpen.NakedStub] public abstract class PServedUserHeaderClass { } }
console/BaseCommand.cs
idan-h/schemazen
3
7056082
<filename>console/BaseCommand.cs<gh_stars>1-10 using ManyConsole; using Mono.Options; using System.Linq; namespace SchemaZen.console { public abstract class BaseCommand : ConsoleCommand { protected BaseCommand(string command, string oneLineDescription) { IsCommand(command, oneLineDescription); Options = new ...
Elevator/PluginLoader.cs
JLChnToZ/elevator
1
7056083
using System.IO; using System.Reflection; namespace Elevator { internal static class PluginLoader { public static void LoadPlugins() { foreach(var file in Directory.GetFiles(Path.GetDirectoryName(EnvironmentHelper.ExecPath), "*.elevator-plugin.dll")) { try { ...
Serenity.Data/Criteria/ParamCriteria.cs
davidzhang9990/SimpleProject
0
7056084
namespace Serenity.Data { using System; using System.Text; public class ParamCriteria : BaseCriteria { private string name; public ParamCriteria(string name) { if (String.IsNullOrEmpty(name)) throw new ArgumentNullException("name"); if ...
Dumps/PrimitierDumpV1.0.1/Valve/VR/InteractionSystem/Sample/InteractableExample.cs
TotalJTM/PrimitierModdingFramework
2
7056085
<gh_stars>1-10 /* * Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty */ using System; using System.Diagnostics; using System.Runtime.CompilerServices; using UnityEngine; using Valve.VR.InteractionSystem; // Image 50: SteamVR.dll - Assembly: SteamVR, Version=0.0.0.0, Cultur...
Utils/Common/AliasAttribute.cs
xuanbg/Utility
19
7056086
using System; namespace Insight.Utils.Common { [AttributeUsage(AttributeTargets.Property)] public class AliasAttribute : Attribute { /// <summary> /// 属性别名 /// </summary> public string alias { get; } /// <summary> /// 构造方法 /// </summary> ///...
Xrm.Solution.MEF/Configuration/SolutionElement.cs
asifulm/xrmdiff
0
7056087
// *********************************************************************** // Assembly : Xrm.Solution.Utility // Author : asifulm // Created : 06-27-2015 // // Last Modified By : asifulm // Last Modified On : 06-27-2015 // **************************************************************...
Providers/IResponseCache.cs
WeAreMammoth/bcxapi-dotnet
2
7056088
<reponame>WeAreMammoth/bcxapi-dotnet<filename>Providers/IResponseCache.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BCXAPI.Providers { /// <summary> /// implement this interface and provide your implementation to the BCXAPI.Service constructor to use it as...
Open-Lab-04.05/StringTools.cs
matusdurana/Open-Lab-04.05
0
7056089
<reponame>matusdurana/Open-Lab-04.05<gh_stars>0 using System; namespace Open_Lab_04._05 { public class StringTools { public string Repeat(string orig, int n) { string str = ""; foreach (var o in orig) { for (int i = 0; i < n; i++) ...
PayXpertLibrary/TransactionBase.cs
PayXpert/payment-gateway-csharp-client
1
7056090
<reponame>PayXpert/payment-gateway-csharp-client using Newtonsoft.Json; using PayXpertLibrary.Requests; using System; using System.IO; using System.Net; using System.Text; using System.Threading.Tasks; namespace PayXpertLibrary { public abstract class TransactionBase { private URLRecord url; ...
src/Common/LegacyConfigOptions..cs
ProphetLamb-Organistion/Roslynator
0
7056091
<reponame>ProphetLamb-Organistion/Roslynator // Copyright (c) <NAME> and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Roslynator { public static partial class LegacyConfigOptions { public static readonly LegacyConf...
GeraFin.Web/Extensions/SessionExtensions.cs
zaLouPook/GeraFinWeb1
0
7056092
using System; using Microsoft.AspNetCore.Http; namespace GeraFin.Web.Extensions { public static class SessionExtensions { public static void SetInt(this ISession session, string key, int value) => session.Set(key, BitConverter.GetBytes(value)); } }
src/TestEngine/testcentric.engine.api/TestSelectionParserException.cs
jurczakk/testcentric-gui
0
7056093
<reponame>jurczakk/testcentric-gui<filename>src/TestEngine/testcentric.engine.api/TestSelectionParserException.cs // *********************************************************************** // Copyright (c) <NAME> and TestCentric Engine contributors. // Licensed under the MIT License. See LICENSE.txt in root directory. ...
PRandomHash/Views/Home/Index.cshtml
wired0x/PRandomHash
0
7056094
@{ ViewData["Title"] = "PRandomHash"; } @using (Html.BeginForm()) { <div class="form-group"> <label for="word1">Word 1: </label> <input class="form-control" id="word1" name="word1"/> </div> <div class="form-group"> <label for="word2">Word 2: </label> <input class="form-...
Test/Ini/Initialize.cs
csharpfritz/Fritz.ConfigurationBuilders
7
7056096
<reponame>csharpfritz/Fritz.ConfigurationBuilders using Fritz.ConfigurationBuilders; using Microsoft.Configuration.ConfigurationBuilders; using NUnit.Framework; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Configuration; using System.IO; using System.Linq; using Sy...
UrlShortenerSrc/UrlShortener/DataAccess/UserDictionaryService.cs
thestonehead/SampleUrlShortener
1
7056097
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Web; using UrlShortener.Infrastructure; namespace UrlShortener.DataAccess { public class UserDiction...
Assets/Scripts/Building/EffiencyBuilding.cs
lasse16/IGDSS20
0
7056098
<reponame>lasse16/IGDSS20<filename>Assets/Scripts/Building/EffiencyBuilding.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace IGDSS20.Buildings { public abstract class EffiencyBuilding : Building { protec...
src/WellEngineered.CruiseControl.Core/SourceControl/IModificationFilter.cs
wellengineered-us/cruisecontrol
0
7056099
<filename>src/WellEngineered.CruiseControl.Core/SourceControl/IModificationFilter.cs namespace WellEngineered.CruiseControl.Core.SourceControl { /// <title>Modification Filters</title> public interface IModificationFilter { /// <summary> /// Accepts the specified modification. /// </summa...
ITPointPresenterController/ViewModel/ViewModelBase.cs
ITB-Github/ITB_IT
0
7056100
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ITPointPresenterController { public abstract class ViewModelBase : INotifyPropertyChanged { [AttributeUsage(AttributeTargets.Property, ...
Jenkins-Series/Jenkins-CSharp-Api/Infrastructure/HttpAdapter.cs
tunjiadelana/AutomateThePlanet-Learning-Series
375
7056101
// <copyright file="HttpAdapter.cs" company="Automate The Planet Ltd."> // Copyright 2016 Automate The Planet Ltd. // 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/lice...
RZ.Server/RZ.Plugin.Feedback.Azure/RZ.Plugin.Feedback.Azure.cs
stijni/ruckzuck
145
7056102
using Microsoft.Azure.ServiceBus; using Microsoft.Extensions.Caching.Memory; using Newtonsoft.Json.Linq; using RZ.Server; using RZ.Server.Interfaces; using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Reflection; using S...
backend/API.Tests/Systems/Controllers/TestUsersController.cs
porya-zarei/TwitcherApp
1
7056104
<reponame>porya-zarei/TwitcherApp<filename>backend/API.Tests/Systems/Controllers/TestUsersController.cs namespace API.Tests.Systems.Controllers; public class TestUsersController { [Fact] public async Task TestGetAllUsers() { // Arrange var envMock = new Mock<IOptionsMonitor<JwtConfig>>();...
src/ErrorProne.NET.StructAnalyzers/UseInModifierForReadOnlyStructAnalyzer.cs
tg73/ErrorProne.NET
615
7056105
using System; using System.Collections.Immutable; using System.Linq; using ErrorProne.NET.Core; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; namespace ErrorProne.NET.StructAnalyzers { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class UseInModifierForReadOnlyStructAnalyzer : Di...
CDTSharp.Core/Playback/SequenceOfPulsesBlockPlayer.cs
dolbz/CPCSharp
1
7056106
// // Copyright (c) 2021, <NAME>. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using CDTSharp.Core.Blocks; namespace CDTSharp.Core.Playback { public class SequenceOfPulsesBlockPlayer : IBlockPlayer { priva...
14/csharp/day14/Program.cs
glenmccallumcan/advent-of-code-2020
0
7056107
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace day14 { static class Program { static void Main(string[] args) { var program = LoadData(); var part1 = Part1(program); var par...
NBlog.Web/Application/Jobs/Backup.cs
boatbooker/NBlog
177
7056108
using NBlog.Web.Application.Service; using NBlog.Web.Application.Storage; using NBlog.Web.Application.Storage.Json; using Quartz; using System; namespace NBlog.Web.Application.Jobs { public class Backup : IJob { public ICloudService Cloud { get; set; } public IRepository Repsitory { get; set;...
Hinode.Izumi.Data/Models/UserModels/UserFood.cs
envyvox/Hinode.Izumi
1
7056109
<filename>Hinode.Izumi.Data/Models/UserModels/UserFood.cs namespace Hinode.Izumi.Data.Models.UserModels { public class UserFood : EntityBase { public long UserId { get; set; } public long FoodId { get; set; } public long Amount { get; set; } public virtual User User { get; set; ...
source/Salesforce.Core/Salesforce.Auth/ISalesforceUser.cs
RepoForks/SalesforceSDK
25
7056110
// // Copyright 2012, Xamarin 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
src/Saritasa.Tools.Domain/IRepository.cs
jzabroski/SaritasaTools
1
7056111
<reponame>jzabroski/SaritasaTools // Copyright (c) 2015-2017, Saritasa. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading; using System.Threadi...
Assets/Scripts/Entity/Supa/Arrow.cs
Schnips12/Hammerfest-united
1
7056112
using System.Collections.Generic; using UnityEngine; public class Arrow : Supa { /*------------------------------------------------------------------------ CONSTRUCTEUR ------------------------------------------------------------------------*/ Arrow(string reference) : base(reference) { } /*---...
briefCore.Tesseract/ImageFormat.cs
kn1m/briefCore
0
7056113
namespace briefCore.Tesseract { public enum ImageFormat : int { Unknown = 0, Bmp = 1, JfifJpeg = 2, Png = 3, Tiff = 4, TiffPackBits = 5, TiffRle = 6, TiffG3 = 7, TiffG4 = 8, TiffLzw = 9, TifZip = 10, Pnm = 11, ...
Centaurus.Domain/WebSockets/Alpha/Info/Subscriptions/BaseSubscription.cs
PinkDiamond1/centaurus
28
7056114
<reponame>PinkDiamond1/centaurus using Centaurus.Models; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Reflection; using System.Text; namespace Centaurus.Domain { public abstract class BaseSubscription { public static BaseSubscripti...
BlockHole/BlockHole/BlockHole/blockHole.cs
hnguyen094/blockHole
2
7056116
<filename>BlockHole/BlockHole/BlockHole/blockHole.cs using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using M...
Objects/Shape2D.cs
Goreeeo/OverdriveEngine
0
7056117
using OverdriveEngine.Core; namespace OverdriveEngine { /// <summary> /// A simple rectangular shape. /// </summary> public class Shape2D : Object2D { /// <summary> /// The color of the shape. /// </summary> public System.Drawing.Color ShapeColor = System.Drawing.Co...
SESTEC/GISCore/Business/Concrete/PerigoPotencialBusiness.cs
tonihenriques/GestaoSST
0
7056118
using GISCore.Business.Abstract; using GISModel.Entidades; using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GISCore.Business.Concrete { public class PerigoPotencialBusiness : BaseBusiness<Peri...
source/tests/xcite.tean.tests/WordIteratorTests.cs
LaGuillotine/xcite
0
7056119
using System.Linq; using NUnit.Framework; namespace xcite.tean.tests { [TestFixture] public class WordIteratorTests { [Test] public void Iterate() { // Arrange string text = "Guten Tag <NAME>,\r\n\r\nvielen Dank für Ihre Mitteilung an uns."; // A...
sw/control/KFDtool.P25/Kmm/LoadConfigResponse.cs
grover556/KFDtool
58
7056120
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KFDtool.P25.Kmm { public class LoadConfigResponse : KmmBody { public int RSI { get; private set; } public int MN { get; private set; } //public...
Penguor/src/Assembly/Registers/RegisterSet.cs
Penguor/PenguorCS
15
7056121
using static Penguor.Compiler.Assembly.RegisterAmd64; namespace Penguor.Compiler.Assembly; public static class RegisterSetAmd64 { public static RegisterAmd64[] GeneralPurpose = { R8, R9, R10, R11, R12, R13, R14, R15, RAX, RBX, RCX, RDX, RDI, RSI, }; public static RegisterAmd64[] XMM = { XMM0, XMM1, XMM2, XMM3...
src/LogsExperiments/Shared/DataListComponent.razor.cs
ZyuDev/LogsExperiments
0
7056122
<gh_stars>0 using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LogsExperiments.Shared { public partial class DataListComponent: ComponentBase { [Parameter] public string Id { get; set; } [Pa...
ThirdParty/Procedurality/Procedurality/Midpoint.cs
N3X15/VoxelSim
4
7056123
/* * Procedurality v. 0.1 rev. 20070307 * Copyright 2007 Oddlabs ApS * * * This file is part of Procedurality. * Procedurality is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of ...
TagTool.Data/Repositories/DataContext.cs
ConorMcErlean/HelpingHand
0
7056124
using TagTool.Data.Models; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace TagTool.Data.Repositories { public class DataContext : DbContext { public DataContext(DbContextOptions<DataContext> options): base(options) ...
BLL/CadastrarBLL.cs
CaueGomes/Projeto-Entra21-D.F.C.P
1
7056125
using System; using DAL; using BLL.Interfaces; using Metadata; namespace BLL { public class CadastrarBLL : ILoginCadastro { public void Inserir(Usuario usuario) { ConnectionDatabase.Insert(usuario); } public string ValidarUsuario(Usuario usuario) { ...
MobilePay.MerchantFeeCalculator/Tests/Domain.UnitTests/Services/MerchantFeeCalculatorServiceTests.cs
Domcik8/MobilePay.MerchantFeeCalculator
0
7056126
using Domain.InvoiceFees.Base; using Domain.Models; using Domain.Repositories; using Domain.Services; using Domain.TransactionFees.Base; using Domain.UnitTests.InvoiceFees.Rules; using Domain.UnitTests.TransactionFees.MerchantPercentageDiscounts; using FluentAssertions; using Moq; using System; using System.IO; using ...
ChessLib/Position.cs
Sh4rpL1nQ/MultiplayerChess
3
7056127
using System; using System.Collections.Generic; namespace ChessLib { public class Position : ICloneable { public Position() : this(-1, -1) { } public Position(int posX, int posY) { PosX = posX; PosY = posY; } public int PosX { ...
src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SourceField.g.cs
SimonCropp/elasticsearch-net
0
7056128
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. // // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗...
src/ValdemoroEn1/ValdemoroEn1/ViewModels/Menu/MenuPageViewModel.cs
angelru/ValdemoroEn1
2
7056129
<reponame>angelru/ValdemoroEn1<gh_stars>1-10 using Acr.UserDialogs; using FontAwesome; using Prism.Commands; using Prism.Events; using Prism.Navigation; using System; using System.Collections.ObjectModel; using System.IO; using ValdemoroEn1.Events; using ValdemoroEn1.Models; using ValdemoroEn1.Utils; using ValdemoroEn...
src/Umbraco.Web.UI/Umbraco/dialogs/Publish.aspx.cs
nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround
0
7056130
<filename>src/Umbraco.Web.UI/Umbraco/dialogs/Publish.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using Umbraco.Web.UI.Pages; namespace Umbraco.Web.UI.Umbraco.Dialogs { public partial class Publish : UmbracoEnsuredPage { protected string PageName {...
Sudoku/Sudoku/Program.cs
vasilevhr/Sudoku
0
7056131
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Sudoku { public class Program { static void Main(string[] args) { int[][] goodSudoku1 = { new int[] {7,8,4, 1,5,9, 3,2,6}, new int[]...
Cat Burglar/Assets/Scripts/DogChase.cs
stevencoombe/Game-Dev-Sim
0
7056132
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DogChase : MonoBehaviour { public Transform playerOne; public double dogRadiusP1 = 2; public Animator anim; public EnemyOne enemyOneDetection; public EnemyTwo enemyTwoDetection; public PlayerLine playerOneR...
SharpEncrypt/SharpEncrypt.Models/FinalizableTaskModel.cs
OliverMBathurst/SharpEncrypt
1
7056133
namespace SharpEncrypt.Models { public class FinalizableTaskModel { public bool ExitAfter { get; set; } public bool Silent { get; set; } } }
Samples/SimpleChatWebApp/SignalRChat.WebApp/Messages/PostMessage.cs
snakefoot/kephas
19
7056134
namespace SignalRChat.WebApp.Messages { using Kephas.Messaging; /// <summary> /// A post message. /// </summary> public class PostMessage : IMessage { /// <summary> /// Gets or sets the name. /// </summary> /// <value> /// The name. /// </value> ...
generationminijam-game/MainWindow.xaml.cs
igotnobugs/generationminijam-game
0
7056135
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
src/RessurectIT.Pdf.Print/Dto/Enum/PrintPaperSize.cs
ressurectit/-RessurectIT.Pdf.Print
1
7056136
namespace RessurectIT.Pdf.Print.Dto.Enum; /// <summary> /// Available types of paper sizes for print options /// </summary> public enum PrintPaperSize { /// <summary> /// Page size A2 /// </summary> A2, /// <summary> /// Page size A3 /// </summary> A3, /// <summa...
dev/unity-gendarme/gendarme/rules/Unity.Rules.Performance/Utilities.cs
VnceGd/Simply-Checkers
0
7056137
using Mono.Cecil; namespace Unity.Rules.Performance { public class Utilities { public static bool IsMonoBehaviour( TypeDefinition type ) { // we checked the whole inheritance hierarchy, and we're at the top. No more type. It's not a MonoBehaviour if ( type == null || ty...
Sample/StoreApp/Views/EventToReactiveCommand.xaml.cs
neuecc/ReactiveProperty
5
7056138
using Reactive.Bindings.Interactivity; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.F...
Panelak.Framework/Panelak.Database.Test/Model/OracleGeometryTable.cs
czmirek/Panelak.Framework
0
7056139
using Panelak.Geometry; namespace Panelak.Database.Test.Model { #pragma warning disable IDE1006 // Naming Styles public class OracleGeometryTable { public decimal ID { get; set; } public IGeometry sdo_geometry_notnull { get; set; } public IGeometry sdo_geometry_null { get; set; } ...
Assets/lib/CoordinateFrameConverter.cs
gkjohnson/coordinate-frame-converter
13
7056140
using UnityEngine; // Class for converting between to fixed coordinate frames namespace FrameConversions { public class CoordinateFrameConverter { CoordinateFrame _fromFrame, _toFrame; CoordinateFrameConverter _inverse; public CoordinateFrame from { get { return _fromFrame; } } pu...
Assets/Script/Helpers/CustomEvents.cs
bassarisse/Asteroids_BA
0
7056141
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; [System.Serializable] public class GameObjectEvent : UnityEvent<GameObject> { } [System.Serializable] public class AsteroidEvent : UnityEvent<GameObject, AsteroidBehavior> { } [System.Serializable] public class ...
Client/IClient.cs
HaaLeo/mvg-sharp
0
7056142
// ---------------------------------------------------------------------------- // <copyright file="IClient.cs"> // Copyright (c) <NAME> // </copyright> // <author><NAME></author> // <summary> // Defines the IClient interface. // </summary> // -----------------------------------------------------------------------...
SimpleOrder.Application/SimpleOrder.Application/Services/UserAppService.cs
marcuspitz/net-sqlserver-order-service
0
7056143
<reponame>marcuspitz/net-sqlserver-order-service<gh_stars>0 using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; using SimpleOrder.Application.Services.Interfaces; using SimpleOrder.Application.ViewModels; using SimpleOrder.Infra.Data.Models; using System; using System.Collections.Generic; using Sy...
src/Feature/PageContent/code/Views/PageContent/Shared/_EventDetail.cshtml
sumithpdd/OneSound
0
7056144
<filename>src/Feature/PageContent/code/Views/PageContent/Shared/_EventDetail.cshtml @using Sitecore.Mvc @using Sitecore.Mvc.Presentation @model RenderingModel <!-- <section> begin ============================--> <section> <div class="container"> <div class="row justify-content-xl-between"> <div class="col-...
BlueprintReport/Designator_TabulateConstructible.cs
ChippedChap/BlueprintReport
0
7056145
using BlueprintReport.BlueprintReportUtilities; using Verse; using RimWorld; using UnityEngine; namespace BlueprintReport { class Designator_TabulateConstructible : Designator { public Designator_TabulateConstructible() { defaultLabel = "DesignatorTabulate".Translate(); defaultDesc = "DesignatorTabulateDe...
Classes/Services/SettingsService.cs
lulzsun/RePlays
3
7056147
<gh_stars>1-10 using System.Collections.Generic; using System.IO; using System.Text.Json; using RePlays.Utils; using static RePlays.Utils.Functions; namespace RePlays.Services { public static class SettingsService { private static SettingsJson _Settings = new(); public static SettingsJson Settings...
src/Skybrud.Umbraco.Redirects/Models/RedirectsSearchResult.cs
EnjoyDigital/Skybrud.Umbraco7.Redirects
0
7056148
using Newtonsoft.Json; namespace Skybrud.Umbraco.Redirects.Models { public class RedirectsSearchResult { #region Properties [JsonProperty("pagination")] public RedirectsSearchResultPagination Pagination { get; private set; } [JsonProperty("items")] public RedirectIt...
GameMod/MPRespawn.cs
luponix/olmod
10
7056149
<reponame>luponix/olmod using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using HarmonyLib; using Overload; using UnityEngine; namespace GameMod { public class MPRespawn { public static bool EnableItemSpawnsAsPlayerSpawns = false; public struct ItemSpawnP...
Assets/Plugins/SoftMask/Scripts/SoftMaskable.cs
ryo0ka/MinAR
1
7056151
<filename>Assets/Plugins/SoftMask/Scripts/SoftMaskable.cs using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; using SoftMasking.Extensions; namespace SoftMasking { [ExecuteInEditMode] [DisallowMultipleComponent] [AddComponentMenu("")] public class SoftMaskable : UIBehaviour, IMate...
src/ExecutionSequencer/ISequencerConfiguration`1.cs
jmw-fr/Jmw.ExecutionSequencer
0
7056152
// Copyright <NAME> under MIT Licence. See https://opensource.org/licenses/mit-license.php. namespace Jmw.ExecutionSequencer { using System; /// <summary> /// Interface specification for configuring an ExecutionSequencer Engine. /// </summary> /// <typeparam name="TExecutionContext">Type of the e...
Source/AsyncGenerator.Tests/TryCatch/Input/Cast.cs
rasmus-z/AsyncGenerator
36
7056153
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AsyncGenerator.Tests.TryCatch.Input { public class Cast { private readonly long _maxLong = long.MaxValue; public int Test() { return (int)_maxLong; } } }
Assets/Playground/Scripts/Runtime/Contexts/Meta/MetaContextFactory.cs
Guillemsc/Playground
0
7056154
<reponame>Guillemsc/Playground<gh_stars>0 using Juce.Core.DI.Container; using Juce.Core.Disposables; using Juce.Core.Factories; using Juce.Core.Results; using Juce.CoreUnity.Contexts; using System; using System.Threading.Tasks; namespace Playground.Contexts.Meta { public class MetaContextFactory : ITaskFactory<IT...
Reflection/Program.cs
xdpxby/RimTrans
46
7056155
<reponame>xdpxby/RimTrans using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Reflection; using Newtonsoft.Json; namespace RimTrans.Reflection { class Program { static void Main(string[] args) { //ClassInfo.Crawl(); //var result = new Dictionary<string, ob...
SwarmerServer/src/Services/Accounts/Swarmer.AM.Contracts/Domain/User.cs
VolhvPorechja/SwarmerNetCore
0
7056156
<reponame>VolhvPorechja/SwarmerNetCore /* * Swarmer API * * Internal Swarmer API * * OpenAPI spec version: 1.0.0-SNAPSHOT * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance w...
Examples/CSharp/Geometries/DetermineIfGeometriesTouchEachOther.cs
kashifiqb/Aspose.GIS-for-.NET
20
7056157
<reponame>kashifiqb/Aspose.GIS-for-.NET using Aspose.Gis.Geometries; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aspose.GIS_for.NET.Geometries { class DetermineIfGeometriesTouchEachOther { public static void Run() ...
Security/C1Console/Workflows/EditUserWorkflow.cs
burningice2866/CompositeC1Contrib.Security
4
7056158
<reponame>burningice2866/CompositeC1Contrib.Security using System; using System.Linq; using System.Web.Security; using System.Xml.Linq; using Composite.C1Console.Actions; using Composite.C1Console.Forms; using Composite.C1Console.Forms.DataServices; using Composite.Core.ResourceSystem; using Composite.Core.X...
src/GameServer/RemoteView/Guild/ShowGuildInfoPlugIn.cs
CodeKJ/OpenMU
0
7056160
// <copyright file="ShowGuildInfoPlugIn.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.GameServer.RemoteView.Guild { using System; using System.Runtime.InteropServices; using System.Text;...
ValueLinq/Nodes/ValueSelect.cs
manofstick/Cistern.ValueLinq
16
7056161
<filename>ValueLinq/Nodes/ValueSelect.cs using System; using System.Runtime.CompilerServices; namespace Cistern.ValueLinq.Nodes { struct ValueSelectNodeEnumerator<T, U, TInEnumerator, AlsoT, Func> : IPullEnumerator<U> where TInEnumerator : IPullEnumerator<T> where Func : IFuncBase<AlsoT, U...
Form1.cs
DeMmAge/OnTopperDesktop
3
7056162
using DmLib.Window; using OnTopper.Properties; using OnTopper.Stuff; using System; using System.Diagnostics; using System.Globalization; using System.Threading; using System.Windows.Forms; namespace OnTopper { public partial class MainForm : Form { private readonly SettingsForm settingsForm = new Sett...
rDB/ReflectionExtensions.cs
Rickebo/rDB
0
7056163
using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace rDB { internal static class ReflectionExtensions { internal static T GetAttribute<T>(this MemberInfo info) where T : Attribute => info.GetCustomAttribute<T>(); internal static Di...
src/Zyanea/RequestMessage.cs
yallie/Zyanea
24
7056164
<reponame>yallie/Zyanea using System; using System.Collections.Generic; using System.Reflection; using System.Text; using Castle.DynamicProxy; namespace Zyanea { public class RequestMessage { public RequestMessage(IInvocation invocation, Type componentType) { MessageId = Guid.NewGuid(); ComponentType = co...
Tessin.Bladerunner/Color.cs
tessin/tessin-bladerunner
0
7056165
using System; using System.Collections.Generic; using System.Text; namespace Tessin.Bladerunner { public enum Color { Green, Yellow, Purple, Red, Blue, Black, Gray } }
DotNetProjectSample/AssemblyInfo.cs
pflb/LoadRunner.VTS.Client
4
7056166
//--------------------------------------------- //Script Title : //Script Description : // // //Recorder Version : //--------------------------------------------- using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly ...