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/Fluxera.Utilities/Extensions/DateTime/GetFirstDayOfWeek.cs
fluxera/Fluxera.Utilities
1
7057021
<reponame>fluxera/Fluxera.Utilities // ReSharper disable once CheckNamespace namespace Fluxera.Utilities.Extensions { using System; using System.Globalization; using Guards; public static partial class DateTimeExtensions { /// <summary> /// Gets the first day of the week using the current culture. ///...
server/Shop.API/Controllers/AuthController.cs
davipviana/jwt-auth-example
1
7057022
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Shop.API.Models; using Shop.API.Repositories; using Shop.API.Services; namespace Shop.API.Controllers { [Route("v1/auth")] public class AuthController : Controller { [HttpPost] [Route("login")] [AllowAno...
Lib/VisualStudio.CsProj/CsProjComparison.cs
Visyn/Visyn.MsBuild
0
7057023
<gh_stars>0 using System.Collections.Generic; namespace Visyn.Build.VisualStudio.CsProj { public class CsProjComparison { public static IEnumerable<string> Compare(VisualStudioCsProject project1, VisualStudioCsProject project2, bool verbose) { var project1Missing = new List<Project...
src/Default/Converters/ConvertibleConverter.cs
bmrxntfj/HolySerializer
1
7057024
<reponame>bmrxntfj/HolySerializer using HolySerializer.Metadata; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; namespace HolySerializer.Default.Converters { public class ConvertibleConverter : IBinaryConverter { pr...
Mart Management System/Mart Management System/Mart Management System/SignUpCustomer.cs
arkkhanu/Mart-Management
0
7057025
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; using System.Data.SqlClient; using System.Configuration; namespace Mart_Management_System { public p...
DrinkPartyBillSplit/DrinkPartyBillSplit/Views/GradesPage.xaml.cs
step63r/DrinkPartyBillSplit
0
7057026
using DrinkPartyBillSplit.ViewModels; using System; using System.ComponentModel; using System.Threading.Tasks; using Xamarin.Forms; namespace DrinkPartyBillSplit.Views { [DesignTimeVisible(false)] public partial class GradesPage : ContentPage { /// <summary> /// ViewModelオブジェクト ///...
GoLocal.TimeTracker/GoLocal.TimeTracker.MiddleTier/Repositories/NotificationsRepository.cs
NoriHayashi/GoLocal.TimeTracker
3
7057027
// Copyright(c) Microsoft Corporation. // All rights reserved. // // Licensed under the MIT license. See LICENSE file in the solution root folder for full license information. using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.Graph; using Microsoft.AspN...
Source/DovizAPI/Models/BuyingAndSellingPriceModel.cs
cancaliskan/doviz-api
1
7057028
<reponame>cancaliskan/doviz-api<gh_stars>1-10 namespace DovizAPI.Models { public class BuyingAndSellingPriceModel { public string BuyingPrice { get; set; } public string SellingPrice { get; set; } public string LastUpdate { get; set; } } }
RS1 W6 16.9.2021/2020-09-18/Postavka/RS1_Ispit/Wm/UcesniciPrikazWM.cs
MacanovicIsmar/Rs1-Workshop
0
7057029
<reponame>MacanovicIsmar/Rs1-Workshop<filename>RS1 W6 16.9.2021/2020-09-18/Postavka/RS1_Ispit/Wm/UcesniciPrikazWM.cs<gh_stars>0 using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RS1_Ispit_asp.net_core.Wm { public class...
Bawx/Util/GraphicsStateStack.cs
Jjagg/Bawx
9
7057030
using System; using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; namespace Bawx.Util { public class GraphicsStateStack { private readonly GraphicsDevice _graphicsDevice; private readonly Stack<GraphicsState> _states; public GraphicsStateStack(GraphicsDevice grap...
XenAdmin/TabPages/TagCloudPage.cs
ChrisH4rding/xenadmin
1
7057031
/* Copyright (c) Citrix Systems Inc. * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above * copyright notice,...
src/AddressObject.cs
teh-random-name/OpenMelissa
0
7057032
<reponame>teh-random-name/OpenMelissa using OpenMelissa.Configuration; using OpenMelissa.Models; using System; using System.IO; using System.Runtime.InteropServices; namespace OpenMelissa { /// <summary> /// The Address validation object /// </summary> public sealed class AddressObject : IDisposable ...
GeoCuda/CPUClass.cs
archius11/GeoCudaCalc
1
7057033
using System; using System.Text; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Globalization; namespace GeoCuda { [Guid("AC4F4E46-07F8-48C9-BA33-BA8FE0AE75EC")] internal interface IMyClass { ...
Blueshift.Core/Extensions/NumericExtensions.cs
qhris/Blueshift
0
7057034
namespace Blueshift.Core.Extensions { public static class NumericExtensions { public static byte Add(this byte value, int rhs) => (byte)(value + rhs); public static ushort Add(this ushort value, int rhs) => (ushort)(value + rhs); public static bool IsBitSet(thi...
Model/Wealth/Assets/Commodities/NaturalMaterial.cs
laichunpongben/Alicization
1
7057035
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Alicization.Util.Numerics; namespace Alicization.Model.Wealth.Assets.Commodities { internal class NaturalMaterial : ICommodity { public int assetId { get; private set; } public string assetName { get; p...
Patterns/Patterns.Estrutura/Composite/TrechoDeCarro.cs
EliPedro/Patterns
0
7057036
using Patterns.Estrutura.Composite.Interfaces; using System; namespace Patterns.Estrutura.Composite { public class TrechoDeCarro : ITrecho { public string Direcao { get; private set; } public int Distancia { get; private set; } public TrechoDeCarro(string direcao, int distancia) ...
Blackberry.UnitTests/Test.cs
tgsstdio/BirdNest.Nodes
3
7057038
<reponame>tgsstdio/BirdNest.Nodes //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regen...
AttributeDrawerHandles/Editor/DisableAttributeDrawer.cs
yika-aixi/IcAttribute
2
7057039
//创建者:Icarus //手动滑稽,滑稽脸 //ヾ(•ω•`)o //2019年05月02日-05:04 //AnimationExpansion.Editor using Icarus.IcAttribute.Attributes; using Icarus.IcAttribute.Core; using UnityEditor; using UnityEngine; namespace Icarus.IcAttribute.Drawer { [Handle(typeof(DisableAttribute))] public class DisableAttributeDrawer : DrawerHan...
GUI/FormEditNote.Designer.cs
MrtnNmck/notenizer
0
7057040
<reponame>MrtnNmck/notenizer<filename>GUI/FormEditNote.Designer.cs using nsComponents; using nsConstants; using System.Drawing; namespace nsGUI { partial class FormEditNote { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer c...
test/Day09UnitTests.cs
Elgolfin/adventofcode-2016
0
7057041
<reponame>Elgolfin/adventofcode-2016<gh_stars>0 using System; using Xunit; using AdventOfCode1016; using System.Linq; using System.Collections; using System.Collections.Generic; namespace AdventOfCode1016Tests { public class Day09UnitTests { /* [Theory] [InlineData("abba")] [In...
mcs/class/System.Core/System/Util.cs
lefb766/mono
469
7057042
namespace System { internal static class MonoUtil { public readonly static bool IsUnix; static MonoUtil () { int platform = (int) Environment.OSVersion.Platform; IsUnix = platform == 4 || platform == 128 || platform == 6; } } }
src/Orchard.Web/Modules/Time.Epicor/ViewModels/AsmInspectViewModel.cs
pmillsaps/zone.timemfg.com
0
7057043
<reponame>pmillsaps/zone.timemfg.com using System; using System.Collections.Generic; using System.ComponentModel; using Time.Data.EntityModels.TimeMFG; namespace Time.Epicor.ViewModels { public class AsmInspectViewModel { public AsmInspectViewModel() { EndDate = DateTime...
GroupProject/GroupProject/Controllers/SearchController.cs
pavlitosdv/MyArtWork-Gallery
0
7057044
using GroupProject.Models; using GroupProject.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace GroupProject.Controllers { public class SearchController : Controller { private readonly ArtWorksRepository _artWorksReposito...
vs/Options/ViewModel.cs
pradyunsg/Rewrap
360
7057045
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace VS.Options { public class ViewModel: Base { public GlobalOptionsGroup G...
src/DotNetCommons/Text/Parsers/ConfigStringParser.cs
mgefvert/CommonNetTools
0
7057046
<gh_stars>0 using DotNetCommons.Text.Tokenizer; using System.Collections.Generic; using System.Linq; using System.Text; // ReSharper disable UnusedMember.Global namespace DotNetCommons.Text.Parsers; /// <summary> /// Class that captures configuration strings on the format of "key=value; key=value", handles quoted s...
src/Maestro/Microsoft.DotNet.EntityFrameworkCore.Extensions/SystemVersionedSqlServerMigrationsAnnotationProvider.cs
sunandabalu/arcade-services
36
7057047
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastructure; u...
cSharp/imaging/Coordinates.cs
meitarazar/Relic-IC-Image-Parser
1
7057048
namespace Relic_IC_Image_Parser { /// <summary> /// A simple class consisted of objects that used to hold data for image parsing /// </summary> partial class Coordinates { /// <summary> /// Basic class that holds the size of the image /// </summary> public class Size...
Mapping Tools/views/SliderMerger/SliderMergerView.xaml.cs
CrazyRabbitKGe/Mapping_Tools
0
7057049
<filename>Mapping Tools/views/SliderMerger/SliderMergerView.xaml.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Windows; using Mapping_Tools.Classes.BeatmapHelper; using Mapping_Tools.Classes.HitsoundStuff; using Mapping_Tools.Classes.MathUtil; using Map...
merigurumiblog/merigurumi.blog.WebApi/CustomFilters/ValidId.cs
smskmrym/merigurumiblog
0
7057053
using merigurumi.blog.Business.Interfaces; using merigurumi.blog.Entities.Interfaces; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace merigurumi.blog.WebApi.CustomFilters { public cla...
EnvironmentAssessment.Wizard/Common/VimApi/F/FtIssuesOnHost.cs
octansIt/environmentassessment
1
7057054
<filename>EnvironmentAssessment.Wizard/Common/VimApi/F/FtIssuesOnHost.cs namespace EnvironmentAssessment.Common.VimApi { public class FtIssuesOnHost : VmFaultToleranceIssue { protected ManagedObjectReference _host; protected string _hostName; protected LocalizedMethodFault[] _errors; protected FtIssuesOnHost_...
Unity Project/Assets/KAT/Codebase/HubFixTest.cs
mark-mcg/keyboard_augmentation_toolkit
0
7057055
<gh_stars>0 using KAT; using PubSub; using System.Collections; using System.Collections.Generic; using System.Reflection; using UnityEngine; public class HubFixTest : MonoBehaviour { // Start is called before the first frame update Hub hub = new Hub(); void Awake() { LayoutChangedEvent layout...
CFGLib/Parsers/Sppf/DotBuilder.cs
ellisonch/CFGLib
34
7057056
<reponame>ellisonch/CFGLib using CFGLib.Parsers.Graphs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CFGLib.Parsers.Sppf { public static class DotBuilder { public static string GetRawDot(SppfNode node) { var gb = new GraphBuilder(n...
.tests/GoogleApi.UnitTests/Common/Converters/StringEnumOrDefaultConverterTest.cs
sbrink75/GoogleApi
439
7057057
<reponame>sbrink75/GoogleApi using System; using System.IO; using GoogleApi.Entities.Common.Converters; using Newtonsoft.Json; using NUnit.Framework; namespace GoogleApi.UnitTests.Common.Converters { [TestFixture] public class StringEnumOrDefaultConverterTest { [Test] public void CanConvert...
Other/SdkConverter/Converter.cs
qmgindi/Au
7
7057058
//#define TEST_SMALL //in project Properties using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using Au; using Au.Types; using Au.More; namespace SdkConverter { class Program { ...
Assets/Scripts/MonoBehaviours/ActionPanel.cs
jonaskaloustian/Treasure-Island
0
7057059
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ActionPanel : MonoBehaviour { private GameObject descriptionPanel; private GameObject answerPanel; private GameObject[] answerButtons; private void Awake() { descriptionPanel...
Framework/Models/FileStructure/X9Bundle.cs
dst3p/x9
0
7057060
using System.Collections.ObjectModel; using X9.Common; namespace X9.Models.FileStructure { public class X9Bundle { public X9Bundle() { BundleHeader = new BundleHeader(); CreditRecord = new CreditReconciliationRecord(); CheckItems = new Collection<X9ForwardPr...
src/api/ApiDefaults.cs
liannoi/sample-angular
0
7057061
<reponame>liannoi/sample-angular using System.IO; namespace SampleAngular.WebAPI { public static class ApiDefaults { public static string ProductPhotosPath => Path.Combine("res", "product-photos"); public static string PhotosDirectoryRoot => Path.Combine(Directory.GetCurrentDirectory(), @"res")...
CosmoTrack/CosmoTrack/Views/Reviews/Index.cshtml
omence/CosmoTrack
0
7057064
@model IEnumerable<CosmoTrack.Models.Review> @{ Layout = "_Layout"; } <br /> <br /> <br /> <br /> <div class="card-deck col mr-15 " style="width:auto"> <div class="card text-center mb-5" style="width:auto" <div class="card-body text-center mr-15 " style="width:auto"> <...
Rnwood.Smtp4dev/DbModel/Session.cs
DarekDan/smtp4dev
0
7057065
using System; namespace Rnwood.Smtp4dev.DbModel { public class Session { public Guid Id { get; set; } public string Log { get; set; } public int NumberOfMessages { get; internal set; } public string ClientAddress { get; internal set; } public string ClientName { get; i...
src/ColumnsAdder.cs
adslbarxatov/GeomagDataDrawer
1
7057066
using System.Windows.Forms; namespace RD_AAOW { /// <summary> /// Класс описывает форму выбора данных для построения новой кривой /// </summary> public partial class ColumnsAdder:Form { /// <summary> /// Возвращает номер столбца данных, интерпретируемого как столбец абсцисс /// </summary> public uint X...
src/Client.Tests/ClientTests/ListClientTests/GetAllListsAsyncTests.cs
akselarzuman/iterable-client-dotnet
6
7057067
<reponame>akselarzuman/iterable-client-dotnet<gh_stars>1-10 using Armut.Iterable.Client.Contracts; using Armut.Iterable.Client.Core.Responses; using Armut.Iterable.Client.Models.ListModels; using Armut.Iterable.Client.Tests.Base; using Moq; using System; using System.Collections.Generic; using System.Linq; using Syste...
src/DotNetCqs.Queues.AdoNet.IntegrationTests/AdoNetMessageDTOTests.cs
jgauffin/dotnetcqs
15
7057068
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Text; using System.Threading.Tasks; using DotNetCqs.Queues.AdoNet.IntegrationTests.Helpers; using Xunit; namespace DotNetCqs.Queues.AdoNet.IntegrationTests { public class AdoNetMessageDTOTests { ...
UnityProject/Assets/TheGamedevGuru/AddressablesPlayFabSupport/Scripts/PlayFabTests.cs
The-Gamedev-Guru/Addressables-PlayFab
1
7057069
<reponame>The-Gamedev-Guru/Addressables-PlayFab using System.Collections; using PlayFab; using PlayFab.ClientModels; using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.ResourceManagement.ResourceProviders; using UnityEngine.SceneManagement; namespace TheGamedevGuru { public class PlayFabTests :...
GetHired/GetHired.UnitTests/Services/JobOfferServiceTests/DeleteById_Should.cs
ihristova11/GetHired
1
7057070
using AutoMapper; using GetHired.DataModels.Contracts; using GetHired.DataModels.Repositories.Contracts; using GetHired.DomainModels; using GetHired.DTO; using GetHired.Services.Services; using Moq; using NUnit.Framework; using System; namespace GetHired.UnitTests.Services.JobOfferServiceTests { [TestFixture] ...
MyBills.Domain/Entities/UserDetail.cs
jaypowley/MyBillsApp
0
7057071
<filename>MyBills.Domain/Entities/UserDetail.cs using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace MyBills.Domain.Entities { public sealed class UserDetail { public int Id { get; set; } [DisplayName("<NAME>"), StringLength(50)] public string FirstName ...
CompactMPC/Expressions/AggregationHelper.cs
jnagykuhlen/CompactMPC
12
7057072
<filename>CompactMPC/Expressions/AggregationHelper.cs using System; using System.Collections.Generic; using System.Linq; namespace CompactMPC.Expressions { public static class AggregationHelper { public static T AggregateDepthEfficient<T>(this IReadOnlyCollection<T> source, Func<T, T, T> func) ...
Services/Administration/XtraUpload.Administration.Service.Common/Commands/DeleteFilesCommand.cs
fossabot/XtraUpload
5
7057073
using MediatR; using System.Collections.Generic; namespace XtraUpload.Administration.Service.Common { /// <summary> /// Delete file(s) by id /// </summary> public class DeleteFilesCommand : IRequest<DeleteFilesResult> { public DeleteFilesCommand(IEnumerable<string> filesId) { ...
source/Tests/IntegrationTests.cs
OctopusDeploy/ConsolidateCalamariPackagesTask
0
7057074
<reponame>OctopusDeploy/ConsolidateCalamariPackagesTask using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Linq; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using System.Xml; usin...
src/Abp.Captcha.Application.Contracts/VerifyPicture/IVerifyPictureAppService.cs
git102347501/Abp.Captcha
5
7057075
<reponame>git102347501/Abp.Captcha<filename>src/Abp.Captcha.Application.Contracts/VerifyPicture/IVerifyPictureAppService.cs using MaigcalConch.Abp.Captcha.VerifyPicture.Dtos; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Volo.Abp.Application.Services; namespace...
Source/Kaigara.Core/ContainerBuilderExtensions.cs
dfkeenan/Kaigara
0
7057076
using System.Reflection; using Autofac; using Autofac.Core; using Dock.Model.Controls; using Kaigara.Collections.Generic; using Kaigara.Commands; using Kaigara.Menus; using Kaigara.ToolBars; using Kaigara.ViewModels; namespace Kaigara; public enum NamespaceRule { StartsWith, Equals } public static class Con...
Selaru VR - 3D/Assets/Zetcil/Model/Variable Model/Editor/VarLayoutEditor.cs
Damagree/selaru-vr
0
7057077
<gh_stars>0 using UnityEditor; using UnityEngine; namespace Zetcil { [CustomEditor(typeof(VarLayout)), CanEditMultipleObjects] public class VarLayoutEditor : Editor { public SerializedProperty isEnabled, OperationType, PresetType, HeaderColor, ...
C# OOP Advanced/IteratorsAndComperators/ListIterator/Models/Contracts/ICustomList.cs
CvetelinLozanov/SoftUni-C-
0
7057078
<filename>C# OOP Advanced/IteratorsAndComperators/ListIterator/Models/Contracts/ICustomList.cs using System; using System.Collections.Generic; using System.Text; namespace ListIterator.Models.Contracts { public interface ICustomList<T> { bool HasNext(); bool Move(); void Print(); ...
Assets/Moe Baker/Moe Tools/Standalone/Utility/Input/KeyCodeList.cs
EZKATKAGAMES/OnePunchMang
38
7057079
using System; using System.IO; using System.Linq; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; using UnityEngine.AI; #if UNITY_EDITOR using UnityEditor; using UnityEditorInternal; #endif using Object = UnityEngine.Object; usi...
test/unit/src/Vendors/Jerrycurl.Vendors.Sqlite.Test/TypeTests.cs
rwredding/jerrycurl
44
7057080
<gh_stars>10-100 using Jerrycurl.Mvc.Sql; using Jerrycurl.Test; using Jerrycurl.Test.Project.Accessors; using Jerrycurl.Test.Project.Models; using Jerrycurl.Vendors.Sqlite.Test.Models; using Shouldly; using System.Linq; namespace Jerrycurl.Vendors.Sqlite.Test { public class TypeTests { public void Tes...
EnvironmentAssessment.Wizard/Common/VimApi/F/FaultToleranceSecondaryConfigInfo_LinkedView.cs
octansIt/environmentassessment
1
7057081
<reponame>octansIt/environmentassessment<filename>EnvironmentAssessment.Wizard/Common/VimApi/F/FaultToleranceSecondaryConfigInfo_LinkedView.cs<gh_stars>1-10 namespace EnvironmentAssessment.Common.VimApi { public class FaultToleranceSecondaryConfigInfo_LinkedView { protected VirtualMachine _primaryVM; public Virtu...
src/QianCash.Core/AccountBalance.cs
swizkon/xingzen
0
7057082
<filename>src/QianCash.Core/AccountBalance.cs namespace QianCash.Core; public class AccountBalance { public string AccountId { get; set; } = string.Empty; public List<Funds> Balances { get; set; } = new List<Funds>(); public DateTimeOffset LastSync { get; set; } public string GetBalance() => "h...
Managed/main/Database/LandOnAllWorlds.cs
undancer/oni-data
1
7057084
<reponame>undancer/oni-data<gh_stars>1-10 using STRINGS; namespace Database { public class LandOnAllWorlds : ColonyAchievementRequirement { public override string GetProgress(bool complete) { int num = 0; int num2 = 0; foreach (WorldContainer worldContainer in ClusterManager.Instance.WorldContainers) ...
TSHotelManagerSystem/DAL/CustoService.cs
jackson0720/TopskyHotelManagerSystem
3
7057086
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using TSHotelManagerSystem.Models; namespace TSHotelManagerSystem.DAL { public class CustoService { <<<<<<< HEAD ======= public static Li...
Test/Program.cs
840900649/NewLife.Redis
1
7057087
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using NewLife; using NewLife.Caching; using NewLife.Log; using NewLife.Security; using NewLife.Threading; namespace Test { class Program { static void Main(String[] args) { ...
CharityV5/BotAPI/Controller/TGEventHandler.cs
MrWooJ/WJCharity
0
7057088
using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Collections.Specialized; using System.Linq; using System.Net.Sockets; using System.Threading; using System.Diagnostics; using System.Text.RegularExpressions; using Newtonsoft.Json; using TGModels; using TG...
BambooDemo/Bamboo/Movement/DebugMovementManager.cs
ms-iot/bamboo-demo
6
7057089
<filename>BambooDemo/Bamboo/Movement/DebugMovementManager.cs using Bamboo.Movement; using Bamboo.Utilities; using System; using System.Threading.Tasks; namespace BroxtonDemo.Movement { public class DebugMovementManager : IMovementManager { private Logger logger; public DebugMovementManager() ...
JoinRpg.Dal.Impl/Repositories/GameRepositoryImplBase.cs
FulcrumVlsM/joinrpg-net
0
7057090
<filename>JoinRpg.Dal.Impl/Repositories/GameRepositoryImplBase.cs using System.Data.Entity; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; namespace JoinRpg.Dal.Impl.Repositories { internal class GameRepositoryImplBase : RepositoryImplBase { protected GameRepositoryImplBase(MyDbCon...
Asylum/AST/Universal.cs
Asylum-Lang-Foundation/StraitJacket-Sharp
3
7057091
using System; using Antlr4.Runtime.Misc; using Antlr4.Runtime.Tree; using LLVMSharp; using StraitJacketLib.Builder; using StraitJacketLib.Constructs; namespace Asylum.AST { public partial class Visitor : IAsylumVisitor<AsylumVisitResult> { public ProgramBuilder Builder = new ProgramBuilder(); pub...
src/MeerkatUpdater/MeerkatUpdater.Core/Runner/Command/DotNetOutDated/IOutDated.cs
afborgesDev/MeerkatUpdater
1
7057092
<filename>src/MeerkatUpdater/MeerkatUpdater.Core/Runner/Command/DotNetOutDated/IOutDated.cs using MeerkatUpdater.Core.Runner.Model.PackageInfo; using System.Collections.Generic; namespace MeerkatUpdater.Core.Runner.Command.DotNetOutDated { /// <summary> /// Warp the dotnet package --outdated /// </...
aspnet-core/src/CoreSignalRTest.Web.Core/Controllers/CoreSignalRTestControllerBase.cs
Marcraffy/CoreSignalRTest
0
7057093
using Abp.AspNetCore.Mvc.Controllers; using Abp.IdentityFramework; using Microsoft.AspNetCore.Identity; namespace CoreSignalRTest.Controllers { public abstract class CoreSignalRTestControllerBase: AbpController { protected CoreSignalRTestControllerBase() { LocalizationSourceName = C...
Lazurite/LazuriteUI.Windows.Main/Constructors/Decomposition/ExecuteActionView.xaml.cs
noant/Pyrite2
55
7057094
<reponame>noant/Pyrite2 using Lazurite.ActionsDomain; using Lazurite.ActionsDomain.ValueTypes; using Lazurite.CoreActions; using System; using System.Windows; using System.Windows.Controls; namespace LazuriteUI.Windows.Main.Constructors.Decomposition { /// <summary> /// Логика взаимодействия для ExecuteAction...
BankWithForm/BankWithForm/Form1.Designer.cs
yindaheng98/LittleProgramSet
0
7057095
namespace BankWithForm { partial class Form1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为 f...
NewLife.Core/Compression/SevenZip.cs
NewLifeX/X_NET20
5
7057096
using System; using NewLife.IO; using System.IO; using System.Text; using NewLife.Compression.LZMA; using System.Collections.Generic; using NewLife.Security; using System.Linq; namespace NewLife.Compression { /// <summary>7z压缩包</summary> public class SevenZip { #region 属性 pr...
src/Areas/Kitchen_Sink_Panels/Views/Basic/Index.cshtml
yataya1987/EXT.Net-Theme-Hard-Coded
0
7057097
@{ ViewBag.Title = "Basic Panel - Ext.NET MVC Examples"; Layout = "~/Views/Shared/_BaseLayout.cshtml"; var X = Html.X(); var TEST_HTML = "Lorem ipsum dolor sit amet, consectetur adipiscing " + "elit. Sed egestas gravida nibh, quis porttitor felis venenatis id. " + "Nam sodales mollis q...
Assets/ViewerPopupScript.cs
thquinn/BFGStream
5
7057098
<reponame>thquinn/BFGStream<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class ViewerPopupScript : MonoBehaviour { TextMeshProUGUI tmp; RectTransform rectTransform; CanvasGroup canvasGroup; Vector3 originalPosition; int timer; ...
Sample/TestGame.cs
OctoAwesome/engenious
8
7057099
<gh_stars>1-10 using System; using engenious; using engenious.Audio; using engenious.Graphics; namespace Sample { public class TestGame : Game { private readonly Texture2D _texture; private readonly SpriteBatch _spriteBatch; private readonly SpriteFont _font; private RenderTar...
Identity.Server/src/Data/DesignTimeDbContextFactory.cs
meysamhadeli/IdentityServer.Sample
2
7057100
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; namespace Identity_Server.Data { public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory<ApplicationDbContext> { public ApplicationDbContext CreateDbContext(string[] args) { var builder =...
src/VSTS.Net/Models/PullRequests/PullRequestIteration.cs
stusklinar/VSTS.Net
4
7057101
using System; using VSTS.Net.Models.Identity; namespace VSTS.Net.Models.PullRequests { /// <summary> /// Provides properties that describe a pull request iteration. Iterations are created as a result of creating and pushing updates to a pull request /// </summary> public class PullRequestIteration ...
Astove.BlurAdmin.Data/Pessoa.cs
leandrolustosa/astove
0
7057102
using AInBox.Astove.Core.Data; using AInBox.Astove.Core.Validations; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq.Expressions; namespace Astove.BlurAdmin.Data { [Table("pessoa")] public class P...
cds/cds-plugin/DurinMediaLake/PluginBase.cs
sonusaha-globallogic/media-lake-v-sosah-copy-
1
7057103
<gh_stars>1-10 namespace Microsoft.Media.DurinMediaLake { using Microsoft.Xrm.Sdk; using System; public abstract class PluginBase : IPlugin { protected IOrganizationService OrganizationService { get; set; } protected IPluginExecutionContext PluginContext { get; set; } protected ITracingService TracingServic...
CoreServices/ServiceRegistration/Data/Generated_Dao/ServiceRegistryLockColumns.cs
BryanApellanes/bam.net.shared
0
7057104
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using Bam.Net.Data; namespace Bam.Net.CoreServices.ServiceRegistration.Data.Dao { public class ServiceRegistryLockColumns: QueryFilter<ServiceRegistryLockColumns>, IFilterToken { public ServiceRegistryLockColumns() { } ...
Source/MovieCollection.OpenSubtitles/Models/Guessit.cs
moviecollection/open-subtitles
4
7057105
<reponame>moviecollection/open-subtitles namespace MovieCollection.OpenSubtitles.Models { using System.Collections.Generic; using Newtonsoft.Json; public class Guessit { [JsonProperty("title")] public string? Title { get; set; } [JsonProperty("year")] public int? Year ...
Assets/ZFBrowser/Scripts/BrowserUI/GUIBrowserUI.cs
wangyan1248728751/GolfClinet
0
7057106
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace ZenFulcrum.EmbeddedBrowser { /** Attach this script to a GUI Image to use a browser on it. */ [RequireComponent(typeof(RawImage))] [RequireComponent(typeof(Browser...
src/Count4U.Admin.Client.Blazor_test/Page/Common/ChangePassword.razor.cs
parad74/Count4U.Service.5
0
7057107
using System; using System.Net.Http; using System.Threading.Tasks; using Count4U.Admin.Client.Blazor.I18nText; using Count4U.Service.Shared; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Authorization; using Monitor.Service.Model; namespace Count4U.Admin.Client.Page { public class Chan...
src/Application/GeoJson/Converters/TypeExtensions.cs
BaseTech-Inc/Server
1
7057108
<reponame>BaseTech-Inc/Server using System; using System.Reflection; namespace Application.GeoJson.Converters { public static class TypeExtensions { public static bool IsAssignableFromType(this Type self, Type other) { return self.GetTypeInfo().IsAssignableFrom(other.GetTypeInfo())...
VirtualizingCollection.Observable/Interfaces/IReplaySubjectImplementation.cs
KodiakBuildingPartners/VirtualizingObservableCollection
0
7057109
using System; namespace AlphaChiTech.VirtualizingCollection.Interfaces { internal interface IReplaySubjectImplementation<T> : ISubject<T>, ISubject<T, T>, IObserver<T>, IObservable<T>, IDisposable { bool HasObservers { get; } void Unsubscribe(IObserver<T> observer); } }
HexTileChess/Assets/Scripts/Player.cs
phenix1021/HexTileChess
0
7057110
<filename>HexTileChess/Assets/Scripts/Player.cs using UnityEngine; using Phenix.Unity.Grid; public class Player : Agent { // Use this for initialization void Start() { } // Update is called once per frame void Update() { } }
Tests/Moonwolf/Cards.cs
Vilnor/SotmWorkshop
0
7057111
<filename>Tests/Moonwolf/Cards.cs using NUnit.Framework; using System; using Handelabra.Sentinels.Engine.Model; using Handelabra.Sentinels.Engine.Controller; using System.Linq; using System.Collections; using Handelabra.Sentinels.UnitTest; namespace SotmWorkshop.Moonwolf { [TestFixture()] public class Cards ...
Repository/RepositoryExtension.cs
mynrd/HRIS.MVC
0
7057112
//using System; //using System.Collections.Generic; //using System.Linq; //using System.Linq.Expressions; //namespace Repository //{ // public static class RepositoryExtension // { // public static IQueryable<TEntity> ExcludeDeleted<TEntity>(this ICollection<TEntity> query) where TEntity : EntityBase // ...
Assets/Scripts/Combat/MuzzleFlash.cs
udison/unipolice
2
7057113
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MuzzleFlash : MonoBehaviour { void Start() { StartCoroutine("Delete"); } IEnumerator Delete() { yield return new WaitForSeconds(0.05f); Destroy(gameObject); } }
Sources/Sandbox.Game/Definitions/MyFloraElementDefinition.cs
phundio/SpaceEngineers
3,359
7057115
using Sandbox.Common.ObjectBuilders.Definitions; using Sandbox.Definitions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using VRage; using VRage.Game; using VRage.Game.Definitions; using VRage.Game.ObjectBuilders; using VRage.Library.Utils; using VRage.Utils; namespace Sandbo...
Kinetix-tools/Kinetix.ClassGenerator/CodeGenerator/Utils.cs
c3dr0x/kinetix
5
7057116
<reponame>c3dr0x/kinetix using System; using System.Text.RegularExpressions; namespace Kinetix.ClassGenerator { /// <summary> /// Regroupe quelques utilitaires. /// </summary> public static class Utils { /// <summary> /// Convertit un text en dash-case. /// </summary> ...
test/harness/test-runner/Test.cs
MiftahurRidho/tugas
87
7057117
// Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell...
SportsManager/Views/Events/Create.cshtml
jaymickey/Games-Manager-MVC
0
7057118
@model SportsManager.ViewModels.EventViewModel @{ ViewBag.Title = "Create"; } @section styles { @Styles.Render("~/Content/css/bootstrap-select.min.css") @Styles.Render("~/Content/css/jqueryui") } <h2>Create</h2> @using (Html.BeginForm("Create", "Events", FormMethod.Post, new { enctype = "multipart/form...
aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Logging/IAuditLogAppService.cs
ai408/abp-vue-admin-element-typescript
1
7057119
using System; using System.Threading.Tasks; using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Services; namespace LINGYUN.Abp.Auditing.Logging { public interface IAuditLogAppService : IApplicationService { Task<PagedResultDto<AuditLogDto>> GetListAsync(AuditLogGetByPagedDto input); ...
Mods/PosDir/Data/Scripts/PosDir/AntennaUpdate.cs
DraygoKorvan/SE-PosDir-Beacons
0
7057120
<reponame>DraygoKorvan/SE-PosDir-Beacons<filename>Mods/PosDir/Data/Scripts/PosDir/AntennaUpdate.cs using VRageMath; namespace PosDirBeaconsSource { using Sandbox.Common; using Sandbox.Common.Components; using Sandbox.Common.ObjectBuilders; using Sandbox.ModAPI; using System; /// <summary> /// Adds logic to th...
Source/Chat.UI.Desktop/ReactiveCommand.cs
RxDave/ReactiveProgramming
21
7057121
using System; using System.Reactive; using System.Reactive.Subjects; using System.Windows.Input; namespace Chat.UI.Desktop { public sealed class ReactiveCommand : ObservableBase<object>, ICommand { private readonly Subject<object> subject = new Subject<object>(); public event EventHandler CanExecuteChang...
src/Openchain.Infrastructure/ILedgerIndexes.cs
iriszhong107/zmz
516
7057122
// Copyright 2015 Coinprism, 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 law or agree...
Assets/Scripts/ForwardIndicator.cs
LaurenGold/Planetary-Visor
5
7057123
using UnityEngine; /** Rotates the star icon on the sat map **/ public class ForwardIndicator : MonoBehaviour { private RectTransform forwardArrowTransform; private GameObject MainCameraSight; void Start () { forwardArrowTransform = gameObject.GetComponent<RectTransform>(); MainCameraSight ...
proto-gen/msg.cs
flyrpc/flyrpc-csharp
0
7057126
// Classes and structures being serialized // Generated by ProtocolBuffer // - a pure c# code generation implementation of protocol buffers // Report bugs to: https://silentorbit.com/protobuf/ // DO NOT EDIT // This file will be overwritten when CodeGenerator is run. // To make custom modifications, edit the .proto ...
src/samples/Wodsoft.ComBoost.Forum.Entity/Thread.cs
Kation/ComBoost
118
7057127
<filename>src/samples/Wodsoft.ComBoost.Forum.Entity/Thread.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Wodsoft.ComBoost.Data.Entity; using Wodsoft.ComBoost.Forum.Core; namespace Wods...
tests/Dahl.Extensions.Tests/LinqExtTests.cs
kdahltx/Dahl.Extensions
0
7057129
<reponame>kdahltx/Dahl.Extensions using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Dahl.Extensions.Tests { public class LinqExtTests { [TestClass] public class OrderedEnumerableOrderBy_Method { [TestMethod] public void Method1() ...
Codigo/Back-end/Src/HappyBank.UseCases/OpenAccount/OpenAccountUC.cs
icei-pucminas/pbe-pco-si-2021-1-ti-apn-8285100-happy-bank
0
7057130
using HappyBank.Domain.Model; using HappyBank.Domain.Repository; using HappyBank.Infra.UseCases; using HappyBank.UseCases.Constants; using HappyBank.UseCases.Exceptions; using System; namespace HappyBank.UseCases.OpenAccount { public class OpenAccountUC : IUseCase<OpenAccountInput, OpenAccountOutput> { ...
Assets/Game/Scripts/General/Singletons/GameManager.cs
ninito-ph/Sketch-Fleets
1
7057131
using ManyTools.UnityExtended; using UnityEngine; using UnityEngine.SceneManagement; public class GameManager : Singleton<GameManager> { #region Unity Callbacks // Start is called before the first frame update void Start() { DontDestroyOnLoad(gameObject); } #endregion #region...
chapter 8/XUnitFirstSeleniumProject/XUnitFirstSeleniumProject/Version3/Pages/ToDoPage/ToDoPage.Assertions.cs
AutomateThePlanet/LambdaTest-xUnit-Tutorial
1
7057132
namespace XUnitFirstSeleniumProject.Version3 { public partial class ToDoPage : WebPage { public void AssertLeftItems(int expectedCount) { if (expectedCount <= 0) { ValidateInnerTextIs(ResultSpan, $"{expectedCount} item left"); } el...