max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
src/TM.Data.Pluralsight/Models/CourseInfo.cs
ssh-git/training-manager
0
7069379
<reponame>ssh-git/training-manager using System.Diagnostics; namespace TM.Data.Pluralsight { [DebuggerDisplay("Name = {Name}; Url = {SiteUrl}; Description = {Description}")] internal class CourseInfo { public string Name { get; set; } public string Description { get; set; } public string Si...
Assets/Scripts/Extensions/ChainExtensions.cs
KrasnovPavel/Elektronik-Tools-2.0
1
7069380
<filename>Assets/Scripts/Extensions/ChainExtensions.cs<gh_stars>1-10 using System.Collections.Generic; using System.Linq; namespace Elektronik.Extensions { public static class ChainExtensions { public static T BuildChain<T>(this IEnumerable<IChainable<T>> collection) { IChainable<T...
src/FamilyTreeProject.GEDCOM/Records/GEDCOMMultimediaRecord.cs
Kaligul/FamilyTreeKurasch
8
7069381
<gh_stars>1-10 //****************************************** // Copyright (C) 2014-2015 <NAME> * // * // Licensed under MIT License * // (see included LICENSE) * // * // ***************************************...
Source/Clarity.App.Worlds/SaveLoad/TrwExtensions/ResourceTrwHandler.cs
Zulkir/ClarityWorlds
1
7069382
<reponame>Zulkir/ClarityWorlds using Clarity.Common.Infra.TreeReadWrite; using Clarity.Common.Infra.TreeReadWrite.Serialization; using Clarity.Engine.Resources; namespace Clarity.App.Worlds.SaveLoad.TrwExtensions { public class ResourceTrwHandler<T> : TrwSerializationHandlerBase<T> where T : IResource ...
old/wf_demo/KpkWorkflow.WPF/Components/MessageComponentView.xaml.cs
maxole/project_core
0
7069384
using System.Windows.Controls; namespace KpkWorkflow.WPF { /// <summary> /// Interaction logic for MessageComponentView.xaml /// </summary> public partial class MessageComponentView : UserControl { public MessageComponentView() { InitializeComponent(); } } }...
Tech-Module/04-Methods_EXERCISE/02.Vowels_Count/Counting_Vowels.cs
kovachevmartin/SoftUni
0
7069385
using System; namespace _02.Vowels_Count { class Counting_Vowels { static void Main(string[] args) { string input = Console.ReadLine().ToLower(); Console.WriteLine(CountingVowels(input)); } private static int CountingVowels(string inputText) { ...
VT-079Command/Gaz.cs
MeliodasDeadly/PluginsSCP
0
7069386
<reponame>MeliodasDeadly/PluginsSCP using MEC; using Scp079Rework; using Synapse; using Synapse.Api; using Synapse.Api.Enum; using Synapse.Command; using System.Collections.Generic; using System.Linq; using UnityEngine; using VT_Referance.Method; using VT_Referance.Variable; namespace VT079.Command { public class...
Assets/Code/Object/CameraFollow.cs
karl-/globalgamejam2015
1
7069388
<gh_stars>1-10 using UnityEngine; using System.Collections; public class CameraFollow : MonoBehaviour { const float MIN_ZOOM = 5f; const float MAX_ZOOM = 25f; public float speed = 10f; private float zoomSpeed = 10f; public float rotationSpeed = .5f; public float followDistance = 1.5f; public Character ship; ...
src/Tao.GlBindGen/BindStreamWriter.cs
axiom3d/taoframework
0
7069389
#region --- License --- /* Copyright (c) 2006, 2007 <NAME> * See license.txt for license info */ #endregion using System; using System.Collections.Generic; using System.Text; using System.IO; using Bind.Structures; using System.Text.RegularExpressions; namespace Bind { class BindStreamWriter : StreamWriter ...
src/TweetVisualiser.Listener/Models/TweetResponse.cs
benchiverton/TweetVisualiser
4
7069390
namespace TweetVisualiser.Listener.Models { public class TweetResponse { public string id { get; set; } public string text { get; set; } } }
C# Web Basics/Custom MVC Framework/Apps/BattleCards/ViewModels/Cards/DoAddViewModel.cs
q2kPetrov/SoftUni
4
7069391
<reponame>q2kPetrov/SoftUni namespace BattleCards.ViewModels.Cards { public class DoAddViewModel { //All data coming from FormData will be string so we need to parse them! public int Attack { get; set; } public int Health { get; set; } } }
HKX2/Autogen/hkpStiffSpringChainData.cs
soulsmods/DSMapStudio
128
7069392
<reponame>soulsmods/DSMapStudio using SoulsFormats; using System.Collections.Generic; using System.Numerics; namespace HKX2 { public partial class hkpStiffSpringChainData : hkpConstraintChainData { public override uint Signature { get => 2198387401; } public hkpBridgeAtoms m_atoms; ...
Orm/Xtensive.Orm/Orm/TypeExtensions.cs
commit-n-run/dataobjects-net
0
7069393
<filename>Orm/Xtensive.Orm/Orm/TypeExtensions.cs // Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: <NAME> // Created: 2009.09.10 using System; using Xtensive.Orm.Model; namespace Xtensive.Orm { /// <summary> /// Useful <see c...
test/LDZ.Coinbase.Test.Unit/Json/Serialization/OrderTypeConverterUnitTest.cs
ldalonzo/coinbase-api
0
7069394
using System.Text.Json; using LDZ.Coinbase.Api.Json.Serialization; using LDZ.Coinbase.Api.Model; using Shouldly; using Xunit; namespace LDZ.Coinbase.Test.Unit.Json.Serialization { public class OrderTypeConverterUnitTest { public OrderTypeConverterUnitTest() { Options = new JsonSeria...
src/QuickNote.UI/QuickNote.UI/Theme/VisualTheme.cs
sharpninja/Quick-Pad
1
7069395
<filename>src/QuickNote.UI/QuickNote.UI/Theme/VisualTheme.cs using System.ComponentModel; using System.Runtime.CompilerServices; using Windows.UI; using Microsoft.UI; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Media; namespace QuickNote.UI.Theme { public class VisualTheme : INotifyPropertyChanged { ...
SpriteEz/Utils/FileUtils.cs
EngagingGear/SpriteEz
0
7069396
<gh_stars>0 using System.IO; namespace SpriteEz.Utils { public static class FileUtils { public static string GetDestinationPath(string outputDir, string file) { if (string.IsNullOrWhiteSpace(outputDir)) { return file; } var dirNa...
RdcMan/SecuritySettings.cs
jiangfangzheng/RDCMan-mod
13
7069397
using System.Collections.Generic; using System.Windows.Forms; namespace RdcMan { public class SecuritySettings : SettingsGroup { internal const string TabName = "Security Settings"; private static Dictionary<string, SettingProperty> _settingProperties; protected override Dictionary<string, Setting...
Assets/Scripts/Menu.cs
gonendo/unitrys
0
7069398
using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; namespace unitrys{ public class Menu : MonoBehaviour, IControlsObserver { private bool _rotating; private GameObject _tetrionsParent; private List<MenuEntry> _menuEntries; private int _co...
src/BundleTransformer.Closure/Internal/ClosureJsCompilerBase.cs
kapral/BundleTransformer
0
7069399
<reponame>kapral/BundleTransformer using BundleTransformer.Core.Assets; namespace BundleTransformer.Closure.Internal { /// <summary> /// Base class of Closure Compiler /// </summary> internal abstract class ClosureJsCompilerBase { /// <summary> /// List of common JS externs dependencies /// </su...
src/GRUBSCHOOL.Domain.Shared/Entidades/Pessoa.cs
P-E-A-L/GRUBSCHOOL
0
7069400
<reponame>P-E-A-L/GRUBSCHOOL using System; namespace GRUBSCHOOL.Domain.Shared.Entidades { public abstract class Pessoa : EntidadeBaseNome { public string Sexo { get; set; } public DateTime DataInsercao { get; set; } public DateTime DataAlteracao { get; set; } } }
TestComponents/IClassNameFilter.cs
mstewart1972/MutationTestingWithDeepParallelReinforcementLearning
0
7069401
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestComponents { public interface IClassNameFilter { bool Accept(string className); } }
tools/ClientInterfaceEditor/FrameXmlEditor/Serialization/StatusBarType.cs
AustralianDisabilityLimited/MultiversePlatform
33
7069402
/******************************************************************** The Multiverse Platform is made available under the MIT License. Copyright (c) 2012 The Multiverse Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
WindowsInput/EventsSources/Keyboard/KeyboardEvent.cs
yanngarras/WindowsInput
53
7069403
// This code is distributed under MIT license. // Copyright (c) 2015 <NAME> // See license.txt or https://mit-license.org/ using System.Collections.Generic; using System.Linq; using WindowsInput.Events; namespace WindowsInput.Events.Sources { public class KeyboardEvent : InputEvent { public KeyboardEve...
Source/SharperArchitecture.Authentication/BusinessRules/UserNameFormatBusinessRule.cs
maca88/SharperArchitecture
1
7069404
using System.Text.RegularExpressions; using FluentValidation; using FluentValidation.Results; using SharperArchitecture.Authentication.Specifications; using SharperArchitecture.Common.Internationalization; using SharperArchitecture.Domain; using SharperArchitecture.Validation; namespace SharperArchitecture.Authentica...
sistema_rrhh/Data/EmpleadoHora.cs
Matthew-Gonzalez/sistema-mantencion-dis
0
7069405
using System; namespace sistema_rrhh.Data { public class EmpleadoHora { public string EmpleadoRut { get; set; } public Empleado Empleado { get; set; } public DateTime Fecha { get; set; } public int Horas { get; set; } } }
Assets/BlinkAssets/Scripts/Action/Ability/BasicAttack.cs
ajmed/blink
0
7069406
<gh_stars>0 using System; using UnityEngine; using UnityEngine.Networking; public class BasicAttack : Ability { public BasicAttack () : base("BasicAttack") { } public override bool IsLegal(HeroManager hero) { return true; } public override void DoAbility(HeroManager hero) { } public override void OnAbi...
CSharp/Class/InterfaceOverImplementation.cs
piovezan/SOpt
148
7069407
using static System.Console; public class Test { public static void Main() { var sc = new SampleClass(); IControl ctrl = (IControl)sc; ISurface srfc = (ISurface)sc; sc.Paint(); ctrl.Paint(); srfc.Paint(); } } interface IControl { void Paint(); } interfa...
ModernWpf.Controls/ContentDialog/ContentDialogClosingDeferral.cs
lgztx96/ModernWpf
2,992
7069408
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ModernWpf.Controls { public sealed class ContentDialogClosingDeferral { private readonly Action _handler; internal ContentDialogClosingDeferral(Action handler) ...
src/FoodByMe.Core/ViewModels/RecipeListViewModel.cs
smolyakoff/food-by-me
2
7069409
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using System.Windows.Input; using FoodByMe.Core.Contracts; using FoodByMe.Core.Contracts.Data; using FoodByMe.Core.Contracts.Messages; using MvvmCross.Core.ViewModels; using Mvv...
Application/Areas/Profile/Controllers/ProfileAreaController.cs
Ivanov-Stiliqn/OnlineShop
0
7069410
<filename>Application/Areas/Profile/Controllers/ProfileAreaController.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace Application.Areas.Profile.Controllers { ...
src/LibreLancer.Base/Platforms/DllMap.cs
HaydnTrigg/Librelancer
270
7069411
// MIT License - Copyright (c) <NAME> // This file is subject to the terms and conditions defined in // LICENSE, which is part of this source code package using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Xml....
Assets/Runtime/Components/Players/AudiotterRandomLoop.cs
JottoWorol/Audiotter
2
7069412
<reponame>JottoWorol/Audiotter<gh_stars>1-10 using System.Collections.Generic; using Audiotter.Runtime.Attributes; using UnityEngine; namespace Audiotter.Runtime.Components { [AddComponentMenu("Audiotter/Players/Audiotter Random Loop")] public class AudiotterRandomLoop : AudiotterLoopBase { [Space...
Prototypage/Project 010 (Destroy, gravity, inputFieldText, instanciate, shapeShift, sendText)/ShapeShift.cs
EpsilonsQc/Programmation-I
0
7069413
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShapeShift : MonoBehaviour { // Update is called once per frame void Update() { transform.localScale += new Vector3(Mathf.Sin(Time.time), 0, Mathf.Sin(Time.time)); // Change the scale of the gameObj...
PQ-TiedonLaatuService/Models/Vastuukouluttaja.cs
jkurkisuonio/PQ-TiedonLaatuService
0
7069414
namespace PQ_TiedonLaatuService.Models { public class Vastuukouluttaja { public string korttinumero { get; set; } public string email { get; set; } } }
Source/Synthesis/Synchronization/ModelTemplateReference.cs
rkuchler/Synthesis
27
7069415
using System; using System.Linq; namespace Synthesis.Synchronization { /// <summary> /// A reference to a model template type and its synchronization attribute /// </summary> public class ModelTemplateReference { public ModelTemplateReference(Type type) { InterfaceType = type; Metadata = InterfaceType....
EnemizerLibrary/EnemyRandomizer/SpriteGroup.cs
CaitSith2/Enemizer
2
7069416
<filename>EnemizerLibrary/EnemyRandomizer/SpriteGroup.cs using System.Collections.Generic; using System.Linq; namespace EnemizerLibrary { public class SpriteGroup { //const int SpriteGroupBaseAddress = 0x5B57; // wtf is this address? US? const int SpriteGroupBaseAddress = 0x5B97; // Dungeon Sp...
.net & mono/Weed3Demo/demo_plus/storeProcedure/user_get_list.cs
wcss2010/Weed3
0
7069417
<gh_stars>0 using Noear.Weed; namespace Weed3Demo.demo_ex { //此类,可由工具根据存储过程生成 // public class user_get_list : DbStoredProcedure { public user_get_list() : base(DbConfig.test) { call("$.user_get_list"); set("_userID", () => userID); set("_sex",() => sex); ...
Source/Core/Duality/Utility/RawListPool.cs
ilexp/duality
0
7069418
using System; using System.Collections.Generic; using System.Linq; using Duality.Resources; using Duality.Cloning; namespace Duality { /// <summary> /// A simple pool of <see cref="RawList{T}"/> instances of a particular type. /// Intended to be used locally, by a single owner and from a single thread. /// </sum...
test.concepto/clean.components/src/WebApi/DependencyInjection/FluentMediatorExtensions.cs
jarman75/net.core
0
7069419
<reponame>jarman75/net.core using Microsoft.Extensions.DependencyInjection; using FluentMediator; using Application.UseCases.GetUserDetails; using Application.UseCases.CreateUser; using Application.UseCases.UpdateUser; namespace WebApi.DependencyInjection { public static class FluentMediatorExtensions { ...
MikuMikuLibrary/Textures/Processing/Interfaces/ITextureDecoder.cs
keikei14/MikuMikuLibrary
133
7069420
using System.Drawing; namespace MikuMikuLibrary.Textures.Processing.Interfaces { public interface ITextureDecoder { Bitmap DecodeToBitmap( SubTexture subTexture ); Bitmap DecodeToBitmap( Texture texture ); Bitmap[ , ] DecodeToBitmaps( Texture texture ); void DecodeToFile( SubT...
common/HR.TA.CommonLibrary/HR.TA.Common/Product/ServicePlatform.AspNetCore/Builder/Exceptions.cs
nirajindi/msrecruit-scheduling-engine
8
7069421
//----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //----------------------------------------------------------------------- using System; using System.Net; using HR.TA.CommonDataService.Common.Internal; using HR.TA.Servic...
QueueProcessor.Reference/Program.cs
LorandBiro/QueueProcessor
2
7069422
using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Extensibility; using QueueProcessor.Processing; using QueueProcessor.Receiving; using QueueProcessor.Reference.MySql; using QueueProcessor.Utils; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Qu...
src/NHSD.GPIT.BuyingCatalogue.EntityFramework/ValueGenerators/CatalogueItemIdValueGenerator.cs
nhs-digital-gp-it-futures/GPITBuyingCatalogue
0
7069423
<gh_stars>0 using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.ChangeTracking; using Microsoft.EntityFrameworkCore.ValueGeneration; using NHSD.GPIT.BuyingCatalogue.EntityFramework.Catalogue.Models; using NHSD.G...
src/Horror.KeyWords/Common/NativeMethods.cs
horrorcode/keymaster
1
7069424
// <copyright file="NativeMethods.cs" company="Horror"> // Copyright (c) 2014 Open source under MIT License // </copyright> // <author>rewso</author> // <date>2014-12-20 05:53</date> // <summary>Class for Horror.Keywords</summary> namespace Horror.Keywords { using System; using System.Diagnostics; using System.Ru...
Source/Blazorise/IFileEntry.cs
vflame/Blazorise
1
7069425
<gh_stars>1-10 #region Using directives using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; #endregion namespace Blazorise { /// <summary> /// Defines the upload file. /// </summary> public interface IFileEntry { /// <summary> ...
src/Orckestra.Composer.Cart/Factory/Order/OrderHistoryViewModelFactory.cs
colinjacobsorckestra/BetterRetail
5
7069427
<filename>src/Orckestra.Composer.Cart/Factory/Order/OrderHistoryViewModelFactory.cs using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; using Orckestra.Composer.Cart.Parameters.Order; using Orckestra.Composer.Cart.ViewModels.Order; using Orckestra.Composer....
CommunicationService/Models/InitializeModel.cs
S65-2-project/CommunicationService
0
7069428
<reponame>S65-2-project/CommunicationService using CommunicationService.Domain; namespace CommunicationService.Models { public class InitializeModel { public User Seller { get; set; } public User Buyer { get; set; } } }
src/Module/Apis/SubmissionsController.cs
namofun/ccs
0
7069429
using Ccs.Services; using Ccs.Specifications; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace SatelliteSite.ContestModule.Apis { /// <summa...
Assets/Infinity Code/Online maps/Scripts/WebServices/Base/OnlineMapsTextWebService.cs
Xenetics/CommunityHub
0
7069431
/* INFINITY CODE 2013-2017 */ /* http://www.infinity-code.com */ using System; /// <summary> /// The base class for working with the web services returns text response. /// </summary> public abstract class OnlineMapsTextWebService: OnlineMapsWebServiceAPI { /// <summary> /// Event that occurs wh...
FormFinding/Robot_call.cs
diogomota/FormFindingTests
1
7069432
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RobotOM; namespace FormFinding { static class Robot_call { static IRobotApplication robApp; static IRobotNodeDisplacementServer displacement_results; static Robot_...
src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Factories/System.Windows.Media.Animation/DiscreteDoubleKeyFrameFactory.cs
kant2002/wpf-test
25
7069433
<gh_stars>10-100 // 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.Windows.Media.Animation; using Microsoft.Test.Stability.Core; namespace Microsoft.Te...
JdaTools.Connection/Attributes/MocaColumnAttribute.cs
IkeRolfe/JdaTools
1
7069434
using System; namespace JdaTools.Connection.Attributes { [AttributeUsage(AttributeTargets.Property)] public class MocaColumnAttribute : Attribute { public string ColumnName { get; set; } public MocaColumnAttribute(string columnName) { ColumnName = columnName; } ...
MovieStorm/Views/Home/Results.cshtml
MateiIonutEduard/MovieStorm
2
7069435
<gh_stars>1-10 @using System.Net.Http @using Newtonsoft.Json @{ ViewData["Title"] = "All Results"; var client = new HttpClient(); var Request = Html.ViewContext.HttpContext.Request; var str = Request.Query["name"].ToString(); var response = await client.GetAsync($"https://localhost:44333/Home/FindR...
source/R5T.D0062.Extensions/Code/Services/Extensions/IEnvironmentNameProviderExtensions.cs
SafetyCone/R5T.D0062
0
7069436
<gh_stars>0 using System; using System.Threading.Tasks; using R5T.T0019; namespace R5T.D0062 { /// <summary> /// Note, many of these extensions exist in Microsoft.Extensions.Hosting.Abstractions, Microsoft.Extensions.Hosting.HostEnvironmentEnvExtensions. /// However, they are not asynchronous, and do no...
Project/RM.Friendly.WPFStandardControls.3.0/WPFContextMenu.cs
denpadokei/Friendly.WPFStandardControls
14
7069437
<filename>Project/RM.Friendly.WPFStandardControls.3.0/WPFContextMenu.cs<gh_stars>10-100 using Codeer.Friendly; using Codeer.Friendly.Windows; using Codeer.TestAssistant.GeneratorToolKit; using RM.Friendly.WPFStandardControls.Inside; using System; using System.Collections.Generic; using System.Threading; using System.W...
GW2Api.NET/V2/Maps/Dto/FloorRegion.cs
RyanClementsHax/GW2Api.NET
2
7069438
<filename>GW2Api.NET/V2/Maps/Dto/FloorRegion.cs using System.Collections.Generic; using System.Numerics; namespace GW2Api.NET.V2.Maps.Dto { public record FloorRegion( int Id, string Name, Vector2 LabelCoord, IList<Vector2> ContinentRect, IDictionary<int, RegionMap...
PythonNetPlayground/PythonNetPlayground/Program.cs
Ijwu/PythonNetPlayground
2
7069439
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Python.Runtime; namespace PythonNetPlayground { class Program { static void Main(string[] args) { PythonEngine.Initialize(); var globals = CreateGl...
src/McpeLevelDB/Database/Filename.cs
hallipr/leveldb-mcpe
0
7069440
/* // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <ctype.h> #include <stdio.h> #include "db/filename.h" #include "db/dbformat.h" #include "le...
Program.cs
FrancisBry/MouseUnSnag
0
7069441
<filename>Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Windows.Forms; namespace MouseUnSnag { public class Program { static void Main() { // Make sure the MouseUnSnag.exe has only one instance running at a time. ...
Src/Shared/Managed-Src/Temporal.TestUtil/public/TestBase.cs
macrogreg/sdk-dotnet
2
7069442
<filename>Src/Shared/Managed-Src/Temporal.TestUtil/public/TestBase.cs using System; using System.Threading; using System.Threading.Tasks; using Temporal.Util; using Xunit; using Xunit.Abstractions; namespace Temporal.TestUtil { public class TestBase : IAsyncLifetime, IDisposable { private readonly ITes...
bpe_sharp_test/BPETokenizerTests.cs
edirgarcia/bpe_sharp
0
7069443
<filename>bpe_sharp_test/BPETokenizerTests.cs using Microsoft.VisualStudio.TestTools.UnitTesting; using bpe_sharp; using System; using System.Collections.Generic; using Newtonsoft.Json.Converters; namespace bpe_sharp_test { [TestClass] public class BPETokenizerTests { [TestMethod] public v...
Elements/Button.cs
MrHant/AutomationPractice-tiver-fowl-example
0
7069444
namespace AutomationPractice.Elements { using Tiver.Fowl.ViewBase; public class Button : Element { public Button(string locator) : base(locator) { } public Button(string locator, string name) : base(locator, name) { } } }
aspnet/SampleConsole/Program.cs
Vman45/grabzit
67
7069445
<reponame>Vman45/grabzit using System; using System.Configuration; using System.Windows.Forms; using GrabzIt; using GrabzIt.Enums; namespace SampleConsole { class Program { private static string PDF = "P"; private static string DOCX = "D"; private static string GIF = "G"; stat...
PowerShellTools/Editors/ParameterControl.xaml.cs
kilasuit/poshtools
135
7069446
<reponame>kilasuit/poshtools using System; using System.Collections.Generic; 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 Sys...
Assets/Scripts/GameManager/GameStatus.cs
gameholics-usc/DefendTommyTrojan
4
7069447
using UnityEngine; using UnityEngine.SceneManagement; using System; public class GameStatus : MonoBehaviour { private GameObject winLevelMenu; private WinLevelMenu _winLevelMenu; private GameObject winGameMenu; private GameObject gameOverMenu; public static bool gameIsOver; private const int L...
GreenLight/GreenLight/src/Old Code/StraightRoad.cs
nielsb02/GreenLight_Informatica_UU
0
7069448
<filename>GreenLight/GreenLight/src/Old Code/StraightRoad.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; namespace GreenLight { // This is the StraightRoad class, we created it in an early stage of our project...
VendorTracker/Views/Home/Index.cshtml
taylulz/VendorTracker.Solution
0
7069449
<reponame>taylulz/VendorTracker.Solution @{ Layout = "_Layout"; } <div class="jumbotron jumbotron-fluid"> <div class="container"> <h1 class="display-4">Welcome Pierre</h1> <p class="lead">What would you like to do?</p> </div> </div> <h2><a href="/vendors">View my Vendors</a></h2> <h2><a href="/vendors/n...
TX11/TX11Business/ErrorCode.cs
N-Olbert/TouchX11
3
7069450
namespace TX11Business { /// <summary> /// Class which handles all possible X11 error messages /// </summary> internal static class ErrorCode { internal const byte None = 0; internal const byte Request = 1; internal const byte Value = 2; internal const byte Window = ...
Utilities/Helpers/Extensions/CollectionExtensions.cs
jgonte/Utilities
0
7069451
using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace Utilities { public static class CollectionExtensions { /// <summary> /// Loops through a list and executes the action on every item /// </summary> /// <typeparam name="T"></typeparam...
unity3dFrameworkExtension/IOCExtensionsTests/EventTests/Tests.cs
MarcoNacao/u3dframeworkExtension
0
7069452
<filename>unity3dFrameworkExtension/IOCExtensionsTests/EventTests/Tests.cs using NUnit.Framework; using System; using System.Collections.Generic; using u3dExtensions.Events; namespace u3dExtensions.Tests.EventTests { [TestFixture ()] public class Tests { [Test ()] public void EventCallOrder() { var slot =...
WebsiteTemplate/Menus/UserConfirmation.cs
quintonn/QBic
2
7069453
using WebsiteTemplate.Menus.BaseItems; using Unity; namespace WebsiteTemplate.Menus { public class UserConfirmation : Event { public override EventNumber GetId() { return EventNumber.UserConfirmation; } public override string Description { ...
Spinner.Tests/Program.cs
Inverness/Ramp.Aspects
4
7069454
<reponame>Inverness/Ramp.Aspects  namespace Spinner.Tests { public static class Program { public static void Main(string[] args) { WeaverTests.RunFromConsole(args); } } }
MixologyJournalApp/MixologyJournalApp.Android/Renderers/IconNavigationPageRenderer.cs
davidov541/MixologyJournal
0
7069456
<gh_stars>0 using Android.Content; using Android.Graphics; using Android.Support.V7.Widget; using MixologyJournalApp.Droid.Renderers; using MixologyJournalApp.View; using Xamarin.Forms; using Xamarin.Forms.Platform.Android.AppCompat; [assembly: ExportRenderer(typeof(RootPage), typeof(IconNavigationPageRenderer))] nam...
src/Yaml/Syntax/TagPrefix.cs
abellee601238/qingcloud-sdk-net
0
7069457
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace QingCloudSDK.Yaml { public partial class TagPrefix { public List<char> Prefix = new List<char>(); } }
EFHooks.Tests.NETSTANDARD21/HookedDbContextTests.cs
ericvenneker/EFHooks.EFCore
0
7069458
<gh_stars>0 using System; using System.ComponentModel.DataAnnotations; using System.Configuration; using System.Data; using System.Data.Common; using System.Linq; using System.Threading.Tasks; using EFHooks.Tests.Hooks; using FakeItEasy; using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; using Microso...
clang.test/TestCompilationDatabase.cs
djp952/tools-llvm
1
7069459
//--------------------------------------------------------------------------- // Copyright (c) 2016 <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, in...
ClientTools/enums.cs
yorkadam/ClientTools
0
7069460
namespace ClientTools { public static class enums { public enum LinkLocation { Any = 0, Internal, External }; } }
Withering/Assets/3rdParty/FluentDialogue/FluentNodeHandlers/SoundHandler.cs
Mahmood34/Withering
0
7069461
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; using System; namespace Fluent { [AddComponentMenu("")] public class SoundHandler : FluentNodeHandler { List<GameObject> SoundPlayers = new List<GameObject>(); SoundNode soundNode; ...
Clockin.Tests/Models/DataRootTest.cs
fraifelipe/clockin
6
7069462
using System; using System.Linq; using Clockin.Models; using FluentAssertions; using NUnit.Framework; namespace Clockin.Tests.Models { public class DataRootTest { private DataRoot _sut; [SetUp] public void DataRootTestSetup() { _sut = new DataRoot(); } ...
WebAppBlog/BlogWeb/BlogWeb.WebUI/Areas/Admin/Views/Posts/Edit.cshtml
matin360/WebAppBlog
0
7069463
<filename>WebAppBlog/BlogWeb/BlogWeb.WebUI/Areas/Admin/Views/Posts/Edit.cshtml @model BlogWeb.WebUI.Areas.Admin.Models.PostEditModel @{ ViewBag.Title = "Edit"; Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml"; } <h2>Post Edit/Create</h2> @using (Html.BeginForm("Edit", "Posts", FormMethod.Post, new { enctype ...
src/VisualStudio/Core/Def/Implementation/FindReferences/VisualStudioDefinitionsAndReferencesFactory.cs
svick/roslyn-not-a-fork
0
7069464
<reponame>svick/roslyn-not-a-fork<gh_stars>0 using System; using System.Collections.Immutable; using System.Composition; using System.Runtime.InteropServices; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysis.FindReferences; using Microsoft.CodeAnalysis.Host.Mef; using...
mcs/class/System.Configuration/System.Configuration/KeyValueConfigurationElement.cs
lefb766/mono
469
7069465
// // System.Configuration.KeyValueConfigurationElement.cs // // Authors: // <NAME> (<EMAIL>) // // 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 ...
FastCommerce.Business/CategoryManager/Abstract/IPropertyManager.cs
mehmetutkuk/FastCommerce
1
7069466
using FastCommerce.Entities.Entities; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using FastCommerce.Business.DTOs.Property; using System.Linq; namespace FastCommerce.Business.CategoryManager.Abstract { public interface IPropertyManager { Task<bool...
NPMGame.Core/Engine/Letters/LetterGeneratorService.cs
npm-game/api
1
7069467
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Threading.Tasks; using NPMGame.Core.Models.Game.Words; namespace NPMGame.Core.Engine.Letters { public interface ILetterGeneratorService { Task<List<char>> GenerateLetters(int count); ...
6. WebApps MVC Core and Entity Framework/Lab 2/src/AspnetApiAndDocumentDB/src/AspnetApiAndDocumentDB/Data/MovieRepository.cs
michaelrishiforrester/azure
18
7069468
<reponame>michaelrishiforrester/azure using AspnetApiAndDocumentDB.Models; using Microsoft.Azure.Documents; using Microsoft.Azure.Documents.Client; using Microsoft.Azure.Documents.Linq; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Linq.Expressions; using S...
Assets/MeatKit/Editor/MeatKitCache.cs
devyndamonster/H3VR-KOTH
9
7069469
using System; using System.Globalization; using System.IO; using UnityEditor; using UnityEngine; namespace MeatKit { [Serializable] public class MeatKitCache { private const string CacheFileName = "meatkit.json"; [SerializeField] private string _lastBuildTime = default(DateTime).T...
src/GR.Extensions/GR.Report.Extension/GR.Report.Dynamic.Razor/Views/Reports/CreateFolder.cshtml
indrivo/GEAR
7
7069470
@model GR.Report.Abstractions.Models.ViewModels.DynamicReportFolderViewModel @{ ViewData["Title"] = "Create report folder"; } <div class="row"> <div class="col-lg-12"> <div class="card card-outline-info"> <div class="card-header"> <h4 class="m-b-0 text-white">Folder Create...
EndpointsMonitor/AppMetricsEventHandler.cs
AppMetrics/AppMetrics.Particular.ServiceControlEvents
0
7069471
using System.Threading.Tasks; using App.Metrics; using NServiceBus; using NServiceBus.Logging; using ServiceControl.Contracts; namespace EndpointsMonitor { public class AppMetricsEventHandler : IHandleMessages<MessageFailed>, IHandleMessages<HeartbeatStopped>, IHandleMessages<HeartbeatRest...
Workflows/EventListeners/DefaultEventListeners/StartEventListener.cs
jedybg/elarion
16
7069472
<gh_stars>10-100 using System; using UnityEngine; using UnityEngine.Events; namespace Elarion.Workflows.EventListeners.DefaultEventListeners { public class StartEventListener : MonoBehaviour { public UnityEvent onStart; public event Action OnStartEvent = () => { }; protected vi...
src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/Mapper254.cs
Fortranm/BizHawk
1,414
7069473
<gh_stars>1000+ using BizHawk.Common; namespace BizHawk.Emulation.Cores.Nintendo.NES { internal sealed class Mapper254 : MMC3Board_Base { private byte[] regs = new byte[2]; public override bool Configure(EDetectionOrigin origin) { switch (Cart.BoardType) { case "MAPPER254": break; default:...
Assets/Scripts/Game Logic/FollowObjectFaceCamera.cs
kori4r2/Slime-Shepherd
0
7069474
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowObjectFaceCamera : MonoBehaviour { public Transform target; public Vector3 offset = new Vector3(0,1,0); protected Transform cameraTransform; protected Transform myTransform; void Awake() ...
src/Elders.Cronus.AtomicAction.Redis/RedisAggregateRootAtomicAction.cs
Elders/Cronus.AtomicAction.Redis
0
7069475
using System; using Elders.Cronus.AtomicAction.Redis.Config; using Elders.Cronus.AtomicAction.Redis.RevisionStore; using Elders.Cronus.Userfull; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace Elders.Cronus.AtomicAction.Redis { public class RedisAggregateRootAtomicAction : IAggre...
Source-Code-母婴在线门户全站源代码/Areas/AdminMVC/Views/Page/PageTemplate.cshtml
zoomlacms/web005
0
7069476
<filename>Source-Code-母婴在线门户全站源代码/Areas/AdminMVC/Views/Page/PageTemplate.cshtml<gh_stars>0 @using System.Data @using ZoomLa.Common @using ZoomLa.Model @using ZoomLa.BLL @using ZoomLa.BLL.Page @using ZoomLaCMS.Models.Common @model ZoomLaCMS.Models.Common.VM_Recursion @functions{ VM_Recursion reMod=null; public ...
Client/Systems/TimeSyncer/TimeSyncerMessageHandler.cs
Fierce-Cat/LunaMultiPlayer
0
7069477
<reponame>Fierce-Cat/LunaMultiPlayer using System.Collections.Concurrent; using LunaClient.Base; using LunaClient.Base.Interface; using LunaCommon.Message.Data.SyncTime; using LunaCommon.Message.Interface; namespace LunaClient.Systems.TimeSyncer { public class TimeSyncerMessageHandler : SubSystem<TimeSyncerSystem...
Application/Clock.cs
EdVinyard/DddSandbox
0
7069479
using Domain.Port; using System; namespace Application { public class Clock : IClock { public DateTimeOffset Now => DateTimeOffset.Now; } }
Middle/Rule/RuleAppCode/ImageWaterMark.cs
coojee2012/pm3
0
7069480
<gh_stars>0 using System; using System.IO; using System.Collections; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Web; namespace RuleAppCode { /// <summary> /// 水印的类型 /// </summary> public enum WaterMarkType { /// <summary> /// 文字...
test/Integration.Tests/Modules/WhenGettingUserInfoWithMissingAccessToken.cs
linn/linn-api-ifttt
0
7069481
<reponame>linn/linn-api-ifttt<filename>test/Integration.Tests/Modules/WhenGettingUserInfoWithMissingAccessToken.cs namespace Linn.Api.Ifttt.Testing.Integration.Modules { using System.Net; using System.Net.Http; using FluentAssertions; using Linn.Api.Ifttt.Resources.Ifttt; using Xunit; public...
Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities.Tests/CreateAndDestroyTests.cs
polartron/open-netcode
7
7069482
<reponame>polartron/open-netcode using System; using NUnit.Framework; using Unity.Collections; namespace Unity.Entities.Tests { class CreateAndDestroyTests : ECSTestsFixture { [Test] unsafe public void CreateAndDestroyOne() { var entity = CreateEntityWithDefaultData(10); ...
CandidateManager/Views/CandidateExperiences/Index.cshtml
zergiocunha/CandidatesManager
1
7069483
@model IEnumerable<GestorDeCandidatos.Models.CandidateExperience> @{ ViewData["Title"] = "Index"; } <h1>Professional Experiences</h1> @if(ViewBag.Teste != null) { <input type="hidden" @ViewBag.Teste /> } <p> <a asp-action="Create" asp-route-id="@ViewBag.Teste" class="btn btn btn-success">Add</a> </p> <in...
StarMQ/Publish/ConfirmPublisherDecorator.cs
iarcher367/StarMQ
0
7069484
<reponame>iarcher367/StarMQ #region Apache License v2.0 //Copyright 2014 <NAME> //Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except //in compliance with the License. You may obtain a copy of the License at //http://www.apache.org/licenses/LICENSE-2.0 //Unless required b...