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
Lykke.CoinMarketCap.Client/Models/CryptoCurrency/Quote.cs
LykkeCity/Lykke.Service.CryptoIndex
0
7049172
using System; using Newtonsoft.Json; namespace Lykke.CoinMarketCap.Client.Models.CryptoCurrency { public class Quote { [JsonProperty("price")] public decimal Price { get; set; } [JsonProperty("volume_24h")] public decimal Volume24H { get; set; } [JsonProperty("percent...
Ao3TrackReader/Ao3TrackReader/Controls/Button.cs
Antyos/Ao3-Tracker
8
7049173
/* Copyright 2017 <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 by applicable law or agreed to in writing, software distrib...
src/Mgi.Apl.Model/DTO/MaterialCategoryDTO.cs
Paodange/ConfigManager
0
7049174
using System; using System.Collections.Generic; using Mgi.Apl.Model.Entity; namespace Mgi.Apl.Model.DTO { public class MaterialCategoryDTO : AbstractDTO<MaterialCategory, int?> { public string Code { get; set; } public string Name { get; set; } public string EnName { get; set; } ...
Rainnier.DesignPattern.Adapter/Program.cs
RichardChen1122/Rainnier.DesignPattern
0
7049175
<filename>Rainnier.DesignPattern.Adapter/Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Rainnier.DesignPattern.Adapter.Adaptee; using Rainnier.DesignPattern.Adapter.Adapter; namespace Rainnier.DesignPattern.Adapter { //Test git ...
src/Kephas.Core/Composition/Hosting/CompositionRegistrationContext.cs
snakefoot/kephas
0
7049176
<reponame>snakefoot/kephas // -------------------------------------------------------------------------------------------------------------------- // <copyright file="CompositionRegistrationContext.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the M...
Shuttle.Access.Sql/Columns.cs
Shuttle/Shuttle.Access
1
7049177
using System; using System.Data; using Shuttle.Core.Data; namespace Shuttle.Access.Sql { public class Columns { public static readonly MappedColumn<Guid> Id = new MappedColumn<Guid>("Id", DbType.Guid); public static readonly MappedColumn<string> RoleName = new MappedColumn<string>("Ro...
Wpf/Framework/Lifecycle/IFrameworkWindow.cs
ryanhorath/Rybird.Framework
0
7049178
using System.Windows.Navigation; using System.Windows.Threading; namespace Rybird.Framework { public interface IFrameworkWindow : IGloballyUniqueObject { Dispatcher Dispatcher { get ; } NavigationService NavigationService { get; } } }
ChatWpf.Core/DI/Interfaces/IEmailTemplateSender.cs
lego963/ChatWpf
0
7049179
using System.Threading.Tasks; using ChatWpf.Core.Email; namespace ChatWpf.Core.DI.Interfaces { public interface IEmailTemplateSender { Task<SendEmailResponse> SendGeneralEmailAsync(SendEmailDetails details, string title, string content1, string content2, string buttonText, string buttonUrl); } }
Assets/Scripts/PlayerController.cs
lowkey42/destruction_party
0
7049180
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; using UnityEngine.InputSystem.Utilities; using UnityEngine.UI; using DG.Tweening; public class PlayerController : MonoBehaviour { public float actionRadius = 1f; public float actionOffset = 1f; public boo...
TestAlphaCSV/CSVReaderValidatorsTest.cs
arkaragian/AlphaCSV
2
7049181
using AlphaCSV; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Data; using System.IO.Abstractions.TestingHelpers; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestAlphaCSV { [TestClass] public class CSVReaderVal...
src/CodeArt.Episerver.Console/Commands/ListDescendentsCommand.cs
tomahg/CodeArt.Episerver.Console
3
7049182
using CodeArt.Episerver.DevConsole.Attributes; using CodeArt.Episerver.DevConsole.Interfaces; using EPiServer; using EPiServer.Core; using EPiServer.ServiceLocation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DeveloperTools.Console. Co...
Samples/XamlAutoSuggestBox/cs/Scenario1.xaml.cs
leenachaudhari/Windows-universal-samples
1
7049183
<reponame>leenachaudhari/Windows-universal-samples<filename>Samples/XamlAutoSuggestBox/cs/Scenario1.xaml.cs //********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT W...
Source/AllOverIt/Extensions/EnumerableExtensions.Specification.cs
mjfreelancing/AllOverIt
1
7049184
<filename>Source/AllOverIt/Extensions/EnumerableExtensions.Specification.cs using AllOverIt.Patterns.Specification; using System.Collections.Generic; using System.Linq; namespace AllOverIt.Extensions { public static partial class EnumerableExtensions { /// <summary>Gets all candidates that meet the cr...
BO4E/COM/Messlokationszuordnung.cs
Hochfrequenz/BO4E-dotnet
3
7049186
using System; using System.Text.Json.Serialization; using BO4E.ENUM; using BO4E.meta; using Newtonsoft.Json; using ProtoBuf; namespace BO4E.COM { /// <summary> /// Mit dieser Komponente werden Messlokationen zu Marktlokationen zugeordnet. Dabei kann eine arithmetische /// Operation (Addi...
interfaces/cs/Socketron/Node/Promise.cs
hikipuro/Socketron
3
7049187
<gh_stars>1-10 using System.Diagnostics.CodeAnalysis; namespace Socketron { [type: SuppressMessage("Style", "IDE1006")] public class Promise : JSObject { public Promise() { } public Promise then(JSCallback onFulfilled) { string eventName = "_then"; CallbackItem onFulfilledItem = API.CreateCallbackItem(...
src/PoolManager.SDK/Pools/IPoolProxy.cs
charleszipp/service-fabric-dotnet-pool-manager
0
7049188
using PoolManager.SDK.Pools.Requests; using System.Threading.Tasks; using PoolManager.SDK.Pools.Responses; using System.Threading; using System.Collections.Generic; namespace PoolManager.SDK.Pools { public interface IPoolProxy { Task StartPoolAsync(string serviceTypeUri, StartPoolRequest request); ...
Segment1_API/Backend/Repository/CustomerFilterPreferencesRepository.cs
Engin-Boot/assist-purchase-s21b4
0
7049189
<reponame>Engin-Boot/assist-purchase-s21b4<gh_stars>0  namespace Backend.Repository { public class CustomerFilterPreferencesRepository : ICustomerFilterPreferencesRepository { private readonly string _csvFilePath; static readonly Utility.CustomerPreferenceFilterHandeler CsvHandler = new ...
src/DaaSDemo.KubeClient/Models/DaemonSetListV1Beta1.cs
DimensionDataResearch/daas-demo
14
7049190
<gh_stars>10-100 using Newtonsoft.Json; using System; using System.Collections.Generic; namespace DaaSDemo.KubeClient.Models { /// <summary> /// DaemonSetList is a collection of daemon sets. /// </summary> public class DaemonSetListV1Beta1 : KubeResourceListV1 { /// <summary> //...
src/YouTubeApiRestClient/Views/Video.cs
janssenr/YouTubeApiRestClient
3
7049191
<reponame>janssenr/YouTubeApiRestClient<filename>src/YouTubeApiRestClient/Views/Video.cs using System.Runtime.Serialization; namespace YouTubeApiRestClient.Views { // // Summary: // A video resource represents a YouTube video. [DataContract] public class Video { // ...
src/Netension.Event.Test/Receivers/RabbitMQScopeHandler_Test.cs
Netension/event
0
7049192
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Moq; using Netension.Event.RabbitMQ.Receivers; using RabbitMQ.Client.Events; using System.Threading; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace Netension.Event.Test.Receivers { ...
Source/JARS.WinForms.Plugins/Forms/StatusesForm.cs
CobyC/JaRS
1
7049193
<reponame>CobyC/JaRS using JARS.Entities; using JARS.Core.Extensions; using JARS.Core.Interfaces.Entities; using JARS.Core.WinForms.Forms; using JARS.SS.DTOs; using JARS.SS.DTOs.Utils; using ServiceStack; using System; using System.Collections.Generic; using System.Linq; using System.Security.Permissions; namespace J...
tools/Stampfer/PeterSource1_1/Forms/Find.cs
PhoenixTales/gothic-devk
3
7049194
/************************************************************************************** Stampfer - Gothic Script Editor Copyright (C) 2008, 2009 Jpmon1, Alexander "Sumpfkrautjunkie" Ruppert This program is free software: you can redistribute it and/or modify it under the terms of the GNU General P...
H5/Compiler/Translator/SourceMaps/SourceMapEntry.cs
thomz12/h5
75
7049195
using System; namespace H5.Translator { public class SourceMapEntry { public int ScriptLine { get; private set; } public int ScriptColumn { get; private set; } public SourceLocation SourceLocation { get; private...
Projects/Miscellaneous/ExternalTestInvoker/TestHost/Generated/ServerObjectsGenerated_SharedTestLibrary.cs
imanushin/leak-blocker
0
7049196
<filename>Projects/Miscellaneous/ExternalTestInvoker/TestHost/Generated/ServerObjectsGenerated_SharedTestLibrary.cs using LeakBlocker.Libraries.Common.Network; using LeakBlocker.Libraries.Common; using System.Diagnostics.CodeAnalysis; using System.IO; using System; using SharedTestLibrary; using LeakBlocker.Libraries.C...
Sextant.Tests/Commands/JumpCommandTests.cs
RikCSherman/Sextant
22
7049197
<filename>Sextant.Tests/Commands/JumpCommandTests.cs<gh_stars>10-100 // Copyright (c) Stickymaddness All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Sextant.Domain; using Sextant.Domain.Commands; using Sextant.Domain.Entities; ...
Assets/Scripts/Book Model/Picture.cs
win2l/animated-books-creator
1
7049198
using System.Collections; using System.IO; using System.Xml; using System.Xml.Serialization; using UnityEngine; using Helpers; namespace BookModel { public partial class Picture : IPositionable { [XmlElement("Filename")] public string Filename { set; get; } [XmlAttribute("Name")] public string Name { set...
Material.Icons.WPF/MaterialIcon.cs
SKProCH/Material.Icons
12
7049199
<filename>Material.Icons.WPF/MaterialIcon.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace Material.Icons.WPF { public class MaterialIcon : Control { private static readonly Lazy<IDict...
Assets/FireBalls/Scripts/Input/InputManager.cs
mustafademir013/FireBalls
0
7049200
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InputManager : MonoBehaviour { [SerializeField] private InputData _inputData; // Update is called once per frame private void Start() { _inputData.TouchCount = 0; } void Update() { #if UNIT...
.MeshSync/Assets/Tests/Scripts/SceneSwitcher.cs
bitinn/MeshSync
2
7049201
<reponame>bitinn/MeshSync using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.SceneManagement; #if UNITY_EDITOR using UnityEditor; using UnityEditor.SceneManagement; #endif namespace UTJ.MeshSync { [ExecuteInEditMode] public class SceneSwitcher : MonoBehaviou...
unity/Assets/Scripts/Calculations.cs
augmentedfabricationlab/xr_assembly
0
7049202
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Calculations : MonoBehaviour { public Vector3 robotPos = new Vector3(0,0,0); public static float[][] MatrixFromBasisVectors(Vector3 XAxis, Vector3 YAxis) { float[][] matrix = new float[3][]; matrix...
sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/StepType.cs
nemakam/azure-sdk-for-net
1
7049203
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
Demo/VDF_TreeNodeVDFTag.cs
kookyabird/Steam-Apps-Management-API
22
7049204
<filename>Demo/VDF_TreeNodeVDFTag.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Indieteur.VDFAPI; namespace Demo { class TreeNodeVDFTag { public enum Type { Node, Key } public...
src/ChromeLogger/IChromeLogger.cs
ChrisMissal/chromelogger
18
7049205
using System.Collections.Generic; namespace ChromeLogger { public interface IChromeLogger { void Log(object data); void Warn(object data); void Error(object data); void Info(object data); void Group(object data); void GroupEnd(object data); v...
src/Trov.IdentityServer4.Admin.BusinessLogic/Dtos/Identity/Base/BaseUserClaimDto.cs
ATronMorebis/IdentityServer4.Admin.MySql
0
7049206
<filename>src/Trov.IdentityServer4.Admin.BusinessLogic/Dtos/Identity/Base/BaseUserClaimDto.cs namespace Trov.IdentityServer4.Admin.BusinessLogic.Dtos.Identity.Base { public class BaseUserClaimDto<TUserId, TClaimId> { public TClaimId ClaimId { get; set; } public TUserId UserId { get; set; } ...
test/RelationalLock.Core.Tests/TestBase.cs
y-kitami/relational-lock
0
7049209
using System; using Xunit.Abstractions; namespace RelationalLock.Tests { public class TestBase { protected ITestOutputHelper Helper { get; } protected TestBase(ITestOutputHelper helper) { Helper = helper; } } }
aspnet-core/0050-logging/Controllers/MathControllerDiv.cs
Staniel99/htl-mobile-computing-5
1
7049210
<gh_stars>1-10 using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace LoggingDemo.Controllers { public partial class MathController { [HttpGet] [Route("div")] public IActionResult Div([FromQuery] int x, [FromQuery] int y) { if (y == 0) { ...
template.api/Extensions/ProjectServiceCollectionExtensions.cs
rosered11/template-aspnet-core
0
7049211
<reponame>rosered11/template-aspnet-core using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Text.Json; using template.infrastructure; using template.infrastructure.Entities; using template.infrastructure.Entities.Maps...
Craf/Pages/AddUser/AddUser.cshtml
OMNIASProductManager/CRAF
0
7049212
@page @model Facilityz.Pages.AddUser.AddUserModel @{ Layout = "_LayoutConnected"; ViewData["Title"] = "Ajouter un utilisateur"; } <br /> <br /> <h1 class="text-center">Gestion des utilisateurs</h1> <h4 class="text-center"> Ajouter un utilisateur</h4> <br /> <br /> <div class="row container-center m-0 d-flex ...
GAMMA/ViewModels/CreatureBuilderViewModel.cs
NerdyMusician/GAMMA
17
7049213
using GAMMA.Models; using GAMMA.Toolbox; using GAMMA.Windows; using Microsoft.Win32; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Windows.Input; using System.Xml.Linq; namespace GAMMA.ViewModels { public class Cr...
Model/BlockChainer.cs
bmoolman/blockchain_poc
0
7049214
<reponame>bmoolman/blockchain_poc using blockchain_poc.Crypto; using System; using System.Collections.Generic; using System.Text; namespace blockchain_poc.Model { public static class BlockChainer { public static (string,string) GetHashedValue (string transactionPreviousId,string transactionPreviousHas...
Editor/ShadowsTrack/ShadowsPlayablePropertyDrawer.cs
laurenth-unity/hdrp.timeline.extensions
4
7049215
using UnityEditor; using UnityEngine; // IngredientDrawerUIE [CustomPropertyDrawer(typeof(ShadowsPlayable))] public class ShadowsPlayableDrawer : PropertyDrawer { // Draw the property inside the given rect public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { /...
SeijaTelegram/SeijaTelegram/Commands/PollSingleton.cs
Fourslash/SeijaTelegram
0
7049216
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Telegram.Bot; using Telegram.Bot.Types; using System.Windows.Threading; using SeijaTelegram.Main; namespace SeijaTelegram.Commands { public enum PollStatuses { notStarted, Started,...
UaClient.UnitTests/UnitTests/Channels/BinaryEncoderTests.cs
jmbeach/opc-ua-client
0
7049217
<reponame>jmbeach/opc-ua-client using FluentAssertions; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Linq; using Workstation.ServiceModel.Ua; using Workstation.ServiceModel.Ua.Channels; using Xuni...
CodeComb.Web/Views/Shared/Message.cshtml
Kagamine/CodeComb-Old
2
7049218
<gh_stars>1-10 @model string @{ ViewBag.Title = "提示信息"; } <div class="post-detail-body"> <div class="cont-wrap"> <div class="grid_12"> <div class="post-detail-wrap-outer"> <div class="post-detail-wrap"> <div class="post-action"><a href="javascr...
commercetools.Sdk/commercetools.Sdk.Domain/States/UpdateActions/SetTransitionsUpdateAction.cs
onepiecefreak3/commercetools-dotnet-core-sdk
12
7049219
using System.Collections.Generic; using commercetools.Sdk.Domain.Common; namespace commercetools.Sdk.Domain.States.UpdateActions { public class SetTransitionsUpdateAction : UpdateAction<State> { public string Action => "setTransitions"; public List<IReference<State>> Transitions { get; set; } ...
Manager.Integration/Manager.Integration.Test/Initializers/InitializeAndFinalizeBaseOnTestFixtureSetup.cs
Teleopti/Stardust
0
7049220
using System; using System.Configuration; using System.IO; using System.Threading; using System.Threading.Tasks; using Autofac; using log4net.Config; using Manager.Integration.Test.Database; using Manager.Integration.Test.Helpers; using Manager.Integration.Test.Tasks; using Manager.IntegrationTest.Console.Host.Helpers...
IoC.Configuration.Tests/SettingValue/SettingValueSuccessfulLoadTests.cs
artakhak/IoC.Configuration-
0
7049221
<reponame>artakhak/IoC.Configuration- using IoC.Configuration.Tests.SettingValue.Services; using IoC.Configuration.Tests.TestTemplateFiles; using NUnit.Framework; namespace IoC.Configuration.Tests.SettingValue { public abstract class SettingValueSuccessfulLoadTests : IoCConfigurationTestsForSuccessfulLoad { ...
src/Tests.Old/Refactorings.Tests.Old/IntroduceConstructorRefactoring.cs
ProphetLamb-Organistion/Roslynator
0
7049222
<reponame>ProphetLamb-Organistion/Roslynator<filename>src/Tests.Old/Refactorings.Tests.Old/IntroduceConstructorRefactoring.cs // Copyright (c) <NAME> and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Roslynator.CSharp.Refactorings....
ConUniv.BusinessLayer/ViewModels/StudentViewModel.cs
RawFramework/ConUnivRaw
0
7049223
using ConUniv.Models; using DataAccess.Scaffold.Attributes; using DataAccess.Scaffold.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ConUniv.BusinessLayer.ViewModels { [NeedletailViewModel] public class StudentViewModel : ViewM...
mcs/class/System/System.Net.NetworkInformation/NetworkChange.cs
nataren/mono
1
7049224
// // System.Net.NetworkInformation.NetworkChange // // Author: // <NAME> (<EMAIL>) // // Copyright (c) 2006,2011 Novell, Inc. (http://www.novell.com) // // 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...
Assets/3rd/AstarPathfindingProject/ExampleScenes/Example14_TurnBased_Hexagon/Astar3DButton.cs
mrcece/ColaFrameWork
495
7049225
using UnityEngine; using System.Collections; using Pathfinding; [HelpURL("http://arongranberg.com/astar/docs/class_astar3_d_button.php")] public class Astar3DButton : MonoBehaviour { public GraphNode node; public void OnHover (bool hover) { // TODO: Play animation } public void OnClick () { // TODO: Play ani...
MVPathway/Presenters/BasePresenter.cs
UizzUW/MVPathway
3
7049226
<filename>MVPathway/Presenters/BasePresenter.cs using MVPathway.MVVM; using MVPathway.MVVM.Abstractions; using MVPathway.Presenters.Abstractions; using System.Threading.Tasks; using System; using MVPathway.Logging.Abstractions; using System.Collections.Generic; namespace MVPathway.Presenters { public abstract cla...
src/EdgeDB.Net.QueryBuilder/Operators/Enums/DateTimeTruncateUnit.g.cs
quinchs/EdgeDB.Net
7
7049227
<reponame>quinchs/EdgeDB.Net namespace EdgeDB { [EnumSerializerAttribute(SerializationMethod.Lower)] public enum DateTimeTruncateUnit { Microseconds, Milliseconds, seconds, minutes, hours, days, weeks, months, quarters, years, ...
sdk/dotnet/Inputs/EncryptionAtRestAwsKmsConfigGetArgs.cs
pulumi/pulumi-mongodbatlas
9
7049228
<reponame>pulumi/pulumi-mongodbatlas<filename>sdk/dotnet/Inputs/EncryptionAtRestAwsKmsConfigGetArgs.cs // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generi...
TestMate/TestMate/TestPage.xaml.cs
garciart/TestMate
0
7049229
<reponame>garciart/TestMate /* * Question and answer page. * * .NET Standard version used: 2.0 * C# version used: 7.3 * * Styling guide: .NET Core Engineering guidelines * (https://github.com/dotnet/aspnetcore/wiki/Engineering-guidelines#coding-guidelines) and * C# Programming Guide * (https://doc...
src/DotVVM.Samples.Common/ViewModels/FeatureSamples/Validation/ValidationRulesLoadOnPostbackViewModel.cs
vnwonah/dotvvm
641
7049230
<filename>src/DotVVM.Samples.Common/ViewModels/FeatureSamples/Validation/ValidationRulesLoadOnPostbackViewModel.cs<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Linq; using System.Text; using DotVVM.Framework.ViewModel; using System.ComponentModel.DataAnnotations; namespace DotVVM.Samp...
Assets/Scripts/Interactable/GroceryCart.cs
team-nineteen/shopping-frenzy
0
7049231
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GroceryCart : MonoBehaviour { [Tooltip("Sound to play whenever you purchase stuff.")] public AudioSource purchaseSound; private GroceryList groceryList; private List<Item> items; void Start() { ...
Gorilla Warfare/Assets/TopDown/Enemies/Scripts/EnemyFollow.cs
MickeySuperS/GGJ_2022
0
7049232
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TopDown { public class EnemyFollow : Enemy { public float enemySpeed; [HideInInspector] public float enemyDamagedSpeed; float defaultEnemyDamageSpeed = -20; float currentSpeed; prot...
DemoAutoService/Views/Shared/_Layout.cshtml
GalbinitaSebastian97/ASPNET
0
7049233
<reponame>GalbinitaSebastian97/ASPNET <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - DemoAutoService</title> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.c...
CoursesSystem/CoursesSystem.Server/Models/Courses/CourseRequestModel.cs
g-yonchev/CoursesSystem
0
7049234
namespace CoursesSystem.Server.Models.Courses { using CoursesSystem.Data.Models; using CoursesSystem.Server.Infrastructure.Mapping; public class CourseRequestModel : IMapFrom<Course> { public string Name { get; set; } public string Code { get; set; } } }
osu.Game/Overlays/Dashboard/Home/DrawablePopularBeatmapList.cs
ProTheory8/osu
10,964
7049235
<reponame>ProTheory8/osu<gh_stars>1000+ // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Game.Beatmaps; namespace osu.Game.Overlays.Dashboard.Home { public class DrawablePo...
src/Structr.AspNetCore/Mvc/JavaScriptAlertResult.cs
monankov/Structr
5
7049236
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using Structr.AspNetCore.JavaScript; using System; using System.Threading.Tasks; namespace Structr.AspNetCore.Mvc { public class JavaScriptAlertResult : IActionResult { private readonly IActionResult _result; privat...
DSPLogistics.Win.Console/GameLocationFinder.cs
MatricField/DSPLogistics
1
7049237
<reponame>MatricField/DSPLogistics<gh_stars>1-10 using Microsoft.Win32; using System.IO; namespace DSPLogistics.Win { public class GameLocationFinder { private const string DSPGameConfigRegKey = @"HKEY_CURRENT_USER\System\GameConfigStore\Children\0758a38d-d535-4e2b-895a-d174d0ba3158"; private ...
src/DataProviders/AlphaVantage.cs
rrelyea/3fund-info
1
7049238
<gh_stars>1-10 using System; using System.IO; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; namespace daily.DataProviders { public class AlphaVantage { public TimeSeries TimeSeries { get; private set; } public string Symbol { get; private set; } public st...
Simorgh/Simorgh/Views/ReservationItems/Index.cshtml
erfannoury/Simorgh
1
7049239
@model IEnumerable<Simorgh.Models.ReservationItem> @{ ViewBag.Title = "Index"; } <h2>Index</h2> <p> @Html.ActionLink("Create New", "Create") </p> <table> <tr> <th></th> <th> Reservation </th> <th> RoomType </th> <th> Hote...
Metrolib/Controls/ToggleButtons/OneWayToggle.cs
johnmbaughman/Metrolib
22
7049240
<reponame>johnmbaughman/Metrolib<gh_stars>10-100 using System.Windows; using System.Windows.Controls; using System.Windows.Input; // ReSharper disable CheckNamespace namespace Metrolib.Controls // ReSharper restore CheckNamespace { /// <summary> /// A button that can only be toggled on, but not off by itself. ...
clients/v1/csharp/samples/convert/Program.cs
Muhimbi/PDF-Converter-Services-Online
21
7049241
using Muhimbi.PDF.Online.Client.Api; using Muhimbi.PDF.Online.Client.Client; using Muhimbi.PDF.Online.Client.Model; using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; namespace sample { class Program { // !!!! ENTER YOUR API KEY HERE !!!! static strin...
Hawk.ETL/Plugins/Generators/FileContentGenerator.cs
JohanShen/Hawk
3
7049242
<gh_stars>1-10 using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Windows.Controls.WpfPropertyGrid.Attributes; using System.Windows.Controls.WpfPropertyGrid.Controls; using Hawk.Core.Connectors; using Hawk.Core.Utils; using Hawk.Core.U...
playground/compression/Program.cs
bytewizer/runtime
2
7049243
<reponame>bytewizer/runtime using System; using System.IO; using System.Text; using System.Diagnostics; using Bytewizer.TinyCLR.IO.Zip; using Bytewizer.TinyCLR.IO.GZip; using Bytewizer.TinyCLR.IO.Compression; using GHIElectronics.TinyCLR.IO; using GHIElectronics.TinyCLR.Pins; using GHIElectronics.TinyCLR.Devices.Sto...
CoreAudioApi/interfaces/IAudioStreamVolume.cs
shigobu/KaigenUnicorn
0
7049244
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace CoreAudioApi.Interfaces { [ComImport, System.Security.SuppressUnmanagedCodeSecurity, Guid("93014887-242D-4068-8A15-CF5E93B90FE3"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] int...
src/SIM.Core/Models/Configuration/ConfigDatabaseWorkflowProviderInfo.cs
jammykam/Sitecore-Instance-Manager
0
7049245
<filename>src/SIM.Core/Models/Configuration/ConfigDatabaseWorkflowProviderInfo.cs<gh_stars>0 namespace SIM.Core.Models.Configuration { using System.Linq; using System.Xml; using SIM.Extensions; public class ConfigDatabaseWorkflowProviderInfo { public string Database { get; set; } public string Type...
CybtansSDK/Cybtans.Services/FileStorage/FileContent.cs
ansel86castro/cybtans-sdk
14
7049246
using System; using System.IO; #nullable enable namespace Cybtans.Services.FileStorage { public class FileContent { public FileContent(string name, byte[] contentHash, long contentLength, string contentType, DateTimeOffset lastModified, Stream content) { Name = name; C...
src/Corazon/Units/Common/Time/TimeUnit.cs
ericveilleux/Corazon
1
7049247
<reponame>ericveilleux/Corazon<filename>src/Corazon/Units/Common/Time/TimeUnit.cs using Corazon.Common; namespace Corazon.Units.Common.Time { public class TimeUnit : Unit { public static readonly TimeUnit Second = new TimeUnit(TimeUnitTypes.Second); public static readonly TimeUnit Minute = new...
src/DesignsOfDotNet/Data/Document.cs
terrajobst/designsof.net
7
7049248
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Markdig; namespace DesignsOfDotNet.Data { public sealed class Document { public Document(DocumentKind kind, string url, string path, int? year, string title, IReadOnlyList<D...
eTeatar/DataTransferObjects/Narudzba.cs
AdnanIT/eTeatar
0
7049249
<reponame>AdnanIT/eTeatar<filename>eTeatar/DataTransferObjects/Narudzba.cs using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace DataTransferObjects { public class Narudzba { public string Id { get; set; } [JsonIgnore] public string KupacI...
src/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.cs
benjamin-bader/corefx
1
7049250
<reponame>benjamin-bader/corefx<filename>src/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.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 info...
DbShell.Core/RazorModels/TableDataModel.cs
dbshell/dbshell
2
7049251
<gh_stars>1-10 using System.Collections.Generic; using DbShell.Driver.Common.Interfaces; using DbShell.Driver.Common.Structure; namespace DbShell.Core.RazorModels { //public class TableDataModel //{ // private ITabularDataSource _table; // private TableInfo _structure; // public TableDat...
Assets/CameraShake/Explosion.cs
Jakky27/RTS-Movement-Prototype
0
7049252
using UnityEngine; using System.Collections; public class Explosion : MonoBehaviour { [SerializeField] ShakeableTransform target; [SerializeField] float delay = 1f; /// <summary> /// Maximum possible stress that will be inflicted /// on the target when it is immediately beside the //...
Project/CefSharpWPFTarget/MainWindow.xaml.cs
guxialv/Selenium.CefSharp.Driver
11
7049253
using System.Windows; namespace CefSharpWPFTarget { public partial class MainWindow : Window { public bool IsLoadEnded { get; set; } public MainWindow() { InitializeComponent(); _browser.FrameLoadEnd += (_, __) => IsLoadEnded = true; } } }
OpenNefia.Core/Serialization/TypeSerializers/Implementations/StringSerializer.cs
Zechsu/OpenNefia
38
7049254
<filename>OpenNefia.Core/Serialization/TypeSerializers/Implementations/StringSerializer.cs<gh_stars>10-100 using JetBrains.Annotations; using OpenNefia.Core.IoC; using OpenNefia.Core.Serialization.Manager; using OpenNefia.Core.Serialization.Manager.Attributes; using OpenNefia.Core.Serialization.Manager.Result; using Op...
ReflectionLibrary/UnityConfig.cs
cornelha/DynamicMVC
17
7049255
<reponame>cornelha/DynamicMVC using System; using Microsoft.Practices.Unity; using ReflectionLibrary.Builders; using ReflectionLibrary.Extensions; using ReflectionLibrary.Interfaces; using ReflectionLibrary.Managers; using ReflectionLibrary.Models; namespace ReflectionLibrary { public class UnityConfig { ...
AdventOfCode2020/Day15.cs
hervala/AoC2020
0
7049256
using CliFx; using CliFx.Attributes; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using static System.Math; namespace AdventOfCode2020 { [Command(nameof(Day15))] ...
src/client/Mutators/Mutations.cs
CosX/sanity-client
0
7049257
using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; namespace Olav.Sanity.Client.Mutators { public class Mutations { [JsonPropertyName("Mutations")] private readonly List<object> _mutations; public Mutations() => _mutations = new List<object...
ASmarty.Testing/Evaluator/VariableModifiers/CombiningModifiersFixture.cs
aooshi/asmarty
0
7049258
using NUnit.Framework; namespace ASmarty.Testing.Evaluator.VariableModifiers { public class CombiningModifiersFixture : EvaluatorFixture { [Test] public void ShouldAllowCombiningMultipleModifiers() { const string input = "{$article|lower|spacify|truncate:30:\". . .\"}"; ...
src/tModLoader/Terraria.UI/AchievementCompleteUI.cs
BloodARG/tModLoaderTShock
1
7049259
<reponame>BloodARG/tModLoaderTShock<gh_stars>1-10 using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using Terraria.Achievements; using Terraria.GameInput; using Terraria.Graphics; namespace Terraria.UI { public class AchievementCompleteUI { publi...
src/Tools/RedisManager/Program.cs
gyantal/SqCore
0
7049260
using System; using SqCommon; using NLog; using System.Xml; using System.Threading; using System.Net.NetworkInformation; using Microsoft.Extensions.Configuration; using System.IO; namespace RedisManager { class Program { //private static readonly NLog.Logger gLogger = NLog.LogManager.GetCurrentClassLo...
EvolutionaryComputation/App_Code/Input.cs
Talagozis/EvolutionaryComputation
0
7049261
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; namespace EvolutionaryComputation.App_Code { public class Input { public ObservableCollection<KeyValuePair<string, int>> ValueList { get; private set; } public Input() ...
DynamicCode/Contracts/CompilerException.cs
validide/poc-dynamic-csharp-generation
0
7049262
<filename>DynamicCode/Contracts/CompilerException.cs<gh_stars>0 using System; namespace Contracts { public class CompilerException : Exception { public CompilerException(string message, Exception innerException) : base(message, innerException) { } } }
Twitch/Twitch.Base/Models/Clients/PubSub/PubSubResponsePacketModel.cs
KaefGAMES/StreamingClientLibrary
36
7049263
<filename>Twitch/Twitch.Base/Models/Clients/PubSub/PubSubResponsePacketModel.cs<gh_stars>10-100 namespace Twitch.Base.Models.Clients.PubSub { /// <summary> /// A PubSub web socket response packet. /// </summary> public class PubSubResponsePacketModel : PubSubPacketModel { /// <summary> ...
ECSUnityVisualScript/Packages/com.unity.graphtools.foundation/Tests/Editor/Models/NodeModelPortsOrderTests.cs
linyuan5856/ECS_UnityVisualScript
0
7049264
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using NUnit.Framework; using UnityEditor.VisualScripting.Editor; using UnityEditor.VisualScripting.GraphViewModel; using UnityEditor.VisualScripting.Model; using UnityEditor.VisualScripting.Model.Stencils; using UnityEngine;...
ReloadableRFID.Library/Models/DepartmentModel.cs
aplasca23/dumapit_clavaton_rfid
0
7049265
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ReloadableRFID.Library.Models { public class DepartmentModel { public int Id { get; set; } public string Department { get; set; } public DateTime DateCreated { ...
Framework.Core/System/Security/IPermission.cs
workgroupengineering/Theraot
113
7049266
<reponame>workgroupengineering/Theraot #if LESSTHAN_NETCOREAPP20 || LESSTHAN_NETSTANDARD20 namespace System.Security { public interface IPermission : ISecurityEncodable { IPermission Copy(); void Demand(); IPermission? Intersect(IPermission target); bool IsSubsetOf(IPermissi...
Scripts part1/Inventory/IItem.cs
benanil/Bukra_Game
0
7049268
 using Inventory; using Rock; using UnityEngine; public interface IItem { byte id(); RockPack RockPack(); Sprite icon(); void ChangeLanguage(ItemStrings strings); }
src/AdventOfCode2018/Day5Solver.cs
agnul/AdventOfCode2018
0
7049269
<filename>src/AdventOfCode2018/Day5Solver.cs using System.Collections.Generic; using System.Linq; namespace AdventOfCode2018 { public class Day5Solver { public static int SolvePart1For(string s) { return React(s).Length; } public static int SolvePart2For(string s) ...
src/LVK.Data.Protection/ServicesBootstrapper.cs
FeatureToggleStudy/LVK
0
7049272
using System; using DryIoc; using JetBrains.Annotations; using LVK.Configuration; using LVK.DryIoc; using LVK.Json; namespace LVK.Data.Protection { [PublicAPI] public class ServicesBootstrapper : IServicesBootstrapper { public void Bootstrap(IContainer container) { if (conta...
Dynastream.Fit/Fit/Profile/Mesgs/WorkoutMesg.cs
gcaufield/FitFileTools
0
7049273
#region Copyright //////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Garmin Canada Inc. // The software is being provided on an "as-is" basis and as an acco...
Assets/Plugins/Control-Freak-2/Scripts/Internal/InputBindings/IBindingContainer.cs
WarKu-Project/WarKu-3D-Edition
0
7049274
// ------------------------------------------- // Control Freak 2 // Copyright (C) 2013-2016 Dan's Game Tools // http://DansGameTools.com // ------------------------------------------- //! \cond using UnityEngine; using System.Collections.Generic; namespace ControlFreak2.Internal { // --------------- public inte...
UIControls/Core/MergeMessage/RevRange.cs
azarkevich/TortoiseRally
4
7049275
<reponame>azarkevich/TortoiseRally<filename>UIControls/Core/MergeMessage/RevRange.cs<gh_stars>1-10 using System.Diagnostics; using System.Globalization; namespace TrackGearLibrary.Core.MergeMessage { [DebuggerDisplay("Range = ({RangeStart}, {RangeEnd})")] struct RevRange { public long RangeStart; public long R...
Homework_1/Level2_3/ArrayOperations/ArrayOptions.cs
antomys/Parimatch_Academy_Homeworks
0
7049276
<filename>Homework_1/Level2_3/ArrayOperations/ArrayOptions.cs namespace Level2_3.ArrayOperations { using System; using System.Linq; internal class ArrayOptions : IArrayOptions { private int[] _sortedArray; private int _rangeLength; public void InputRange(int rangeLength) ...
SolarSystemAR/Assets/Scripts/RotatePlanet.cs
LTolosa/SolarSystemAR
1
7049277
<reponame>LTolosa/SolarSystemAR using UnityEngine; using System.Collections; public class RotatePlanet : MonoBehaviour { public float RotationSpeed; //Rotation speed of planet. Calculated same as earth public static float speed = 1f; //Speed of rotation const float earthRot = 463.831f; //U...