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
Tvl.VisualStudio.InheritanceMargin.Interfaces/MefBindingWorkaround.cs
sharwell/InheritanceMargin
22
7063484
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE.txt in the project root for license information. namespace Tvl.VisualStudio.InheritanceMargin.Interfaces { using System.ComponentModel.Composition; /// <summary> /// This class exists for...
Agents/Xamarin.Interactive/Representations/Reflection/ReflectionRemoting.cs
mono/workbooks
0
7063485
<filename>Agents/Xamarin.Interactive/Representations/Reflection/ReflectionRemoting.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.IO; using System.Linq; using System.Reflection; using System.Collection...
Cloud-Vibe/Utilities/DataAnnotations/BooleanAttribute.cs
tokmac/cloud-vibe
2
7063486
<gh_stars>1-10 namespace Cloud_Vibe.Utilities.DataAnnotations { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; public class BooleanAttribute : ValidationAttribute { public bool Value { get; set; } ...
src/Lucene.Net.Tests.Analysis.Common/Analysis/Synonym/TestMultiWordSynonyms.cs
mdissel/lucene.net
0
7063487
<gh_stars>0 using System; using System.Collections.Generic; namespace org.apache.lucene.analysis.synonym { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ...
backend/Diggel.Logic/Requests/Commands/LoginCommand.cs
Citolab/diggel
0
7063488
using System.Threading.Tasks; using Diggel.Logic.Models; using Diggel.Logic.ViewModels; using Microsoft.Extensions.Configuration; namespace Diggel.Logic.Requests.Commands { public class LoginCommand : Command<LoginResult> { private string adminUserName = string.Empty; private string adminUserP...
src/Enumerations/PageSize.cs
markjulmar/DXPlus
0
7063489
<filename>src/Enumerations/PageSize.cs namespace DXPlus; /// <summary> /// Page sizes in dxa units /// </summary> public static class PageSize { /// <summary> /// A4 width /// </summary> public const double A4Width = 11906.0; /// <summary> /// A4 height /// </summary> public const dou...
Sources/NET4.SrkToolkit.Web/Open/PageInfo.cs
sandrock/SrkToolkit
1
7063490
<filename>Sources/NET4.SrkToolkit.Web/Open/PageInfo.cs<gh_stars>1-10 // // Copyright 2014 SandRock // // 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...
netDxf/Tables/ViewMode.cs
computergeek1507/xModel_Gen
17
7063491
#region netDxf library, Copyright (C) 2009-2016 <NAME> (<EMAIL>) // netDxf library // Copyright (C) 2009-2016 <NAME> (<EMAIL>) // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free S...
src/DarkNet/PaintDocument.cs
dtzxporter/DarkNet
2
7063492
<gh_stars>1-10 using PaintDotNet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DarkNet { /// <summary> /// A class for manipulating a document in Paint.Net /// </summary> public class PaintDocument { internal ...
MonopolySimulation/Model/Gameboard.cs
AmelieFeder/MonopolySimulation
0
7063493
using System; using System.Collections.Generic; namespace Monopoly_Simulation.Model { public class Gameboard { private List<Space> _spaces; public Gameboard(List<Space> spaces) { _spaces = spaces; } public int PositionOfPlayer { get; set; } public...
Telegram.Net.Core/Requests/GetUpdatesStateRequest.cs
steavy29/TLSharp
28
7063494
using System.IO; using Telegram.Net.Core.MTProto; namespace Telegram.Net.Core.Requests { public class GetUpdatesStateRequest : MtProtoRequest { public UpdatesState updatesState { get; private set; } protected override uint requestCode => 0xedd4882a; public override void OnSend(Binary...
NetEasy/NeteaseCloudMusic.Global/Model/LocalMusic.cs
trycatchfinnally/NeteaseCloudMusic
15
7063495
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NeteaseCloudMusic.Global.Model { public class LocalMusic { /// <summary> /// 每一个本地音乐的特定标识符 /// </summary> public long Id { get ...
InversionOfControlContainer/BuildUp/IBuildUp.cs
middas/InversionOfControlContainer
0
7063496
using System; namespace InversionOfControlContainer.BuildUp { public interface IBuildUp { /// <summary> /// Attempts to create an instance of the given type /// </summary> /// <param name="type">The type of object to create</param> /// <returns>A new instance of type T<...
XamarinNativeExamples.Droid/Binders/EditTextFilterBinding.cs
jeromemanzano/XamarinNativeExamples
0
7063497
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Android.Text; using Android.Widget; using Java.Lang; using MvvmCross.Binding; using MvvmCross.Binding.Bindings.Target; using Object = Java.Lang.Object; namespace XamarinNativeExamples.Droid.Binders { public class EditTextF...
src/SemanticUrlParser/GitLab/GitLabUrlParser.RemoteUrl.cs
ap0llo/semantic-url-parser
0
7063498
<reponame>ap0llo/semantic-url-parser using System; using System.Diagnostics.CodeAnalysis; using Grynwald.SemanticUrlParser.Utilities; namespace Grynwald.SemanticUrlParser.GitLab { public sealed partial class GitLabUrlParser { /// <summary> /// Parses the specified git remote url. /// S...
src/Platformus.Barebone/BareboneExtension.cs
uQr/Platformus
0
7063499
<reponame>uQr/Platformus<filename>src/Platformus.Barebone/BareboneExtension.cs // Copyright © 2015 <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNetCore.Bui...
Amaranth.Engine/Classes/Dungeon/Town/Town.cs
LambdaSix/Amaranth
92
7063500
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Bramble.Core; using Amaranth.Util; namespace Amaranth.Engine { /// <summary> /// <see cref="IDungeonGenerator"/> for generating the town level. /// </summary> [Serializable] public class To...
vOld/Engine/MiniEngine.Pipeline.Models/Factories/TransparentModelFactory.cs
roy-t/MiniRTS
104
7063501
using Microsoft.Xna.Framework.Graphics; using MiniEngine.Pipeline.Basics.Components; using MiniEngine.Pipeline.Models.Components; using MiniEngine.Systems; using MiniEngine.Systems.Containers; using MiniEngine.Systems.Factories; namespace MiniEngine.Pipeline.Models.Factories { public sealed class TransparentModel...
test/Stove.Tests.SampleApplication/Domain/Entities/Message.cs
mehrdad-shokri/Stove
157
7063502
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Stove.Domain.Entities.Auditing; namespace Stove.Tests.SampleApplication.Domain.Entities { [Table(nameof(Message))] public class Message : FullAuditedEntity { protected Message() { ...
system/system/FormChart.cs
mingzhaochina/aicwps-pspicker
2
7063503
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.Windows.Forms; using Renci.SshNet; namespace system { public partial class FormChart : WeifenLuo.WinFormsUI.Docking.DockContent...
Assets/Scripts/CombatScripts/Bar.cs
SamuelKnox/Fitachi
0
7063504
using UnityEngine; using System.Collections; public class Bar : MonoBehaviour { bool goingUp; [SerializeField] int maxX, minX; [SerializeField] float speed; float tempX; bool isMoving; // Use this for initialization void Start () { minX = -5; maxX = 5; isMoving...
src/CCWindow.cs
mhbsti/CocosSharp
1
7063505
<gh_stars>1-10 using System; using System.Diagnostics; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace CocosSharp { public class CCWindow { public static string EVENT_PROJECTION_CHANGED = "window_projection_changed"; public sta...
source/ParticleFxPlayer/Helpers/MemoryAccess.cs
LfxB/ParticleFxPlayer
4
7063506
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using GTA.Math; namespace Memory { /// <summary> /// Credits to CamxxCore. IQ 195 /// </summary> internal static class MemoryAccess { public sealed class Pattern { ...
Source/CodeCompletion/Outracks.CodeCompletion.CodeNinja.Tests/Loggers/ILogger.cs
mortend/fuse-studio
324
7063508
<gh_stars>100-1000 using System; namespace Outracks.CodeNinja.Tests.Loggers { public interface ILogger { void TestStarted(int count, string displayName); void TestPassed(string displayName); void TestFailed(string displayName, Exception e); void LogMessage(string message); ...
src/Plurto.Portable/Entities/User.cs
pH200/chronoplurk-wp
0
7063509
<reponame>pH200/chronoplurk-wp using System; using Newtonsoft.Json; using Plurto.Converters; using Plurto.Core; namespace Plurto.Entities { [JsonObject(MemberSerialization.OptIn)] public sealed class User { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("display_na...
JadeAndrewIsit420HW4/JadeAndrewIsit420HW4/SalesPersonTable.cs
afwilson42/isit420_spring2021_hw04
0
7063510
<gh_stars>0 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is ...
LCLDemo/LCL.WebMvc/Views/Home/About.cshtml
luomingui/LCLFramework
53
7063511
<filename>LCLDemo/LCL.WebMvc/Views/Home/About.cshtml @{ ViewBag.Title = "关于LCLWebMvcDemo项目"; } <!-- Docs page layout --> <div class="bs-docs-header" id="content" tabindex="-1"> <div class="container"> <h1>项目简介</h1> <p> LCL Web Mvc是一个基于.NET开发的企业级应用程序,目的在于演示领域驱动设计在.NET开发中的应用。</p> </di...
Server/Models/Account.cs
QuinntyneBrown/VideoOnDemandApi
0
7063512
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VideoOnDemandApi.Server.Models { public class Account : BaseEntity { public Account() { this.Profiles = ...
src/BaristaLabs.Skrapr.Core/NavigationFailedException.cs
BaristaLabs/BaristaLabs.Skrapr
11
7063513
namespace BaristaLabs.Skrapr { using System; /// <summary> /// Exception that is thrown when an expected navigation fails. /// </summary> [Serializable] public class NavigationFailedException : Exception { public NavigationFailedException() { } public Navig...
src/Aurelia-AspNet/Controllers/BaseApiController.cs
lfoust/Aurelia-AspNet
0
7063514
namespace AureliaAspNet.Controllers { using System.Linq; using System.Security.Claims; using Microsoft.AspNet.Mvc; public class BaseApiController : Controller { protected string GetLoggedInUserId() { if (User == null) { return null; ...
schema_comparator_cli/Program.cs
atlesp/dotnetgraphql-schema_comparator
0
7063515
using CommandLine; using Newtonsoft.Json; using schema_comparator; using System; using System.Collections.Generic; using System.IO; namespace schema_comparator_cli { class Program { static void Main(string[] args) { CommandLine.Parser.Default.ParseArguments<Options>(args) ...
AutoSniper.ClientWPF/Services/Models/DepthModel.cs
pengpercy/AutoSniper
1
7063516
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AutoSniper.ClientWPF.Services.Models { /// <summary> /// 市场深度 /// </summary> public class DepthModel { /// <summary> /// 卖方深度 [价格,交易量] ...
Geckofx-Core/WebIDL/Generated/BluetoothLeDeviceEvent.cs
CharlesZHENG/Geckofx
0
7063517
namespace Gecko.WebIDL { using System; public class BluetoothLeDeviceEvent : WebIDLBase { public BluetoothLeDeviceEvent(nsISupports thisObject) : base(thisObject) { } public nsISupports Device { g...
tests/TurnerSoftware.BuildVersioning.Tests/Tool/VersionDetailsProviderTests.cs
TurnerSoftware/BuildVersioning
10
7063518
using System.Collections.Generic; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using TurnerSoftware.BuildVersioning.Tool; namespace TurnerSoftware.BuildVersioning.Tests.Tool { [TestClass] public class VersionDetailsProviderTests { private static IEnumerable<object[]> Get...
SMAStudiovNext/Core/Editor/Completion/CompletionResult.cs
icanos/SMAStudio
11
7063519
using System.Collections.Generic; using ICSharpCode.AvalonEdit.CodeCompletion; namespace SMAStudiovNext.Core.Editor.Completion { public class CompletionResult { public CompletionResult(IList<ICompletionData> completionData) { CompletionData = completionData; } publ...
aliyun-net-sdk-waf-openapi/Waf_openapi/Model/V20180117/DescribeAclRulesResponse.cs
pengweiqhca/aliyun-openapi-net-sdk
572
7063520
<filename>aliyun-net-sdk-waf-openapi/Waf_openapi/Model/V20180117/DescribeAclRulesResponse.cs<gh_stars>100-1000 /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ...
modules/pricer/src/test/java/com/opengamma/strata/pricer/model/SabrInterestRateParametersTest.cs
ckarcz/Strata.ConvertedToCSharp
0
7063521
<filename>modules/pricer/src/test/java/com/opengamma/strata/pricer/model/SabrInterestRateParametersTest.cs /* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.pricer.model { //JAVA TO C# CONVERTER TODO T...
PLAY/PLAY/Program.cs
magverla/myPlayground
1
7063522
<gh_stars>1-10 using PLAY.Taschenrechner.MitFloatRechnen; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PLAY { class Program { static void Main(string[] args) { CalcWithFloat c = new CalcWithFloat(); ...
src/Ubiquitous.Metrics.Dogstatsd/StatsdConfigurator.cs
RagingKore/metrics
10
7063523
<filename>src/Ubiquitous.Metrics.Dogstatsd/StatsdConfigurator.cs using System; using System.Reflection; using JetBrains.Annotations; using StatsdClient; using Ubiquitous.Metrics.Internals; using Ubiquitous.Metrics.Labels; namespace Ubiquitous.Metrics.Dogstatsd { /// <summary> /// Datadog StatsD metrics configu...
OrderService/Program.cs
yellow456434/DotNetCore-Microservice-poc
0
7063524
<reponame>yellow456434/DotNetCore-Microservice-poc using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extens...
src/Converters/FFmpegWrapper.cs
olgrea/YtoMp3
0
7063525
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Net.Http; using System.Text; using System.Text.Json; using System.Threading.Tasks; using MyYoutubeNow.Utils; using FFMpegCore; using Instances; namespace MyYoutubeNow.Converters { class FF...
Assets/Scripts/PlayerHealth.cs
VelandelStudio/War-In-The-Garden
2
7063527
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using PicaVoxel; using UnityEngine; namespace VelandelPiracyHill { /// <summary> /// Heal Behavior of a player /// When it reaches 0, the player Die /// </summary> public class PlayerHealth : Photon.PunBehaviour { ...
src/service/Microsoft.UnifiedRedisPlatform.Service/SharedKernel/Common/Storage/ConfigurationEntity.cs
microsoft/UnifiedRedisPlatform.Core
4
7063528
<reponame>microsoft/UnifiedRedisPlatform.Core<gh_stars>1-10 using Microsoft.WindowsAzure.Storage.Table; namespace Microsoft.UnifiedPlatform.Service.Common.Storage { public class ConfigurationEntity: TableEntity { public bool IsBlob { get; set; } public string Value { get; set; } } }
BayiPuan.MvcWebUi/Views/Shared/_Languages.cshtml
keremvaris/NewGenFramework
33
7063529
<li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li>@Html.ActionLink("Türkçe", "ChangeCulture", "Home", new { lang = "tr-TR", returnUrl = this.Request.RawUrl }, null)</li> <li>@Html....
Newsweek/Tests/Handlers/Newsweek.Handlers.Queries.Tests/News/SearchNewsQueryHandlerTests.cs
itplamen/Newsweek
0
7063530
namespace Newsweek.Handlers.Queries.Tests.News { using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Xunit; using Newsweek.Data; using Newsweek.Handlers.Queries.News.Search; using Newsweek.Tests.Common.Database; public class SearchNewsQuer...
ChinookASPNETCore3APINTier/Chinook.DataMock/Repositories/TrackRepository.cs
technavi/ChinookASPNETCore3APINTier
38
7063531
using System.Collections.Generic; using Chinook.Domain.Repositories; using Chinook.Domain.Entities; namespace Chinook.DataMock.Repositories { public class TrackRepository : ITrackRepository { public void Dispose() { } public List<Track> GetAll() => new List<Track> ...
TesseractEngine-SDL2/SDL/Services/Pixels.cs
Zekrom64/TesseractEngine
0
7063532
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tesseract.Core.Graphics; namespace Tesseract.SDL.Services { /// <summary> /// The SDL pixel service is a support class for conversion between <see cref="PixelFormat"/> and /// <see...
sdk/src/Services/LakeFormation/Generated/Model/StorageOptimizer.cs
dariolingotti/aws-sdk-net
1,705
7063533
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
source/Calamari.Shared/Integration/Certificates/WindowsNative/SafeCertStoreHandle.cs
tfly0072/Calamari
198
7063534
<gh_stars>100-1000 #if WINDOWS_CERTIFICATE_STORE_SUPPORT using System; using Microsoft.Win32.SafeHandles; namespace Calamari.Integration.Certificates.WindowsNative { internal class SafeCertStoreHandle : SafeHandleZeroOrMinusOneIsInvalid { private SafeCertStoreHandle() : base(true) { }...
Assets/Scripts/Gameplay/Spells/SnowballSpawner.cs
DeusIntra/Snowball-Fight
0
7063535
using System.Collections; using UnityEngine; public class SnowballSpawner : MonoBehaviour { public float baseForce; public float forceSpread; public float positionSpread = 5f; public GameObject snowballPrefab; public void Cast(float durationSeconds) { StartCoroutine(CastCoroutine(du...
P24.UnitTest/Przelewy24Tests.cs
HSBallina/przelewy24-sdk
1
7063536
<reponame>HSBallina/przelewy24-sdk using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Configuration; using System.Threading.Tasks; namespace P24.UnitTest { [TestClass] public class Przelewy24Tests { private readonly Przelewy24 _przelewy24; private readonly int _...
src/core/Authorization Management/Client/Permission.cs
egyptianbman/Keycloak.Net
0
7063537
<filename>src/core/Authorization Management/Client/Permission.cs using Flurl.Http; using System.Collections.Generic; using System.Threading.Tasks; using Keycloak.Net.Model.AuthorizationManagement; using System; namespace Keycloak.Net { /// <remarks> /// Manage authorization permissions for client. <br/> /...
src/Ipfs/IpfsBitSwapStat.cs
lvermeulen/net-ipfs-api
58
7063538
using System; using System.Collections.Generic; namespace Ipfs { public class IpfsBitSwapStat : IEquatable<IpfsBitSwapStat> { public int ProvideBufLen { get; set; } public object Wantlist { get; set; } public List<MultiHash> Peers { get; set; } public int BlocksReceived { ge...
arpg_prg/Fantasy/Assets/Code/Core/Editor/Menus/BuildGameWindow/BuilderBase.cs
rusmass/wealthland_client
0
7063539
<filename>arpg_prg/Fantasy/Assets/Code/Core/Editor/Menus/BuildGameWindow/BuilderBase.cs using UnityEngine; using UnityEditor; using System; using System.IO; using UnityEditor.SceneManagement; namespace Core.Menus { public abstract class BuilderBase { public static BuilderBase Create (BuildTarget buildTarget)...
Source/Bus.Tests.Grains.Interfaces/IPersistentGrain.cs
hambroz/Orleans.Bus
2
7063540
using System; using System.Linq; using System.Threading.Tasks; namespace Orleans.Bus { [Serializable, Immutable] public class SetValue : Command { public readonly int Value; public SetValue(int value) { Value = value; } } [Serializable...
ExperimentalTools.Tests/Features/TypeDeclaration/TypeAndDocumentNameAnalyzerTests.cs
dzimchuk/experimental-tools
20
7063541
using ExperimentalTools.Roslyn.Features; using ExperimentalTools.Roslyn.Features.TypeDeclaration; using ExperimentalTools.Tests.Infrastructure.Diagnostics; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Generic; using System.Threading.Tasks; using Xunit; namespace Exp...
ManageCourse.Core/DTOs/FullAppUser.cs
hdh-se/classroom-api
0
7063542
<gh_stars>0 using ManageCourse.Core.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ManageCourse.Core.DTOs { public class FullAppUser: AppUser { public FullAppUser(AppUser user) { Id = user.Id; ...
Sources/Boards/Board.cs
Eudaemonal/Battleship_State_Tracker
0
7063543
<reponame>Eudaemonal/Battleship_State_Tracker<filename>Sources/Boards/Board.cs<gh_stars>0 using BattleshipStateTracker.Sources.Ships; using BattleshipStateTracker.Utils; using System; using System.Collections.Generic; using System.Linq; namespace BattleshipStateTracker.Sources.Boards { public class Board{ ...
src/Dnc.Spider/Abstractions/ISpider.cs
gainorloss/Dnc.Core
13
7063544
using AngleSharp.Dom; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Dnc.Spider { /// <summary> /// The interface of spider. /// </summary> public interface ISpider { Task StartAsync(params string[] urls); } }
src/ApplicationLogicSpecification/Automation/IRepositoryEvolution.cs
grzesiek-galezowski/nhotspot
0
7063545
<gh_stars>0 using System; using NHotSpot.ApplicationLogic; namespace ApplicationLogicSpecification.Automation { public interface IRepositoryEvolution { void Add(Change change); void CommitChanges(); void Commit(Action<DirProxy> action); } }
src/nomoretrolls/Workflows/PeriodRange.cs
tonycknight/nomoretrolls
0
7063546
namespace nomoretrolls.Workflows { internal abstract class PeriodRange { protected PeriodRange(int count, TimeSpan duration) { Count = count; Duration = duration; } public int Count { get; set; } public TimeSpan Duration { get; set; } pu...
code/test/Templates.Test/GenTests/LanguageComparisonTests.cs
contentcollectivemarketing/WindowsTemplateStudio
1
7063547
<filename>code/test/Templates.Test/GenTests/LanguageComparisonTests.cs // 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; using System.Collections.Gener...
NewsmanLib/NewsmanLib/Common.cs
Newsman/Dynamics-CRM-Newsman
3
7063548
using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Query; using NewsmanLib.APIHelper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NewsmanLib { internal static class Common { public static string GetParamValue(IOrganization...
Foundation/WindowsControls/WPF/CarSettingsControl/ITyreSettingsViewModel.cs
plkumar/SecondMonitor
0
7063549
<reponame>plkumar/SecondMonitor namespace SecondMonitor.WindowsControls.WPF.CarSettingsControl { using DataModel.BasicProperties; public interface ITyreSettingsViewModel { string CompoundName { get; set; } bool IsGlobalCompound { get; } Temperature FrontMinimalIdealTyreTe...
Object-Oriented-Programming/05. OOP-Principles-Part-2/01. Shapes/01.Shapes.cs
Camyul/Modul_1
0
7063550
<reponame>Camyul/Modul_1 namespace Shapes { using System; using System.Collections.Generic; class Shapes { static void Main() { List<Shape> listShape = new List<Shape> //Create list of Shapes { new Rectangle(4,5), new Triangle(4,5...
Assets/DLLInjection/Scripts/Editor/InjectorImplementations/InsertLogInjector.cs
m1stm4o/Helloworld
0
7063551
 namespace DLLInjection { using System; using System.Linq; using System.Reflection; using Mono.Cecil; using Mono.Cecil.Cil; using UnityEngine; [ImplementationOf(typeof(InsertLogAttribute))] public class InsertLogInjector : InjectorImplementation { MethodInfo debugLogMethod; ...
src/LODTerrainData.cs
moto2002/tianzi_src2
0
7063552
using com.snailgames.chosen.scene.library; using System; using System.IO; using UnityEngine; public class LODTerrainData { public int heightmapResolution = 32; public int splatmapResolution = 64; public Vector3 size = Vector3.zero; public Splat[] splats; public int segmentsW = 16; public int segmentsH = 16;...
GenderPayGap.WebUI/Views/Viewing/Finder/Parts/NoResults.cshtml
uk-gov-mirror/cabinetoffice.gender-pay-gap
2
7063553
<div id="SearchResults" class="govuk-body"> <span>Try searching again using a different:</span> <br /> <ul class="govuk-list govuk-list--bullet"> <li> spelling </li> <li> employer type </li> <li> employer name (sometimes...
src/workbench/XyrusWorx.Runtime.ComputeShaderTest/Program.cs
xyrus02/runtime
0
7063554
<filename>src/workbench/XyrusWorx.Runtime.ComputeShaderTest/Program.cs<gh_stars>0 using System; using System.Threading; using XyrusWorx.Diagnostics; using XyrusWorx.Runtime.Computation; using XyrusWorx.Runtime.Expressions; using XyrusWorx.Runtime.Imaging; namespace XyrusWorx.Runtime.ComputeShaderTest { class Program...
ResourceStaticAnalysis/src/UnitTests/TestObjectStructure/SampleResourceCollection.cs
theryee/Resource-Static-Analysis
6
7063555
/* * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. * See LICENSE in the project root for license information. */ using System; using System.Collections.Generic; namespace Microsoft.ResourceStaticAnalysis.UnitTests.TestObjectStructure { /// <summary> /// A class...
Project/pages/selectPage.xaml.cs
school-math-project/csharp-project
0
7063556
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
Packages/com.s-schoener.asmexplorer/Editor/Profiler/ScrewItProfiler.cs
sakano/unity-asm-explorer-package
13
7063557
using System; using System.Collections.Generic; using System.IO; using Unity.Collections; using UnityEditor; using UnityEditor.UIElements; using UnityEngine; using UnityEngine.UIElements; namespace AsmExplorer.Profiler { class ScrewItProfiler : EditorWindow { ProfilerTrace m_Trace; bool m_Has...
src/mono/mono/tests/bug-575941.cs
pyracanda/runtime
9,402
7063558
using System; using System.Threading; using System.Reflection; using System.Reflection.Emit; public class Tests { public static int Main (String[] args) { AssemblyName assemblyName = new AssemblyName (); assemblyName.Name = "foo"; AssemblyBuilder assembly = Thread.GetDomain ().DefineDynamicAssembly ( ...
OAuthApp/Services/OpenIdOAuthGrantValidator.cs
geffzhang/IdentityServer4.MicroService
13
7063559
using OAuthApp.Data; using IdentityServer4.Models; using IdentityServer4.Validation; using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; namespace OAuthApp.Services { public class OpenIdOAuthGrantValidator : IExtensionGrantValidator { public string GrantType => "open...
Net45/Mature.Socket/Compression/GZip.cs
AelousDing/Mature.WPF
0
7063561
<filename>Net45/Mature.Socket/Compression/GZip.cs using System.IO; using System.IO.Compression; using System.Text; namespace Mature.Socket.Compression { public class GZip : ICompression { public byte[] Compress(string content, Encoding encoding) { byte[] data = encoding.GetBytes(co...
test/Advent2017/Day02Test.cs
benjymous/AdventOfCode
0
7063562
<reponame>benjymous/AdventOfCode<gh_stars>0 using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AoC.Advent2017.Test { [TestCategory("2017")] [TestClass] public class Day02Test { string input = Util.GetInput<Day02>(); [TestCategory("Test")] [DataRow("5\t1\t9\t5\n7\t5\t...
src/Models/Entity/PermissionMap.cs
yswenli/WebBaseFrameV2
3
7063563
<reponame>yswenli/WebBaseFrameV2 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WebBaseFrame.Models { public partial class PermissionMap { Menu _Menu = new Menu(); public Menu Menu { get { if (thi...
EZDiscuss/UserControls/ucSendEmailInvite.ascx.cs
arnoldgh/ezdiscuss
0
7063564
<filename>EZDiscuss/UserControls/ucSendEmailInvite.ascx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; namespace EZDiscuss.UserControls { public partial class ucSendEmailInvite : System.Web.UI.UserCon...
src/BuildingBlocks/Extensions/Reflection/Extensions.Reflection/TypeExtensions.cs
hypnot1c/ParkingSpace
0
7063566
using System; using System.Linq; namespace Extensions.Reflection { public static class TypeExtensions { public static bool InheritsFrom(this Type type, Type baseType) { // null does not have base type if (type == null) { return false; } // only interface or object can...
Api/Todo/Helpers/PagedList.cs
PillowMetal/Todo
0
7063567
using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using Microsoft.AspNetCore.Http; using static System.Text.Encodings.Web.JavaScriptEncoder; using static System.Text.Json.JsonNamingPolicy; using static System.Text.Json.JsonSerializer; namespace Todo.Helpers { public class ...
tests/UnitTest1.cs
wli3/format
0
7063568
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using Xunit; namespace tests { public class UnitTest1 { [Fact] public void Test1() { } } }
Com.ChinaPalmPay.Platform.RentCar/Com.ChinaPalmPay.Platform.RentCar.Model/UserGroup.cs
gp15237125756/Remaining
0
7063569
<filename>Com.ChinaPalmPay.Platform.RentCar/Com.ChinaPalmPay.Platform.RentCar.Model/UserGroup.cs using System; using System.Collections.Generic; using System.Data.Linq.Mapping; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Com.ChinaPalmPay.Platform.RentCar.Model { [Table(Name = "T_...
App.xaml.cs
koaf/FocusTreeAndEventManagerJP
0
7063570
using System; using System.CodeDom; using System.Windows; using System.Runtime.ExceptionServices; using FocusTreeManager.Helper; namespace FocusTreeManager { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { //Log only if not in debug ...
src/LDZ.Coinbase.Api/Options/CoinbaseApiOptionsExtensions.cs
ldalonzo/coinbase-api
0
7063571
using LDZ.Coinbase.Api.Net; using Microsoft.Extensions.Options; namespace LDZ.Coinbase.Api.Options { public static class CoinbaseApiOptionsExtensions { public static OptionsBuilder<CoinbaseApiOptions> UseProduction(this OptionsBuilder<CoinbaseApiOptions> configureOptions) => configureOptio...
test/TodoList.Tests/Controllers/HomeControllerTests.cs
svillamonte/mongo-todo
0
7063572
<reponame>svillamonte/mongo-todo<filename>test/TodoList.Tests/Controllers/HomeControllerTests.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Moq; using TodoList.Controllers; using TodoList.Models; using TodoList.Services;...
Assets/Scripts/Debug/JoystickDebugger.cs
in7jhub/project-landfill-vsliced-demo-2
0
7063573
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using TMPro; public class JoystickDebugger : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IDragHandler { const int dataLen = 4; [SerializeField] public TextMeshPro...
SchoolApp.Domain/Entities/Shared/BaseEntity.cs
BrenonOrtega/Csharp-School-HexagonalArchtecture
0
7063574
<gh_stars>0 using System; namespace SchoolApp.Domain.Entities.Shared { public abstract class BaseEntity : IEntity { public int Id { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime ModifiedAt { get; set; } = DateTime.UtcNow; } }
tests/Silverback.Core.Model.Tests/Messaging/Publishing/CommandPublisherTests.cs
igorgiovannini/silverback
1
7063575
<gh_stars>1-10 // Copyright (c) 2020 <NAME> // This code is licensed under MIT license (see LICENSE file for details) using System; using System.Threading.Tasks; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using Silverback.Messaging.Publishing; using Silverback.Tests.Core.Model.TestTypes.M...
PuzzleCollection/PuzzleCollection/Games/SameGame/SameGameUI.cs
jetelain/puzzles8
0
7063576
<filename>PuzzleCollection/PuzzleCollection/Games/SameGame/SameGameUI.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PuzzleCollection.Games.SameGame { public class SameGameUI : UIBase { internal Same...
Models/Data/CompanyCar.cs
GschwindSoftware/lighthouse-examples-net
0
7063577
using System; namespace Gschwind.Lighthouse.Example.Models.Data { /// <summary> /// Dienstwagen /// </summary> public record CompanyCar : PlanData { /// <summary> /// Neuwert /// </summary> public double OriginalValue { get; init; } ...
src/IxMilia.Dwg/DwgVersionId.cs
ixmilia/dwg
27
7063578
<reponame>ixmilia/dwg<gh_stars>10-100 using System; namespace IxMilia.Dwg { public enum DwgVersionId { R13, R14, Default = R14 } public static class DwgVersionIdExtensions { public const string R13String = "AC1012"; public const string R14String = "AC1014";...
Unity/Queues/Assets/Scripts/Console.cs
juscelinotanaka/Queues
0
7063579
<reponame>juscelinotanaka/Queues<filename>Unity/Queues/Assets/Scripts/Console.cs using UnityEngine; using UnityEngine.UI; public class Console : MonoBehaviour { private static Console i; public RectTransform contentArea; public GameObject[] linePrefab; public ScrollRect scroll; private bool alwa...
FantasyCritic.Lib/Domain/Results/DropResult.cs
AndrewKralovec/FantasyCritic
28
7063580
using System.Collections.Generic; using System.Linq; using CSharpFunctionalExtensions; namespace FantasyCritic.Lib.Domain.Results { public class DropResult { public DropResult(Result result, bool willNotRelease) { Result = result; WillNotRelease = willNotRelease; ...
server/ERNI.PBA.Server.Host/Startup.cs
ERNICommunity/ERNI-Personal-Budget-Application
1
7063581
using System.Collections.Generic; using System.Reflection; using Autofac; using ERNI.PBA.Server.DataAccess; using ERNI.PBA.Server.DataAccess.Repository; using ERNI.PBA.Server.Domain.Interfaces.Export; using ERNI.PBA.Server.Domain.Interfaces.Services; using ERNI.PBA.Server.Host.Auth; using ERNI.PBA.Server.Host.Filters; ...
SCP-087/Library/PackageCache/com.unity.services.core@1.3.1/Runtime/Core.Internal/Registry/CoreRegistryInitializer.cs
ASlugin/Homework-2sem
1
7063582
using System; using System.Collections.Generic; using System.Threading.Tasks; using NotNull = JetBrains.Annotations.NotNullAttribute; namespace Unity.Services.Core.Internal { /// <summary> /// Helper object to initialize all <see cref="IInitializablePackage"/> registered in a <see cref="CoreRegistry"/>. //...
Standard/essentialMix.Threading/FileSystem/FileSystemWatcherSettings.cs
asm2025/asm
0
7063583
using System; using System.IO; using System.Threading; using essentialMix.Extensions; using essentialMix.Helpers; using JetBrains.Annotations; namespace essentialMix.Threading.FileSystem { public struct FileSystemWatcherSettings { private string _filter; public FileSystemWatcherSettings(string path) : this(...
src/services/src/tooling/models/ToolProfile.cs
0xCM/z0
0
7063584
//----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; [Record(TableId)] public struct ToolProfile { pub...
06. C# OOP Advanced/Generics Exercises/04. Generic Swap Method Integer/StartUp.cs
flyelmos/Software-University
1
7063585
<filename>06. C# OOP Advanced/Generics Exercises/04. Generic Swap Method Integer/StartUp.cs namespace _04.Generic_Swap_Method_Integer { using System; using System.Linq; public class StartUp { public static void Main() { int linesCount = int.Parse(Console.ReadLine()); ...
Net.Torrent/BEncode/BString.cs
l0nley/Net.Torrent
4
7063586
<filename>Net.Torrent/BEncode/BString.cs using System; using System.Linq; using System.Text; namespace Net.Torrent.BEncode { public class BString : IBEncodedObject { /// <inheritdoc/> public BEncodeType Type => BEncodeType.String; internal byte[] _bytes { get; private set; } p...
src/IShell.cs
spaceflint7/daedgaem
0
7063587
<gh_stars>0 namespace com.spaceflint { // -------------------------------------------------------------------- // shell main interface public interface IShell { void Alert (string msg, bool abort = true); // byte[] ReadFile (string name); IVideo Video { get; } IInput...