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
Hanu.ElectroLib/Objects/FixedObject.cs
A-H4NU/PhysicsSim
1
7051512
using System.ComponentModel; using System.Numerics; namespace Hanu.ElectroLib.Objects { /// <summary> /// Physical object but its position is constant /// </summary> public class FixedObject : PhysicalObject { public FixedObject(Vector2 position, float charge = 0, float mass = 0) ...
third-party/via5/ClothingManager/project/src/Item.cs
via5/Cue
2
7051513
using UnityEngine; using SimpleJSON; namespace ClothingManager { public class Item { public class Collider { public bool enabled = false; public Vector3 rotation = Vector3.zero; public Vector3 size = new Vector3(0.1f, 0.1f, 0.1f); public Vector3 center = Vector3.zero; public override bool Equals...
Cmd.Net 4.5/Argument.cs
YohDeadfall/Cmd.Net
6
7051514
<filename>Cmd.Net 4.5/Argument.cs using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Reflection; namespace Cmd.Net { internal sealed class Argument { #region Nested Types [Flags] private enum Flags ...
Starkit/Views/Booking/Create.cshtml
ESDP-Csharp-2-3-Team1/starkit
0
7051515
<filename>Starkit/Views/Booking/Create.cshtml @model Booking @{ ViewBag.Title = "Бронирование"; Layout = "_Layout"; } <style> #dropdown1{ display: block; } #dropdown1-li-7{ margin-left: 15px; background: #9ad9ea; } #dropdown1-li-7 a{ ...
PowerSwitcher/Core/PowerManager.cs
autodotua/PowerSwitcher
1
7051516
using PowerSwitcher.Helper; using PowerSwitcher.Wrappers; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; namespace PowerSwitcher { public interface IPowerManager : INotifyPropertyChanged, IDisposable { ObservableCo...
src/BlackMirror.HttpClient/Sync/SyncClient.cs
Rosiv/BlackMirror
1
7051518
<filename>src/BlackMirror.HttpClient/Sync/SyncClient.cs<gh_stars>1-10 namespace BlackMirror.HttpClient.Sync { using System; using System.Linq; using System.Net.Http; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; using BlackMirror.Confi...
src/Shared/Recruit.Vacancies.Client/Application/Validation/Fluent/QualificationValidator.cs
uk-gov-mirror/SkillsFundingAgency.das-recruit
12
7051519
<filename>src/Shared/Recruit.Vacancies.Client/Application/Validation/Fluent/QualificationValidator.cs<gh_stars>10-100 using System.Collections.Generic; using Esfa.Recruit.Vacancies.Client.Application.Providers; using Esfa.Recruit.Vacancies.Client.Domain.Entities; using FluentValidation; namespace Esfa.Recruit.Vacanci...
eBordo.Api/Database/Trener.cs
harispandzic/eBordo-desktop-mobile
0
7051520
<reponame>harispandzic/eBordo-desktop-mobile using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace eBordo.Api.Database { public class Trener { public int trenerId { get; set; } public TrenerStatistika trenerStatistika { get; set; } p...
ScriptDelivery/Files/MappingFile.cs
tgiqfe/EnumRun
0
7051521
using System; using ScriptDelivery; using System.Security.Cryptography; using System.IO; using ScriptDelivery.Maps; namespace ScriptDelivery.Files { /// <summary> /// サーバ側でのみ使用。Mappingファイルの情報を格納 /// </summary> internal class MappingFile { public string Path { get; set; } ...
aspnetcore-features/DownloadMultipleAzure/DownloadMultipleAzure/MultipleDownloadExamples.cs
Omarookolosio94/CodeMazeGuides
33
7051522
<filename>aspnetcore-features/DownloadMultipleAzure/DownloadMultipleAzure/MultipleDownloadExamples.cs using Azure.Storage.Blobs; namespace DownloadMultipleAzure { public class MultipleDownloadExamples { private readonly BlobServiceClient _blobServiceClient; public MultipleDownloadExamples(Blo...
Assets/Scripts/CustomBootstrap.cs
Javaec/Serpentine-Unity-Project
4
7051523
using Unity.Entities; using Unity.NetCode; using UnityEngine; public class CustomBootstrap : ClientServerBootstrap { public override bool Initialize(string defaultWorldName) { TypeManager.Initialize(); var systems = DefaultWorldInitialization.GetAllSystems(WorldSystemFilterFlags.Default); ...
src/NadekoBot/Modules/Nsfw/_Common/Rule34Object.cs
StefanPuia/nadeko
0
7051524
<reponame>StefanPuia/nadeko #nullable disable namespace NadekoBot.Modules.Nsfw.Common; public class Rule34Object : IImageData { public string Image { get; init; } public int Directory { get; init; } public string Tags { get; init; } public int Score { get; init; } public ImageData ToCachedImageDat...
MvcForms.StubApp/Views/PjaxPage.cs
FlukeFan/MvcForms
0
7051525
using MvcForms.StubApp.Views.Shared; namespace MvcForms.StubApp.Views { public abstract class PjaxPage<T> : StubPage<T> { public override void SetLayout(string title) { base.SetLayout(title); Layout = Context.Request.IsPjaxModal() ? SharedVie...
TextComposerLib/TextComposerLib/Code/JavaScript/Obsolete/JsCodeComponentWithAttributes.cs
ga-explorer/NumericalGeometryLib
6
7051526
<filename>TextComposerLib/TextComposerLib/Code/JavaScript/Obsolete/JsCodeComponentWithAttributes.cs using TextComposerLib.Text; using TextComposerLib.Text.Linear; namespace TextComposerLib.Code.JavaScript.Obsolete { public abstract class JsCodeComponentWithAttributes : JsCodeComponent { public...
MegaCasting.WPF/ViewModel/ViewModelEditOffer.cs
MegaProduction/MegaCastingClientLourd
1
7051527
using MegaCasting.DBlib; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace MegaCasting.WPF.ViewModel { class ViewModelEditOffer : ViewModelBase { #region Attributes ...
DiscordBotMK1/InfoModule.cs
daeya61/DiscordBotAAF
0
7051528
<filename>DiscordBotMK1/InfoModule.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Discord.Commands; using Discord.WebSocket; using Discord; using System.Text.RegularExpressions; using System.Diagnostics; namespace DiscordBotMK1 { public...
Services/FantasyFL.Services.Data/InputModels/Events/TimeInfoDto.cs
boyan-ast/FantasyFL
0
7051529
namespace FantasyFL.Services.Data.InputModels.Events { public class TimeInfoDto { public int Elapsed { get; init; } public int? Extra { get; init; } } }
Migration/Model/PropertyNode.cs
Harris2012/migration
0
7051531
<filename>Migration/Model/PropertyNode.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Migration.Model { public class PropertyNode : Node { public string JavaTypeName { get; set; } public string JavaTypeFullName { get; set; } ...
Pathfinder/Executable/Interface.cs
BlackDragonCZ/Hacknet-Pathfinder
1
7051532
<reponame>BlackDragonCZ/Hacknet-Pathfinder namespace Pathfinder.Executable { public interface IInterface { string Identifier { get; } bool NeedsProxyAccess { get; } int RamCost { get; } void OnConstruction(Instance instance); void LoadContent(Instance instance); ...
src/Slack.Net.Core/Client/ISlackApiClient.cs
Promact/slack-dotnet-core-client
1
7051533
<reponame>Promact/slack-dotnet-core-client using System.Threading.Tasks; namespace Slack.Net.Core.Client { public interface ISlackApiClient<TRequest,TResponse> { Task<TResponse> GetAsync(string method,TRequest request); Task<TResponse> PostAsync(string method, TRequest request); } }
src/ReportGenerator.Core/Reporting/Builders/PngChartReportBuilder.cs
jdodds/ReportGenerator
1
7051534
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Palmmedia.ReportGenerator.Core.Logging; using Palmmedia.ReportGenerator.Core.Parser.Analysis; using Palmmedia.ReportGenerator.Core.Properties; using Palmmedia.ReportGenerator.Core.Reporting.Builders.Rendering; namespace Palmmedi...
src/Lib/PCLAppConfig/Infrastructure/Configuration.cs
nwisesweden/PCLAppConfig
27
7051535
using System.Collections.Generic; using System.Xml.Serialization; namespace PCLAppConfig.Infrastructure { [XmlRoot("configuration")] public class Configuration { public Configuration() { Settings = new List<Setting>(); } [XmlArray("appSettings")] [XmlAr...
Chiota/CEXEngine/Crypto/Prng/IRandom.cs
Felandil/Chiota
30
7051536
<reponame>Felandil/Chiota<filename>Chiota/CEXEngine/Crypto/Prng/IRandom.cs #region Directives using System; using VTDev.Libraries.CEXEngine.Crypto.Enumeration; #endregion namespace VTDev.Libraries.CEXEngine.Crypto.Prng { /// <summary> /// Pseudo Random Number Generator Interface /// </summary> public ...
Runtime/Controller/CommandT1T2.cs
ertrkumut/unity-mvc
3
7051537
<filename>Runtime/Controller/CommandT1T2.cs namespace MVC.Runtime.Controller { public abstract class Command<T1, T2> : CommandBody, ICommand<T1, T2> { public abstract void Execute(T1 param1, T2 param2); } public interface ICommand<T1, T2> : ICommandBody { void Execute(T1 param1...
KodiAndroid/Logic/Service/TaskTracker.cs
Donsezan/KodiAndroid
0
7051538
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace KodiAndroid.Logic.Service { public class TaskTracker { public event EventHandler TaskCompleted; private static readonly Concur...
src/Serilog.Sinks.ElasticEcsLogstash/Enrichers/Private/Ecs/Models/DestinationModel.cs
ehsan-maleki/serilog-sinks-elastic-ecs-logstash
1
7051539
namespace Serilog.Enrichers.Private.Ecs.Models { /// <summary> /// Destination fields describe details about the destination of a packet/event. /// Destination fields are usually populated in conjunction with source fields. /// </summary> public class DestinationModel { /// <summ...
Assets/Scripts/MonoBehaviours/DiscoverButton.cs
Javaec/Serpentine-Unity-Project
4
7051540
<reponame>Javaec/Serpentine-Unity-Project using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DiscoverButton : MonoBehaviour { [SerializeField] private Button button; [SerializeField] private NetworkDiscoverer networkDiscoverer; private vo...
src/Amazon.SQS.ExtendedClient.Tests/When_Changing_Message_Visibility_Batch.cs
raol/amazon-sqs-net-extended-client-lib
27
7051541
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Amazon.SQS.Model; using Moq; using NUnit.Framework; namespace Amazon.SQS.ExtendedClient.Tests { public class When_Changing_Message_Visibility_Batch : ExtendedClientTestBase { private const int V...
IMeiWei/Model/role.cs
guxiaoliang/IMeiwei
0
7051542
<reponame>guxiaoliang/IMeiwei<gh_stars>0 using System; namespace IMeiWei.Model { /// <summary> /// role:实体类(属性说明自动提取数据库字段的描述信息) /// </summary> [Serializable] public partial class role { public role() {} #region Model private long _id; private string _rolename; /// <summary> /// auto_...
docs/vs-2015/snippets/csharp/VS_Snippets_VSSDK/vssdkpackagesplashhelpaboutloadkey/cs/guids.cs
mavasani/visualstudio-docs
834
7051543
<filename>docs/vs-2015/snippets/csharp/VS_Snippets_VSSDK/vssdkpackagesplashhelpaboutloadkey/cs/guids.cs // Guids.cs // MUST match guids.h using System; namespace Microsoft.VSSDKPackageSplashHelpAboutLoadKey { static class GuidList { public const string guidVSSDKPackageSplashHelpAboutLoadKeyPkgString =...
Lpp.Dns.Data/Requests/RequestDataMart.cs
Missouri-BMI/popmednet
9
7051544
<filename>Lpp.Dns.Data/Requests/RequestDataMart.cs<gh_stars>1-10 using System.Data.Entity.ModelConfiguration; using Lpp.Dns.DTO; using Lpp.Utilities; using System; using System.Data.Entity; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema...
schema_comparator/model/Diff/UnionObjectType.cs
atlesp/dotnetgraphql-schema_comparator
0
7051546
using System; using System.Collections.Generic; using GraphQL.Types; namespace schema_comparator.model.Diff { internal class UnionObjectType { private UnionGraphType oldType; private UnionGraphType newType; public UnionObjectType(UnionGraphType oldType, UnionGraphType newType) ...
src/Ninject.Web.WebApi.Selfhost/SelfHostNinjectDependencyScope.cs
dave1374/Ninject.Web.WebApi
3
7051547
//------------------------------------------------------------------------------- // <copyright file="SelfHostNinjectDependencyScope.cs" company="Ninject Project Contributors"> // Copyright (c) 2009-2012 Ninject Project Contributors // Authors: <NAME> (<EMAIL>) // // Dual-licensed under the Apache Lice...
src/NGenerics.Tests/Algorithms/Graph/PrimTests/PrimsAlgorithm.cs
ngenerics/ngenerics
93
7051548
<gh_stars>10-100 /* Copyright 2007-2017 The NGenerics Team (https://github.com/ngenerics/ngenerics/wiki/Team) This program is licensed under the MIT License. You should have received a copy of the license along with the source code. If not, an online copy of the license can be found at https://opensource.or...
BroadworksConnector/Ocip/Models/SystemHuntGroupGetResponse21.cs
JTOne123/broadworks-connector-net
0
7051549
<gh_stars>0 using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Response to SystemHuntGroupGetRequest21. /// <see cref="SystemHun...
QuestPDF/Fluent/LineExtensions.cs
Xen0byte/QuestPDF
0
7051550
<reponame>Xen0byte/QuestPDF<gh_stars>0 using System; using QuestPDF.Elements; using QuestPDF.Infrastructure; namespace QuestPDF.Fluent { public static class LineExtensions { private static ILine Line(this IContainer element, LineType type, float size) { var line = new Line ...
Timetable/SharedCode/LineSaver.cs
limo1996/WindowsPhone-8.1-Windows-8.1-Apps
0
7051551
/********************************************************* * Copyright 2015, All rights reserved * * Author: <NAME> * * Sharing of code for purpose of learnig permissed * *********************************************************/ using System; using Sy...
src/System.Private.CoreLib/src/System/Reflection/Missing.cs
ZZHGit/corert
0
7051552
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace System.Reflection { public sealed class Missing { private Missing() { } public static readonly Missing...
SQLite.CodeFirst/Internal/Statement/ColumnConstraint/ColumnConstraintCollection.cs
semashkinvg/SQLiteCodeFirst
632
7051553
<reponame>semashkinvg/SQLiteCodeFirst using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace SQLite.CodeFirst.Statement.ColumnConstraint { internal class ColumnConstraintCollection : Collection<IColumnConstraint>, IColumnConstraintCollection { ...
ProjectsTM.UI.Main/ManageAbsentInfoForm.cs
skeiya/TaskManagement
2
7051554
using ProjectsTM.Model; using ProjectsTM.UI.Common; using System; using System.Text.RegularExpressions; using System.Windows.Forms; namespace ProjectsTM.UI.Main { public partial class ManageAbsentInfoForm : BaseForm { private readonly Member _member; public readonly AbsentTerms _absentTerms; ...
src/Azure.Functions.Identity.Web/Extensions/AuthenticationStartupExtensions.cs
TobiStr/Azure.Functions.Identity.Web
0
7051555
<gh_stars>0 using Microsoft.AspNetCore.Authentication; using System; using System.Linq; namespace Azure.Functions.Identity.Web.Extensions; //Code from https://github.com/AzureAD/microsoft-identity-web/issues/916 public static class AuthenticationStartupExtensions { #if DEBUG private const string CliAuthenticatio...
V.1.0.8/EclipsePOS.WPF.PosWorkBench/EclipsePos.Apps/Views/TableSelect/TableButtonData.cs
naushard/EclipsePOS
7
7051556
<reponame>naushard/EclipsePOS<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EclipsePos.Apps.Views.TableSelect { public class TableButtonData { private int display_row; private int display_col; private string table_nam...
Bittrex.Net/Converters/OrderTypeConverter.cs
florimm/Bittrex.Net
160
7051557
<reponame>florimm/Bittrex.Net using System.Collections.Generic; using Bittrex.Net.Objects; using CryptoExchange.Net.Converters; namespace Bittrex.Net.Converters { internal class OrderTypeConverter : BaseConverter<OrderType> { public OrderTypeConverter() : this(true) { } public OrderTypeConvert...
src/UberStrok.Core.Views/GameRoomDataView.cs
recreationx/uberstrok
13
7051560
<filename>src/UberStrok.Core.Views/GameRoomDataView.cs using System; using UberStrok.Core.Common; namespace UberStrok.Core.Views { [Serializable] public class GameRoomDataView : RoomDataView { public int ConnectedPlayers { get; set; } public int PlayerLimit { get; set; } ...
DesktopApp/Dtos/User.cs
vladdubovyi/G-senger
0
7051561
using System; using System.ComponentModel.DataAnnotations; namespace DesktopApp.Dtos { public class User { [Key] public int Id { get; set; } [Required] [MaxLength(256)] [EmailAddress] public string Email { get; set; } [Required] [MaxLength(256)...
src/host/ft_uia/Elements/CmdApp.cs
Ghosty141/Terminal
34,359
7051562
<reponame>Ghosty141/Terminal //---------------------------------------------------------------------------------------------------------------------- // <copyright file="CmdApp.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <summary>Helper and wrapper f...
src/Phonebook.Web/Pages/ContactComponent.razor.cs
TefoT4/Phonebook
0
7051563
using System; using System.Net.Http; using System.Net.Http.Json; using System.Text.Json; using Blazored.Modal; using Blazored.Modal.Services; using Blazored.Toast.Services; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; using Phonebook.Domains; namespace Phonebook.Web.Pages { pu...
csharp/CodeEval/Easy/Rightmost Char/RightmostCharV1.cs
M-AV/Code-Challenges
0
7051564
<reponame>M-AV/Code-Challenges using System; using System.IO; namespace CodeEval_Solutions.Easy.Rightmost_Char { /// <summary> /// Time: 169 ms /// Memory: 4702208 bytes /// Unique: Yes /// Ranking Points: 30.779 /// </summary> public sealed class RightmostCharV1 ...
src/BeUtl.Graphics/Graphics/Point.cs
YiB-PC/BeUtl
19
7051566
using System.Globalization; using System.Text.Json.Serialization; using BeUtl.Converters; using BeUtl.Utilities; namespace BeUtl.Graphics; /// <summary> /// Defines a point. /// </summary> [JsonConverter(typeof(PointJsonConverter))] public readonly struct Point : IEquatable<Point> { /// <summary> /// Initia...
src/go-src-converted/net/golang.org/x/net/route/interface_classic.cs
rgwood/go2cs
249
7051567
<filename>src/go-src-converted/net/golang.org/x/net/route/interface_classic.cs // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin dragonfly netbsd // package route -- go2cs converted at 2020 Oc...
Useurmind.DataStructures.Test/DoubleKeyDictionaryTest.cs
Useurmind/DataStructures
0
7051568
using System; using System.Linq; using Xunit; using FluentAssertions; namespace Useurmind.DataStructures.Test { /// <summary> /// Tests for <see cref="DoubleKeyDictionary{TKey1,TKey2,TValue}" /> /// </summary> public class DoubleKeyDictionaryTest { private DoubleKeyDictionary<int, str...
Exercise5-DatabasesEFCore/IRunes.App/Common/Constants.cs
AscenKeeprov/CSharp-Web-Basics
0
7051569
<reponame>AscenKeeprov/CSharp-Web-Basics namespace IRunes.App.Common { public static class Constants { public const string AlbumArtistPlaceholder = "@AlbumArtist"; public const string AlbumCoverArtPlaceholder = "@AlbumCoverArt"; public const string AlbumCoverArtTooltip = "{0} - {1} (Cover Art)"; public con...
src/VTSharp/BufferModel.cs
dgriffen/VTSharp
0
7051570
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VTSharp { internal class BufferModel { private int width; private int height; private int viewSt...
MindCanvas/Toast.cs
chenjt2001/MindCanvas
2
7051571
using Microsoft.Toolkit.Uwp.Notifications; using Windows.ApplicationModel.Resources; namespace MindCanvas { public static class Toast { private static readonly ResourceLoader resourceLoader = ResourceLoader.GetForCurrentView(); /// <summary>请求评价</summary> public static void RequestRat...
Assets/Scripts/UI/Menu/ListBehaviour.cs
francescozoccheddu/VGD
0
7051572
<gh_stars>0 using System; using System.Linq; using UnityEngine; using UnityEngine.UI; namespace Wheeled.UI.Menu { public sealed class ListBehaviour : MonoBehaviour { public interface IItemTemplate { int Index { get; set; } } public abstract class ItemPresenterBe...
DomainModel/General/GeneralLibrary.cs
jkattestaart/AccoBooking
0
7051574
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; using System.Security.Principal; using Geocoding; using Geocoding.Google; using IdeaBlade.EntityModel; namespace DomainModel { /// <summary> /// Library routines general /// </summary> public static cl...
ex 2.1/ex 2.1/Program.cs
nikolaivrzhesinsky/--Projects-for-univer--OOP-
0
7051575
using System; namespace ex_2._1 { class Man { protected string name; protected int age; public Man(string name) { if (IsNull(name)) { Console.WriteLine("Вы не ввели имя"); } else { thi...
DFC.App.JobProfileSkills.SegmentService.UnitTests/SegmentServiceTests/SegmentServiceGetByNameTests.cs
SkillsFundingAgency/dfc-app-jobprofile-skills
1
7051576
using DFC.App.JobProfileSkills.Data.Contracts; using DFC.App.JobProfileSkills.Data.Models; using DFC.App.JobProfileSkills.Data.ServiceBusModels; using DFC.App.JobProfileSkills.Repository.CosmosDb; using FakeItEasy; using System; using System.Linq.Expressions; using System.Threading.Tasks; using Xunit; namespace DFC.A...
Src/MoviesService/DataModel/Models/Movie.cs
jbonnett92/NetCoreMicroservicesSample
567
7051577
<reponame>jbonnett92/NetCoreMicroservicesSample<gh_stars>100-1000 using System; namespace DataModel.Models { public class Movie { public Guid Id { get; set; } = Guid.NewGuid(); public string Title { get; set; } public int Year { get; set; } public Guid UserId { get; set; } ...
MREUnityRuntime/MREUnityRuntimeLib/Core/Physics/PredictionInterpolation.cs
stephenc87/mixed-reality-extension-unity
51
7051578
<reponame>stephenc87/mixed-reality-extension-unity // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace MixedRealityExtension.Cor...
Net.Lib/GoogleTranslate/TranslateResult.cs
colindcli/COLINBLOG
5
7051579
<filename>Net.Lib/GoogleTranslate/TranslateResult.cs using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; public class TranslateResponse { public bool IsSuccess { get; set; } public Exception Exception { get; set; } public string MessageError { get; set; } ...
Planchet/Model.Actions/WebcamCommand.cs
LuisM000/Planchet
0
7051580
using Domain.Interfaces; using Infrastructure.IServices; using Model.Entities.Image; using Services.IServices; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model.Actions { /// <summary> /// Gets and saves a webcam image /// <...
source/SudokuGameEngineLibTests/TableModelTests.cs
PerttuP/SudokuSolver
0
7051581
using Microsoft.VisualStudio.TestTools.UnitTesting; using SudokuGameEngineLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SudokuLib; namespace SudokuGameEngineLib.Tests { [TestClass()] public class TableModelTests { // ...
King.Mapper.Tests/Unit/NameValueCollectionTests.cs
jefking/King.Mapper
9
7051582
namespace King.Mapper.Tests { using King.Mapper.Tests.Models; using NUnit.Framework; using System; using System.Collections.Specialized; using System.Configuration; [TestFixture] public class NameValueCollectionTests { [Test] public void MapDictionaryNull() { ...
src/shipping/delivery/Fabrikam.DroneDelivery.DeliveryService/Models/DuplicateResourceException.cs
NileshGule/microservices-reference-implementation
614
7051583
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ using System; namespace Fa...
Assets/Script/TestTweenScript.cs
Panzershrekk/Ludum_Dare_48
0
7051584
using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class TestTweenScript : MonoBehaviour { // Start is called before the first frame update void Start() { transform.DOMoveX(1, 1); } }
OAHub.Organization/Models/ViewModels/Extensions/IndexViewModel.cs
Ranzeplay/OAHub
2
7051585
<reponame>Ranzeplay/OAHub<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OAHub.Organization.Models.ViewModels.Extensions { public class IndexViewModel { public string Id { get; set; } public string Name { get; set; } ...
PlcDigitalTwinAutoTest/DtGetriebemotor/ViewModel/VmKommandos.cs
KurtLinder/DigitalTwinAutoTest
0
7051586
using Microsoft.Toolkit.Mvvm.Input; namespace DtGetriebemotor.ViewModel; public partial class VmGetriebemotor { [ICommand] private void ButtonTaster(string taster) { switch (taster) { case "S1": (_modelGetriebemotor.S1, ClickModeS1) = ButtonClickMode(ClickModeS1); break; ...
src/Main/Base/Test/InnerClassesResolverTests.cs
dongdapeng110/SharpDevelopTest
11
7051587
<filename>src/Main/Base/Test/InnerClassesResolverTests.cs // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections; using System.Collections.Gen...
CSharp Basics/CSharpBasics - Exercise/While Loop/Coins/Program.cs
SuperBianka/SoftUni-CSharp-Track
0
7051588
<filename>CSharp Basics/CSharpBasics - Exercise/While Loop/Coins/Program.cs using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { double changeInLeva = double.Parse(Console.ReadLine()); double change = Math.Floor(changeInLeva * 100); ...
WEF.Core/Common/DataUtils.cs
yswenli/WEF
9
7051589
<gh_stars>1-10 /***************************************************************************************************** * 本代码版权归Wenli所有,All Rights Reserved (C) 2015-2019 ***************************************************************************************************** * 所属域:WENLI-PC * 登录用户:yswenli * CLR版本:4.0.30...
src/IntegrationTests/TestFixtureBase.cs
neildobson-au/Neo4j.Mapper
1
7051590
<reponame>neildobson-au/Neo4j.Mapper using System.Threading.Tasks; using Neo4j.Driver; using NUnit.Framework; namespace IntegrationTests { public abstract class TestFixtureBase { protected IDriver Driver { get; private set; } protected IAsyncSession Session; [OneTimeSetUp] pr...
Service.Kapi/Service.Kapi.BLL/Models/UserType.cs
voidp34r/kapi
0
7051591
<gh_stars>0 namespace Service.Kapi.BLL.Models { public enum UserType { Owner = 0, Admin = 1, Editor = 2, Reader = 3, } }
src/TableIO.Tests/DefaultTypeConverterResolverTests.cs
JTOne123/TableIO
0
7051592
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.ComponentModel; using System.Reflection; using TableIO.TypeConverters; namespace TableIO.Tests { [TestClass()] public class DefaultTypeConverterResolverTests { class Model { public int PInt { get; set; } ...
B2CAppMvc/B2CAppMvc/App_Start/Startup.Auth.cs
jasjeetsuri/active-directory-b2c-advanced-policies
2
7051593
using B2CAppMvc.Properties; using Microsoft.AspNet.Identity; using Microsoft.Owin; using Microsoft.Owin.Security; using Microsoft.Owin.Security.Cookies; using Owin; namespace B2CAppMvc { public partial class Startup { public void ConfigureAuthentication(IAppBuilder appBuilder) { ap...
Other solutions/Listsnew/alist1/AList2G.cs
OlehMarchenko95/ort_csharp_js
0
7051594
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace List { public class AList2G<T> { T[] ar = new T[10]; int start = 5; int end = 5; public void Resize() { if (start != 0 && end != a...
HRIS.Model/Attendance/EmployeeAttendanceModel.cs
mynrd/HRIS.MVC
0
7051595
<reponame>mynrd/HRIS.MVC<gh_stars>0 using Common; using HRIS.Model.Sys; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HRIS.Model.Attendance { public class Emplo...
VenoMpie.Common.IO/FileReaders/Emulation/General/MatchingClass.cs
VenoMpie/KitchenSink
0
7051597
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace VenoMpie.Common.IO.FileReaders.Emulation.General { public enum MatchOptions { MatchBasic = 0, MatchBasicAndFileDate = 1 } public enum MatchLevel { Per...
Horizon.XmlRpc.Client/XmlRpcRequestEventArgs.cs
AlexanderButs/XmlRpc
8
7051598
using System; using System.IO; namespace Horizon.XmlRpc.Client { public class XmlRpcRequestEventArgs : EventArgs { private Guid _guid; private long _request; private Stream _requestStream; public XmlRpcRequestEventArgs(Guid guid, long request, Stream requestStream) ...
FloorFinish/FloorFinish.cs
NiWeiNi/BIMiconToolbar
11
7051599
using Autodesk.Revit.ApplicationServices; using Autodesk.Revit.Attributes; using Autodesk.Revit.DB; using Autodesk.Revit.UI; namespace BIMiconToolbar.FloorFinish { [TransactionAttribute(TransactionMode.Manual)] class FloorFinish : IExternalCommand { public Result Execute(ExternalCommandData comman...
iSEE SWISMUN/SWISMUN/SWISMUN/MainPage.designer.cs
Epentibi/iSEE
0
7051600
<reponame>Epentibi/iSEE<filename>iSEE SWISMUN/SWISMUN/SWISMUN/MainPage.designer.cs // WARNING // // This file has been generated automatically by Visual Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // us...
PC VCS Examples/KFlopWebNC/KFlopWebNC/Model/Device Interop (Scripting Object)/DeviceInteropHandler KMotion.cs
parhansson/KMotionX
17
7051601
<filename>PC VCS Examples/KFlopWebNC/KFlopWebNC/Model/Device Interop (Scripting Object)/DeviceInteropHandler KMotion.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using KMotion_dotNet; using System.Windows.Forms; using System.Reflection; using System.IO...
MapInfoTool/src/Memory/Win32Native.cs
CamxxCore/MapInfoTool
2
7051602
<reponame>CamxxCore/MapInfoTool using System; using System.Runtime.InteropServices; namespace MapInfoTool.Memory { [StructLayout(LayoutKind.Sequential)] public struct MODULEINFO { public IntPtr lpBaseOfDll; public uint SizeOfImage; public IntPtr EntryPoint; } public static...
RocketLeagueScrimFinder/Data/TrackerData.cs
weirsyc/rlscrimfinder
2
7051603
<reponame>weirsyc/rlscrimfinder<filename>RocketLeagueScrimFinder/Data/TrackerData.cs using System; using System.Collections.Generic; namespace RocketLeagueScrimFinder.Data { public class Attributes { public int PlaylistId { get; set; } public int Season { get; set; } } public class Me...
Server/Command/Command/ClearVesselsCommand.cs
Sladernimo/LunaMultiplayer
0
7051604
using LunaCommon.Message.Data.Vessel; using LunaCommon.Message.Server; using LunaCommon.Xml; using Server.Command.Command.Base; using Server.Command.Common; using Server.Context; using Server.Log; using Server.Server; using Server.System; using System; using System.Linq; using System.Xml; namespace Server.Command.Com...
Assets/Scripts/Controller/Daily/01/Lock.cs
magicianA/MURPG
0
7051605
<reponame>magicianA/MURPG using System.Collections; using System.Collections.Generic; using UnityEngine; public class Lock : MonoBehaviour { Backpack backpack; public TextAsset text; public GameObject next; private void Start() { backpack = GameObject.FindWithTag("Backpack").GetComponent<B...
tests/LineBot.Tests/Extensions/HttpResponseMessageExtensionsTests.cs
dlemstra/line-bot-sdk-dotnet
37
7051606
// Copyright <NAME> (https://github.com/dlemstra/line-bot-sdk-dotnet). // Licensed under the Apache License, Version 2.0. using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; na...
csharp-fundamentals/03.DataTypesvariables/L03.ExactRealNumberSum/Program.cs
vassdeniss/software-university-courses
7
7051607
<reponame>vassdeniss/software-university-courses using System; namespace L03.ExactRealNumberSum { class Program { static void Main(string[] args) { int numTimes = int.Parse(Console.ReadLine()); decimal result = 0; for (int i = 0; i < numTimes; i++) ...
src/DotNetOpenAuth.BuildTasks/DeleteWebApplication.cs
slluis/dotnetopenid
0
7051608
//----------------------------------------------------------------------- // <copyright file="DeleteWebApplication.cs" company="<NAME>"> // Copyright (c) <NAME>. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace DotNetOpenAuth.BuildTasks { us...
Tests/Editor/Triangulation/Util/Triangle.cs
iShapeUnity/Triangulation
6
7051609
<filename>Tests/Editor/Triangulation/Util/Triangle.cs using iShape.Geometry; using Unity.Collections; namespace Tests.Triangulation.Util { internal struct Triangle { internal static bool IsCCW(NativeArray<IntVector> points, NativeArray<int> triangles) { int n = triangles.Length; var i = 0; while(i < n)...
FinalLevelDesign/Assets/FirstPersonExplorationKit/Scripts/DemoScripts/DemoSwitchActivationScript.cs
HarryharricChen/LevelDesignFinal
0
7051610
using UnityEngine; using Whilefun.FPEKit; // // DemoSwitchActivationScript // This script demonostrates how to apply the generic "Activate" type // to do things that are interesting and relevant to your game world. // This example shows how you can play an animation, sound, and change // lights and materials when t...
Source/Treenumerable.Tests/NodeComparer.cs
jasonmcboyd/Treenumerable
8
7051611
using System; using System.Collections.Generic; using Treenumerable.Tests.TreeBuilder; namespace Treenumerable.Tests { public class NodeComparer<T> : IEqualityComparer<Node<T>> { public bool Equals(Node<T> x, Node<T> y) { return x.Value.Equals(y.Value); } public in...
DataValidationFramework.Net/PatternAttribute.cs
merijndejonge/entitygraph
1
7051612
using System; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text.RegularExpressions; using OpenSoftware.DataValidationFrameworkCore; namespace OpenSoftware.DataValidationFramework.Net { /// <inheritdoc /> /// <summary> /// This class is similar to System.ComponentModel.DataA...
src/WellEngineered.CruiseControl.Core/Config/FileWatcherConfigurationService.cs
wellengineered-us/cruisecontrol
0
7051613
using System; using System.IO; using WellEngineered.CruiseControl.Core.Util; namespace WellEngineered.CruiseControl.Core.Config { // ToDo - make disposable? need to ensure that the filewatcher is disposed. should be done in container. /// <summary> /// /// </summary> public class FileWatc...
Game/Entity System/IComponent.cs
bguergachi/Colorbands
1
7051614
<reponame>bguergachi/Colorbands using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Shapes; namespace Game.Entity_System { /// <summary> /// Component used to describe Entity /// </summ...
services/net/content/ContentService.cs
Fosol/TNO
0
7051615
using Microsoft.Extensions.DependencyInjection; using TNO.Services.Content.Config; using TNO.Services.Runners; namespace TNO.Services.Content; /// <summary> /// ContentService abstrct class, provides a console application that runs service, and an api. /// The ContentService is a Kafka consumer which pulls content. /...
src/LeetCode-Exercises/Exercises/029-DivideTwoIntegers.cs
sergioescalera/LeetCode-Exercises
0
7051617
<filename>src/LeetCode-Exercises/Exercises/029-DivideTwoIntegers.cs using LeetCode.Attributes; using LeetCode.Extensions; using System; namespace LeetCode.Exercises { [Exercise] public class DivideTwoIntegers { public static void Run() { var div = new DivideTwoIntegers(); ...
src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/PageBuilder/ExportColumns/ExportContainer.cs
galich/SharpDevelop
2
7051618
<reponame>galich/SharpDevelop // Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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 li...
AimRacing2019_05_31/AimRacing2019_05_31/Packages/com.unity.render-pipelines.high-definition/HDRP/Debug/DebugDisplay.cs
17cuA/AimRacing11
0
7051619
<filename>AimRacing2019_05_31/AimRacing2019_05_31/Packages/com.unity.render-pipelines.high-definition/HDRP/Debug/DebugDisplay.cs using System; using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine.Experimental.Rendering.HDPipeline.Attributes; namespace UnityEngine.Experimental.Rende...
Projects/xe.bit.property.core/Serializers/XmlResidenceAdHolidaySerializer.cs
xe-gr/xe.bit.property.dotnetclient
0
7051620
<filename>Projects/xe.bit.property.core/Serializers/XmlResidenceAdHolidaySerializer.cs<gh_stars>0 using System.Xml; using xe.bit.property.core.Ads; using xe.bit.property.core.Utility.Xml; namespace xe.bit.property.core.Serializers { public class XmlResidenceAdHolidaySerializer : XmlResidenceAdSerializer { protect...