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
PerformanceExample/Assets/MeshBaker/scripts/MB3_MultiMeshBaker.cs
lmj921/PerformanceExample
0
7034770
//---------------------------------------------- // MeshBaker // Copyright © 2011-2012 <NAME> //---------------------------------------------- using UnityEngine; using System.Collections; using System.Collections.Specialized; using System; using System.Collections.Generic; using System.Text; using ...
Source/FakeItEasy.Tests/EnumerableExtensionsTests.cs
bondsbw/FakeItEasy
0
7034771
<filename>Source/FakeItEasy.Tests/EnumerableExtensionsTests.cs<gh_stars>0 namespace FakeItEasy.Tests { using System.Collections.Generic; using System.Globalization; using System.Linq; using FluentAssertions; using NUnit.Framework; [TestFixture] public class EnumerableExtensionsTes...
src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Responses/GetTransferRequestResponse.cs
SkillsFundingAgency/das-commitments
6
7034772
using SFA.DAS.CommitmentsV2.Types; using System; using System.Collections.Generic; namespace SFA.DAS.CommitmentsV2.Api.Types.Responses { public class GetTransferRequestResponse { public long TransferRequestId { get; set; } public long ReceivingEmployerAccountId { get; set; } public lon...
Git/Util/Hash.cs
kingces95/LfsEx
2
7034773
<filename>Git/Util/Hash.cs using System; using System.IO; using System.Diagnostics; using System.Text.RegularExpressions; using System.Security.Cryptography; using System.Text; using System.Linq; namespace Git { public struct Hash : IEquatable<Hash> { public static implicit operator string(Hash hash) =>...
Assembly-CSharp/UIStretch.cs
larryeedwards/openyan
1
7034774
using System; using UnityEngine; // Token: 0x02000281 RID: 641 [ExecuteInEditMode] [AddComponentMenu("NGUI/UI/Stretch")] public class UIStretch : MonoBehaviour { // Token: 0x0600145D RID: 5213 RVA: 0x0009D9AC File Offset: 0x0009BDAC private void Awake() { this.mAnim = base.GetComponent<Animation>(); this.mRect...
Inventor_SaveFileHandler/PartnumberDialog.xaml.cs
Klaus-fischer/Inventor_SaveFileHandler
0
7034775
<reponame>Klaus-fischer/Inventor_SaveFileHandler // <copyright file="PartnumberDialog.xaml.cs" company="MTL - Montagetechnik Larem GmbH"> // Copyright (c) MTL - Montagetechnik Larem GmbH. All rights reserved. // </copyright> namespace InvAddIn { using System.Collections.Generic; using System.IO; u...
Geometry/Scenes/Controllers/TestScene_08_Controller.cs
eppz/Deprecated.Unity.Library.eppz
1
7034776
using UnityEngine; using System.Collections; using EPPZ.Geometry; using EPPZ.Lines; public class TestScene_08_Controller : MonoBehaviour { // 08 Segment-segment intersection point public Material polygonMaterial; public Material passingMaterial; public float accuracy = 0.0f; public SegmentSource segmentSou...
Data/GarageManager.Domain/Part.cs
TodorChapkanov/Garage-Manager
0
7034777
<reponame>TodorChapkanov/Garage-Manager<gh_stars>0 using GarageManager.Common.GlobalConstant; using System; using System.ComponentModel.DataAnnotations; namespace GarageManager.Domain { public class Part : IDeletableEntity { public Part() { this.Id = Guid.NewGuid().ToString()...
Assets/Scripts/DevEnvironment/NodeInteractions.cs
RyanStonebraker/Calamine
0
7034778
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; public class NodeInteractions : MonoBehaviour { public GameObject collidingObject = null; public int jointBreakForce = 100; public int jointTorqueBreakForce = 100; public string outputFilePath = "Assets/ou...
src/CarModule/TeslaCarCommunicator/Data/VehicleListData.cs
lamentary/SimplyTeslaSharp
9
7034779
<reponame>lamentary/SimplyTeslaSharp using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; namespace SimplTeslaCar.Data { /// <summary> /// POCO of the Vehicle List data retured from Tesla's API /// </summary> internal class VehicleListData ...
Sakura.AspNetCore.Extensions/Sakura.AspNetCore.PagedList/CacheMode.cs
slwangzi/AspNetCore
175
7034780
<filename>Sakura.AspNetCore.Extensions/Sakura.AspNetCore.PagedList/CacheMode.cs using System; namespace Sakura.AspNetCore { /// <summary> /// Define the execution policy for caching features. /// </summary> [Flags] public enum CacheMode { /// <summary> /// Always using real-time calculated data unti...
src/EasyAbp.Abp.DynamicPermission.Application.Contracts/EasyAbp/Abp/DynamicPermission/Permissions/DynamicPermissionPermissionDefinitionProvider.cs
EasyAbp/Abp.DynamicPermission
7
7034781
using EasyAbp.Abp.DynamicPermission.Localization; using Volo.Abp.Authorization.Permissions; using Volo.Abp.Localization; namespace EasyAbp.Abp.DynamicPermission.Permissions { public class DynamicPermissionPermissionDefinitionProvider : PermissionDefinitionProvider { public override void Define(IPermiss...
src/core/DevOpen.ReadModel/LoanApplications/Model/LoanApplicationViewModel.cs
nissbran/collector-open-es
1
7034782
using DevOpen.Domain.Model; using DevOpen.Domain.Model.LoanApplications; namespace DevOpen.ReadModel.LoanApplications.Model { public class LoanApplicationViewModel { public LoanApplicationId Id { get; } public LoanApplicationViewModel(LoanApplicationId id) { Id = id...
src/SDKs/Billing/Management.Billing/Generated/Models/TransactionsSummary.cs
nschonni/azure-sdk-for-net
1
7034783
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
src/Fortu.Mediator/IMessageHandler.cs
KarolDobkowski/Fortu.Mediator
0
7034784
using System.Threading.Tasks; namespace Fortu.Mediator { public interface IMessageHandler<in TMessage, TResult> where TMessage : IMessage<TResult> { Task<TResult> Handle(TMessage message); } public interface IMessageHandler<in TMessage> where TMessage : IMessage { ...
test/Microsoft.SqlTools.ServiceLayer.IntegrationTests/DacFx/DacFxserviceTests.cs
alljamziMS/sqltoolsservice
0
7034785
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Microsoft.Data.SqlClient; using Microsoft.SqlServer.Dac; usin...
src/Keycloak.Net/Common/Converters/PolicyTypeConverter.cs
tung-lin/Keycloak.Net
123
7034786
using System; using System.Collections.Generic; using System.Linq; using Keycloak.Net.Models.Clients; namespace Keycloak.Net.Common.Converters { public class PolicyTypeConverter: JsonEnumConverter<PolicyType> { private static readonly Dictionary<PolicyType, string> SPairs = new Dictionary<PolicyType, ...
FrontlineCodeChallengeGui/Sorting.cs
Jayx239/FrontlineCodeChallengeGui
0
7034787
<reponame>Jayx239/FrontlineCodeChallengeGui using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrontlineCodeChallenge { public static class Sorting { // Enum for setting sort type in PrettyString methods public enum Sor...
Ashirvad-main/Ashirvad.Repo/Services/Area/Notification/Notification.cs
Shail218/Ashirvad
0
7034788
using Ashirvad.Common; using Ashirvad.Data; using Ashirvad.Repo.DataAcceessAPI.Area.Notification; using Ashirvad.Repo.Model; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using static Ashirvad.Common.Common; names...
StreamRegex.Automata/NFA/AnyCharacterNfaState.cs
gfs/StreamRegex
0
7034789
<gh_stars>0 namespace StreamRegex.Lib.NFA; /// <summary> /// Represents the . operator. Accepts anything except '\n'. /// </summary> public class AnyCharacterNfaState : BaseNfaState { public override INfaState[] Transition(char character) => DefaultTransition(character); public override bool Accepts(char char...
VueNET.Cli/ValueObjects/Property.cs
Amine-Smahi/VueNET.Cli
0
7034790
namespace VueNET.Cli.ValueObjects { public class Property { public string Type { get; set; } public string Name { get; set; } public string GetDeclaration() { return "public " + Type + " " + Name + " { get; set; }"; } } }
src/Samples/BingoBuzz/CodeGenHero.BingoBuzz.Xam/CodeGenHero.BingoBuzz.Xam.iOS/CustomRenderers/IconLabelRenderer.cs
attrib75/CodeGenHero
14
7034791
<gh_stars>10-100 using CodeGenHero.BingoBuzz.Xam.Controls; using CodeGenHero.BingoBuzz.Xam.iOS.CustomRenderers; using System; using System.Collections.Generic; using System.Text; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(IconLabel), typeof(IconLabelRenderer))...
FloristSolution/Florist.Business/Concrete/CustomerService.cs
SabaUrgup/Samples-Multi-Layer-Architecture
2
7034792
using Florist.Business.Abstract; using Florist.DataAccessLayer.Context; using Florist.DataAccessLayer.DataTransferObject.CustomerDTO; using Florist.DataAccessLayer.Entity; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Th...
src/ImaPo.UI/ScreenshotUpload/ScreenshotUploadViewModel.cs
pleonex/ImaPo
2
7034793
<gh_stars>1-10 // Copyright (c) 2022 <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, pu...
aspnet-core/src/luna.EntityFrameworkCore/EntityFrameworkCore/lunaDbContext.cs
LunaSusie/luna
0
7034794
using Microsoft.EntityFrameworkCore; using Abp.Zero.EntityFrameworkCore; using luna.Authorization.Roles; using luna.Authorization.Users; using luna.MultiTenancy; namespace luna.EntityFrameworkCore { public class lunaDbContext : AbpZeroDbContext<Tenant, Role, User, lunaDbContext> { /* Define a DbSet fo...
src/Infusio/Http/HttpUtils.cs
Poliez/infusio
6
7034795
using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using System.Web; using LanguageExt; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Infusio.Http { using static Prelude; using static JsonConvert; internal delegate Task<Either<In...
api/src/IA.Finance.Infrastructure/EntityConfigurations/ProjectEntityTypeConfiguration.cs
iagapie/monthly-budget
0
7034796
<filename>api/src/IA.Finance.Infrastructure/EntityConfigurations/ProjectEntityTypeConfiguration.cs<gh_stars>0 using IA.Finance.Domain.AggregatesModel.ProjectAggregate; using IA.Finance.Domain.AggregatesModel.UserAggregate; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; name...
ModDevToolsMod/ReadOnlyLinearDictionary.cs
Tyler-IN/DW2ModLoader
7
7034797
<reponame>Tyler-IN/DW2ModLoader<filename>ModDevToolsMod/ReadOnlyLinearDictionary.cs using System.Collections; using System.Collections.Immutable; namespace ModDevToolsMod; public sealed class ReadOnlyLinearDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue> where TKey : notnull { private readonly Immutabl...
Au.Controls/KScintilla/Sci API.cs
qmgindi/Au
7
7034798
namespace Au.Controls { public static unsafe class Sci { #region au modifications public const int SCI_MARGINSTYLENEXT = 9502; public delegate void Sci_NotifyCallback(void* cbParam, ref SCNotification n); public const int SCI_SETNOTIFYCALLBACK = 9503; public delegate int Sci_AnnotationDrawCallback(void* c...
Kooboo.CMS/Kooboo.eCommerce/Kooboo.CMS.eCommerce/Models/INonRelationEntity.cs
qgate/CMS
1
7034799
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kooboo.CMS.eCommerce.Models { /// <summ...
Leo.CleanUpTasks/SegmentLockerControl.Designer.cs
jessegood/Leo.CleanUpTasks
1
7034800
<reponame>jessegood/Leo.CleanUpTasks<filename>Leo.CleanUpTasks/SegmentLockerControl.Designer.cs namespace Leo.CleanUpTasks { partial class SegmentLockerControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = n...
Noise.Metadata/MetadataProviders/LastFmProvider.cs
bswanson58/NoiseMusicSystem
1
7034801
<reponame>bswanson58/NoiseMusicSystem<filename>Noise.Metadata/MetadataProviders/LastFmProvider.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using CuttingEdge.Conditions; using Noise.Infr...
Agile09/Agile09/EF/OrderProduct.cs
NguyenMinhChau/Agile09
0
7034802
namespace Agile09.EF { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("OrderProduct")] public partial class OrderProduct { public long ID { ...
Aris.Moe.OverlayTranslate.Server.DataAccess.Sqlite/Migrations/20210417114303_UrlChanges.Designer.cs
Amiron49/Aris.Moe.Ocr.Translation.Overlay
6
7034803
// <auto-generated /> using System; using Aris.Moe.OverlayTranslate.Server.DataAccess.Sqlite; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Aris.Moe.Overlay...
MyDHL API REST Library/Objects/Plumbing/Attributes/AWBNumberAttribute.cs
DHL-TarekFadel/MyDHL-API-Reference-Implementation
3
7034804
<gh_stars>1-10 using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace MyDHLAPI_REST_Library.Objects.Plumbing.Attributes { /// <summary> /// Validates AWB Numbers to ensure that they are the correct length and check out /// </summary> public class AW...
src/Cake.Putty/AutoToolSettings.cs
MihaMarkic/Cake.Putty
2
7034805
<gh_stars>1-10 using Cake.Core.Tooling; namespace Cake.Putty { /// <summary> /// Base class for tooling that is used for autogeneration of command line arguments. /// </summary> public abstract class AutoToolSettings: ToolSettings { } }
Sources/Sandbox.Game/Game/Components/MyPositionComponent.cs
cjay42/SpaceEngineers
2
7034806
<gh_stars>1-10 using Sandbox.Common.Components; using Sandbox.Game.Entities; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using VRageMath; using Sandbox.Common; using VRage; using ProfilerShort = VRage.ProfilerShort; using VRage.Utils; namespace Sandb...
WDMedia/Game/StateBasedBasicGame.cs
busyDuckman/WDLib
0
7034808
<reponame>busyDuckman/WDLib /* --------------------------------------------------------------------------------------------------------------------------------------- * (C) 2019, Dr <NAME>. * This file is subject to the terms and conditions defined in the included file 'LICENSE.txt' * --------------------------...
osu.Framework/Configuration/FrameSync.cs
jorolf/osu-framework
0
7034809
// Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE namespace osu.Framework.Configuration { public enum FrameSync { VSync = 1, Limit120 = 0, Unlimited = 2, CompletelyU...
Examples/Src/ConvertingCAD/MeshSupport.cs
aspose-cad/Aspose.CAD-for-.NET
38
7034810
using Aspose.CAD.FileFormats.Cad; using Aspose.CAD.ImageOptions; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Aspose.CAD.Examples.CSharp.ConvertingCAD { class MeshSupport { public static void Run() { //ExStart:MeshSupport string MyDir = RunExamples.GetDa...
NativeClient-UWP-WAM/DirectorySearcher.cs
mobileapps1/active-directory-dotnet-native-uwp-wam-master
17
7034811
<reponame>mobileapps1/active-directory-dotnet-native-uwp-wam-master using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Globalization; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace NativeClient_UWP_WAM { /// <summary> /// ...
sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/AudioAnalysisMode.cs
gjy5885/azure-sdk-for-net
3,268
7034812
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
BusStop/Domain/IO/FileWriter.cs
ExamRepos/BusStop
0
7034813
using System.IO; using System.Threading; using System.Threading.Tasks; using BusStop.Interfaces; namespace BusStop.Domain.IO { internal sealed class FileWriter : IFileWriter { public Task WriteFileAsync(string filePath, string contents, CancellationToken cancellationToken) { return...
App.RegistroFunc/DAL/Interface/IFuncionarioDAL.cs
carsonmars/MVC-Core-CRUD
0
7034814
<reponame>carsonmars/MVC-Core-CRUD<filename>App.RegistroFunc/DAL/Interface/IFuncionarioDAL.cs using App.RegistroFunc.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace App.RegistroFunc.DAL.Interface { public interface IFuncionarioDAL { IEnumerable<Fu...
src/Mmai/Models/GameStatisticsRepository.cs
JakubLinhart/Mmai
0
7034815
using Microsoft.Extensions.Configuration; using System; using System.Linq; using System.Threading.Tasks; namespace Mmai.Models { internal sealed class GameStatisticsRepository : IGameStatisticsRepository { private readonly IGameRepository gameRepository; private readonly ISpeciesRepository spe...
MaterialSkinExample/MaterialForms/UserControls/UCtrlTasksRegion.cs
maikebing/MaterialSkin
1
7034816
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using MaterialSkin.Controls; namespace MaterialSkinExample.MaterialForms { public partial class UCtr...
Assets/MoralisWeb3ApiSdk/Moralis/MoralisDotNet/Platform/Abstractions/IDataCache.cs
jackalstar/Blockchain-game
252
7034817
using System.Collections.Generic; using System.Threading.Tasks; namespace Moralis.Platform.Abstractions { /// <summary> /// An interface for a dictionary that is persisted to disk asynchronously. /// </summary> /// <typeparam name="TKey">They key type of the dictionary.</typeparam> /// <typeparam ...
HRIS.Data/Mapping/ta_CutOffAttendanceSummaryConfiguration.cs
mynrd/HRIS.MVC
0
7034818
using System.Data.Entity.ModelConfiguration; using DatabaseGeneratedOption = System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption; namespace HRIS.Data.Entity { internal class ta_CutOffAttendanceSummaryConfiguration : EntityTypeConfiguration<ta_CutOffAttendanceSummary> { public ta_CutOff...
AzTestReporter/src/AzTestReporter.BuildRelease.Apis/CodeCoverageDataTypes/CodeCoverageModuleDataCollection.cs
loganwol/aztr
0
7034819
<reponame>loganwol/aztr namespace AzTestReporter.BuildRelease.Apis { using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Validation; /// <summary> /// Defines collection of code coverage module data returned from DevOps API. /// </summary> public class Cod...
common/ASC.IPSecurity/IPRestrictionsRepository.cs
jeanluctritsch/CommunityServer
0
7034820
<filename>common/ASC.IPSecurity/IPRestrictionsRepository.cs /* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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....
Fluqi/Widget/jAutoComplete/Options/Options-Setters.cs
toepoke/Fluqi
3
7034821
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; using System.Web.Mvc.Html; using Fluqi.Extension; using Fluqi.Extension.Helpers; namespace Fluqi.Widget.jAutoComplete { /// <summary> /// A set of properties to...
Assignment3IA/Library/PackageCache/com.unity.barracuda@1.0.4/Barracuda/Runtime/Core/Backends/MatrixUtils.cs
LordUnicorn31/AI3
1
7034822
using System; using System.Runtime.InteropServices; using System.Threading.Tasks; using UnityEngine.Assertions; using UnityEngine.Scripting; using Unity.Collections; using Unity.Collections.LowLevel.Unsafe; using Unity.Jobs; namespace Unity.Barracuda { [Preserve] internal class CSharpBLAS : BLASPlugin { ...
C# Fundamentals/C# OOP Basics/Exam Preparation/Need for Speed (Speed Rush)/Entities/Races/DragRace.cs
Koceto/SoftUni
2
7034823
<gh_stars>1-10 public class DragRace : Race { public DragRace(int length, string route, int prizePool) : base(length, route, prizePool) { } public override int GetPerformancePoints(Car car) { return car.EnginePerformance(); } }
src/DotnetSpider/Downloader/ResponseExtensions.cs
sssir/DotnetSpider
1
7034824
using System; using System.Text; using DotnetSpider.Common; using DotnetSpider.Selector; namespace DotnetSpider.Downloader { public static class ResponseExtensions { public static ISelectable ToSelectable(this Response response, ContentType type = ContentType.Auto, bool removeOutboundLinks = true) { var co...
WidgetsApp/Models/IWidgetRepository.cs
training4developers/angular_03142016
0
7034825
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WidgetsApp.Models { public interface IWidgetRepository { IEnumerable<Widget> GetAll(); Widget Get(int id); Widget Add(Widget item); void Remove(int id);...
src/CQSplit/CQSplit.Messaging/Outbox/OutboxToMessageBusEventHandler.cs
ronanmoriarty/cqrs-nu-tutorial
0
7034826
<reponame>ronanmoriarty/cqrs-nu-tutorial using System.Collections.Generic; namespace CQSplit.Messaging.Outbox { public class OutboxToMessageBusEventHandler : IEventHandler { private readonly IOutboxToMessageBusPublisher _outboxToMessageBusPublisher; public OutboxToMessageBusEventHandler(IOutb...
test/RoadCaptain.Tests.Unit/GameState/WhenChangingGameState.cs
sandermvanvliet/RoadCaptain
1
7034827
using System.Collections.Generic; using System.Linq; using FluentAssertions; using RoadCaptain.GameStates; using Xunit; namespace RoadCaptain.Tests.Unit.GameState { public class WhenChangingGameState { private const uint RiderId = 56789; private const int ActivityId = 1234; [Fact] ...
Assets/YumiMediationSDK/Platforms/iOS/YumiSplashClient.cs
JiaDingYi/YumiMediationSDK-Unity
4
7034828
<reponame>JiaDingYi/YumiMediationSDK-Unity #if UNITY_IOS using System; using YumiMediationSDK.Common; using YumiMediationSDK.Api; using System.Runtime.InteropServices; namespace YumiMediationSDK.iOS { public class YumiSplashClient : IYumiSplashClient { private IntPtr splashPtr; private IntPtr...
Assets/WPSystem/Runtime/AssemblyInfos.cs
ReyAnthony/waypoint-system
1
7034829
<reponame>ReyAnthony/waypoint-system<gh_stars>1-10 using System.Runtime.CompilerServices; //this allows to show internals to the editor scripts, but to hide them to the user as they should not use them. #if UNITY_EDITOR [assembly: InternalsVisibleTo("WaypointSystem-editor")] #endif
Jacdac/Constants/RealtimeclockConstants.g.cs
Palomino34/jacdac-dotnet
0
7034830
<filename>Jacdac/Constants/RealtimeclockConstants.g.cs<gh_stars>0 namespace Jacdac { public static partial class ServiceClasses { public const uint RealTimeClock = 0x1a8b1a28; } public enum RealTimeClockVariant: byte { // uint8_t Computer = 0x1, Crystal = 0x2, Cuckoo = 0...
src/FaasNet.Gateway.Core/EventMeshServer/Commands/AddEventMeshServerCommand.cs
simpleidserver/FaasNet
7
7034831
<filename>src/FaasNet.Gateway.Core/EventMeshServer/Commands/AddEventMeshServerCommand.cs using FaasNet.Gateway.Core.EventMeshServer.Queries.Results; using MediatR; namespace FaasNet.Gateway.Core.EventMeshServer.Commands { public class AddEventMeshServerCommand : IRequest<EventMeshServerResult> { publi...
src/Umamimolecule.AzureDurableFunctions.Management/Exceptions/ErrorCodes.cs
umamimolecule/azure-durablefunctions-status
8
7034832
<gh_stars>1-10 namespace Umamimolecule.AzureDurableFunctions.Management.Exceptions { /// <summary> /// Contains the error codes returned in the response body. /// </summary> public static class ErrorCodes { /// <summary> /// The code for when an instance cannot be found. ///...
src/examples/com.mapfre.weixin/Variables.cs
atnet/devfw
13
7034833
 namespace Com.Plugin { internal class Variables { public static string Token; public static string AppId; public static string AppSecret; /// <summary> /// 解密字符串 /// </summary> public static string AppEncodeString; public static string ApiDoma...
SqlOfficeStateProvider/src/Storage.cs
DevExpress/aspnet-office-solutions
40
7034834
<reponame>DevExpress/aspnet-office-solutions<filename>SqlOfficeStateProvider/src/Storage.cs<gh_stars>10-100 using System; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using DevExpress.Web.Office; namespace DevExpress.Web.SqlOfficeStateProvider { public class SqlOfficeStateS...
AutomationpracticeNegativeTests/UserFactory.cs
vshiderova/QA-Automation
0
7034835
<reponame>vshiderova/QA-Automation namespace AutomationpracticeNegativeTests { public class UserFactory { public static UserRegistration CreateValidUser() { return new UserRegistration { RadioButtons = "1", FirstName = "Vanya", ...
Assets/Scripts/UI/Resources/ReagentResource.cs
inoto/td
0
7034836
using System; using TMPro; using UnityEngine; using UnityEngine.UI; namespace TowerDefense { public class ReagentResource : MonoBehaviour { int reagentsCount; TextMeshProUGUI _textMeshPro; void Awake() { _textMeshPro = GetComponentInChildren<TextMeshProUGUI>(); } void Start() { reag...
ServiceStackHub/Thai Resort/Thai Resort/Services/GetWorkoutInfoService.cs
atombryan/ThaiResortFull
0
7034837
using System; using System.Collections.Generic; using System.Linq; using System.Web; using ServiceStack; using Thai_Resort.Repositories; namespace Thai_Resort.Services { public class GetWorkoutInfoService : Service { public UserInfoRepository UserInfoRepository { get; set; } public object Any...
ams/Associator/frmAssociator.cs
zhenghua75/ams
0
7034838
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.Objects; using System.Data.Linq; using System.Data.Linq.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using ams.Common; using System.Linq.Expressions; n...
src/AElf.OS.Network.Grpc/CallContextExtensions.cs
IamWenboZhang/AElf
0
7034839
<reponame>IamWenboZhang/AElf<filename>src/AElf.OS.Network.Grpc/CallContextExtensions.cs using System.Linq; using Grpc.Core; namespace AElf.OS.Network.Grpc { public static class CallContextExtensions { public static string GetPublicKey(this ServerCallContext context) { r...
Plotly.Blazor/LayoutLib/ModeBar.cs
valu8/Plotly.Blazor
0
7034840
<gh_stars>0 /* * THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR */ using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Text.Json.Serialization; namespace Plotly.Blazor.LayoutLib { /// <summary> /// The ModeBar class....
IronFrame.Test/Utilities/EffectiveAccessComputerTests.cs
cloudfoundry/IronFrame
9
7034841
<gh_stars>1-10 using System.Collections.Generic; using System.Linq; using System.Security.AccessControl; using System.Security.Principal; using IronFrame.Win32; using Xunit; namespace IronFrame.Utilities { public class EffectiveAccessComputerTests { private IEffectiveAccessComputer EffectiveAccess { g...
WebformMiniSample/AccountingNote.DBSource/Logger.cs
Seiyo1270/WebformMiniSample
0
7034842
<filename>WebformMiniSample/AccountingNote.DBSource/Logger.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountingNote.DBSource { public class Logger { public static void WriteLog(Exception ex) { thr...
ModelApp/UI/View/Project/Filter/RelativeUI.Designer.cs
sartrey/csharp-quick-model
2
7034843
<filename>ModelApp/UI/View/Project/Filter/RelativeUI.Designer.cs namespace QuickModel3D.UI.Filter { partial class RelativeUI { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。...
Ryujinx.Graphics.GAL/Multithreading/Commands/SetVertexAttribsCommand.cs
BSoDGamingYT/Ryujinx
11,580
7034845
<reponame>BSoDGamingYT/Ryujinx<filename>Ryujinx.Graphics.GAL/Multithreading/Commands/SetVertexAttribsCommand.cs using Ryujinx.Graphics.GAL.Multithreading.Model; using System; namespace Ryujinx.Graphics.GAL.Multithreading.Commands { struct SetVertexAttribsCommand : IGALCommand { public CommandType Comm...
src/parser/ShardingConnector.CommandParser/Value/Identifier/IdentifierValue.cs
xuejmnet/sharding-connector
5
7034846
using ShardingConnector.CommandParser.Constant; using ShardingConnector.CommandParser.Util; namespace ShardingConnector.CommandParser.Value.Identifier { /* * @Author: xjm * @Description: * @Date: 2021/4/10 10:09:27 * @Ver: 1.0 * @Email: <EMAIL> */ public sealed class IdentifierValue : ...
src/Exceptional/QuickFixes/AddExceptionDocumentationFix.cs
fireundubh/ExceptionalReSharper
1
7034847
using System; using JetBrains.Application; using JetBrains.Application.Progress; using JetBrains.DocumentModel; using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.Bulbs; using JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots; using JetBrains.ReSharper.Feature.Services.LiveTemplates.Live...
ZombieGame/ZombieGame/Sprites/BaseSprite.cs
kylefeng28/ZombieGame
0
7034848
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.In...
src/DesktopUI/ViewModels/Auth/RegisterViewModel.cs
krzysztoftalar/instagram
0
7034849
<gh_stars>0 using Caliburn.Micro; using DesktopUI.Commands; using DesktopUI.EventModels; using DesktopUI.Library.Api.User; using DesktopUI.Library.Models; using DesktopUI.ViewModels.Base; using System; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace De...
NetBattle/Field/ScriptFieldEntity.cs
fossabot/NetBattle
0
7034850
using System; using System.Collections.Generic; using System.IO; using MoonSharp.Interpreter; using MoonSharp.Interpreter.Serialization; using NetBattle.Field.Entities; using NetBattle.Field.Events; using NetBattle.Structure; namespace NetBattle.Field { public abstract class ScriptFieldEntity : FieldEntity { ...
tests/Debugosaurus.BigUnits.Moq.Tests/MoqDependencyProviderTests.cs
debugosaurus/BigUnits
0
7034851
<gh_stars>0 using System; using Debugosaurus.BigUnits.Tests; using Moq; using Shouldly; using Xunit; namespace Debugosaurus.BigUnits.Moq.Tests { public class MoqDependencyProviderTests : UnitTest<MoqDependencyProvider> { [Fact] public void CanMockInterfaces() { var result = ...
BasicSyntax-MoreExercises/02.VaporStore/VaporStore.cs
Peter-Georgiev/Programming.Fundamentals
0
7034852
using System; using System.Collections.Generic; class VaporStore { static void Main() { double balance = double.Parse(Console.ReadLine()); string line; string messages = ""; double gamesPrice = 0; double price = balance; bool isExitPay = true; while (i...
P1_Main/Views/Shop/LocationOrderHistoryView.cshtml
12142020-dotnet-uta/P1_JoshRaneri
0
7034853
<filename>P1_Main/Views/Shop/LocationOrderHistoryView.cshtml @model IEnumerable<ModelLayer.Order> @{ ViewData["Title"] = "Location History"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h1>Location Order History</h1> <table class="table"> <thead> <tr> <th> <label> @Ht...
snippets/csharp/VS_Snippets_Wpf/datagrid_customcolumns/csharp/window1.xaml.cs
cston/dotnet-api-docs
2
7034854
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.W...
test/DurableTask.SqlServer.Tests/Utils/TestInstance.cs
cgillum/durabletask-sqlserver
7
7034855
namespace DurableTask.SqlServer.Tests.Utils { using System; using System.Diagnostics; using System.Threading.Tasks; using DurableTask.Core; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Xunit; class TestInstance<T> { readonly TaskHubClient client; readonl...
BrokeredPointOfService/PrinterErrorLevel.cs
apulliam/BrokeredPointOfService
1
7034856
<reponame>apulliam/BrokeredPointOfService // Brokered Point of Service ver. 1.0 // Copyright (c) Microsoft Corporation // All rights reserved. // MIT License // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal ...
src/UrlShortener.Abstractions/Model/ShortenedUrl.cs
steelspace/shortener
1
7034857
using System; namespace UrlShortener.Abstractions.Model { public class ShortenedUrl { public long Id { get; set; } public string Slug { get; set; } public string Url { get; set; } public DateTimeOffset Created { get; set; } public string UserId { get; set; } ...
Assets/GooglePlayGames/Editor/GPGSIOSSetupUI.cs
raju-appxart/stick-jump
0
7034858
<reponame>raju-appxart/stick-jump<filename>Assets/GooglePlayGames/Editor/GPGSIOSSetupUI.cs // <copyright file="GPGSIOSSetupUI.cs" company="Google Inc."> // Copyright (C) 2014 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in c...
PactTest.App2/PactTestAPIClient.cs
alexsandre/PactNetTest
0
7034859
<reponame>alexsandre/PactNetTest using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Text; namespace PactTest.App2 { public class PactTestAPIClient { private readonly HttpClient _client; public PactTestAPIClient(string b...
Assets/ShaderoSprite/Plugins/Editor/Nodes/FX/Generate_Simple3DSphere.cs
Hir-o/Settlers-of-Albion-Project-Files
0
7034860
using UnityEngine; using UnityEditor; using System.IO; using System.Collections; using _ShaderoShaderEditorFramework; using _ShaderoShaderEditorFramework.Utilities; namespace _ShaderoShaderEditorFramework { [Node(false, "RGBA/Generate/3D/Simple Spherize")] public class Generate_Simple3DSphere : Node { ...
MeioMundo.Ferramentas/Internal/Models/Structs.cs
WinterStudios/MeioMundo.Ferramentas
0
7034861
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MeioMundo.Ferramentas.Internal.Models { /// <summary> /// Representa uma estrutura com CxLxA em cm /// </summary> public struct Dimensoes { public float Comprimento...
TEXView/Form1.cs
taarna23/TEXExtract
0
7034862
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics; using System.Drawing.Imaging; using System.Collections; names...
FluentAssertions.Unity/Equivalency/IMatchingRule.cs
Pyroka/FuentAssertions.Unity
0
7034863
using System; using System.Reflection; namespace FluentAssertions.Equivalency { /// <summary> /// Represents a rule that defines how to map the properties from the subject-under-test with the properties /// on the expectation object. /// </summary> [Obsolete("This interface will be removed in a f...
Databases Advanced - Entity Framework/10. Advanced Querying/12. Profit by Category/Program.cs
Javorov1103/SoftUni-Course
1
7034864
using System; using BookShop.Data; using BookShop.Models; using System.Linq; namespace _12._Profit_by_Category { class Program { public static void Main(string[] args) { using(var context = new BookShopContext()) { Console.WriteLine(GetTotalProfitByCateg...
Breaking Changes/BreakingChanges.v4.cs
unitycontainer/regression-tests
0
7034865
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using System; #if NET45 using Microsoft.Practices.Unity; #else using Unity.Injection; using Unity.Lifetime; using Unity; #endif namespace Breaking.Changes { public partial class BreakingChangesV4 { /// <summary> /// Contain...
dotnet-graphloom.UnitTest/src/Core/Configuration/IEntityConfigTest.cs
jiefenn8/dotnet-graphloom
1
7034866
using GraphLoom.Mapper.Configuration; using GraphLoom.Mapper.RDF.Configuration; using NUnit.Framework; namespace GraphLoom.UnitTest.Mapper.Configuration { [TestFixture(typeof(TriplesMap))] public class IEntityConfigTest<T> where T : IEntityConfig, new() { private IEntityConfig _entityConfig; ...
db4o.net/Db4objects.Db4o/Db4objects.Db4o/Internal/Query/Processor/QCandidateBase.cs
iboxdb/db4o-gpl
24
7034867
/* Copyright (C) 2004 - 2011 Versant Inc. http://www.db4o.com */ using System.Collections; using Db4objects.Db4o; using Db4objects.Db4o.Foundation; using Db4objects.Db4o.Internal; using Db4objects.Db4o.Internal.Query.Processor; namespace Db4objects.Db4o.Internal.Query.Processor { public abstract class QC...
src/Mockaco/IMockProvider.cs
okobets/Mocka
179
7034868
using System.Collections.Generic; using System.Threading.Tasks; namespace Mockaco { public interface IMockProvider { List<Mock> GetMocks(); IEnumerable<(string TemplateName, string ErrorMessage)> GetErrors(); Task WarmUp(); } }
src/BaseLibrary/Network/NetworkManager.cs
banlian/csharp-code-snippets
0
7034869
<filename>src/BaseLibrary/Network/NetworkManager.cs<gh_stars>0 using System; using System.Management; namespace BaseLibrary.Network { public class NetworkManager { /// <summary> /// Set's a new IP Address and it's Submask of the local machine /// </summary> /// <p...
source/MikhailKhalizev.Max/source/Program/Auto/z-100a-cb2c.cs
mikhail-khalizev/max
3
7034870
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x100a_cb2c-30f8fef4")] public void Method_100a_cb2c() { ii(0x100a_cb2c, 5); push(0x20); ...
Recrutment/Data/RecrutmentDbContext.cs
Iva-Yorgova/RecruitHub
0
7034871
<gh_stars>0 namespace Recrutment.Data { using Microsoft.EntityFrameworkCore; using Recrutment.Data.Models; public class RecrutmentDbContext : DbContext { public DbSet<User> Users { get; set; } public DbSet<Candidate> Candidates { get; set; } public DbSet<Job> Jobs { get;...