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/SV.UPnPLite.Core/Protocols/SSDP/Messages/NotifyMessage.cs
kinglionsoft/DlnaController
4
7070343
namespace SV.UPnPLite.Core { using System; using System.Collections.Generic; using System.Linq; /// <summary> /// Defines the NOTIFY ssdp message. /// </summary> internal class NotifyMessage : SSDPMessage { public string Host { get; set; } /// <summary> /// Gets the type of...
aspnet-core/src/LearningAbp.Application/Tasks/Dto/TaskDto.cs
IAmWhoAmI007/MyAbpTest
0
7070344
using Abp.Application.Services.Dto; using System; using System.Collections.Generic; using System.Text; namespace LearningAbp.Tasks.Dto { public class TaskDto : EntityDto { public long? AssignedPersonId { get; set; } public string AssignedPersonName { get; set; } public string Title {...
src/MonoTiled/Tiled/TmxLoading/TmxTile.cs
EnigmaDragons/ZFS
4
7070345
<gh_stars>1-10 namespace MonoTiled.Tiled.TmxLoading { public class TmxTile { public int Column { get; } public int Row { get; } public int TextureId { get; } public TmxTile(int column, int row, int textureId) { Column = column; Row = row; ...
EvolutionProject/Assets/Editor/EntityInspectorEditor.cs
Ajay2002/ASGC-Final
0
7070346
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(CreatureEntity))] public class EntityInspectorEditor : Editor { CreatureEntity e; void OnEnable() { e = (CreatureEntity)target; } public ov...
StudingWizardPro/StudingWizardPro.DataAccess/Entities/RoleAccessRights.cs
ivandobrinovv/dotNetCore
3
7070347
using System; using System.Collections.Generic; using System.Text; namespace StudingWizardPro.DataAccess.Entities { public class RoleAccessRight { public int AccessRightID { get; set; } public AccessRight AccessRight { get; set; } public int RoleID { get; set; } public Role Rol...
sourceCode/cinch/V2 (VS2010 WPF and SL)/CinchV2.WPF/Services/Test Implementations/TestViewAwareStatusWindow.cs
Minskaya/Cinch
0
7070348
<filename>sourceCode/cinch/V2 (VS2010 WPF and SL)/CinchV2.WPF/Services/Test Implementations/TestViewAwareStatusWindow.cs<gh_stars>0 using System; using System.Windows; using System.ComponentModel.Composition; using System.Windows.Threading; using System.ComponentModel; namespace Cinch { /// <summary> /// A te...
src/Foundation/Sample/code/Constants/Templates.cs
mtelligent/Sitecore-Reference-Solution
9
7070349
<reponame>mtelligent/Sitecore-Reference-Solution<filename>src/Foundation/Sample/code/Constants/Templates.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SF.Foundation.Sample.Constants { public class Templates { public const string SampleContent = "{D55...
PipesAndFilters/PipesAndFilters/PipesAndFilters/ExceptionHandlingFilter.cs
mishrsud/MediatrPipeline
1
7070350
using System; using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.Logging; using PipesAndFilters.Pipelines; namespace PipesAndFilters { public class ExceptionHandlingFilter : IPipelineBehavior<PizzaPipelineContext, PipelineResponse> { private readonly IL...
Preflight/Preflight/Services/Parsers/IFeedParser.cs
wsv-accidis/preflight
0
7070351
using System.Collections.Generic; using Accidis.Apps.Preflight.Model; namespace Accidis.Apps.Preflight.Services.Parsers { public interface IFeedParser { void ParseResponse( string response, Feed feed ); string GenerateUrlFromFeeds( IEnumerable<FeedMetaData> feeds ); } }
Managed/main/SafeCellSensor.cs
undancer/oni-data
1
7070352
using Klei.AI; public class SafeCellSensor : Sensor { private MinionBrain brain; private Navigator navigator; private KPrefabID prefabid; private Traits traits; private int cell = Grid.InvalidCell; public SafeCellSensor(Sensors sensors) : base(sensors) { navigator = GetComponent<Navigator>(); brain =...
TRL.Connect.Smartcom.Test/Data/RawTradingDataTests.cs
wouldyougo/TRx
7
7070354
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using TRL.Connect.Smartcom.Data; using TRL.Common.Data; namespace TRL.Connect.Smartcom.Test.Data { [TestClass] public class RawTradingDataTests { [TestMethod] ...
Unity Project/Assets/Scripts/Player/Astronaut/BarricadeTrigger.cs
MarkHerdt/Crazy-Arena-Unity-2020
1
7070355
<filename>Unity Project/Assets/Scripts/Player/Astronaut/BarricadeTrigger.cs using UnityEngine; [RequireComponent(typeof(BoxCollider))] public class BarricadeTrigger : MonoBehaviour { [SerializeField] private Barricade barricade; public Barricade Barricade { get { return barricade; } } private Astronaut as...
Core/Html/TextAreaExtensions.cs
edurdias/RunningObjects
4
7070356
<reponame>edurdias/RunningObjects<filename>Core/Html/TextAreaExtensions.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Globalization; using System.Web.Mvc; namespace RunningObjects.Core.Html { public static class TextAreaExtensions { private const int TextAreaRows = 2; ...
Web/Main.aspx.cs
Mohamedmtc/BookShop-YiShuGuan
35
7070357
using System; using System.Collections.Generic; using System.Text; using Dao; using Model; namespace Web { public partial class Main : System.Web.UI.Page { /// <summary> /// 热搜图书占位符 /// </summary> public string HotSearch { get; set; } /// <summary> /// 新书上架占位符 ...
ProjectsTM.Model/MembersWorkItems.cs
skeiya/TaskManagement
2
7070358
<filename>ProjectsTM.Model/MembersWorkItems.cs using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Xml.Linq; namespace ProjectsTM.Model { public class MembersWorkItems : IEnumerable<WorkItem> { private readonly List<WorkItem> _items = new List<WorkItem>()...
IdentityBuilderExtensions.cs
eKiosk/HardwareSensorSystem.Identity
0
7070360
using HardwareSensorSystem.Identity.Models; using Microsoft.Extensions.DependencyInjection; using System; using Microsoft.IdentityModel.Tokens; namespace Microsoft.AspNetCore.Builder { public static class IdentityBuilderExtensions { public static void AddHssIdentity(this IServiceCollection services, S...
tests/NoWoL.TestUtils.Tests/Expressions/ExpressionArgumentInfoTests.cs
nowol/nwl.TestingUtilities
0
7070361
using NoWoL.TestingUtilities.Expressions; using Xunit; namespace NoWoL.TestingUtilities.Tests.Expressions { public class ExpressionArgumentInfoTests { [Fact] [Trait("Category", "Unit")] public void SettingTheNameAllowsUsToReadItBack() { var sut = new ...
src/Disqord.Rest.Api/RestApiErrorCode.cs
Zackattak01/Disqord
1
7070362
namespace Disqord.Rest { public enum RestApiErrorCode { Unknown = 0, UnknownAccount = 10001, UnknownApplication = 10002, UnknownChannel = 10003, UnknownGuild = 10004, UnknownIntegration = 10005, UnknownInvite = 10006, Unkn...
aspnet-core/src/GYISMS.Application/DocCategories/Dtos/GetDocCategoryForEditOutput.cs
DonaldTdz/GYISMS
2
7070363
using System.Collections.Generic; using Abp.Application.Services.Dto; using GYISMS.DocCategories; namespace GYISMS.DocCategories.Dtos { public class GetDocCategoryForEditOutput { public DocCategoryEditDto DocCategory { get; set; } } }
Samples~/NextMind/Scripts/NeuroTeslaCalibrationManager.cs
atx-barnes/unity-tesla-kit
2
7070364
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; using NextMind.Calibration; using TMPro; using NextMind.Devices; using NextMind; public class NeuroTeslaCalibrationManager : MonoBehaviour { public AdvancedTeslaClientInterfaceManager TeslaInterfaceManager; public Ga...
src/Framework.Persistent/HierarchicalNodeExtensions.cs
Luxoft/BSSFramework
18
7070365
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; namespace Framework.Persistent { public static class HierarchicalNodeExtensions { public static List<HierarchicalNode<TResult, TIdent>> ToList<TSource, TResult, TIdent>([NotNull] this IEnumerable...
Ultrapowa Clash Server/Packets/Messages/Client/RemoveFromBookmark.cs
starfury1927/UltraPowaCOC
1
7070366
using System; using System.IO; using UCS.Core.Network; using UCS.Helpers; using UCS.Logic; using UCS.Logic.DataSlots; using UCS.PacketProcessing.Messages.Server; namespace UCS.PacketProcessing.Messages.Client { // Packet 14344 internal class RemoveFromBookmarkMessage : Message { public RemoveFromB...
src/ConsoleApplication1/Program.cs
ryanrodemoyer/WebApiHttpLogging
0
7070367
<filename>src/ConsoleApplication1/Program.cs<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Web.Http; using Microsoft.Owin; using Microsoft...
src/FeatherVane/Configuration/FeatherVaneConfigurators/FanoutConfiguratorImpl.cs
phatboyg/FeatherVane
1
7070368
// Copyright 2012-2013 <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 agree...
src/Sentiment/Wikiled.Sentiment.AcceptanceTests/Helpers/Data/SentimentAspectData.cs
keistokas/Wikiled.Sentiment
8
7070369
namespace Wikiled.Sentiment.AcceptanceTests.Helpers.Data { public class SentimentAspectData { public SentimentAspectData(SentimentTestData sentiment, TopItems attributes, TopItems features) { Sentiment = sentiment; Features = features; Attributes = attributes...
Game/AppInfo.cs
bwdy/bwdykit.Template
0
7070370
using System; using System.Collections.Generic; using System.Text; namespace Game { public static class AppInfo { public const string Title = "Templatey McTemplateface"; public const string Description = "A template for all your templating needs."; public const string Version = "1.0.0"...
PushConfiguration.Abstractions/Models/PushEndpoint.cs
tuwrraphael/PushServer
14
7070371
using System.Collections.Generic; namespace PushServer.PushConfiguration.Abstractions.Models { public class PushEndpoint { public string Endpoint { get; set; } public IDictionary<string, string> EndpointOptions { get; set; } } }
tests/gfoidl.Base64.Tests/Internal/AssertHelperTests/AssertRead.sse.cs
gfoidl/Base64
36
7070372
<reponame>gfoidl/Base64 using System; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; using gfoidl.Base64.Internal; using NUnit.Framework; namespace gfoidl.Base64.Tests.Internal.AssertHelperTests { [TestFixture] public partial cl...
API_Consumer/Players/PlayerViewById.cs
bokac1984/team_data
0
7070373
<gh_stars>0 using API_Consumer.Common; using System; using Player; using System.Windows.Forms; namespace API_Consumer.Players { public partial class PlayerViewById : InitForm { public string _PlayerName { get; set; } public PlayerViewById() { InitializeComponent(); ...
tests/tests/classes/tests/ExtensionsTest/ControlExtensionTest/CCControlSliderTest/CCControlSliderTest.cs
Karunp/cocos2d-xna
13
7070374
using System; using Cocos2D; namespace tests.Extensions { public class CCControlSliderTest : CCControlScene { protected CCLabelTTF m_pDisplayValueLabel; public override bool Init() { if (base.Init()) { CCSize screenSize = CCDirector.SharedDirecto...
src/Profile.cs
agalloch21/sina-weibo-on-vvvv
0
7070375
using System; using System.ComponentModel.Composition; using System.Collections.Generic; using System.Diagnostics; using VVVV.PluginInterfaces.V1; using VVVV.PluginInterfaces.V2; using VVVV.Utils.VColor; using VVVV.Utils.VMath; using VVVV.Core.Logging; using NetDimension.OpenAuth.Sina; using NetDimension.OpenAuth.Wi...
BookStoreAPI.Repositories/Interfaces/IBookRepository.cs
Ewelaajn/BookStoreAPI
0
7070376
using System.Collections.Generic; using BookStoreAPI.Repositories.Models; namespace BookStoreAPI.Repositories.Interfaces { public interface IBookRepository { Book CreateBook(Book book); Book GetBookByTitle(string title); IEnumerable<Book> GetAllBooks(); IEnumerable<Book> GetBoo...
Source/Gapotchenko.FX.Math.Topology/Graph`1.Clone.cs
kevingosse/Gapotchenko.FX
0
7070377
<gh_stars>0 using System; namespace Gapotchenko.FX.Math.Topology { partial class Graph<TVertex> { /// <summary> /// Clones the current graph. /// </summary> /// <returns>The new graph instance which is a clone of the current graph.</returns> public Graph<TVertex> Clone(...
src/Microsoft/Windows/ComponentObjectModel/_Library/ComponentRegistrationInformation.cs
DarkCreekWay/OSI
0
7070378
using System; namespace DarkCreekWay.OSI.Microsoft.Windows.ComponentObjectModel { /// <summary> /// Defines and common component information. /// </summary> public abstract class ComponentRegistrationInformation { /// <summary> /// The CLSID of the Component /// </summary> ...
NDesk.DBusTests/IntergrationTests/PrivateIBusTests.cs
sillsdev/dbus-sharp
0
7070379
<reponame>sillsdev/dbus-sharp using System; using System.Diagnostics; using System.IO; using System.Threading; using NDesk.DBus; using NUnit.Framework; using org.freedesktop.DBus; namespace NDesk.DBusTests.IntergrationTests { [TestFixture] public class PrivateIBusTests { [Interface("org.freedesktop.IBus.Panel")] ...
RTWTR/RTWTR.MVC/Areas/Administration/Controllers/UsersController.cs
RTWTR/RTWTR
1
7070380
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using RTWTR.Data.Models; using RTWTR.Infrastructure; using RTWTR.Infrastructure.Exceptions; using RTWTR.Infrastructure.Mapping.Provider; using RTWTR.MVC.Areas.Ad...
ContentReportBuilder.iTextSharp/Builder/Pdf/Elements/PdfHeader.cs
tnboswell/ContentReportBuilder
0
7070381
using ContentReportBuilder.Builder; using ContentReportBuilder.Models; using ContentReportBuilder.Models.ElementDataModels; using iTextSharp.text; namespace ContentReportBuilder.ITextSharp.Builder.Pdf.Elements { public class PdfHeader : DocumentElementBuilder<Document>, IDocumentElementBuilder { publi...
Source/RouteLocalization.Mvc.Sample/Controllers/HomeController.cs
Dresel/RouteLocalization
64
7070382
<reponame>Dresel/RouteLocalization namespace RouteLocalization.Mvc.Sample.Controllers { using System.Threading; using System.Web.Mvc; public partial class HomeController : Controller { [Route("Book/{chapter}/{page}", Name = "Book")] public virtual ActionResult Book(int chapter, int page) { return View();...
src/Murtain.OAuth2/Models/Account/AccountViewModel.cs
Murtain/Murtain.X_DVA
0
7070384
<reponame>Murtain/Murtain.X_DVA using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Murtain.OAuth2.Models.Account { public class AccountViewModel : ErrorViewModel { public string ReturnUrl { get; set; } public string L...
AI Unity Project/Assets/Scripts/StateMachine/Classes/DefaultActions/FleeAction.cs
bjck/AMFU
1
7070385
<gh_stars>1-10 using UnityEngine; using System.Collections; using System.Collections.Generic; public class FleeAction : IAction { private FSMTeam myTeam; private FSMTeam enemyTeam; private List<GameObject> enemies = new List<GameObject>(); private List<GameObject> sortedEnemiesByDist = new List<GameObject>(); p...
tests/OpenTracing.Contrib.MongoDB.Tests/DiagnosticsActivityEventSubscriberTests.cs
bocharovf/opentracing-mongodb
0
7070386
using MongoDB.Bson; using MongoDB.Driver; using MongoDB.Driver.Core.Clusters; using MongoDB.Driver.Core.Connections; using MongoDB.Driver.Core.Events; using MongoDB.Driver.Core.Servers; using OpenTracing.Mock; using Shouldly; using System; using System.Collections.Generic; using System.Linq; using System.Net; using Xun...
ZNS.EliteTracker/Controllers/SolarSystemController.cs
ZNS/EliteTracker
1
7070387
<reponame>ZNS/EliteTracker using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Raven.Client; using Raven.Client.Linq; using ZNS.EliteTracker.Models; using ZNS.EliteTracker.Models.Documents; using ZNS.EliteTracker.Models.Indexes; using ZNS.EliteTracker.Models...
C#1/Operators and expressons/9. Trapezoids/9. Trapezoids.cs
snukal/All-Telerik-Homeworks
0
7070388
using System; //Write an expression that calculates trapezoid's area by given sides a and b and height h. class Trapezoids { static void Main() { Console.WriteLine("Enter value for a: "); double baseA = double.Parse(Console.ReadLine()); Console.WriteLine("Enter value for b: "); ...
GameOfLife.Console/ConsoleOutput.cs
keneanung/GameOfLife-TDD-Course
0
7070389
<reponame>keneanung/GameOfLife-TDD-Course using GameOfLife.Lib.Domain; namespace GameOfLife.Console { internal class ConsoleOutput : IOutput { public void Output(GameBoard gameBoard) { System.Console.Clear(); for (var y = 0; y < gameBoard.SizeY; y++) { ...
src/Microsoft.AspNet.Mvc.Razor/VirtualPathRazorPageFactory.cs
Shazwazza/Mvc
0
7070390
<filename>src/Microsoft.AspNet.Mvc.Razor/VirtualPathRazorPageFactory.cs // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNet.Mvc.Core; using Microsoft....
Server_nw/Server_nw/AuthorizationService/DtoModels/CreateDto/BandCreateDto.cs
Andrewst-commits/MyMusicServer
0
7070391
using Server_nw.Attributes; using Server_nw.AuthorizationApplication.Entities; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Server_nw.AuthorizationService.DtoModels.CreateDto { public class BandCreateDto ...
src/protobuf-net-data/UnsupportedColumnTypeException.cs
marfenij/protobuf-net-data
0
7070393
<filename>src/protobuf-net-data/UnsupportedColumnTypeException.cs // Copyright (c) <NAME>, <NAME>. See LICENSE in the project root for license information. using System; using ProtoBuf.Data.Internal; namespace ProtoBuf.Data { /// <summary> /// Exception thrown when a <see cref="System.Data.IDataReader"/> wit...
Assets/InteractML/Scripts/IML Nodes/Movement Features Nodes/Editor/VelocityNodeEditor.cs
Interactml/iml_framework
134
7070394
<reponame>Interactml/iml_framework using System.Collections; using System.Collections.Generic; using UnityEngine; #if UNITY_EDITOR using UnityEditor; using XNodeEditor; #endif namespace InteractML.GameObjectMovementFeatures { [CustomNodeEditor(typeof(VelocityNode))] public class ExtractVelocityNodeEditor : IM...
MinecraftMappings.NET/Minecraft/Java/Textures/Entity/Pig/PigSaddle.cs
null511/MinecraftMappings.NET
0
7070395
using MinecraftMappings.Internal.Textures.Entity; namespace MinecraftMappings.Minecraft.Java.Textures.Entity.Pig { public class PigSaddle : JavaEntityTexture { public PigSaddle() : base("Pig Saddle") { AddVersion("pig_saddle") .WithPath("entity/pig") ...
Pentagonal/src/Pentagonal.Auth/PentagonalAuthenticationServices.cs
0xFireball/Pentagonal
1
7070396
using Nancy; using Nancy.Bootstrapper; using System; using System.Threading; using System.Threading.Tasks; namespace Pentagonal.Auth { public static class PentagonalAuthenticationServices { public static PentagonalAuthConfiguration Configuration { get; private set; } public static void Enable...
src/Evelyn.Core.Tests/ReadModel/EventStream/Handlers/EventStreamHandlerSpecs.cs
binarymash/evelyn
16
7070397
namespace Evelyn.Core.Tests.ReadModel.EventStream.Handlers { using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using AutoFixture; using Evelyn.Core.ReadModel.EventStream; using Evelyn.Core.ReadModel.EventStream.Handl...
src/Mongo/src/Eventuous.Projections.MongoDB/MongoCheckpointStore.cs
Eventuous/eventuous
190
7070398
using System.Collections.Concurrent; using Eventuous.Subscriptions.Checkpoints; using Microsoft.Extensions.Options; using MongoDB.Driver.Linq; using static Eventuous.Subscriptions.Diagnostics.SubscriptionsEventSource; using MongoDefaults = Eventuous.Projections.MongoDB.Tools.MongoDefaults; namespace Eventuous.Projecti...
JitEvolution.Core/Models/Analyzer/App.cs
L1nde/JitEvolution
0
7070399
using Newtonsoft.Json; namespace JitEvolution.Core.Models.Analyzer { public class App : INode { [JsonProperty("name")] public string Name { get; set; } [JsonProperty("appKey")] public string AppKey { get; set; } [JsonProperty("version_number")] public int Vers...
src/OpenTelemetry/Resources/Resource.cs
keepgoing147/opentelemetry-dotnet
1
7070400
<reponame>keepgoing147/opentelemetry-dotnet<gh_stars>1-10 // <copyright file="Resource.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtai...
src/Nancy.Swagger.Annotations/SwaggerObjects/AnnotatedOperation.cs
dluciano/Nancy.Swagger
109
7070401
<filename>src/Nancy.Swagger.Annotations/SwaggerObjects/AnnotatedOperation.cs using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Nancy.Swagger.Annotations.Attributes; using Swagger.ObjectModel; namespace Nancy.Swagger.Annotations.SwaggerObjec...
Core/AI/BehaviourTree/BuiltInNodes/Wait.cs
RobertStivanson/Justice-Framework
0
7070402
<reponame>RobertStivanson/Justice-Framework<gh_stars>0 using UnityEngine; namespace JusticeFramework.Core.AI.BehaviourTree.BuiltInNodes { public class Wait : Leaf { private readonly float waitLength; public Wait(float length) { waitLength = length; } protected override void Open(BehaviourTree.Context ...
sdk/dotnet/src/Microsoft.Datasync.Client/Query/Linq/FilterBuildingExpressionVisitor.cs
fileman/azure-mobile-apps
0
7070405
// Copyright (c) Microsoft Corporation. All Rights Reserved. // Licensed under the MIT License. using Microsoft.Datasync.Client.Query.Linq.Nodes; using Microsoft.Datasync.Client.Serialization; using Microsoft.Datasync.Client.Utils; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; u...
2dCurveDatabase/Models/Entity.cs
tristanbatchler/CurveDatabase2d
0
7070406
using System; using System.ComponentModel.DataAnnotations; namespace CurveDatabase2d.Models { public class Entity { public int Id { get; set; } [DataType(DataType.Date)] [DisplayFormat(DataFormatString = "{0:dd MMM yyyy}", ApplyFormatInEditMode = true)] public DateTime Added {...
Assets/Plugins/Editor/OpenUnityTools/unityserializer-ng/StoreAnimatorEditor.cs
sootie8/Serialise-Work
0
7070407
<filename>Assets/Plugins/Editor/OpenUnityTools/unityserializer-ng/StoreAnimatorEditor.cs using UnityEngine; using UnityEditor; [CustomEditor(typeof(StoreAnimator))] public class StoreAnimatorEditor : Editor { private StoreAnimator script; public override void OnInspectorGUI() { base.OnInspectorGUI();...
Workshops/Panda/Panda.App/Views/Home/Index.cshtml
pirocorp/ASP.NET-Core
0
7070408
<filename>Workshops/Panda/Panda.App/Views/Home/Index.cshtml @inject SignInManager<PandaUser> signInManager @model HomeIndexViewModel @{ this.ViewData["Title"] = "Home Page"; } @if (!this.signInManager.IsSignedIn(this.User)) { <div class="jumbotron mt-3 bg-panda"> <h1 class="text-white">Welcome to PAN...
PMSM_calculation/motor/PMMotor/SPMStaticAnalyser.cs
lehn85/pmsm_calculation
8
7070409
/**** * PMSM calculation - automate PMSM design process * Created 2016 by <NAME> * https://github.com/lehn85/pmsm_calculation * All files are provided under the MIT license. ****/ using System; using System.Collections.Generic; namespace calc_from_geometryOfMotor.motor.PMMotor { class SPMStaticAnalyser : PM...
Assets/MagiCloud/UIFrame/Scripts/UIManager.cs
CrazyangSeeYou/MFrameworkCore
1
7070410
using System.Collections; using UnityEngine; using System; using System.Collections.Generic; using MagiCloud.KGUI; namespace MagiCloud.UIFrame { /* 思路 1、UILoading : 只能看不能操作 2、一级目录 :单手操作 3、二级目录 :单手操作/双手操作 4、三级目录 :双手操作,自动生成控件 5、新手指引 :提示加可操作手势 6、设置界面 :支持鼠标点击,禁止手势操作...
src/Tochka.JsonRpc.Client/Models/JsonRpcException.cs
ekonyukov/Tochka.JsonRpc
12
7070412
using System; using System.Diagnostics.CodeAnalysis; namespace Tochka.JsonRpc.Client.Models { [ExcludeFromCodeCoverage] public class JsonRpcException : Exception { public IJsonRpcCallContext Context { get; } // for easy mocking public JsonRpcException() { } ...
CrypPlugins/DCAOracle/DCAOracle.cs
ekzyis/CrypTool-2
12
7070413
/* Copyright 2019 <NAME> <EMAIL> 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...
TS3QueryLib.Net.Core/Server/Commands/ClientFindCommand.cs
Pandry/TS3QueryLib.Net.Core
49
7070414
<reponame>Pandry/TS3QueryLib.Net.Core<gh_stars>10-100 using System; using TS3QueryLib.Net.Core.Common.Commands; using TS3QueryLib.Net.Core.Server.Entitities; namespace TS3QueryLib.Net.Core.Server.Commands { public class ClientFindCommand : ExecutableEntityListCommand<ClientFindEntry> { public ClientFi...
templates/Uwp/_comp/MVVMToolkit/Project/Activation/DefaultActivationHandler_postaction.cs
N500/WindowsTemplateStudio
1,558
7070415
namespace Param_RootNamespace.Activation { internal class DefaultActivationHandler : ActivationHandler<IActivatedEventArgs> { //{[{ private readonly Type _navElement; public DefaultActivationHandler(Type navElement) { _navElement = navElement; } //}]} ...
Bookmarker.API/Bookmarker.Models/Bookmark.cs
1804-Apr-USFdotnet/Project2-QuadCore-Bookmarker
2
7070416
<filename>Bookmarker.API/Bookmarker.Models/Bookmark.cs  using System; using System.ComponentModel.DataAnnotations; namespace Bookmarker.Models { public class Bookmark : ABaseEntity, IRatable { [Required] public string Name { get; set; } public Guid CollectionId { get; set; } p...
ClientApi/generated/Models/PermissionsApiModel.Serialization.cs
JonasBr68/ContaSimpleClient
0
7070417
<gh_stars>0 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace ContasimpleAPI.Models { public partial class PermissionsApiModel { ...
SystemCalc/Assets/LightGive/Utilities/SystemCalc/Examples/Scripts/Example5.cs
LightGive/SystemCalc
11
7070420
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Example5: MonoBehaviour { [SerializeField] private InputField m_inputFieldVelocity_x; [SerializeField] private InputField m_inputFieldVelocity_y; [SerializeField] private Transform m_topPoint; [Ser...
src/Lykke.Backoffice.Common.Razor/Areas/BoCommonAuditLogs/Models/AuditLogsQueryModel.cs
LykkeCity/Lykke.Backoffice.Common.Razor
0
7070422
using System; using System.Collections.Generic; using Lykke.Backoffice.Common.Razor.Domain.AuditLog; using Microsoft.AspNetCore.Mvc.Rendering; namespace Lykke.Backoffice.Common.Razor.Areas.BoCommonAuditLogs.Models { public class AuditLogsQueryModel { public SelectListItem[] Types { get; set; } ...
syskey/MainForm.cs
nigelnquande/defenestrate-system31
0
7070423
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace syskey { public partial class Syskey : Form { public Syskey() { ...
MyOwnStore/Areas/Collaborator/Controllers/CategoryController.cs
LeapOfFaith01/loja-virtual
0
7070424
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using MyOwnStore.Libraries.Filters; using MyOwnStore.Libraries.Login; using MyOwnStore.Models; using MyOwnStore.Repositories.Contracts; namespace M...
osu.Game.Rulesets.Swing/Objects/Drawables/Pieces/DrawableTapCircle.cs
EVAST9919/lazer-swing
29
7070425
<reponame>EVAST9919/lazer-swing using osu.Framework.Graphics.Containers; using osu.Framework.Graphics; using osuTK.Graphics; namespace osu.Game.Rulesets.Swing.Objects.Drawables.Pieces { public class DrawableTapCircle : Container { public new Color4 Colour { get => Circle.Colour; ...
framework/Furion.Pure/App/Internal/InternalApp.cs
Cuixq123/Furion
1
7070427
// ----------------------------------------------------------------------------- // 让 .NET 开发更简单,更通用,更流行。 // Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd. // // 框架名称:Furion // 框架作者:百小僧 // 框架版本:2.14.1 // 源码地址:Gitee: https://gitee.com/dotnetchina/Furion // Github:https://github.com/monksoul/Furion // 开源协议...
tests/src/BinderClass/LuaITestClassHandler.cs
SimonG96/NLua
1,436
7070428
using System; using NLua; namespace NLuaTest.TestTypes { class LuaITestClassHandler : ILuaGeneratedType, ITest { public LuaTable __luaInterface_luaTable; public Type[][] __luaInterface_returnTypes; public LuaITestClassHandler(LuaTable luaTable, Type[][] returnTypes...
Chemistry.NET/Elements/ModelsLogics/ElectronSubShell.cs
Sejoslaw/Chemistry.NET
1
7070429
<reponame>Sejoslaw/Chemistry.NET /// <summary> /// Author: <NAME> /// Project: Chemistry.NET /// Source: https://github.com/Sejoslaw/Chemistry.NET /// </summary> namespace Chemistry.NET.Elements.Models { public partial class ElectronSubShell { public override int GetMaxNumberOfElectrons() { ...
Punku/Convert/Speed.cs
martinlindhe/Punku
1
7070430
<filename>Punku/Convert/Speed.cs /** * Conversion functions between different speed units * * http://en.wikipedia.org/wiki/Speed * http://en.wikipedia.org/wiki/Miles_per_hour * http://en.wikipedia.org/wiki/Metre_per_second * http://en.wikipedia.org/wiki/Kilometres_per_hour * http://en.wikipedia.org/wiki/Knot_(u...
MatchModule_New/SkillEngine/SkillEngine.Editor.Football/UI.SeekerControls/IdSeekerCtrl.Designer.cs
cool8868/Soccer-King
0
7070431
namespace SkillEngine.Editor.Football.UI.SeekerControls { partial class IdSeekerCtrl { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param...
Api/SprinklerApi/Security/Authenticator.cs
TheDev6/RaspberryPiSprinklers
1
7070432
namespace SprinklerApi.Security { using System.Threading.Tasks; using Data; using Microsoft.EntityFrameworkCore; public class Authenticator { private readonly HashUtility _hashUtility; private readonly ISprinklerDataClient _dataClient; public Authenticator( Has...
C# Web Development Basics - May 2018/Lab - Asynchronous Programming/2.SliceFile/SliceFileAsync.cs
steelpr/CSharp-Web-Development-Basics
0
7070433
namespace _2.SliceFile { using System; using System.IO; using System.Threading.Tasks; public class SliceFileAsync { public SliceFileAsync(string sourceFile, string destinationPath, int pices) { SourceFile = sourceFile; DestinationPath = destinationPath; ...
Gedcomx.Model/ResourceType.cs
FamilySearch/gedcomx-csharp
27
7070434
// <auto-generated> // // // Generated by <a href="http://enunciate.codehaus.org">Enunciate</a>. // </auto-generated> using System; namespace Gx.Types { /// <remarks> /// Enumeration of high-level genealogical resource types. /// </remarks> /// <summary> /// Enumeration of high-level genealogical resourc...
Source/DotSpatial.Positioning/Properties/Resources.Designer.cs
CGX-GROUP/DotSpatial
0
7070435
<filename>Source/DotSpatial.Positioning/Properties/Resources.Designer.cs //------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré par un outil. // Version du runtime :4.0.30319.42000 // // Les modifications apportées à ce fichier peuv...
chambapp.nunit.test/InterviewUnitTest.cs
stbndev/chambaap-rest
0
7070436
<reponame>stbndev/chambaap-rest<filename>chambapp.nunit.test/InterviewUnitTest.cs using chambapp.bll.Helpers; using chambapp.dto; using NUnit.Framework; using System.Threading.Tasks; using System.Linq; using chambapp.bll.Companies; using chambapp.dal.Companies; using chambapp.bll.AutoMapper; using System; using chamba...
src/osrlib.Core/Dice/Die.cs
mmacy/osrlib-dotnet
1
7070437
using System; namespace osrlib.Dice { /// <summary> /// Represents a single Die with a given number of sides. /// </summary> public class Die { #region Fields private DieType _dieType = DieType.d20; private int _minValue = 1; private int _rolledValue = 0; #e...
StudentsFirst.Api.Monolithic/Infrastructure/Auth/IUserSynchronizationService.cs
saraetx/studentsfirst
0
7070438
<filename>StudentsFirst.Api.Monolithic/Infrastructure/Auth/IUserSynchronizationService.cs using System.Security.Claims; using System.Threading.Tasks; using StudentsFirst.Common.Models; namespace StudentsFirst.Api.Monolithic.Infrastructure.Auth { public interface IUserSynchronizationService { pu...
src/MAVN.Service.CustomerProfile/Startup.cs
mavn-alliance/MAVN.Service.CustomerProfile
0
7070440
<filename>src/MAVN.Service.CustomerProfile/Startup.cs using System; using AutoMapper; using JetBrains.Annotations; using Lykke.Sdk; using MAVN.Service.CustomerProfile.MappingProfiles; using MAVN.Service.CustomerProfile.Settings; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using M...
UI/InfinityFictionEditor.Core/Presenters/SelectGamePathPresenter.cs
Blind-Striker/infinityfiction
1
7070442
using System; using System.Configuration; using System.IO; using System.Waf.Applications; using System.Waf.Applications.Services; using InfinityFiction.UI.InfinityFictionEditor.Core.Foundation; using InfinityFiction.UI.InfinityFictionEditor.Core.ViewModels; using MvpVmFramework.Core.Foundation; namespace InfinityFict...
Assets/Entity/Player/PlatformPlayerController.cs
L1ttelY/SidescrollProject
1
7070443
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlatformPlayerController:MonoBehaviour { FlyActionHandler fly; HorizontalMovementActionHandler move; DashActionHandler dash; private void Start() { move=GetComponent<HorizontalMovementActionHandler>(); fly=GetComponen...
Sources/MinerWars.GameLib/AppCode/Game/Entities/Ships/AI/MyBotCoordinator.cs
emperorstarfinder/Miner-Wars-2081
118
7070444
<filename>Sources/MinerWars.GameLib/AppCode/Game/Entities/Ships/AI/MyBotCoordinator.cs #region Using using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using MinerWars.AppCode.Game.Managers.Session; using MinerWars.AppCode.Game.Utils; using MinerWarsMath; us...
VRChatAPI/src/Implementations/TokenCredential.cs
mueru/VRChatAPI.Net
2
7070445
using System; using System.Net; using System.Net.Http; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using VRChatAPI.Extentions; using VRChatAPI.Interfaces; using VRChatAPI.Objects; using VRChatAPI.Utils; namespace VRChatAPI.Implementations { [Serializable] public class TokenCredenti...
DotNetBackend/Persistence.Tests/UnitTests/ValidationAttributeTests/IsValidDatabaseConnectionStringTests.cs
christopherpross/dotnet-backend
0
7070447
using Persistence.ValidationAttributes; using Xunit; namespace Persistence.Tests.UnitTests.ValidationAttributeTests { /// <summary> /// Provides tests for <see cref="IsValidDatabaseConnectionString"/>. /// </summary> public sealed class IsValidDatabaseConnectionStringTests { /// <summary> ...
WearableTrophies/WearTrophy.cs
JereKuusela/valheim-wearable_trophies
0
7070448
<reponame>JereKuusela/valheim-wearable_trophies<gh_stars>0 using HarmonyLib; namespace WearableTrophies; ///<summary>Makes visual helmet slot count as equipped.</summary> [HarmonyPatch(typeof(Humanoid), nameof(Humanoid.IsItemEquiped))] public class IsItemEquiped { static void Postfix(Humanoid __instance, ItemDrop.Ite...
src/Kangaskhan/Applications/Storages/StackStorageEntry.cs
Rinkaa/Kangaskhan
4
7070449
using Kangaskhan.Features.Stacking; namespace Kangaskhan.Applications.Storages { /// <summary> /// A stack of items as an entry in the storage. /// </summary> public class StackStorageEntry : InventoryStorageEntry { public readonly InventoryItemStack Stack; public StackStorageEntry(...
corebuild/integration/ILLink.Tasks/GetRuntimeLibraries.cs
lambdageek/mono-linker
0
7070450
<filename>corebuild/integration/ILLink.Tasks/GetRuntimeLibraries.cs<gh_stars>0 using System; using System.IO; using System.Linq; using System.Collections.Generic; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Microsoft.NET.Build.Tasks; // LockFileCache using NuGet.Frameworks; // NuGetFramework...
src/LiveClinic.Consultation/Controllers/PrescriptionsController.cs
koskedk/live-clinic
0
7070451
using System; using System.Threading.Tasks; using LiveClinic.Consultation.Core.Application.Prescriptions.Commands; using LiveClinic.Consultation.Core.Application.Prescriptions.Dtos; using MediatR; using Microsoft.AspNetCore.Mvc; using Serilog; namespace LiveClinic.Consultation.Controllers { [ApiController] [R...
src/LibObjectFile/Elf/Sections/ElfNoteTable.cs
tmds/LibObjectFile
75
7070453
// Copyright (c) <NAME>. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using LibObjectFile.Utils; namespace LibObjectFile....
Src/Quantum.Common/SqlExpression.cs
quantumdotnet/quantum
2
7070454
namespace Quantum.Common { public class SqlExpression : IQueryPart { private readonly string _value; public SqlExpression(string value) { _value = value; } public string QueryPartValue { get { return _value; } } public C...
ScadaAgent/ScadaAgent/ScadaAgentEngine/ClientTag.cs
chencai01/scada-v6
1
7070455
<filename>ScadaAgent/ScadaAgent/ScadaAgentEngine/ClientTag.cs<gh_stars>1-10 /* * Copyright 2022 Rapid Software LLC * * 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...
Core/Averia.Core.Domain/Commands/UserMessage.cs
maetern/Averia.Chat
0
7070456
<gh_stars>0 using Averia.Core.Domain.Interfaces; namespace Averia.Core.Domain.Commands { public class UserMessage : ICommand { public UserMessage(string text) => Text = text; public string Text { get; set; } } }
Login Agent 578/LoginAgent.cs
dhiru1602/LoginAgent
1
7070457
<filename>Login Agent 578/LoginAgent.cs using Login_Agent_578.ClientSession; using Login_Agent_578.Config; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; namespace Login_Agent_578 { ...