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
GZip/GZip.Core/Compression/CompressionAlgorithm.cs
vbessonov/gzip
0
7036872
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Threading; using VBessonov.GZip.Core.Compression.Streams; using VBessonov.GZip.Threads; using ThreadPool = VBessonov.GZip.Threads.ThreadPool; namespace VBessonov.GZip.Core.Compression { pu...
src/dotnet/rhino/rhinosdkcageobject.cs
lukegehron/rhino3dm
343
7036873
//public class WireframeObject : RhinoObject { } //public class CageObject : WireframeObject { } #if RHINO_SDK namespace Rhino.DocObjects { /// <summary> /// Represents a <see cref="Rhino.Geometry.MorphControl">MorphControl</see> in a document. /// </summary> public class MorphControlObject : RhinoObject { ...
src/BuildServer/Services/ArtifactBuilders/IArtifactBuilder.cs
CodingIsBliss/Oryx
0
7036874
// -------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // -------------------------------------------------------------------------------------------- using Microsoft.Oryx.Buil...
Characters/CharacterBehaviour.cs
khayreddinebiada/Code-HC-Prototype-Example
0
7036875
using UnityEngine; namespace Main { public abstract class CharacterBehaviour : MonoBehaviour { protected IMatchManager m_Manager; protected IBlow m_Blow; protected IHead m_Head; protected IBall m_Ball = null; public int id { get; protected set; } public void...
src/Microsoft.DotNet.CodeFormatting/Rules/SA1120_CommentMustNotBeEmpty.cs
OliverKurowski/StylecopCodeFormatter
0
7036876
namespace Microsoft.DotNet.CodeFormatting.Rules { using System; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; [SyntaxRuleOrder(SyntaxRuleOrder.CommentMustStartWithSpaceRule)] internal sealed class SA1120_CommentMustNotBeEmpty : CSharpOnlyFormattingRule,...
source/Horker.PSCNTK/Training/TrainingProgress.cs
horker/pscntk
1
7036877
using System; namespace Horker.PSCNTK { public class TrainingProgress { public int Epoch; public int Iteration; public int SampleCount; public double Loss; public double Metric; public double Validation; public double LearningRate; public TimeSpa...
OOP-Fundamentals/06.Polymorphism/03.WildFarm/Models/Dog.cs
ewgeni-dinew/06.C_Sharp-OOP_I
0
7036878
<filename>OOP-Fundamentals/06.Polymorphism/03.WildFarm/Models/Dog.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Text; public class Dog:Mammal { public Dog(string name, double weight, string livingRegion) : base(name, weight,livingRegion) { } public override strin...
src/server/MUDhub.Server/ApiModels/Items/ItemApiModel.cs
MUDHub/MUDhub
8
7036879
using MUDhub.Core.Models.Inventories; using System; namespace MUDhub.Server.ApiModels.Items { public class ItemApiModel { public string Id { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; public string Description { get; set; } = string.Empty; publ...
src/ShaderTools.CodeAnalysis.Hlsl/Syntax/StructTypeSyntax.cs
gdianaty/HlslTools
401
7036880
using System.Collections.Generic; namespace ShaderTools.CodeAnalysis.Hlsl.Syntax { public sealed partial class StructTypeSyntax : TypeDefinitionSyntax { public bool IsClass => Kind == SyntaxKind.ClassType; public StructTypeSyntax(SyntaxToken structKeyword, SyntaxToken name, BaseListSyn...
Assets/Scripts/Tutorial/DoubleJump.cs
LukasPietzschmann/Jumpy-Jump
0
7036881
<reponame>LukasPietzschmann/Jumpy-Jump<filename>Assets/Scripts/Tutorial/DoubleJump.cs using UnityEngine; public class DoubleJump : MonoBehaviour { private void OnTriggerEnter(Collider other) { Tutorial.Instance.showMessage("Press <Space> twice to double-jump"); } private void OnTriggerExit(Collider other) { Tu...
src/UnEngineUnitTests/ObjectTest.cs
Phantasm-Studios/unity.dll
50
7036882
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using UnEngine; using UnityEngine; using System.Linq; namespace UnEngineUnitTests { /// <summary> ///This is a test class for ObjectTest and is intended ///to contain all ObjectTest Unit Tests ///</summary>...
TankLib/STU/Types/Enums/Enum_8880A556.cs
ekin1106/OWLib
1
7036883
<filename>TankLib/STU/Types/Enums/Enum_8880A556.cs // Enum generated by TankLibHelper.EnumBuilder // ReSharper disable All namespace TankLib.STU.Types.Enums { [STUEnumAttribute(0x8880A556)] public enum Enum_8880A556 : uint { } }
Samples/RI/RI/Silverlight/StockTraderRI.Infrastructure.Silverlight/Validation.cs
davesspacebar/AppCan
0
7036884
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microso...
Dka.AspNetCore.BasicWebApp/src/Controllers/AboutController.cs
lwinch2006/basic-asp.net-core-app
1
7036885
<reponame>lwinch2006/basic-asp.net-core-app using Dka.AspNetCore.BasicWebApp.Common.Models.Logging; using Dka.AspNetCore.BasicWebApp.Models.ApiClients; using Dka.AspNetCore.BasicWebApp.Models.Constants; using Dka.AspNetCore.BasicWebApp.Services.ApiClients; using Dka.AspNetCore.BasicWebApp.Services.ExceptionProcessing; ...
Statman/Statman.Api/Client/HealthCheckClient.cs
shamuad/statman
0
7036886
using System.Net; using System.Net.Http; namespace Statman.Api.Client { public class HealthCheckClient : IHealthCheckClient { private HttpClient httpClient; public HealthCheckClient(HttpClient client) { httpClient = client; } public bool BasicStatusCheck(s...
Assets/C#/Rust/CUIObject.cs
bazuka5801/CuiBuilder
8
7036887
<reponame>bazuka5801/CuiBuilder using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Oxide.Game.Rust.Cui; using UnityEngine; using UnityEngine.UI; [JsonObject( MemberSerialization.OptIn )] public class CUIObject : MonoBehaviour, IPoolHandler { public static ...
source/SixFourThree.SezzleSharp/SixFourThree.SezzleSharp/Endpoints/AuthenticationEndpoint.cs
StephenPAdams/SixFourThree.Sezzle
0
7036888
using System.Runtime.CompilerServices; using System.Threading.Tasks; using SixFourThree.SezzleSharp.Configuration; using SixFourThree.SezzleSharp.Extensions; using SixFourThree.SezzleSharp.Interfaces; using SixFourThree.SezzleSharp.Models.Authentication; namespace SixFourThree.SezzleSharp.Endpoints { /// <summary...
Framework/DragonSpark/Diagnostics/TimedOperationFactorySource.cs
DragonSpark/VoteReporter
0
7036889
using DragonSpark.Sources.Parameterized; using System; using System.Reflection; namespace DragonSpark.Diagnostics { public sealed class TimedOperationFactorySource : ParameterizedSourceBase<string, Func<MethodBase, IDisposable>> { public static IParameterizedSource<string, Func<MethodBase, IDisposable>> Default {...
Collections/Inventory.cs
RobertStivanson/Justice-Framework
0
7036890
<gh_stars>0 using JusticeFramework.Core; using JusticeFramework.Data; using JusticeFramework.Logic; using JusticeFramework.Managers; using System; using System.Collections.Generic; using UnityEngine; namespace JusticeFramework.Collections { public delegate void OnInventoryItemAction(Inventory inventory, string id...
src/Chemistry/Chem4Word.ACME/Commands/FuseCommand.cs
kazuyaujihara/Version3-1
0
7036891
<reponame>kazuyaujihara/Version3-1 // --------------------------------------------------------------------------- // Copyright (c) 2019, The .NET Foundation. // This software is released under the Apache License, Version 2.0. // The license and further copyright text can be found in the file LICENSE.md // at t...
Northwind.Application/Employees/Queries/GetAllEmployees/EmployeeListItem.cs
BionStt/Northwind365
0
7036892
using System; using System.Linq; using System.Linq.Expressions; using Northwind.Domain.Entities; namespace Northwind.Application.Employees.Queries.GetAllEmployees { public class EmployeeListItem { public int Id { get; set; } public string Name { get; set; } public string Position { g...
abc-bank/Account/AccountFactory.cs
UmaRage/AbcBankCSharpInterview
0
7036893
using System; namespace abc_bank.Account { public static class AccountFactory { public static IAccount CreateAccountObject(AccountType type) { IAccount objIAccount = null; switch (type) { case AccountType.Savings: objIAcc...
UnityRemoteLogDemo/Assets/UnityRemoteLog/RemoteLog.cs
SYUnityProject/UnityRemoteLog
54
7036894
using UnityEngine; using System; using System.Net; using System.Text; using System.Threading; using System.Net.Sockets; using System.Collections.Generic; /// <summary> /// 将Unity的Log发送到一台PC机的UnityRemoteLogWindow程序上 /// </summary> public class RemoteLog { struct LogItem { public string l...
SqlServer.Rules/Performance/AvoidNotEqualToRule.cs
arvindshmicrosoft/SqlServer.Rules
0
7036896
<reponame>arvindshmicrosoft/SqlServer.Rules using SqlServer.Rules.Globals; using SqlServer.Dac; using SqlServer.Dac.Visitors; using Microsoft.SqlServer.Dac.CodeAnalysis; using Microsoft.SqlServer.Dac.Model; using Microsoft.SqlServer.TransactSql.ScriptDom; using System.Collections.Generic; using System.Linq; namespace...
Alexhokl.Helpers.Olap/Data/Olap/OlapSet.cs
alexhokl/dotnet-helper
0
7036897
using System; using System.Collections.Generic; using System.Text; using Microsoft.AnalysisServices.AdomdClient; namespace Alexhokl.Helpers.Data.Olap { /// <summary> /// This class wraps a set in a query. /// </summary> public class OlapSet { #region constructors public OlapSet() ...
MangoAPI.Infrastructure/Migrations/20220611213906_OpenSslKeyExchangeSchemaUpdate.Designer.cs
MangoInstantMessenger/MangoMessengerAPI
4
7036898
<reponame>MangoInstantMessenger/MangoMessengerAPI // <auto-generated /> using System; using MangoAPI.Infrastructure.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Micr...
src/MyLab.RabbitClient/Connection/RabbitConnector.cs
mylab-tools/rebbit-client
0
7036900
using System; using System.Threading.Tasks; using MyLab.Log.Dsl; using RabbitMQ.Client; namespace MyLab.RabbitClient.Connection { class RabbitConnector { private readonly RabbitOptions _options; private readonly ConnectionFactory _connectionFactory; public IDslLogger Log { get; set; }...
src/NumpyDotNet/SampleApps/MultiThreadingWithObjects/Program.cs
AvenSun/numpy.net
59
7036901
using NumpyDotNet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MultiThreadingWithObjects { class Program { private static bool StressTestThreadsRunning = false; static void Main(string[] args) { ...
Passado/Query/Internal/OrderByQuery.cs
micahhahn/Passado
0
7036902
<reponame>micahhahn/Passado using System; using System.Linq.Expressions; using System.Collections.Generic; using System.Collections.Immutable; using System.Text; using System.Reflection; using Passado.Model.Table; using Passado.Model; namespace Passado.Query.Internal { public abstract class OrderByQueryBase : Qu...
EchoRenderer/src/Objects/Scenes/TestScenes.cs
MMXXX-VIII/EchoRenderer
4
7036903
<gh_stars>1-10 using CodeHelpers.Mathematics; using CodeHelpers.Mathematics.Enumerables; using EchoRenderer.IO; using EchoRenderer.Mathematics; using EchoRenderer.Objects.GeometryObjects; using EchoRenderer.Objects.Lights; using EchoRenderer.Rendering.Materials; using EchoRenderer.Textures; using EchoRenderer.Textures...
GBCLV3/ViewModels/GreetingViewModel.cs
FerxTG/GBCLV3
62
7036905
using GBCLV3.Models.Authentication; using GBCLV3.Services.Authentication; using GBCLV3.ViewModels.Windows; using Stylet; using StyletIoC; namespace GBCLV3.ViewModels { public class GreetingViewModel : Screen { #region Private Fields private readonly AccountService _accountService; pri...
src/BookSwap/BookSwap/Cells/BookViewCell.xaml.cs
jesulink2514/BookSwap
46
7036906
using BookSwap.Models; using SkiaSharp; using SkiaSharp.Views.Forms; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace BookSwap.Cells { [XamlCompilation(XamlCompilationOptions.Compile)] ...
Content.Server/GameObjects/EntitySystems/AtmosphereSystem.cs
komunre/space-station-14
0
7036907
#nullable enable using System; using System.Collections.Generic; using System.Linq; using Content.Server.Atmos; using Content.Server.Atmos.Reactions; using Content.Server.GameObjects.Components.Atmos; using Content.Shared; using Content.Shared.Atmos; using Content.Shared.GameObjects.EntitySystems.Atmos; using Content....
net-core/Makc2020.Host.Web/Api/Parts/Auth/HostWebApiPartAuthController.cs
maxim-kuzmin/Makc2020
0
7036908
//Author <NAME>//makc// using Makc2020.Core.Base.Ext; using Makc2020.Host.Base.Parts.Auth.Jobs.CurrentUser.Get; using Microsoft.AspNetCore.Mvc; using System; using System.Threading.Tasks; namespace Makc2020.Host.Web.Api.Parts.Auth { /// <summary> /// Хост. Beб. API. Часть "Auth". API. Контроллер. /// </s...
src/Uno.UI/UI/Xaml/Controls/Primitives/PickerFlyoutBase.cs
luke-welton/uno
1
7036909
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace Windows.UI.Xaml.Controls.Primitives { public partial class PickerFlyoutBase : FlyoutBase { public static DependencyProperty TitleProperty { get; } = Windows.UI.Xaml.DependencyProperty.RegisterAttached( "Title", type...
src/test/Minsk.Test/CodeAnalysis/Text/SourceTextTests/ParseLines_Should.cs
fr3gu/minsk
0
7036910
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using Minsk.Core.CodeAnalysis.Text; using NUnit.Framework; namespace Minsk.Test.CodeAnalysis.Text.SourceTextTests { public class ParseLines_Should { [TestCase(".", 1)] [TestCase(".\r\n", 2)] [TestCase(".\r\n...
Base/DayInitialization.cs
VolkmarR/AdventOfCode2020
0
7036911
<filename>Base/DayInitialization.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace AdventOfCode.Base { class DayInitialization { public static void Execute(int day) { ...
Pico8Emulator/unit/audio/MusicPlayer.cs
egordorichev/pico8-emulator
0
7036912
<filename>Pico8Emulator/unit/audio/MusicPlayer.cs<gh_stars>0 using System; using System.Collections.Generic; using Pico8Emulator.unit.mem; namespace Pico8Emulator.unit.audio { public class MusicPlayer { private PatternData[] patternData; private Sfx[] channels; private int _patternIndex; private AudioUnit aud...
source/R5T.Soltana.Default/Code/Extensions/IServiceCollectionExtensions.cs
MinexAutomation/R5T.Soltana.Default
0
7036913
<filename>source/R5T.Soltana.Default/Code/Extensions/IServiceCollectionExtensions.cs<gh_stars>0 using System; using Microsoft.Extensions.DependencyInjection; using R5T.Dacia; using R5T.Hladir; using R5T.Koping; using R5T.Lombardy; using R5T.Solgene; namespace R5T.Soltana.Default { public static cl...
Source/ApplicationRegistries2.Standard/AccessorBase.cs
banban525/ApplicationRegistries
2
7036914
<reponame>banban525/ApplicationRegistries<gh_stars>1-10 using ApplicationRegistries2.Accessors; namespace ApplicationRegistries2 { /// <summary> /// Internal class for access to external value /// </summary> public class AccessorBase { private readonly AccessorTypeDeclaration _acc...
Assets/Scenes/ARCollaborationData/ReferencePointInfoManager.cs
ryo0ka/arhockey
70
7036915
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.XR.ARFoundation; /// <summary> /// Displays information about each reference point including /// whether or not the reference point is local or remote. /// The reference point prefab is assu...
TechnologiesFundamentals/ProgrammingFundamentals-Extended/ListsProcessingVariableLengthSequences-Lab/04.SplitByWordCasing/04.SplitByWordCasing/SplitByWordCasing.cs
stoyanov7/SoftwareUniversity
9
7036916
<reponame>stoyanov7/SoftwareUniversity using System; using System.Collections.Generic; namespace _04.SplitByWordCasing { public class SplitByWordCasing { public static void Main(string[] args) { var separators = new[] { ' ', ',', ';', ':', '.', '!', '(', ')', '"', '\'', '/...
LostPolygon.MethodInlineInjector.CLI/Utility/AssemblyUtility.cs
LostPolygon/LostPolygon.AssemblyMethodInjector
2
7036917
using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; namespace LostPolygon.MethodInlineInjector.Cli { internal static class AssemblyUtility { public static DateTime? GetBuildDateTime(this Assembly assembly) { try { if (File.Exists(assemb...
src/SkyApm.Threading/System/Threading/SkyApmThread.cs
inversionhourglass/SkyAPM-dotnet
0
7036918
/* * Licensed to the SkyAPM under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The SkyAPM licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file exce...
src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperCheckboxTest.cs
tomaswesterlund/aspnetcore
13,846
7036919
<reponame>tomaswesterlund/aspnetcore // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.IO; using M...
MOE.Common/Business/LinkPivot.cs
AndreRSanchez/ATSPM
0
7036920
<reponame>AndreRSanchez/ATSPM using System; using System.Collections.Generic; using System.Linq; using MOE.Common.Models; using MOE.Common.Models.Repositories; namespace MOE.Common.Business { public class LinkPivot { public List<LinkPivotPair> PairedApproaches { get; } = new List<LinkPivotPair>(); ...
src/Security/src/DataProtection.CredHubBase/Credentials/User/UserSetRequest.cs
mzakrzewski/Steeltoe
495
7036921
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. namespace Steeltoe.Security.DataProtection.CredHub { public class UserSetRequest : CredentialSetRequest ...
Assets/Scripts/Common/WeightedRandom.cs
Sirius504/Tower-Defence
0
7036922
using System; using System.Collections.Generic; using System.Linq; namespace TowerDefence.Common { public class WeightedRandom<T> { private Random random; private readonly Dictionary<T, int> weights; public IReadOnlyDictionary<T, int> Weights => weights; public WeightedRandom(...
CallManagerPanel.Business/ValidationRules/FluentValidation/ContactValidator.cs
furkanisitan/call-manager-panel
3
7036923
<reponame>furkanisitan/call-manager-panel using CallManagerPanel.Business.Abstract; using CallManagerPanel.Business.DependencyResolvers.Ninject; using CallManagerPanel.Business.ValidationRules.FluentValidation.Abstract; using CallManagerPanel.Business.ValidationRules.FluentValidation.HelperValidators; using CallManage...
RestRPC.Framework/Plugins/IUpdate.cs
libertylocked/RestRPC
3
7036924
<reponame>libertylocked/RestRPC namespace RestRPC.Framework.Plugins { /// <summary> /// Implemented by plugins that need to be ticked every frame /// </summary> public interface IUpdate { /// <summary> /// Runs an update cycle /// </summary> void Update(); } }
connect-sdk-dotnet/Domain/Definitions/Card.cs
Ingenico-ePayments/connect-sdk-dotnet
29
7036925
<filename>connect-sdk-dotnet/Domain/Definitions/Card.cs<gh_stars>10-100 /* * This class was auto-generated from the API references found at * https://epayments-api.developer-ingenico.com/s2sapi/v1/ */ namespace Ingenico.Connect.Sdk.Domain.Definitions { public class Card : CardWithoutCvv { /// <summar...
Treinamento HBSIS/05-08-19-09-08-19/MVCProject/View/Adicionar/frmAdicionarLivros.cs
odorizzi28/GitC
0
7036926
using MVCProject.Model; 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 MVCProject.View.Adicionar { public partial class frmAdicionarLivro...
LBi.LostDoc/IAssetExplorer.cs
redoz/LBi.LostDoc
0
7036927
/* * Copyright 2013 DigitasLBi Netherlands B.V. * * 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 l...
EngagementBreeze/Models/EngagementRecommendation.cs
keheitz/EngagementBreeze
0
7036928
using System; using System.Collections.Generic; using System.Linq; namespace EngagementBreeze.Models { internal class EngagementRecommendation { /// <summary> /// For a given daily forecast sequence, this dictionary summarizes the recommended contact method /// Dictionary to ensure onl...
brawltools/Ikarus/UI/MainControl/BRRESNodes.cs
Birdthulu/Legacy-Costume-Manager
1
7036929
using BrawlLib.SSBB.ResourceNodes; using System.Windows.Forms; namespace Ikarus.UI { public partial class MainControl : ModelEditorBase { protected override NW4RAnimationNode FindCorrespondingAnimation(NW4RAnimationNode focusFile, NW4RAnimType targetType) { string name = focusFile....
VVPartSelector/VViewMenuPartSelectorGlobal.cs
linuxgurugamer/VesselViewer
13
7036930
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using VesselView; using VesselViewRPM.menus; namespace VVPartSelector { class VViewMenuPartSelectorGlobal : IVViewMenu { private IVViewMenu root; private SortedDictionary<String, List<Part>...
src/Woohoo.Agi.Interpreter/Resources/Serialization/ViewDecoder.cs
huguesv/AgiPlayer
8
7036931
// Copyright (c) <NAME>. All rights reserved. // Licensed under the X11 license. See LICENSE in the project root for license information. namespace Woohoo.Agi.Resources.Serialization { using System.Collections.Generic; using Woohoo.Agi.Resources; /// <summary> /// View resource decoder. /// </summ...
core/Scheduler/DataArt.Atlas.Service.Scheduler/Scheduler/TriggerFactory.cs
DataArt/Atlas
23
7036932
#region License // ================================================================================================= // Copyright 2018 DataArt, Inc. // ------------------------------------------------------------------------------------------------- // Licensed under the Apache License, Version 2.0 (the "License"); // ...
wpf/AutoCompleteMVVMWPFToolKit/AutoCompleteMVVMWPFToolKit/ViewModel/ObjectOpt.cs
junhsieh/csharpexample
0
7036933
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace AutoCompleteMVVMWPFToolKit.ViewModel { class ObjectOpt<T> { public RangeEnabledObservableCollection<T> OptArr { get; set; } public ObjectOpt() { this.OptArr = new RangeEnab...
Services/Restaurant.Services.Data/CartService.cs
PanayotPetrov/Restaurant
0
7036934
namespace Restaurant.Services.Data { using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Restaurant.Data.Common.Repositories; using Restaurant.Data.Models; using Restaurant.Services.Mapping; using Restaurant.Services.Models; pu...
BehaviorTreeCS/Components/Decorators/Timer.cs
lucypero/BehaviorTreeCS
3
7036935
<filename>BehaviorTreeCS/Components/Decorators/Timer.cs<gh_stars>1-10 using System; using System.Diagnostics; namespace BehaviorTreeCS { public class Timer : Decorator { private TimerDelegate _ElapsedTimeFunction; private float _TimeElapsed = 0; private float _WaitTime; Stopwatch st...
trunk/model/medias/GenericRollingMediaStrategy.cs
logjointfork/logjoint
0
7036936
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace LogJoint { class GenericRollingMediaStrategy : IRollingFilesMediaStrategy { readonly string baseDirectory; public GenericRollingMediaStrategy(string baseDirectory) { if (baseDirectory == null) th...
animalFinder/Service/JWTService.cs
Vladislav-Lukyanuk/pet-saver-.netCore-backend
1
7036937
using animalFinder.Service.Interface; using System; using System.Security.Claims; using Microsoft.IdentityModel.Tokens; using System.IdentityModel.Tokens.Jwt; using System.Text; namespace animalFinder.Service { public class JWTService : IJWTService { public string Generate(string userId, string issuer...
Lec08_AutoMapperCustom/TestDtoMapp.App/Core/Commands/AddEmployee.cs
AndreyKodzhabashev/CSparpDB
0
7036938
 namespace TestDtoMapp.App.Core.Commands { using AutoMapper; using Data; using Contracts; using Models.DTOs; using TestDtoMapp.Models.Models; public class AddEmployee : ICommand { private readonly TestDtoMappContext context; private readonly Mapper mapper; ...
01. C# Web Basics/11. Exams/10. SharedTrip/MySolution/SharedTrip/Services/Trips/ITripsService.cs
GeorgiGradev/CSharp-Web
4
7036939
<gh_stars>1-10 namespace SharedTrip.Services.Trips { using SharedTrip.ViewModels.Trips; public interface ITripsService { void AddTrip(AddTripInputModel input); AllTripsViewModel GetAllTrips(); TripDetailsVewModel GetTripDetails(string id); bool AddUserToTrip(string tripI...
src/Tomato.Gateway/DefaultImpl/GatewayMiddleware.cs
Soho-Rab/tomato
1
7036940
<filename>src/Tomato.Gateway/DefaultImpl/GatewayMiddleware.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace Tomato.Gateway { public class GatewayMiddleware { pri...
AzRUtil.Csharp.Library/Abstraction/IHttpAppItem.cs
ashiquzzaman/AzRUtil.Csharp.Library
1
7036941
namespace AzRUtil.Csharp.Library.Abstraction { public interface IHttpAppItem<TUser, TCompany> where TUser : class where TCompany : class { TUser AppUser { get; set; } TCompany AppCompany { get; set; } string UserAgentInfo { get; } string UserIP { get; } TCompany Defau...
src/Akihabara/Framework/Port/StatusOr.cs
Amberarch/Akihabara
19
7036942
<gh_stars>10-100 // Copyright (c) homuler & The Vignette Authors. Licensed under the MIT license. // See the LICENSE file in the repository root for more details. using System; using Akihabara.Core; namespace Akihabara.Framework.Port { public abstract class StatusOr<T> : MpResourceHandle { public Stat...
Src/iBlogs.Site.Web/Views/Shared/Components/SideBar/SideBarViewModel.cs
liuzhenyulive/iBlogs.Core
1
7036943
<filename>Src/iBlogs.Site.Web/Views/Shared/Components/SideBar/SideBarViewModel.cs using System.Collections.Generic; namespace iBlogs.Site.Web.Views.Shared.Components.SideBar { public class SideBarViewModel { public List<KeyValuePair<string, int>> Tags { get; set; } public List<KeyValuePair<str...
MovieSystem/Data/Models/Producer.cs
Wa4e7o/MVC_Second_Project
0
7036944
<reponame>Wa4e7o/MVC_Second_Project namespace MovieSystem.Data.Models { using MovieSystem.Models.Base; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using static DataConstants.Producer; public class Producer : IEntityBase { [Key] public int Id ...
Artigos/Artigos/Views/Escritor/Update.cshtml
LaurediGustavo/Gerenciador-De-Artigos
1
7036945
<filename>Artigos/Artigos/Views/Escritor/Update.cshtml<gh_stars>1-10 @model Artigos.Models.ModelViewEscritorUpdate @{ ViewBag.Title = "Update"; Layout = "~/Views/Shared/_Layout.cshtml"; } <div class="perfilContainer"> @using (Html.BeginForm(null, null, FormMethod.Post, new { id = "__AjaxAntiForgeryForm" ...
SBPatients/Views/SBPatient/Delete.cshtml
SaivarunBandari/SBPatientInfoSystem
0
7036946
<reponame>SaivarunBandari/SBPatientInfoSystem<gh_stars>0 @model SBPatients.Models.Patient @{ ViewData["Title"] = "Delete Patient"; } <h2>Are you sure you want to delete '@TempData["PatientName"]'</h2> <h3 class="text-danger">@TempData["Error"]</h3> <div> <hr /> <dl class="dl-horizontal"> ...
Harry.MQ.Abstractions/IMQProvider.cs
harry-wangx/Harry.MQ
0
7036947
using System; using System.Collections.Generic; using System.Text; namespace Harry.MQ { public interface IMQProvider : IDisposable { /// <summary> /// 创建发布者 /// </summary> /// <param name="channelName">通道名称</param> /// <param name="isBroadcast">是否广播模式</param> //...
FB2EPubConverter/SourceDataInclusionControls/TitleDataInclusion.cs
npuBug/fb2epub
1
7036948
using ConverterContracts.Settings; namespace FB2EPubConverter.SourceDataInclusionControls { /// <summary> /// FB2 Title section inclusion control /// </summary> internal class TitleDataInclusion : IDataInclusionBase { public bool IsIgnoreInfoSource(IgnoreInfoSourceOptions ignoreIn...
OCR.cs
nguyenq/VietOCRwpf
27
7036949
<filename>OCR.cs /** * Copyright @ 2008 <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 ...
src/ArgentPonyWarcraftClient/Interfaces/GameDataApi/IGameDataApi.cs
yschuurmans/warcraft
0
7036950
<filename>src/ArgentPonyWarcraftClient/Interfaces/GameDataApi/IGameDataApi.cs namespace ArgentPonyWarcraftClient { /// <summary> /// A client for the World of Warcraft Game Data APIs. /// </summary> public interface IGameDataApi : IAchievementApi, IAuctionHouseApi, IAzeriteE...
BugPoint.Solution/BugPoint.ViewModel/Bugs/BugHistoryViewModel.cs
saineshwar/Bugpoint
28
7036951
<gh_stars>10-100 using System; namespace BugPoint.ViewModel.Bugs { public class BugHistoryViewModel { public string Message { get; set; } public string ProcessDate { get; set; } public string UserName { get; set; } public string Avatar { get; set; } } }
Web/SkincareGuide.Web/Controllers/HomeController.cs
krigalka/SkincareGuide
0
7036952
<reponame>krigalka/SkincareGuide namespace SkincareGuide.Web.Controllers { using System.Diagnostics; using Microsoft.AspNetCore.Mvc; using SkincareGuide.Web.ViewModels; using SkincareGuide.Web.ViewModels.Home; public class HomeController : BaseController { public IActionResult Index()...
operators/argocd-operator/dotnet/Kubernetes/Crds/Operators/ArgocdOperator/Argoproj/V1Alpha1/Outputs/ApplicationOperationRetryBackoff.cs
pulumi/pulumi-kubernetes-crds
0
7036954
<reponame>pulumi/pulumi-kubernetes-crds // *** WARNING: this file was generated by crd2pulumi. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serializati...
Source/Bio.Core/Algorithms/Alignment/NUCmer/ClusterScoreMethod.cs
jakubpas/biodotnet
137
7036955
namespace Bio.Algorithms.Alignment { /// <summary> /// Enum to indicate method to use while calculating score of a cluster. /// </summary> public enum ClusterScoreMethod { /// <summary> /// Use sum of length of matches in a cluster. /// </summary> MatchLength, ...
unity/Assets/Scripts/Lootable.cs
ironpencil/untold
0
7036956
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Lootable : MonoBehaviour { public List<GameEffect> pickupEffects; public bool destroyOnPickup = true; // Use this for initialization void Start () { } // Update is called once per frame void Update () { ...
Source/Assembly-CSharp/BasketTrigger.cs
Shadowrabbit/BigBiaDecompilation
1
7036957
using System; using UnityEngine; public class BasketTrigger : MonoBehaviour { private void Start() { } private void Update() { } private void OnTriggerEnter(Collider other) { if (other.GetComponent<Rigidbody>().velocity.y < 0f) { this.BasketballSpecialToy.OnGetPoint(); } } public BasketballSpeci...
Src/BlueDotBrigade.Weevil.Common/Data/Record.cs
BlueDotBrigade/weevil
8
7036958
namespace BlueDotBrigade.Weevil.Data { using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; /// <threadsafety static="true" instance="true" /> [DebuggerDisplay("LineNumber={" + nameof(LineNumber) + "}")] public sealed class Record : IRecord { /// <summary> /// Represents a surroga...
rds-20140815/csharp/core/Models/DescribeSlowLogRecordsResponse.cs
atptro/alibabacloud-sdk
0
7036959
<reponame>atptro/alibabacloud-sdk // This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Rds20140815.Models { public class DescribeSlowLogRecordsResponse : TeaModel { [NameInMap("RequestId")] [V...
EIDSS v6/eidss.model/Schema/LaboratorySectionList.model.cs
EIDSS/EIDSS-Legacy
2
7036961
<reponame>EIDSS/EIDSS-Legacy #pragma warning disable 0472 using System; using System.Text; using System.IO; using System.Collections; using System.ComponentModel; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Xml.Serialization; using BLToolkit.Aspects...
src/VisualStudio/Tools/Framework/DomainServiceWizard/BusinessLogicContext.cs
erikoijwall/OpenRiaServices
0
7036962
using System; using System.CodeDom; using System.CodeDom.Compiler; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using OpenRiaServices.Hosting; using OpenRiaServices.Server; using System....
src/CSharp/CodeCracker/Design/MakeMethodStaticCodeFixProvider.cs
robsonalves/code-cracker
1
7036963
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.FindSymbols; using Microsoft.CodeAnalysis.Formatting; using System.Collections.Generic; using Sys...
src/services/FastFeet.API/Messages/Command.cs
Lucas-Sampaio/FastFeet
0
7036964
<filename>src/services/FastFeet.API/Messages/Command.cs using FluentValidation.Results; using MediatR; using System; namespace FastFeet.API.Messages { public abstract class Command : Message, IRequest<ValidationResult> { public DateTime Timestamp { get; set; } public ValidationResult Validatio...
Epam.Task3/Epam.Task3.Triangle/Program.cs
SergioPonomarev/Xt-2018Q4
0
7036965
using System; namespace Epam.Task3.Triangle { internal class Program { private static bool check; private static bool sideCheck; private static Triangle triangle; private static void Main() { triangle = new Triangle(); Console.WriteLine($"Greet...
Tests/Kodestruct.Concrete.Tests/Output/CSV/CsvRow.cs
Kodestruct/Kodestruct.Design
14
7036966
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kodestruct.Concrete.ACI318_14.Tests.Output.CSV { //https://www.codeproject.com/Articles/415732/Reading-and-Writing-CSV-Files-in-Csharp /// <summary> /// Class to store one CSV ro...
Assets/Scripts/PivotGun.cs
th174/UnityTanks
0
7036967
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PivotGun : MonoBehaviour { public CameraController cameraController; public float rotateSpeed; public float maxDepression; public float maxElevation; // Use this for initialization void Start() { ...
WebStore.DAL/DataProviders/MSSQLDataProvider/ProductDataProvider.cs
SDWT/WebStoreASP
0
7036968
<filename>WebStore.DAL/DataProviders/MSSQLDataProvider/ProductDataProvider.cs using System; using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; using WebStore.DAL.SQLDBData; using WebStore.Model.Entity; using WebStore.Model.Interfaces; namespace WebStore.DAL.DataProviders.MSSQLDa...
rules/Gendarme.Rules.Design/Test/AvoidRefAndOutParametersTest.cs
JAD-SVK/mono-tools
5
7036969
<filename>rules/Gendarme.Rules.Design/Test/AvoidRefAndOutParametersTest.cs // // Unit tests for AvoidRefAndOutParametersRule // // Authors: // <NAME> <<EMAIL>> // // Copyright (C) 2008, 2011 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this...
src/Sir.VectorSpace/PathFinder.cs
kreeben/resin
587
7036970
<gh_stars>100-1000 using System.Collections.Generic; using System.Text; namespace Sir.VectorSpace { public static class PathFinder { public static Hit ClosestMatch(VectorNode root, IVector vector, IModel model) { var best = root; var cursor = root; double hi...
Core/Resgrid.Model/UnitActiveRole.cs
Resgrid/core
0
7036971
<gh_stars>0 using Newtonsoft.Json; using Resgrid.Model.Identity; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Resgrid.Model { [Table("UnitActiveRoles")] public class UnitActiveRole : IEntity { [Key] [R...
src/Gallio/Gallio35/Common/Linq/ExpressionInstrumentor.cs
citizenmatt/gallio
1
7036972
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 <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/lic...
MauiRss/Services/ITemplateService.cs
drasticactions/MauiRss
0
7036973
<reponame>drasticactions/MauiRss // <copyright file="ITemplateService.cs" company="Drastic Actions"> // Copyright (c) Drastic Actions. All rights reserved. // </copyright> using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MauiRss.Models; namespa...
Exurb1aBot/Modules/QuoteModule.cs
Soverclysm/Exurb1aBot
0
7036974
using Discord; using Discord.Commands; using Exurb1aBot.Util.Extensions; using Exurb1aBot.Model.Domain; using Exurb1aBot.Model.Exceptions.QuoteExceptions; using Exurb1aBot.Model.ViewModel; using Exurb1aBot.Util.EmbedBuilders; using System; using System.Net; using System.Threading.Tasks; namespace Exurb1aBot.Modules {...
Todo/Todo.Contracts/Exceptions/ValidationException.cs
stphnwlsh/Todo
0
7036975
namespace Todo.Contracts.Exceptions; using System; public class ValidationException : Exception { public ValidationException(string message, Exception innerException) : base(message, innerException) { } public ValidationException(string message, int statusCode, Exception innerException) : base(messa...
SIP_IOLib/SIP_InspectLib/SIP_InspectLib/Indexing/Common.cs
pimier15/ImageProcessingEngine
0
7036976
<filename>SIP_IOLib/SIP_InspectLib/SIP_InspectLib/Indexing/Common.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; using SpeedyCoding; using ModelLib.AmplifiedType; // Generalized Function is name with Fn // Please use Gener...