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
lab/SeedingWeedingOutAndDestroyingStartup/NSeed.xUnit/RequiresScenariosFixture.cs
nseedio/nseed
1
7025007
using NSeed.Discovery.SeedBucket.ReflectionBased; using NSeed.Sdk; using NSeed.Seeding; using System; namespace NSeed.Xunit { public abstract class RequiresScenariosFixture { protected RequiresScenariosFixture(Type? seedingStartupType, params Type[] scenarioTypes) { // TODO: Checks....
src/Essentials/samples/Samples/App.xaml.cs
pictos/maui
0
7025008
<filename>src/Essentials/samples/Samples/App.xaml.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AppCenter; using Microsoft.AppCenter.Analytics; using Microsoft.AppCenter.Crashes; using Microsoft.AppCenter.Distribu...
NiquIoC.Test.PartialEmitFunction/Singleton/RegisterTypeForInterfaceTests.cs
niqu90/NiquIoc
1
7025009
<gh_stars>1-10 using Microsoft.VisualStudio.TestTools.UnitTesting; using NiquIoC.Enums; using NiquIoC.Exceptions; using NiquIoC.Test.Model; namespace NiquIoC.Test.PartialEmitFunction.Singleton { [TestClass] public class RegisterTypeForInterfaceTests { [TestMethod] public void RegisteredInt...
Actions/WebInject/HttpClient.cs
PleXone2019/DreamBot
2
7025010
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Security; using System.Net.Sockets; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Text; using DreamBot.Network; using DreamBot.Network.Comunicatio...
GestionPharmacie/Management/ProviderManagment/Providers_GRID.cs
TDI204PFA/PharmacieManagement
0
7025011
<filename>GestionPharmacie/Management/ProviderManagment/Providers_GRID.cs using GestionPharmacie.Entities; 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...
AirPlay/Listeners/AirTunesListener.cs
PonyPC/airplayreceiver
0
7025012
<filename>AirPlay/Listeners/AirTunesListener.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization.Plists; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using AirPlay.DmapTagged; using A...
KDMHelper2/Assets/Scripts/Common/Threading/ThreadPoolJobTask.cs
JuliusNarvilas/KingdomDeathHelper
1
7025013
using System; using System.Collections.Generic; using System.Threading; namespace Common.Threading { /// <summary> /// Generic Task to be run async /// </summary> public class ThreadPoolJobTask { /// <summary> /// The state of a threaded task. /// </summary> public ...
Qencode.Api.CSharp.Client/Classes/StorageInfo.cs
geroddokar/qencode-api-dotnet-client
7
7025014
using System; using System.Collections.Generic; using System.Text; namespace Qencode.Api.CSharp.Client.Classes { public class StorageInfo { /// <summary> /// Output video format /// </summary> public string format; /// <summary> /// Storage host or endpoint ...
Capstone/Models/SearchEngine.cs
CurtisJ123/Capstone
0
7025015
<filename>Capstone/Models/SearchEngine.cs using Microsoft.Data.Sqlite; namespace Capstone.Models { public class SearchEngine { public int SearchEngineID { get; set; } public string Name { get; set; } public string BaseURL { get; set; } public string QueryString { get; set; } ...
Source Code/SGP Server/SGP.HCBBOOK.CloudServer.UI/SGP.HCBBOOK.CORE/Busssiness/Models/ComputerMACClientModel.cs
bienhuynh/MENU-GAME-CONTROL
0
7025016
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SGP.HCBBOOK.CORE.Busssiness.Models { public class ComputerMACClientModel { public string MAC { get; set; } public string UserId { get; set; } public string Name...
src/System.Configuration.ConfigurationManager/tests/System/Configuration/ImplicitMachineConfigTests.cs
harunpehlivan/corefx
1
7025017
// 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.Configuration; using System.IO; using Xunit; namespace System.ConfigurationTests { public class I...
WmcSoft.Core/FuncExtensions.cs
vjacquet/WmcSoft
3
7025018
<reponame>vjacquet/WmcSoft #region Licence /**************************************************************************** Copyright 1999-2015 <NAME>. All rights reserved. Permission is granted to anyone to use this software for any purpose on any computer system, and to alter it and redistribute it...
tests/NHSD.GPIT.BuyingCatalogue.E2E.PublicBrowseTests/Objects/PublicBrowse/SolutionObjects.cs
nhs-digital-gp-it-futures/GPITBuyingCatalogue
0
7025019
using NHSD.GPIT.BuyingCatalogue.E2ETests.Objects.Common; using OpenQA.Selenium; namespace NHSD.GPIT.BuyingCatalogue.E2ETests.Objects.PublicBrowse { internal static class SolutionObjects { internal static By ImplementationName => By.TagName("h1"); internal static By SolutionName => ByExtension...
Web/Http/HttpRequestHelper.cs
HongSic/HS.Utils
2
7025020
<reponame>HongSic/HS.Utils using System; using System.IO; using System.Net; using System.Threading.Tasks; namespace HS.Utils.Web.Http { public delegate void OnHttpSuccessHandler(HttpWebRequest Request, HttpWebResponse Response); public delegate void OnHttpFailHandler(HttpWebRequest Request, HttpWebResponse Re...
WWTExplorer3d/Glu.cs
Carifio24/wwt-windows-client
188
7025021
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace TerraViewer { public class Glu { public const string GLU_DLL = "glu32"; public const uint GLU_VERSION_1_1 = 1; public const uint GLU_VERSION_1_2 = 1; public const ...
libzeta/Input/Keyboard.cs
SplittyDev/Zeta
0
7025022
using System; using System.Collections.Generic; using OpenTK.Input; using System.Linq; namespace libzeta { /// <summary> /// Keyboard buffer. /// </summary> public class Keyboard { /// <summary> /// The keys. /// </summary> readonly List<KeyState> Keys; /// <...
Src/Nerva.Rpc/Wallet/GetTransferByTxID.cs
CalexCore/amity.rpc.csharp
0
7025023
using System; using Newtonsoft.Json; namespace Nerva.Rpc.Wallet { public class GetTransferByTxID : Request<GetTransferByTxIDRequestData, GetTransferByTxIDResponseData> { public GetTransferByTxID(GetTransferByTxIDRequestData rpcData, Action<GetTransferByTxIDResponseData> completeAction, Action<Re...
tests/Tests.Jeebs.WordPress.Data/Query/Posts/PartsBuilder/_Setup.cs
bencgreen/jeebs
3
7025024
// Jeebs Unit Tests // Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013 using System.Collections.Generic; using Jeebs.Data; using Jeebs.Data.Enums; using Jeebs.Data.Querying; using Jeebs.WordPress.Data.Tables; using Xunit; namespace Jeebs.WordPress.Data.Query_Tests.PostsPartsBuilder_Tests { public ...
Implementation/OnlineMusicStore/Areas/Identity/Pages/Account/Manage/PersonalData.cshtml.cs
the-it-weirdo/OnlineMusicStore
0
7025026
<gh_stars>0 using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using OnlineMusicStore.Data; using Microsoft.EntityFrameworkCore; using OnlineMusicStore.Models; namespace OnlineMusicStore.Areas...
Miki/API/Imageboards/Enums/ImageboardRating.cs
SnipeFrost/Miki
0
7025027
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Miki.API.Imageboards.Enums { public enum ImageboardRating { NONE, SAFE, QUESTIONABLE, EXPLICIT } }
main/OpenCover.Framework/Persistance/BasePersistance.cs
adammartin/opencover
0
7025028
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Xml.Serialization; using OpenCover.Framework.Communication; using OpenCover.Framework.Model; using log4net; using log4net.Core; namespace OpenCover.Framework.Persistance { /// <summary> /// A basic layer ...
DataAnalysisDelivery2/Assets/3DGamekitLite/Scripts/Game/Timeline/AudioSnapshot/AudioSnapshotTrack.cs
JoanBarduena/DataAnalysis_Delivery2
3
7025029
<filename>DataAnalysisDelivery2/Assets/3DGamekitLite/Scripts/Game/Timeline/AudioSnapshot/AudioSnapshotTrack.cs using UnityEngine; using UnityEngine.Playables; using UnityEngine.Timeline; [TrackColor(0.8970588f, 0.6037406f, 0.07915227f)] [TrackClipType(typeof(AudioSnapshotClip))] public class AudioSnapshotTrack : Track...
src/ICSharpCode.SharpZipLib/Core/NameFilter.cs
HowToDoThis/SharpZipLib
0
7025030
<filename>src/ICSharpCode.SharpZipLib/Core/NameFilter.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace ICSharpCode.SharpZipLib.Core { /// <summary> /// NameFilter is a string matching class which allows for both positive and negative //...
src/templates/MassTransitService/TimeConsumer.cs
kevbite/masstransit-dotnetTemplates
2
7025031
using System; using System.Threading.Tasks; using MassTransit; using MassTransitService.Messages; namespace MassTransitService { public class TimeConsumer : IConsumer<IsItTime> { public Task Consume(ConsumeContext<IsItTime> context) { var now = DateTimeOffset.Now; ...
Global Game Jam 2020/Assets/MainAsset/Scripts/Behaviours/Conditions/DSC_ActorBehaviourCondition_ActorStateFlag.cs
DeStiCap/Dim-Mind
0
7025032
using System.Collections; using System.Collections.Generic; using UnityEngine; using DSC.Core; using DSC.Actor; namespace GGJ2020 { [CreateAssetMenu(fileName = "BehaviourCondition_ActorStateFlag", menuName = "DSC/Actor/Behaviour/Condition/Actor State Flag")] public class DSC_ActorBehaviourCondition_ActorState...
Rick.RepositoryExpress.Service/ExpressclaimService.cs
shanmulinxi/Rick.RepositoryExpress
1
7025033
using Microsoft.EntityFrameworkCore; using Rick.RepositoryExpress.DataBase.Models; using Rick.RepositoryExpress.IService; using System; using System.Collections.Generic; using System.Text; namespace Rick.RepositoryExpress.Service { public class ExpressclaimService : BaseService, IExpressclaimService { ...
BTSEClient/BtseApi.Tests/Futures/Ohlcv.cs
barsv/BTSEClient.Net
1
7025035
<reponame>barsv/BTSEClient.Net using System; using NUnit.Framework; namespace BtseApi.Tests.Futures { [TestFixture] public class OhlcvTests { [Test] public void GetsOhlcv() { var result = Client.Operations.Futures.PublicEndpoints.Ohlcv.Execute("BTCPFC", 30); ...
Ocaramba.Tests.Features/StepDefinition/UbsStaffMisconductFormSteps.cs
hbrzostowski/EpamInterviewTask
0
7025036
using NLog; using NUnit.Framework; using Ocaramba.Tests.PageObjects.PageObjects.Global.UbsStaffMisconduct; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using TechTalk.SpecFlow; namespace Ocaramba.Tests.Features.StepDefinition { [Binding] public sealed class Ch...
Gourd.IdentityService/Model/SysUserRole.cs
wmowm/Gourd
58
7025037
<reponame>wmowm/Gourd using System; using System.Collections.Generic; using System.Text; namespace Gourd.IdentityService { /// <summary> /// 用户角色实体类 /// </summary> [Serializable] public class SysUserRole { public string Id { get; set; } //用户或者部门ID public string UserId {...
Sources/Visualization/Microsoft.Psi.Visualization.Common.Windows/Views/Visuals2D/DiagnosticsVisualization/PipelineDiagnosticsVisualizationModel.cs
DANCEcollaborative/PSI
0
7025038
<reponame>DANCEcollaborative/PSI // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Visualization.Views.Visuals2D { using System; using System.Collections.Generic; using Microsoft.Psi.Diagnostics; using Microsoft.Psi.Serialization; ...
cs-sdk/Utils.cs
koreanbots/cs-sdk
3
7025039
<filename>cs-sdk/Utils.cs using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using cs_sdk.Exceptions; using cs_sdk.Models; using RestSharp; namespace cs_sdk { public static class Utils { public static KoreanbotsCategory...
GymHub/GymHub.Web/Helpers/NotificationHelpers/NotificationHelper.cs
rosenkolev1/GymHub-SoftUni-CSharp-WebProject
1
7025040
using GymHub.Common; using Microsoft.AspNetCore.Mvc.ViewFeatures; namespace GymHub.Web.Helpers.NotificationHelpers { public static class NotificationHelper { public static void SetNotification(ITempDataDictionary tempData, NotificationType type, string text) { tempData[GlobalConsta...
Minio/DataModel/AccessCredentials.cs
davidsenk/minio-dotnet
0
7025041
<reponame>davidsenk/minio-dotnet /* * MinIO .NET Library for Amazon S3 Compatible Cloud Storage, * (C) 2021 MinIO, 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://...
src/LionFire.ObjectBus/OBases/OBase.cs
jaredthirsk/LionFire.Core
0
7025042
#define TRAGE_GET using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using LionFire.ObjectBus.Handles; using LionFire.Persistence; using LionFire.Referencing; using Microsoft.Extensions.Logging; namespace LionFire.ObjectBus { //...
src/BlazorApp/BlazorApp.Wpf/WebWindow.xaml.cs
egvijayanand/WeeklyXamarinBlazor
1
7025043
using BlazorApp.Wpf.Helpers; using Microsoft.Web.WebView2.Core; using Microsoft.Web.WebView2.Wpf; using System; using System.ComponentModel; using System.IO; using System.Threading.Tasks; using System.Windows; using WeeklyXamarin.Core.Models; using WeeklyXamarin.Core.Services; namespace BlazorApp.Wpf { /// <summa...
ChartCreator2/PDF/LocationStatisticsPages.cs
vitorbellotto/LoadProfileGenerator
0
7025044
//using Common; //namespace ChartCreator2.PDF { // internal class LocationStatisticsPages : ChartPageBase { // public LocationStatisticsPages():base( // "These charts show where the persons spend their time.", // "LocationStatistics", // "LocationStatistics.*.png", // ...
src/GRA.Domain.Model/PointTranslation.cs
cuongpv88/greatreadingadventure
9
7025045
using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace GRA.Domain.Model { public class PointTranslation : Abstract.BaseDomainEntity { [Required] public int SiteId { get; set; } [Required] [MaxLength(255)] [DisplayName("Name")] public...
src/Utility/LinqProvider.cs
imzhenyu/Tron
0
7025046
/* * The MIT License (MIT) * * Copyright (c) 2015 Microsoft Corporation * * -=- Robust Distributed System Nucleus (rDSN) -=- * * 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 witho...
Tabekana/Assets/MaterialUI/Scripts/MaterialUtils/Extensions.cs
Ianmaster231/tabekana
2
7025047
// Copyright 2016 MaterialUI for Unity http://materialunity.com // Please see license file for terms and conditions of use, and more information. using System; using System.Linq; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; namespace MaterialUI { /// <summary> /// Static c...
Kneser-Ney/lmDecoder/LMResult.cs
zhongkaifu/LMSharp
10
7025048
<filename>Kneser-Ney/lmDecoder/LMResult.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LMDecoder { //Language model result public class LMResult { public double logProb; //the probability score of given string ...
src/Zaabee.MailKit/Mail.cs
PicoHex/Zaabee.Email
0
7025049
<reponame>PicoHex/Zaabee.Email namespace Zaabee.MailKit; public class Mail { public string? GetFrom { get; private set; } public string? GetSubject { get; private set; } public string? GetBody { get; private set; } public MessagePriority GetMessagePriority { get; private set; } = MessagePriority.Nor...
Assets/Scripts/RotationHoraireProjectileAnimation.cs
TeamAlola/Marshadow
0
7025050
<reponame>TeamAlola/Marshadow<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotationHoraireProjectileAnimation : MonoBehaviour { private float angle; public GameObject rb; // Update is called once per frame void Update () { angle+=400*Time....
Sources/Sandbox.Game/Engine/Multiplayer/MyMultiplayerLobbyClient.cs
cnheider/SpaceEngineers
3,359
7025051
#region Using using Sandbox.Engine.Networking; using Sandbox.Engine.Utils; using Sandbox.Game.Gui; using Sandbox.Game.Multiplayer; using Sandbox.Game.World; using Sandbox.Graphics.GUI; using SteamSDK; using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using VRage; us...
Domain/ScanSheet/InsertDocumentsResponse.cs
iAlexeyProkhorov/Baroque.NovaPoshta.Client
2
7025052
using System; using System.Runtime.Serialization; namespace Baroque.NovaPoshta.Client.Domain.ScanSheet { /// <summary> /// Represents 'insertDocuments' response of 'ScanSheet' model. /// Documentation: https://devcenter.novaposhta.ua/docs/services/55662bd3a0fe4f10086ec96e/operations/556c4786a0fe4f0634657b...
csharp-sqlite/Form1.cs
gmonteeeiro/csharp-sqlite
0
7025053
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Database.Model; using Database.DAL; namespace csharp_sqlite { public partial class Form1 : Form { private CrudCl...
src/MVP.Api/Models/ProfileHighlight.cs
jamesmcroft/MS-MVP-API-PCL
6
7025054
namespace MVP.Api.Models { using System; using Newtonsoft.Json; public class ProfileHighlight { [JsonProperty("Title")] public string Title { get; set; } [JsonProperty("Date")] public DateTime? Date { get; set; } [JsonProperty("DateFormatted")] public string DateFormatted { g...
LcmsSpectator/Utils/IonUtils.cs
PNNL-Comp-Mass-Spec/LCMS-Spectator
4
7025055
<gh_stars>1-10 // -------------------------------------------------------------------------------------------------------------------- // <copyright file="IonUtils.cs" company="Pacific Northwest National Laboratory"> // 2015 Pacific Northwest National Laboratory // </copyright> // <author><NAME></author> // <su...
Text Processing/04.CaesarCipher/Program.cs
Elitsa-Georgieva/SoftUni-CSharp_Fundamentals
0
7025056
<filename>Text Processing/04.CaesarCipher/Program.cs using System; using System.Text; namespace _04.CaesarCipher { class Program { static void Main(string[] args) { //encrypted version of the same text //shifting each character with three positions forward /...
Alipay.AopSdk.Core/Domain/AlipayOpenMiniModelQueryModel.cs
leixf2005/Alipay.AopSdk.Core
0
7025057
<filename>Alipay.AopSdk.Core/Domain/AlipayOpenMiniModelQueryModel.cs using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// AlipayOpenMiniModelQueryModel Data Structure. /// </summary> [Serializable] public class AlipayOpenMiniModelQueryModel : AopObje...
SpriteKitPhysicsCollisions/SpriteKitPhysicsCollisions/Nodes.cs
justinammerlaan/monotouch-samples
1
7025058
using System; using System.Drawing; using MonoTouch.CoreGraphics; using MonoTouch.Foundation; using MonoTouch.SpriteKit; using MonoTouch.UIKit; namespace SpriteKitPhysicsCollisions { // an enum [Flag] could be used but would require more casts public static class Category { public const uint Missile = 0x1 << 0; ...
EvolveSharp/Individuals/IIndividual.cs
afonsof/EvolveSharp
2
7025059
using System; using System.Collections.Generic; namespace EvolveSharp.Individuals { /// <summary> /// Interface to support implementation of several kind of individuals /// </summary> public interface IIndividual<T> : IComparable<IIndividual<T>>, ICloneable { /// <summary> /// Leng...
src/App/Controls/User/UserView.xaml.cs
FlyRenxing/Bili.Uwp
4,168
7025060
// Copyright (c) Richasy. All rights reserved. using System; using System.Threading.Tasks; using Richasy.Bili.ViewModels.Uwp; using Windows.UI.Xaml; namespace Richasy.Bili.App.Controls { /// <summary> /// 用户视图. /// </summary> public partial class UserView : CenterPopup { /// <summary> ...
PomodorTimerDesktop/Actions/TimerUpdate/Session/SessionTimerUpdateAction_ShowNextStart.cs
Fyzxs/PomodoroTimer
0
7025061
<filename>PomodorTimerDesktop/Actions/TimerUpdate/Session/SessionTimerUpdateAction_ShowNextStart.cs<gh_stars>0 using PomodoroTimerLib.Library.Counters; using PomodoroTimerLib.Library.Primitives.Numbers; using PomodoroTimerLib.Library.Timers; namespace PomodorTimerDesktop.Actions.TimerUpdate.Session { internal sea...
AEServerLib/AEServer/Core/Game/IGame.cs
ZoroChain/ApplicationEngine
1
7025063
using AEServer.Session; namespace AEServer.Game { public interface IGame { string name { get; } int serviceThreadIndex { get; } IPlayer getPlayerByID(ulong id); IGameModule getGameModule(string name); bool onSta...
OperatorsAndExpressions/PrimeCheck/Prime.cs
NayaIT/C-
2
7025064
<reponame>NayaIT/C-<filename>OperatorsAndExpressions/PrimeCheck/Prime.cs /*08. Prime Check Write a program that reads an integer N (which will always be less than 100 or equal) and uses an expression to check if given N is prime (i.e. it is divisible without remainder only to itself and 1). Note: You should check if t...
Tojam2018/Assets/Assets/Scripts/SpinObject.cs
Colliflower/Tojam2018
0
7025065
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpinObject : MonoBehaviour { public Vector3 eulerSpin; void Update () { transform.Rotate(eulerSpin * Time.deltaTime); } }
Source/HelixToolkit.SharpDX.Shared/Interface/Interfaces.cs
deisner/helix-toolkit
1
7025066
<filename>Source/HelixToolkit.SharpDX.Shared/Interface/Interfaces.cs /* The MIT License (MIT) Copyright (c) 2018 Helix Toolkit contributors */ using SharpDX; using System; using System.Collections.Generic; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX #else #if CORE namespace HelixToolkit.SharpDX.Core #else names...
System.Runtime.Serialization/System/Runtime/Serialization/SurrogateDataContract.cs
ludovic-henry/referencesource
39
7025067
<filename>System.Runtime.Serialization/System/Runtime/Serialization/SurrogateDataContract.cs //----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- names...
SeriesApp.Data/Migrations/20180403200718_Added_unique_constraint_for_tables_Country_and_ProductionCompany.cs
TeknikhogskolanGothenburg/Ef_Sofia_Zaid_SeriesApp
0
7025068
<filename>SeriesApp.Data/Migrations/20180403200718_Added_unique_constraint_for_tables_Country_and_ProductionCompany.cs using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace SeriesApp.Data.Migrations { public partial class Added_unique_constraint_for_tables_Count...
mono/mcs/class/System.XML/Mono.Xml.Xsl/HtmlEmitter.cs
GrapeCity/pagefx
18
7025069
<gh_stars>10-100 // // HtmlEmitter.cs // // Author: // <NAME> <<EMAIL>> // // (C)2003 <NAME> // // TODO: // indent, uri escape, allowed entity char such as &nbsp;, // encoding to meta tag, doctype-public/doctype-system. // // // Permission is hereby granted, free of charge, to any person obtaining // a...
test/Sloos.Pump.Test/Builder/EdmPropertyBuilder.cs
Bhaskers-Blu-Org2/Sloos
10
7025070
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using System.Data.Entity.Core.Metadata.Edm; using FluentAssertions; using Xunit; namespace Sloos.Pump.Test.Builder { public class EmdPropertyBuilderTest { [Fact] public vo...
Wallet/WalletDashboardList.aspx.cs
DevVES/Sosho_Admin
0
7025071
using System; using System.Data; using WebApplication1; public partial class Wallet_WalletDashboardList : System.Web.UI.Page { dbConnection dbc = new dbConnection(); string id = ""; string dtStart = ""; string dtEnd = ""; protected void Page_Load(object sender, EventArgs e) { if (!IsPo...
src/SpirVGraph/Instructions/OpSource.cs
gleblebedev/SpirVisualEditor
3
7025072
<filename>src/SpirVGraph/Instructions/OpSource.cs using System.Collections.Generic; using SpirVGraph.Spv; namespace SpirVGraph.Instructions { public partial class OpSource: Instruction { public OpSource() { } public override Op OpCode { get { return Op.OpSource; } } public ...
src/Storage.Net/Blobs/IExtendedBlobStorage.cs
alesandrino/storage
522
7025074
<gh_stars>100-1000 using System.Threading; using System.Threading.Tasks; namespace Storage.Net.Blobs { /// <summary> /// Extended blob storage operations that may be supported natively by a provider as are slow otherwise. /// </summary> public interface IExtendedBlobStorage : IBlobStorage { /// <...
glidex.forms/GlideExtensions.cs
jamesmontemagno/glidex
1
7025075
<gh_stars>1-10 using System; using System.IO; using System.Threading; using System.Threading.Tasks; using Android.App; using Android.Views; using Android.Widget; using Bumptech.Glide; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; using static Bumptech.Glide.Glide; namespace Android.Glide { public static...
Old Code/Programming Basics/Old Exams/12. Generate Rectangles/Program.cs
Koceto/SoftUni
2
7025076
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _12.Generate_Rectangles { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int m = int.Parse(Console.Rea...
src/CMS/CMSModules/Forums/Tools/Forums/Forum_List.aspx.cs
JFouts-BlueModus/kentico-contrib
1
7025077
using System; using System.Web.UI.WebControls; using CMS.FormEngine.Web.UI; using CMS.Forums.Web.UI; using CMS.Helpers; using CMS.UIControls; [Action(0, "Forum_List.NewItemCaption", "Forum_New.aspx?groupId={?parentobjectid?}")] public partial class CMSModules_Forums_Tools_Forums_Forum_List : CMSForumsPage...
source/BrockAllen.IdentityReboot.Tests/TestUser.cs
brockallen/BrockAllen.IdentityReboot
39
7025078
using Microsoft.AspNet.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BrockAllen.IdentityReboot.Tests { public class TestUser : IUser { public string Id { get; set; } public string UserName { get; set; } ...
G2H.Api.Web.Tests.Unit/Services/Foundations/Statuses/StatusServiceTests.Validations.RemoveById.cs
imjane5/Glory2Him.Api
0
7025079
<gh_stars>0 // -------------------------------------------------------------------------------- // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT License. // See License.txt in the project root for license information. // FREE TO USE TO HELP SHARE THE GOSPEL // Mark 16:15 NIV "Go into all the wor...
Dumb/SceneUtil.cs
ygsbzr/HollowKnight.DumbEnemy
0
7025080
<filename>Dumb/SceneUtil.cs using USceneManager = UnityEngine.SceneManagement.SceneManager; using UnityEngine; using UnityEngine.SceneManagement; using UObject = UnityEngine.Object; namespace Dumb { public static class SceneUtil { public static List<Scene> GetallScene(bool AddDontdestroy=true) ...
src/AddIns/DisplayBindings/Data/ICSharpCode.Data.EDMDesigner.Core/EDMObjects/CSDL/Property/PropertyBase.cs
dongdapeng110/SharpDevelopTest
11
7025081
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) #region Usings using System; using System.Collections; using System.ComponentModel; using ICSharpCode.Data.EDMDesigner.Core.E...
Simple.OData.Client.Office365.ExampleB/IODataClientExtension.cs
Fabian-Schmidt/Simple.OData.Client.Office365
3
7025082
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Simple.OData.Client.Office365.ExampleB { public static class IODataClientExtension { public static async Task<IEnumerable<IDictionary<string, object>>> FindEntriesOnAllPagesAsy...
Source/Content/GraphQLTemplate/Tests/GraphQLTemplate.IntegrationTest/HealthCheckTest.cs
tomecho/Templates
1
7025083
namespace GraphQLTemplate.IntegrationTest.Controllers { using System.Net; using System.Net.Http; using System.Threading.Tasks; using GraphQLTemplate.IntegrationTest.Fixtures; using Xunit; public class HealthCheckTest : IClassFixture<CustomWebApplicationFactory<Startup>> { private re...
CSharpFunctionalExtensions.Tests/ResultTests/Extensions/TapAsyncLeftTests.cs
mukmyash/CSharpFunctionalExtensions
0
7025084
using FluentAssertions; using System; using System.Threading.Tasks; using Xunit; namespace CSharpFunctionalExtensions.Tests.ResultTests { public class TapAsyncLeft : TestBase { [Theory] [InlineData(true)] [InlineData(false)] public void Tap_AsyncLeft_executes_action_on_result_s...
Assets/Scripts/UI/WorldSelectViewModel.cs
JamesOrrRIT/SF
1
7025085
using RedMoon.ReactiveKit; using System; using System.Collections; using System.Collections.Generic; using UniRx; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UIElements; public class WorldSelectViewModel : ViewModel<WorldSelectViewModel> { [SerializeField] private SaveF...
01 InterfacesAndAbstraction/04. Telephony/Smartphone.cs
nikolaydechev/CSharp-OOP-Advanced
0
7025086
<gh_stars>0 using System.Text.RegularExpressions; namespace _04.Telephony { public class Smartphone : ICallable, IBrowseable { public string Model { get; protected set; } public string Call(string number) { var regex = new Regex("^\\d+$").IsMatch(number); if (!...
source/Calamari.Shared/Integration/FileSystem/ICalamariFileSystem.cs
mikesigs/Calamari
0
7025087
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; namespace Calamari.Integration.FileSystem { public interface ICalamariFileSystem { bool FileExists(string path); bool DirectoryExists(string path); bool DirectoryIsEmpty(string pa...
src/DotNetEBook/Schema/Opf/EpubMetadataCreator.cs
zhumingwu/SCRM
1
7025088
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bzway.DotNetBook.ePub.Schema.Opf { public class EpubMetadataCreator { public string Creator { get; set; } public string FileAs { get; set; } public string Role ...
src/extensions/Statiq.Razor/StatiqDocumentPhase.cs
unchase/Statiq.Framework
1
7025090
using System.Linq; using Microsoft.AspNetCore.Mvc.Razor.Extensions; using Microsoft.AspNetCore.Razor.Language; using Microsoft.AspNetCore.Razor.Language.Intermediate; namespace Statiq.Razor { internal class StatiqDocumentPhase : RazorEnginePhaseBase { private readonly string _baseType; private...
src/Disruptor.Benchmarks/SequencerDispatcherBenchmarks.cs
disruptor-net/Disruptor-net
744
7025091
using BenchmarkDotNet.Attributes; namespace Disruptor.Benchmarks { public class SequencerDispatcherBenchmarks { private const int _operationsPerInvoke = 100; private readonly SingleProducerSequencer _singleProducerSequencer; private readonly ISequencer _sequencer; private reado...
Src/Compilers/Core/Source/DiagnosticAnalyzer/IDiagnosticAnalyzerDeclaration.cs
enginekit/copy_of_roslyn
6
7025092
<reponame>enginekit/copy_of_roslyn<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.CodeAnalysis.Diagnostics { /// <summary> /// Not yet implemented for namespaces. /// </summary> [Obsolete] public...
WebBrowser/Program.cs
KoKoHomask/LCHBLDotNetCore
0
7025093
using CefSharp; using CefSharp.OffScreen; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace WebBrowser { class Program { static int tick =0; static string html = ""; static void Main(str...
src/Microsoft.Health.CosmosDb/Features/Storage/Versioning/CollectionUpgradeManager.cs
d-wall/fhir-server
1
7025094
<filename>src/Microsoft.Health.CosmosDb/Features/Storage/Versioning/CollectionUpgradeManager.cs // ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the r...
src/Services/Discount/Discount.Grpc/Extensions/HostExtensions.cs
ChiaChiaPing/AspnetMicroservices
0
7025095
<reponame>ChiaChiaPing/AspnetMicroservices<filename>src/Services/Discount/Discount.Grpc/Extensions/HostExtensions.cs  using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System.Threading; using Npgsq...
Client/Windows/CraftLibrary/CraftLibraryDrawer.cs
Sladernimo/LunaMultiplayer
0
7025096
<filename>Client/Windows/CraftLibrary/CraftLibraryDrawer.cs using LunaClient.Systems.CraftLibrary; using LunaClient.Systems.SettingsSys; using System; using System.Linq; using UnityEngine; namespace LunaClient.Windows.CraftLibrary { public partial class CraftLibraryWindow { #region Folders pu...
Assets/Scripts/sheildbehvior1.cs
spellbound-game/spellbound
0
7025097
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class sheildbehvior1 : MonoBehaviour { //public Transform location; public bool holding; private GameObject player; private Vector3 pos; private int manapersec; public float timer; public fl...
src/Mix.Cms.Lib/ViewModels/Account/MixAccountHelper.cs
asilmertkan/mix.core
0
7025098
<reponame>asilmertkan/mix.core using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using Mix.Cms.Lib.Constants; using Mix.Cms.Lib.Enums; using Mix.Cms.Lib.Models.Account; using Mix.Cms.Lib.Models.Cms; using Mix.Cms.Lib.Services; using Mix.Common.Helper; using System; using System.Collecti...
src/Microsoft.Spatial/ISpatial.cs
Sreejithpin/odata.net
629
7025099
//--------------------------------------------------------------------- // <copyright file="ISpatial.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //--------------------------------------------...
TheParkingMate/DAL/DTOs/ParkingLotDTO.cs
magicalmysticalcat/the-parking-mate
0
7025100
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using TheParkingMate.DAL.Models; namespace TheParkingMate.DAL.DTOs { [ExcludeFromCodeCoverage] public class ParkingLotDTO { public Guid Id { get; set; } } }
ZWave/Devices/Fibaro/DoorSensor.cs
alexxxz1977/ZWave4Net
48
7025101
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using ZWave.CommandClasses; namespace ZWave.Devices.Fibaro { public class DoorSensor : BatteryDevice { public event EventHandler<EventArgs> TamperDetected; public event EventHandler<EventArgs> Tamp...
src/Bannerlord.ReferenceAssemblies/NuGet/NuGetPackage.Parsing.cs
BUTR/Bannerlord.ReferenceAssemblies
2
7025102
using System.Text.RegularExpressions; namespace Bannerlord.ReferenceAssemblies { internal readonly partial struct NuGetPackage { private static readonly Regex RxSteamAppIdEmbedding = new(@"appId:(\d+)", RegexOptions.CultureInvariant | RegexOptions.Compiled); private static readonly Regex RxStea...
LuaProfilerForUnity/Assets/LuaProfiler/Common/Setting/LuaDeepProfilerSetting.cs
unityyang/LuaProfilerForUnity
3
7025103
<reponame>unityyang/LuaProfilerForUnity<gh_stars>1-10 /* ######### ############ ############# ## ########### ### ###### ##### ### ######...
src/Mvc/Mvc.Abstractions/src/ModelBinding/IBinderTypeProviderMetadata.cs
KellenCarl/aspnetcore
10
7025104
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// <summary> /// Provides a <see cref="Type"/> which implements <see cref="IMo...
src/TelemetryViewer/Helpers/StringToIntConverter.cs
ugcs/ugcs-telemetry-viewer
1
7025105
using Avalonia.Data.Converters; using System; using System.Globalization; namespace UGCS.TelemetryViewer.Helpers { public class StringToIntConverter : IValueConverter { public static int? ConvertBack(string value) { if (string.IsNullOrEmpty(value)) { ret...
SpiceSharp/Attributes/Behaviors/BehaviorRequiresAttribute.cs
dr-vij/SpiceSharp
116
7025106
using System; namespace SpiceSharp.Attributes { /// <summary> /// Indicates that a behavior needs another behavior in order to work. /// </summary> [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)] public class BehaviorRequiresAttribute : Attribute { /// ...
src/Client/Configuration.cs
mauriciogentile/reconfig
0
7025107
using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Reconfig.Configuration { enum Environment { Development, Testing, Staging, Production } class Configuration { public Configuration() { S...
eDriven/eDriven.Gui/Alert/Alert.cs
dkozar/edriven-gui
42
7025108
#region License /* Copyright (c) 2010-2014 <NAME> 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, publi...
Helix.Services/Services/ServiceResponse.cs
JoakimCarlsson/Helix.Bot
0
7025109
<filename>Helix.Services/Services/ServiceResponse.cs #nullable enable using Helix.Services.Abstractions; namespace Helix.Services.Services { public class ServiceResponse<TEntity> : IServiceResponse { public bool Success { get; } public IError? Errors { get; } public TEntity? Entity { ge...
CCIA/Areas/Admin/Views/Tags/Create.cshtml
ucdavis/CCIA
1
7025111
@model CCIA.Models.TagCreateEditViewModel <!-- Org Lookup Modal --> <div class="modal fade" id="lookupOrgModal" tabindex="-1" role="dialog" aria-labelledby="Lookup Orgs" aria-hidden="true"> <div class="modal-dialog modal-lg" role="document"> <div class="modal-content"> <div class="modal-header"> <...
WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OCSController.cs
Key4ce/Websitepanel
3
7025112
<filename>WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OCSController.cs // Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Out...