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
MicroSiteMaker.Models/Page.cs
ScottLilly/MicroSiteMaker
2
7040027
<filename>MicroSiteMaker.Models/Page.cs using System.Text.RegularExpressions; using MicroSiteMaker.Core; namespace MicroSiteMaker.Models; public class Page : IHtmlPageSource { private readonly FileInfo _fileInfo; private string FileName => _fileInfo.Name; private string FileNameWithoutExtension => ...
src/Dataline.SocialInsurance.Germany.Messages.Pocos/BEA/KuendigungDurch.cs
dataline/SocialInsurance.Germany.Messages
2
7040028
// <copyright file="KuendigungDurch.cs" company="DATALINE GmbH &amp; Co. KG"> // Copyright (c) DATALINE GmbH &amp; Co. KG. All rights reserved. // </copyright> namespace SocialInsurance.Germany.Messages.Pocos.BEA { /// <summary> /// Durch wen oder was wurde das Arbeitsverhältnis beendet? /// </summary> ...
Packages/AssetUtility/Documentation/UnityMarkdownViewer.cs
Zumwani/AssetUtility
0
7040029
using System.Linq; using UnityEditor; using UnityEditor.PackageManager; namespace AssetUtility.Documentation { static class UnityMarkdownViewer { const string cloneUri = "https://github.com/Zumwani/UnityMarkdownViewer.git"; public const string repoUri = "https://github.com/gwaredd/UnityMarkd...
Tocapagar/Tocapagar.Android/ApplicationActivity.cs
Sergiojoel9877/Tocapagar
0
7040030
<filename>Tocapagar/Tocapagar.Android/ApplicationActivity.cs using System; using Android.App; using Android.Runtime; using Shiny; using Tocapagar.Services; namespace Tocapagar.Droid { [Application] public class ApplicationActivity : ShinyAndroidApplication<BackgroundJobStartup> { public Applicatio...
Web/AYN.Web.ViewModels/Ads/CreateAdInputModel.cs
georgidelchev/AYN-
28
7040031
<reponame>georgidelchev/AYN-<filename>Web/AYN.Web.ViewModels/Ads/CreateAdInputModel.cs using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using AYN.Data.Models.Enumerations; using Microsoft.AspNetCore.Http; using static AYN.Common.AttributeConstraints; namespace AYN.Web.ViewModels.Ads; ...
control-unity-vr/Assets/Scripts/TriggerCue.cs
paulbaniqued/BCI-VR-Robot_Integration
0
7040032
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TriggerCue : MonoBehaviour { public Animator LeftAnimator; public Animator RightAnimator; GameObject LeftArrow; GameObject RightArrow; GameObject FixationCross; float trialTime = 4; void Awake() ...
Other/Wire/ByteArrayKeyComparer.cs
VictorTzeng/SimpleBinary
5
7040033
using System.Collections.Generic; namespace Wire { /// <summary> /// By default ByteArrayKey overrides "public bool Equals(object obj)" to do comparisons. /// But this causes boxing/allocations, so by having a custom comparer we can prevent that. /// </summary> public class ByteArrayKeyComparer : ...
src/Microsoft.TemplateEngine.Core/Util/Token.cs
khalidabuhakmeh/templating
1,247
7040034
<reponame>khalidabuhakmeh/templating // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.TemplateEngine.Core.Matching; namespace Microsoft.TemplateEngine.Core.Util { public class Token : TerminalBase { ...
Assets/TurnOrderRule.cs
BakersDozenBagels/KTANEBadgers
0
7040036
<reponame>BakersDozenBagels/KTANEBadgers<filename>Assets/TurnOrderRule.cs using System.Collections.Generic; using System.Linq; using RNG = UnityEngine.Random; namespace BadgerBoss { public class TurnOrderRule : Rule { private int _mode; private Trigger _triggerA, _triggerB; public sta...
src/Burrow.Tests/Extras/Internal/PriorityBurrowConsumerTests/MethodWhenChannelShutdown.cs
telerik/Burrow.NET
2
7040037
using System; using System.Threading; using Burrow.Extras.Internal; using Microsoft.VisualStudio.TestTools.UnitTesting; using NSubstitute; using RabbitMQ.Client; using RabbitMQ.Client.Events; // ReSharper disable InconsistentNaming namespace Burrow.Tests.Extras.Internal.PriorityBurrowConsumerTests { [TestClass] ...
Base-Helicopter-Controller/Library/PackageCache/com.unity.mathematics@0.0.12-preview.10/Unity.Mathematics/uint2.gen.cs
koszoru-kristof/Myo_EMG-GestureRecognition
1
7040038
<filename>Base-Helicopter-Controller/Library/PackageCache/com.unity.mathematics@0.0.12-preview.10/Unity.Mathematics/uint2.gen.cs<gh_stars>1-10 // GENERATED CODE using System.Runtime.CompilerServices; #pragma warning disable 0660, 0661 namespace Unity.Mathematics { public partial struct uint2 : System.IEquatable<uin...
IdSort/GenericFile.cs
mitchfizz05/IdSort
0
7040039
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Windows.Forms; namespace IdSort { public class GenericFile : IContextMenu { /// <summary> /// Current path on the file system. /// </summary> public string Path; /// <summary> ...
DesigenModel/StrategyPattern.cs
yueyuehe/DbContextScope
8
7040040
using System; using System.Collections.Generic; using System.Text; namespace DesignPattern { /* * 策略模式 */ /// <summary> /// 策略的抽象 /// </summary> public interface IStrategy { object Operation(); } /// <summary> /// 拥有这种策略的类 /// </summary> public class C...
src/IPlanting.cs
derekmorr/Library-Succession
0
7040041
<gh_stars>0 using System.Collections.Generic; using Landis.SpatialModeling; namespace Landis.Library.Succession { /// <summary> /// The form of reproduction that represents the planting of trees after /// a harvest. /// </summary> public interface IPlanting : IFormOfReproduction { ...
Assets/Dynamic Text Localisation/Demo/Scripts/DemoUIManager.cs
Ivanhanden/Two-Colors
0
7040042
using nl.DTT.LanguageManager.SceneObjects; using nl.DTT.Utils.Enums; using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; using System.Collections; public class DemoUIManager : MonoBehaviour { /// <summary> /// DropDown for selecting Language /// </su...
Assets/Board Game Assets/Scripts/Board Game/Board State/Init Implementations/BoardTurnInit.cs
TrampaAleksa/Space-Board-Game
0
7040043
<filename>Assets/Board Game Assets/Scripts/Board Game/Board State/Init Implementations/BoardTurnInit.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class BoardTurnInit : MonoBehaviour, IBoardStateInitializer { public void SavePlayerState(GameObject player, Play...
src/Nest/Aggregations/Metric/ValueCount/ValueCountAggregation.cs
stevejgordon/elasticsearch-net
1
7040044
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using Elasticsearch.Net.Utf8Json; namespace Nest { [InterfaceDataContract] [ReadAs(typeof(ValueCountAggregation...
Source/DafnyLanguageServer/Language/DafnyProgramVerifier.cs
Microsoft/Dafny
31
7040045
<filename>Source/DafnyLanguageServer/Language/DafnyProgramVerifier.cs using Microsoft.Boogie; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Dafny.LanguageSe...
WebApp/LibraryLoadContext.cs
tbebekis/AspNetCore-3x-RCL-plugins
3
7040046
using System; using System.Reflection; using System.Runtime.Loader; namespace WebApp { /// <summary> /// A custom assembly load context /// <para>SEE: https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support </para> /// </summary> public class LibraryLoadContext: As...
Src/Entity.DataAccess/Entity/EntityDetailSPConfig.cs
goodtocode/Entities
1
7040047
using GoodToCode.Framework.Data; using GoodToCode.Framework.Entity; using System.Collections.Generic; using System.Data.SqlClient; namespace GoodToCode.Entity { /// <summary> /// Entity detail /// </summary> public class EntityDetailSPConfig : EntityConfiguration<EntityDetail> { /// <summar...
VS2013/Chapter_15/JimmysComics/JimmysComics/SuspensionManager.cs
nickchobotar/HeadFirstC
147
7040048
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JimmysComics { using Windows.Storage; class SuspensionManager { public static string CurrentQuery { get; set; } private const strin...
Assets/Scripts/Utilities/ReplayAudioDelay.cs
intns/Project-404
2
7040049
<filename>Assets/Scripts/Utilities/ReplayAudioDelay.cs /* * ReplayAudioDelay.cs * Created by: Ambrosia * Created on: 14/3/2020 (dd/mm/yy) * Created for: needing to replay audio after a set amount of time */ using UnityEngine; public class ReplayAudioDelay : MonoBehaviour { [Header ("Components")] [SerializeF...
EWorkplaceAbsensiService.Lib/Services/Projects/ProjectService.cs
Martinus123S/id.co.moonlay-eworkplace-attendance-service
0
7040050
<gh_stars>0 using EWorkplaceAbsensiService.Lib.Helpers.IdentityService; using EWorkplaceAbsensiService.Lib.Models; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; us...
WorkDayCalculatorException.cs
Gheifr/MS-Dynamics-CRM-Developer
0
7040051
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSharpTest { public class WorkDayCalculatorException : Exception { public WorkDayCalculatorException() : base(){} public WorkDayCalculatorException(string message) : ba...
Assets/Scripts/SubSystem/SuperInputSystem/SuperInputSystem.cs
Minstreams/Hometopia
3
7040052
using System.Collections; using System.Collections.Generic; using GameSystem.Setting; using UnityEngine.InputSystem; using UnityEngine.InputSystem.EnhancedTouch; namespace GameSystem { /// <summary> /// SuperInputSystem,顶层玩家操作封装 /// 通过Operator作为Controller控制场景 /// </summary> public class SuperInputS...
Assets/Scripts/WrapAroundMap.cs
MrErdalUral/Zen-Man
0
7040053
<reponame>MrErdalUral/Zen-Man<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class WrapAroundMap : MonoBehaviour { void Awake() { } private void OnTriggerExit2D(Collider2D collision) { var difVector = (collision.transform.position - transf...
src/PetClinic/PetClinic.Application/MedicalRecords/IDoctorRepository.cs
stefanMinch3v/DomainDrivenDesignArchitecture
1
7040054
namespace PetClinic.Application.MedicalRecords { using Common.Contracts; using Domain.MedicalRecords.Models; using Queries.AllDoctors; using Queries.DoctorDetails; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; public interface IDoctorRepository...
src/projects/timesheets/Timesheets.Web/Features/_ViewImports.cshtml
mitsbits/NoBorg
1
7040055
<filename>src/projects/timesheets/Timesheets.Web/Features/_ViewImports.cshtml @using Borg @using Borg.MVC.BuildingBlocks @using System @using System.Threading.Tasks @using Borg.MVC.BuildingBlocks.Contracts @using Timesheets.Web.Infrastructure @using Timesheets.Web.ViewComponents @inject IApplicationUserSession UserSes...
WBS99/Assets/ZestKit/Collections/TweenParty.cs
buddingmonkey/WBS99
0
7040056
using UnityEngine; using System; using System.Collections.Generic; namespace Prime31.ZestKit { /// <summary> /// helper class for managing a series of simultaneous tweens. An important item to note here is that the delay, /// loop values and ease/animation curve should be set on the TweenParty and that the sub-tw...
C#/Phase5/SampleLibrary/SampleLibrary/Writer.cs
Star-Academy/Team5-Codes
3
7040057
using Castle.Core.Internal; using System; using System.Collections.Generic; namespace SampleLibrary { public class Writer { public void Write(HashSet<string> result) { foreach (string str in result) { Console.WriteLine(str); } if...
tests/Cadru.Net.Tests/Http/UriSchemeTests.cs
scottdorman/cadru
53
7040058
<filename>tests/Cadru.Net.Tests/Http/UriSchemeTests.cs //------------------------------------------------------------------------------ // <copyright file="UriSchemeTests.cs" // company="<NAME>" // library="Cadru"> // Copyright (C) 2001-2020 <NAME>. // </copyright> // // <license> // Licensed under the Microso...
src/SharpSvn.Tests/Commands/InheritedPropertyList.cs
matherm-aboehm/SharpSvn
17
7040059
<gh_stars>10-100 using System; using System.Collections.ObjectModel; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using Assert = NUnit.Framework.Assert; using Is = NUnit.Framework.Is; using SharpSvn.TestBuilder; namespace SharpSvn.Tests.Commands { [TestClass] public class InheritedPro...
Assets/Scripts/AnimationController.cs
Game-Bubble/Run-Transformer
0
7040060
using UnityEngine; public class AnimationController : MonoBehaviour { [SerializeField] Animator _animator; readonly int _runId = Animator.StringToHash("Run"); public void PlayRunAnimation(bool shouldPlay) { _animator.SetBool(_runId, shouldPlay); } }
Ryujinx.Graphics.GAL/Multithreading/CommandHelper.cs
Dbo-Kt69/Ryujinx
2
7040061
<gh_stars>1-10 using Ryujinx.Graphics.GAL.Multithreading.Commands; using Ryujinx.Graphics.GAL.Multithreading.Commands.Buffer; using Ryujinx.Graphics.GAL.Multithreading.Commands.CounterEvent; using Ryujinx.Graphics.GAL.Multithreading.Commands.Program; using Ryujinx.Graphics.GAL.Multithreading.Commands.Renderer; using R...
Services/TheBedstand.Services.Data/AuthorsService.cs
betsovIT/TheBedstand
0
7040062
namespace TheBedstand.Services.Data { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CloudinaryDotNet.Actions; using Microsoft.EntityFrameworkCore; using TheBedstand.Common.Helpers; using TheBedstand.Data.Common.Repositories; using TheBedstand....
Visual Studio Product Team/Visual Studio 2010 SDK Samples/[C++]-Visual Studio 2010 SDK Samples/Sample setup program for shell applications/C# and C++/C#,C++/PhotoStudio/Dsl/GeneratedCode/Serializer.cs
zzgchina888/msdn-code-gallery-microsoft
2
7040063
<gh_stars>1-10 //****************************************************************** // // Copyright (c) Microsoft Corporation. All rights reserved. // This code is licensed under the Visual Studio SDK license terms. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ...
CauldronMods/Controller/Environments/SuperstormAkela/Cards/ScatterburstCardController.cs
SotMSteamMods/CauldronMods
12
7040064
<filename>CauldronMods/Controller/Environments/SuperstormAkela/Cards/ScatterburstCardController.cs using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; using Handelabra; using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Cauldron.Su...
Packages/com.unity.addressables@1.19.4/Runtime/Initialization/CleanBundleCacheOperation.cs
FengSiyuan92/AddressablesTest
0
7040065
<reponame>FengSiyuan92/AddressablesTest<filename>Packages/com.unity.addressables@1.19.4/Runtime/Initialization/CleanBundleCacheOperation.cs #if ENABLE_CACHING using System.Collections.Generic; using System.IO; using System.Threading; using UnityEngine.AddressableAssets.ResourceLocators; using UnityEngine.Assertions; us...
BrewCrew/BrewCrewDB/Models/Manager.cs
201019-UiPath/FoleyBrian-Project0
0
7040066
// using System.Collections.Generic; // using System; // namespace BrewCrewDB.Models // { // public class Manager: User // { // public string BreweryID {get;set;} // public Brewery Brewery {get;set;} // // "first name", "last name", "email", "password breweryId" // public void ...
Assets/Scripts/HOMEWORK SCRIPTS/FireEffects.cs
Zpook/GDevCourse_Homework3-1
0
7040067
<reponame>Zpook/GDevCourse_Homework3-1 using System.Collections; using System.Collections.Generic; using UnityEngine; public class FireEffects : TransformEffects { [SerializeField] List<TransformEffects> _effects; [SerializeField] bool _onStart,_repeat,_onTrigger; [SerializeField] float _repe...
WebBackgroundJobs/WebBackgroundJobsManagerImpl.cs
jdeshin/OneScript-AspNetEngine
6
7040068
// Copyright (c) <NAME> 2018 // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using ScriptEngine.Machine; using ScriptEngine.Machine.Contexts; using ScriptEngine.HostedScript.Library; namespace OneScript.HTTPService { [ContextClass("МенеджерФоновых...
Overlay/Hook/DX9/DXOverlayEngine.cs
redbaty/ETS2.Brake
3
7040069
<filename>Overlay/Hook/DX9/DXOverlayEngine.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; using Overlay.Elements; using Overlay.Extensions; using Overlay.Hook.Common; using Overlay.Toolkit; using SharpDX; using SharpDX.Dire...
LogicEntity/Interface/Selector/IOn.cs
Jet-Li-Glow/LogicEntity
0
7040070
<filename>LogicEntity/Interface/Selector/IOn.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LogicEntity.Operator; namespace LogicEntity.Interface { public interface IOn: IWhere { public IJoin On(Condition condition); } }...
src/Orient/Orient.Console/TestConnection.cs
emman-ok/OrientDB-NET.binary
0
7040071
<reponame>emman-ok/OrientDB-NET.binary<gh_stars>0 using Orient.Client; namespace Orient.Console { public static class TestConnection { private static string _hostname = "127.0.0.1"; private static int _port = 2424; private static string _username = "admin"; private sta...
src/Grappachu.Apps.SolutionCloner.IO/Components/FileManager.cs
grappachu/apps.solutioncloner
1
7040072
using Grappachu.Apps.SolutionCloner.Engine.Interfaces; using Grappachu.Core.IO; namespace Grappachu.Apps.SolutionCloner.Engine.Components { public class FileManager : IFileManager { /// <summary> /// Clones the whole folder <paramref name="sourceFolder" /> into <paramref name="tartgetFolde...
DWGitsh.Extensions/Commands/Git/Status/GitStatusParser.cs
DavidWise/DWGitSH
1
7040073
<filename>DWGitsh.Extensions/Commands/Git/Status/GitStatusParser.cs using System; using System.Collections.Generic; using DWGitsh.Extensions.Models; namespace DWGitsh.Extensions.Commands.Git.Status { public class GitStatusParser : GitCommandParserBase<GitStatus> { public GitStatusParser(IGitCommand co...
resharper/resharper-unity/src/CSharp/Feature/Respeller/ReSharper/ZoneMarker.cs
terrorizer1980/resharper-unity
0
7040075
<filename>resharper/resharper-unity/src/CSharp/Feature/Respeller/ReSharper/ZoneMarker.cs using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.Features.ReSpeller; using JetBrains.VsIntegration.Shell.Zones; namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Respeller { [ZoneMa...
Capstone2 Prac/Assets/Scripts/GroundCheck.cs
SirBrect/TimeTower
0
7040077
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GroundCheck : MonoBehaviour { public CharacterMovement player; int layerMask; RaycastHit hit; public bool usingRay = true; public float distance = 0.6f; // Start is called before the first frame update ...
src/LightBDD.Core/Extensibility/Execution/IScenarioDecorator.cs
LightBDD/LightBDD
240
7040078
using System; using System.Threading.Tasks; using LightBDD.Core.Execution; namespace LightBDD.Core.Extensibility.Execution { /// <summary> /// Interface describing scenario execution extension that can be used by LightBDD to decorate scenario execution. /// </summary> public interface IScenarioDecorato...
C#Development/Database/DatabasesAdvanced/Workshop/TeamBuilder.Models/Team.cs
stoyanov7/SoftwareUniversity
9
7040079
namespace TeamBuilder.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class Team { public Team() { this.EventTeams = new List<TeamEvent>(); this.Invitations = new List<Invitation>(); this.User...
Product/Zentity.Web.UI/App_GlobalResources/Resources.designer.cs
jdm7dv/Zenity
1
7040080
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
src/EFCore.Relational/Metadata/IRelationalModel.cs
Potapy4/EntityFrameworkCore
2
7040081
// 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.Collections.Generic; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastructure; namespace Microsoft.EntityFrameworkC...
test/Swifty.Tests/Services/Codecs/Metadata/ThriftServiceMetadataTest.cs
endink/Thrifty
81
7040082
using Thrifty.Services.Metadata; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace Thrifty.Tests.Services.Codecs.Metadata { public class ThriftServiceMetadataTest { // Passes because only a single ancestor class/interface declares @...
DotNet/DotNet/UE4/Generated/LiveLinkInterface/LiveLinkSourceSettings.cs
UE4DotNet/Plugin
2
7040083
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; #pragma warning disable CS01...
test/Accounts.Web.Tests/Controllers/BaseControllerTest.cs
CWISoftware/accounts
5
7040084
using Microsoft.AspNet.TestHost; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace Accounts.Web.Tests.Controllers { public class BaseControllerTest { internal rea...
Configurator/MainWindow.xaml.cs
edoipi/TemplePlus
69
7040085
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Windows; using IniParser; using IniParser.Model; using System.Reflection; using System.Diagnostics; namespace TemplePlusConfig { /// <summary> /// Interaction logic for MainWin...
FluentTime.Tests/DateTimeCreationTest.cs
duelinmarkers/FluentTime
23
7040086
// Copyright 2011 ThoughtWorks, Inc. See LICENSE.txt for licensing info. using System; using NUnit.Framework; using NUnit.Framework.SyntaxHelpers; namespace FluentTime.Tests { [TestFixture] public class DateTimeCreationTest { [Test] public void Creates_dates_readably_with_month_methods () { Assert.That(1.J...
TDD.Repository.Interfaces/IRepository.cs
komsky/TDD
0
7040087
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TDD.Repository.Interfaces { public interface IRepository { bool IsUsedPassword(string newPassword); } }
src/MAVN.Job.NuGetReferencesScanner/Models/RefsScannStatisticsModel.cs
LykkeBusiness/MAVN.Job.NuGetReferencesScanner
0
7040088
namespace MAVN.Job.NuGetReferencesScanner.Models { public sealed class RefsScanStatisticsModel { public string Statistics { get; set; } public string Status { get; set; } } }
src/StockTradingSystem.Client/ViewModel/Control/UserStockInfoViewModel.cs
NothinX/StockTradingSystem
1
7040089
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Messaging; using GalaSoft.MvvmLight.Views; using StockTradingSystem.Client.Model.Info; using StockTradingSystem.Core.Model; using static StockTradi...
src/War3Net.Modeling/Enums/FaceType.cs
YakaryBovine/War3Net
70
7040090
<reponame>YakaryBovine/War3Net // ------------------------------------------------------------------------------ // <copyright file="FaceType.cs" company="Drake53"> // Licensed under the MIT license. // See the LICENSE file in the project root for more information. // </copyright> // ----------------------------------...
Examples/CSharp/ModifyingAndConvertingImages/SupportOfDPISettingsInPdfOptions.cs
aspose-imaging/Aspose.Imaging-for-.NET
24
7040091
//----------------------------------------------------------------------------------------------------------- // <copyright file="SupportOfDPISettingsInPdfOptions.cs" company="Aspose Pty Ltd" author="<NAME>" date="31.07.2019 12:51:44"> // Copyright (c) 2001-2012 Aspose Pty Ltd. All rights reserved. // </copyright>...
OpenNefia.Core/UI/Wisp/WispControl.Properties.cs
OpenNefia/OpenNefia
38
7040092
using System; using System.Collections.Generic; using System.Linq; namespace OpenNefia.Core.UI.Wisp { public partial class WispControl { private Dictionary<AttachedProperty, object?>? _attachedProperties; /// <summary> /// Gets the value of an attached property on this control. ...
UI/BlueLotus.UI/Views/Journal/JournalBack.cshtml
Charith424/ToDoApplication
0
7040093
<filename>UI/BlueLotus.UI/Views/Journal/JournalBack.cshtml @{ ViewBag.Title = ViewBag.ObjCaptn; Layout = "~/Views/Shared/_LayOutWithLatestKendoScript.cshtml"; } <link rel="stylesheet" href="~/buttncss/style/cssNew.css" type="text/css" /> <div> <div class="k-content clearfix" id="filterCont"> <div...
Content.Client/GameObjects/Components/Suspicion/SuspicionRoleComponent.cs
PrPleGoo/space-station-14
0
7040094
<filename>Content.Client/GameObjects/Components/Suspicion/SuspicionRoleComponent.cs #nullable enable using System.Collections.Generic; using System.Linq; using Content.Client.UserInterface; using Content.Client.UserInterface.Suspicion; using Content.Shared.GameObjects.Components.Suspicion; using Robust.Client.GameObje...
src/NetStreams/Internal/Exceptions/MalformedMessageException.cs
joelbrinkley/NetStreams
3
7040096
<filename>src/NetStreams/Internal/Exceptions/MalformedMessageException.cs using System; using System.Runtime.Serialization; namespace NetStreams.Internal.Exceptions { [Serializable] public class MalformedMessageException : Exception { public MalformedMessageException() { } ...
sapitalk/Program.cs
k896951/sapitalk
0
7040097
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using SpeechLib; namespace sapitalk { class Program { private static Dictionary<int, SpObjectToken> SpeakerList = null; private static int Speed = 0; private static int Volume ...
Assets/PennyPixel/Scripts/PhysicsObject.cs
gellios3/VisualProgramming
0
7040098
<reponame>gellios3/VisualProgramming using System.Collections.Generic; using UnityEngine; using UnityEngine.Serialization; namespace PennyPixel.Scripts { public class PhysicsObject : MonoBehaviour { [FormerlySerializedAs("minGroundNormalY")] public float MinGroundNormalY = .65f; [Form...
tests/Tusk.Api.Tests/Common/FakeFactory.cs
fossabot/tusk-ms
0
7040099
<filename>tests/Tusk.Api.Tests/Common/FakeFactory.cs using System; using System.Collections.Generic; using AutoMapper; using Tusk.Api.Infrastructure; namespace Tusk.Api.Tests.Common { public static class TestFactory { public static IDateTime GetDtInstance() { return new TestDateTime...
GekkoAssembler.Common/DataSections/Float64DataSection.cs
CryZe/GekkoAssembler
10
7040100
using System; namespace GekkoAssembler.DataSections { public sealed class Float64DataSection : GekkoDataSection<double> { public override byte[] Data => BitConverter.GetBytes(Value).SwapEndian64(); public Float64DataSection(int address, double value) : base(address, value) { } ...
Terminal.Gui/Windows/Dialog.cs
KDERazorback/gui.cs
0
7040101
// // Dialog.cs: Dialog box // // Authors: // <NAME> (<EMAIL>) // using System; using System.Collections.Generic; using NStack; namespace Terminal.Gui { /// <summary> /// The <see cref="Dialog"/> <see cref="View"/> is a <see cref="Window"/> that by default is centered and contains one /// or more <see cref="Bu...
src/_DomainDriven/Framework.DomainDriven.DTOGenerator.TypeScript/CodeTypeReferenceService/ProjectionObservableCodeTypeReferenceService.cs
Luxoft/BSSFramework
18
7040102
namespace Framework.DomainDriven.DTOGenerator.TypeScript.CodeTypeReferenceService { /// <summary> /// Observable projection code type reference service /// </summary> /// <typeparam name="TConfiguration">The type of the configuration.</typeparam> public class ProjectionObservableCodeTypeRefer...
Assets/Scripts/AbilityBar.cs
dnnkeeper/UnityBasicRPG
0
7040103
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class AbilityBar : MonoBehaviour { public Button abilityButtonSample; Dictionary<Button, Ability> abilityButtons = new Dictionary<Button, Ability>(); List<GameObject> abilityButtonsObjects = new L...
Panoptes/Rfb/Protocol/EncodingType.cs
devcken/Argos
1
7040104
namespace Argos.Panoptes.Rfb { /// <summary> /// Framebuffer에 대한 인코딩 타입 열거자 /// 현재는 Raw 타입만 사용한다. /// </summary> enum EncodingType : int { Raw = 0, CopyRect = 1, RRE = 2, Hextile = 5, ZRLE = 16, Cursor_pseudo_encoding = -239, DesktopSize_pseudo_encoding = -223 } }
src/LibHac/IO/MemoryStorage.cs
garoxas/LibHac
3
7040105
using System; namespace LibHac.IO { public class MemoryStorage : Storage { private byte[] Buffer { get; } private int Start { get; } public MemoryStorage(byte[] buffer) : this(buffer, 0, buffer.Length) { } public MemoryStorage(byte[] buffer, int...
EliteAPI/Event/Models/SendTextEvent.cs
Whalley64/EliteAPI
0
7040106
<reponame>Whalley64/EliteAPI<filename>EliteAPI/Event/Models/SendTextEvent.cs using System; using EliteAPI.Event.Models; using EliteAPI.Event.Models.Abstractions; using Newtonsoft.Json; namespace EliteAPI.Event.Models { public partial class SendTextEvent : EventBase { internal SendTextEvent() { ...
Passlockr/Views/Senhas/Index.cshtml
MSavioti/Passlockr
3
7040107
<filename>Passlockr/Views/Senhas/Index.cshtml @using Passlockr.Controllers @model IEnumerable<Passlockr.Models.DadosSenha> @{ ViewBag.Title = "View"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Senhas armazenadas:</h2> <p> @Html.ActionLink("Adicionar", nameof(SenhasController.Criar), null, new { @cl...
SuperImageEvolver/GraphWindow.cs
fragmer/SuperImageEvolver
19
7040108
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace SuperImageEvolver { public sealed partial class GraphWindow : UserControl { PointF[] Points { get; set; } readonly Font font = new Font( FontFamily.GenericSan...
DictionaryEngine/DictionaryEngine/Views/pages/thirdparties.cshtml
mediasoftpro/dictionaryengine
1
7040109
<filename>DictionaryEngine/DictionaryEngine/Views/pages/thirdparties.cshtml @inject IStringLocalizer<GeneralResource> GeneralResource @inject Microsoft.Extensions.Options.IOptions<Jugnoon.Settings.General> generalSettings @{ var _bModel = new List<BreadItem>(); _bModel.Add(new BreadItem() { title ...
dp2.KernelService/RmsChannelList.cs
DigitalPlatform/dp2core
0
7040110
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DigitalPlatform.Core; using Microsoft.AspNetCore.Http; namespace dp2.KernelService { /// <summary> /// 用于集中管理正在请求中的 RmsChannel 的集合。以方便 dp2library 退出时候迅速终止每个通道的请求 /// </summary> pu...
OsuPracticeTools/Core/Scripts/BeatmapScripts/DeleteMapScript.cs
ssz7-ch2/OsuPracticeTools
2
7040111
<gh_stars>1-10 using System; using System.Linq; namespace OsuPracticeTools.Core.Scripts.BeatmapScripts { public class DeleteMapScript : Script { public DeleteMapScript(string script) : base(script) { } public override Type Run() { if (Info.BeatmapFiles.Any(...
09.C# Web/09.01.C# Web Development Basics/GameStoreSimpleMvc/GameStore.App/Data/Models/Game.cs
mdamyanova/C-Sharp-Web-Development
10
7040112
<gh_stars>1-10 namespace GameStore.App.Data.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class Game { public int Id { get; set; } [Required] [MinLength(3)] [MaxLength(100)] public string Title ...
TCCC/SetupApplication/packages/NetTopologySuite.Core.1.15.1/src/NetTopologySuite/GeometriesGraph/PlanarGraph.cs
andreitudorica/UTCN_LICENTA
0
7040113
using System.Collections.Generic; using System.IO; using GeoAPI.Geometries; using NetTopologySuite.Algorithm; namespace NetTopologySuite.GeometriesGraph { /// <summary> /// The computation of the <c>IntersectionMatrix</c> relies on the use of a structure /// called a "topology graph". The topology graph co...
ReleaseTags/0.9/Source/LateBindingApi.Excel/Enums/XlClipboardFormat.cs
NetOfficeFw/Excel-XlLateBinding
0
7040114
<reponame>NetOfficeFw/Excel-XlLateBinding<filename>ReleaseTags/0.9/Source/LateBindingApi.Excel/Enums/XlClipboardFormat.cs //Generated by LateBindingApi.CodeGenerator using LateBindingApi.Core; namespace LateBindingApi.Excel.Enums { [SupportByLibrary("XL10","XL11","XL12","XL14","XL9")] public enum XlClipboardFormat {...
etc/HdrHistogram/TimeStamp.cs
cuteant/myevent
7
7040115
<filename>etc/HdrHistogram/TimeStamp.cs<gh_stars>1-10 using System.Diagnostics; namespace HdrHistogram { /// <summary> /// Helper methods to get time periods based in system stopwatch units. /// </summary> public static class TimeStamp { /// <summary> /// Return a <see cref="long"/...
Marcus.Validation/InvalidObjectException.cs
belczyk/Marcus.Validation
0
7040116
<gh_stars>0 using System; namespace Marcus.Validation { public class InvalidObjectException : Exception { public InvalidObjectException(ValidationResult validationResult) : base(validationResult.ToString()) { ValidationResult = validationResult; } public Validation...
sources/Interop/Windows/Windows/um/strmif/IDvdControl2.cs
reflectronic/terrafx.interop.windows
0
7040117
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/strmif.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime.CompilerServ...
Digipet/Assets/Scripts/ShopAndEat/ShopItem.cs
gentry-swanri/MasterThesis-Digipet
0
7040118
<gh_stars>0 using UnityEngine; using System.Collections; // this script will be attached to each of the food items in the shop public class ShopItem : MonoBehaviour { public FoodItem Item; public int Price; public int Quantity; public void Buy() { Debug.Log("Attempt to buy " + Item.Ite...
Examples/BasicManagement/ZhuoFan.Wb.BasicService.Infrastructure/EntityConfigurations/BasalPermissionEntityTypeConfiguration.cs
shenxiangxiong/Girvs
0
7040119
<gh_stars>0 using System; using Girvs.EntityFrameworkCore.Context; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using ZhuoFan.Wb.BasicService.Domain.Models; namespace ZhuoFan.Wb.BasicService.Infrastructure.EntityConfigurations { public class BasalPermissionEntityType...
SharpHelpers/SharpHelpers/PrivateMethods/InnerClasses.cs
sharpcode-it/SharpHelpers
6
7040120
// (c) 2019 SharpCoding // This code is licensed under MIT license (see LICENSE.txt for details) using System.Text.RegularExpressions; namespace SharpCoding.SharpHelpers.PrivateMethods { public static class InnerClassesExtension { internal static string StripHtml(this string input) { ...
src/Synnduit/Deployment/TypeExtensions.cs
Synnduit/Synnduit.NET
0
7040121
using System; namespace Synnduit.Deployment { /// <summary> /// Contains extension methods for the <see cref="Type" /> class. /// </summary> internal static class TypeExtensions { /// <summary> /// Gets the full name of the type stripped of any generic parameter notation. /...
msbuild/src/AndroidPlusPlus.MsBuild.Common/Tasks/GccUtilities.cs
jjzhang166/androidplus
0
7040122
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////...
Source/Foundation/ComponentModel/ObservableObjectBase.cs
john-alessi/TeamMate
8
7040123
using Microsoft.Tools.TeamMate.Foundation.Diagnostics; using System; using System.ComponentModel; using System.Runtime.CompilerServices; namespace Microsoft.Tools.TeamMate.Foundation.ComponentModel { /// <summary> /// A base class for observable objects that fire property notification changes. /// </summa...
NcdcClimateData/Requests/ApiRequest.cs
JonDegn/Ncdc-Climate-Data
0
7040124
using System; using System.Collections.Generic; using System.Linq; namespace JonDegn.ClimateData { public abstract class ApiRequest<T> where T : ApiRequest<T> { public abstract string Endpoint { get; } public Dictionary<string, string> QueryParams { get; private set; } = new Dictionary<string...
server/Views/Shared/_Layout.cshtml
OlsonDev/GoWDb
0
7040125
<reponame>OlsonDev/GoWDb<gh_stars>0 @{ var controller = ((string)ViewContext.RouteData.Values["controller"]).ToLower(); var action = ((string)ViewContext.RouteData.Values["action"]).ToLower(); var ca = $"{controller}.{action}"; var title = ViewData["Title"] as string; title = string.IsNullOrWhiteSpace(title) ? "Ge...
Assets/UniLua/Instruction.cs
tamashi-games/UniLua
0
7040126
<gh_stars>0 namespace UniLua { public struct Instruction { public uint Value; public Instruction(uint val) { Value = val; } public static explicit operator Instruction(uint val) { return new Instruction(val); } public static explicit operator uint(Instruction i) { return ...
src/UsingUsings.Core/UsingDirectiveAnalyzer.cs
JasonBock/UsingUsings
1
7040127
<reponame>JasonBock/UsingUsings<gh_stars>1-10 using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp; using System.Collections.Immutable; namespace UsingUsings.Core; public sealed class UsingDirectiveAnalyzer { public UsingDirectiveAnalyzer(string code) { if (code is null) { throw n...
OMDUC_EMU/NetworkProtocols/LobbyListEntry.cs
PermaNulled/OMDUC_EMU_CSharp
2
7040128
using System; using System.Collections.Generic; namespace NetworkProtocols { // Token: 0x020006AB RID: 1707 public class LobbyListEntry { // Token: 0x06003BDD RID: 15325 RVA: 0x00021876 File Offset: 0x0001FA76 public LobbyListEntry() { this.InitRefTypes(); } // Token: 0x17000869 RID: 21...
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/RAssetDeprMethod.cs
NathanClouseAX/AAXDataEntityPerfTest
1
7040129
<reponame>NathanClouseAX/AAXDataEntityPerfTest //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the...
source/Di/CreativeCoders.Di.SimpleInjector/SimpleInjectorDiContainerBuilder.cs
CreativeCodersTeam/Core
0
7040130
using System; using System.Collections.Generic; using System.Linq; using CreativeCoders.Core; using CreativeCoders.Core.Collections; using CreativeCoders.Di.Building; using SimpleInjector; using SimpleInjector.Lifestyles; namespace CreativeCoders.Di.SimpleInjector { public class SimpleInjectorDiContainerBuilder :...