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
Drivers/Mifare/NFC/LLCP/ILinkManager.cs
arnoud-koolecontrols/FYSETC-MINI13864-netcore
0
7039178
<filename>Drivers/Mifare/NFC/LLCP/ILinkManager.cs using Iot.Device.Nfc.LLCP.Parameters; namespace Iot.Device.Nfc.LLCP { public interface ILinkManager { /// <summary> /// The LTO parameter SHALL specify the maximum time interval between the last received bit of an /// LLC PDU transm...
Assets/Scripts/Menus/PauseMenu.cs
RunninglVlan/UnityMenuSystem
1
7039179
<reponame>RunninglVlan/UnityMenuSystem using UnityEngine.UIElements; public class PauseMenu : SimpleMenu<PauseMenu> { protected override void Awake() { base.Awake(); documentRoot.Q<Button>("resume-button").clicked += OnBackPressed; documentRoot.Q<Button>("quit-button").clicked += OnQuitPre...
TeslaApi.Contract/Vehicle/State/NearbyChargingSites/NearbyChargingSitesDetail.cs
futugyou/TeslaAPI
0
7039180
using System.Text.Json.Serialization; namespace TeslaApi.Contract.Vehicle.State.NearbyChargingSites { public class NearbyChargingSitesDetail { [JsonPropertyName("congestion_sync_time_utc_secs")] public int? CongestionSyncTimeUtcSecs { get; set; } [JsonPropertyName("destination_charging...
src/Sooda/ObjectMapper/SoodaObjectCollectionWrapper.cs
sooda-orm/sooda
1
7039181
<gh_stars>1-10 // // Copyright (c) 2003-2006 <NAME> <<EMAIL>> // Copyright (c) 2006-2014 <NAME> <<EMAIL>> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistribution...
src/OrbintSoft.Yauaa.NetStandard/Analyze/Matcher.cs
bopohaa/yauaa.netstandard
23
7039182
<gh_stars>10-100 //----------------------------------------------------------------------- // <copyright file="Matcher.cs" company="OrbintSoft"> // Yet Another User Agent Analyzer for .NET Standard // porting realized by <NAME>, Copyright 2018-2020 (C) OrbintSoft // // Original Author and License: // // Yet An...
LanguageExt.Core/Prelude/Function argument flipping/Prelude_Flip.cs
CK-LinoPro/language-ext
3,903
7039183
<gh_stars>1000+ using System; using System.Diagnostics.Contracts; namespace LanguageExt { public static partial class Prelude { /// <summary> /// Reverse the order of the arguments to a curried function /// </summary> [Pure] public static Func<B, Func<A, R>> flip<A, B, ...
Twinsanity/Items/Graphics/Model.cs
AtomicalSloths/twinsanity-editor
12
7039184
<gh_stars>10-100 using System; using System.IO; using System.Collections.Generic; namespace Twinsanity { public class Model : TwinsItem { public List<SubModel> SubModels { get; set; } = new List<SubModel>(); public override void Load(BinaryReader reader, int size) { var sk ...
TableauCri/Services/TableauUserService.cs
sgchoe/TableauCri
0
7039185
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using Serilog; using TableauCri.Extensions; using TableauCri.Models; using static TableauCri.Services.TableauApiService; ...
src/MySql/generated/api/Support/ReplicationRole.cs
mbentancour/azure-powershell
3,336
7039186
<gh_stars>1000+ // 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 regenerated....
Scripts/Data/EntryGroupUserData.cs
insthync/simple-socketio-chat-unity-sdk
0
7039187
<reponame>insthync/simple-socketio-chat-unity-sdk<filename>Scripts/Data/EntryGroupUserData.cs<gh_stars>0 namespace SimpleSocketIOChatSDK { [System.Serializable] public struct EntryGroupUserData { public string userId; public string name; public string iconUrl; } }
api/src/FavoDeMel.Domain/Commands/Pedido/AlterarStatusPedidoCommand.cs
dgoangelo/Ewave-FavoDeMel-Senior
0
7039188
<reponame>dgoangelo/Ewave-FavoDeMel-Senior using FavoDeMel.Domain.Validations.Pedido; using MediatR; namespace FavoDeMel.Domain.Commands.Pedido { public class AlterarStatusPedidoCommand : PedidoCommand, IRequest<bool> { public override bool IsValid() { ValidationResult = new Altera...
src/Mongo.SignalR.Backplane/MongoDbContext.cs
gottscj/Mongo.SignalR.Backplane
0
7039189
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Options; using Mongo.SignalR.Backplane.Invocations; using MongoDB.Bson; using MongoDB.Driver; namespace Mongo.SignalR.Backplane; public interface IMongoDbContext { IMongoDatabase Database { get; } IMongoCollection<...
Runtime/Core/Utils/Objects.cs
mantrabr/USML
0
7039190
<reponame>mantrabr/USML using System; namespace Sigma.Utils { /// <summary> /// This class consists of static utility methods for operating on objects. /// </summary> [Documented(true)] public class Objects { /// <summary> /// This method check if the passed variable ...
Application/Features/DocumentTags/Queries/GetAllDocumentTags/GetAllDocumentTagsQueryHandler.cs
KristenJestin/administrative-documents-api
0
7039191
<reponame>KristenJestin/administrative-documents-api<gh_stars>0 using Application.DTOs.DocumentTag; using Application.Interfaces.Repositories; using Application.Interfaces.Services; using Application.Wrappers; using AutoMapper; using Domain.Entities; using MediatR; using System.Collections.Generic; using System.Thread...
Assets/Scripts/Enemy/EnemySpawner.cs
Cecilija-Simic-Rihtnesberg/game21-2021-1129-arpg-team-3
0
7039192
using UnityEngine; public class EnemySpawner : MonoBehaviour { [SerializeField] private GameObject enemyToSpawn; [SerializeField] private GameObject spawnPositions; private Transform[] _spawnPositions; private void Awake() { _spawnPositions = spawnPositions.GetComponentsInChildren<Transform>(); SpawnObjects(...
src/test/csharp/NMSTest.cs
apache/activemq-nms-xms
6
7039193
<filename>src/test/csharp/NMSTest.cs<gh_stars>1-10 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the A...
Block2/UnitTest/UnitTest08.cs
CaptainMich/CSharp_Project
0
7039194
<reponame>CaptainMich/CSharp_Project using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Exercise8; namespace UnitTest { [TestClass] public class UnitTest08 { [TestMethod] public void GcdPrimeNumbers() { int gcd = Program.GreatestCommonDivisor(17, 13...
src/Microsoft.VisualStudio.LanguageServices.Ebnf/InsertMatch/CharacterStringMatchAttribute.cs
IObsequious/EbnfLanguageService
0
7039195
// ----------------------------------------------------------------------- // <copyright file="CharacterStringMatchAttribute.cs" company="Ollon, LLC"> // Copyright (c) 2017 Ollon, LLC. All rights reserved. // </copyright> // ----------------------------------------------------------------------- using System; na...
src/Fostor.Ginkgo.Web.Mvc/Views/Shared/Components/TaskRoleSelector/TaskRoleSelectorViewComponent.cs
fostor/Ginkgo
1
7039196
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Fostor.Ginkgo.TaskFlow; using Fostor.Ginkgo.TaskFlow.Dto; using Fostor.Ginkgo.Sessions; namespace Fostor.Ginkgo.Web.Views.Shared.Components.TaskRoleSelector { public class TaskRo...
Specto/Models/Relay/Net/RepliesAndCommands.cs
pawel-guz/Specto
1
7039198
<gh_stars>1-10 using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Specto.Tools; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Specto.Relay { public class Reply { public static Reply ParseFrom(string json) { ...
Yorukatsu033/Yorukatsu033/Yorukatsu033/Questions/QuestionC.cs
terry-u16/AtCoder
0
7039199
<reponame>terry-u16/AtCoder using Yorukatsu033.Questions; using Yorukatsu033.Extensions; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Yorukatsu033.Questions { /// <summary> /// ABC061 C /// </summary> public class QuestionC : AtCoderQ...
Code Assets/Player/Input/Input Events Observer(s)/Analog Observer(s)/AnalogInputEventObservable.cs
PatOneill/Unity_Player_Controller
5
7039201
<reponame>PatOneill/Unity_Player_Controller using System.Collections.Generic; using UnityEngine; public class AnalogInputEventObservable : IAnalogInputEventObservable, IAnalogInputEventAddObserver, IAnalogInputEventRemoveObserver { private List<IAnalogInputEventObserver> _Watchers; public AnalogInputEventObse...
DemoWebAPI/Demo.API/Models/OfficialLanguages/OfficialLanguagesByCountryForCreateDTO.cs
diogoamaralse/netCoreWebAPI
1
7039202
using System.ComponentModel.DataAnnotations; namespace Demo.API.Models.OfficialLanguages { public class OfficialLanguagesByCountryForCreateDTO { [Required(ErrorMessage = "You should provide a language name value.")] [MaxLength(100)] public string LanguageName { get; set; } } }
src/test/AAATest.Test/TestFixture_AssertTests.cs
flukus/AAATest
0
7039203
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AAATest.Framework.Exceptions; namespace AAATest.Test { public class TestFixture_AssertTests : TestFixture<TestFixture<object>> { public void AsserFailsAfterException() { Arrange(...
Src/CsvLINQPadDriver/HeaderDetection.cs
i2van/CsvLINQPadDriver
4
7039204
using System.ComponentModel; namespace CsvLINQPadDriver { public enum HeaderDetection { [Description("Header is missing")] NoHeader, [Description("Header is present")] HasHeader, [Description("All letters|Numbers|Punctuation")] AllLettersNumbersPunctuation, ...
Ling.Extension.Test/DoExtensionTest.cs
kameske/CSharpCommons
0
7039206
<filename>Ling.Extension.Test/DoExtensionTest.cs using System; using System.Linq; using Commons; using Commons.Linq.Extension; using NUnit.Framework; namespace Ling.Extension.Test { [TestFixture] public class DoExtensionTest { private static Logger logger; [SetUp] pub...
PS2Disassembler.Core/Instructions/Register/C790/PSUBSB.cs
HankiDesign/EmotionEngineDisassembler
2
7039207
namespace PS2Disassembler.Core.Instructions.Register.C790 { public class PSUBSB : RegisterBase { public PSUBSB(uint rs, uint rt, uint rd, uint sa) : base("PSUBSB", rs, rt, rd, sa) { } } }
Data/Models/File.cs
sbeisner/filesystem_refresh
0
7039208
using System; namespace filesystem_refresh.Data { public class File { public int id { get; set; } public string name { get; set; } public string type { get; set; } public string dir_path { get; set; } public DateTime timeCreated { get; set; } publi...
src/Transact.Holding/DashboardService.cs
ElevateData/OpenTemenos-Transact
0
7039209
//---------------------- // <auto-generated> // Generated using the NSwag toolchain v13.14.5.0 (NJsonSchema v10.5.2.0 (Newtonsoft.Json v11.0.0.0)) (http://NSwag.org) // </auto-generated> //---------------------- #nullable enable using OpenTemenos.Shared.Models; #pragma warning disable 108 // Disable "CS0108 '{de...
Adf/PropertyAccessor.cs
aooshi/adf
0
7039210
using System; using System.Collections.Generic; using System.Text; using System.Reflection; using System.Collections; namespace Adf { /// <summary> /// 属性访问器 /// </summary> public class PropertyAccessor { static Type accessType = typeof(Accessor<,>); static Dictionary<string, IAcc...
OeipUnity3D/Assets/Oeip/Script/UI/SliderInputComponent.cs
xxxzhou/oeip
32
7039211
<reponame>xxxzhou/oeip using OeipCommon.OeipAttribute; using UnityEngine.UI; public class SliderInputComponent : BaseComponent<float> { public Slider slider; public InputField field; private SliderInputAttribute attribute; private float range = 1.0f; private bool bAutoRange = false; private b...
src/Application/Common/EventSources/EventBufferService.cs
jybbang/DaprCleanArchitecture
8
7039212
<filename>src/Application/Common/EventSources/EventBufferService.cs using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using NetCoreCleanArchitecture.Application.Common.Options; using System; using System.Linq; using System.Reactive.Linq; using Syste...
SeguraChain-RPC-Wallet/Database/Wallet/ClassWalletData.cs
jianmingyong/segurachain
0
7039213
<gh_stars>0 using SeguraChain_Lib.Blockchain.Block.Object.Structure; using SeguraChain_Lib.Blockchain.Transaction.Object; using SeguraChain_Lib.Instance.Node.Network.Services.API.Utility; using SeguraChain_Lib.Other.Object.List; using SeguraChain_Lib.Utility; using SeguraChain_RPC_Wallet.API.Service.Packet.Object...
OnlineCinema/OC.Application/Results/Result.cs
Yaroslav08/OnlineCinema
0
7039214
<gh_stars>0 namespace OC.Application.Results { public class Result { public Result(string error) : this(false, error, null) { } public Result(object data) : this(true, null, data) { } public Result(bool isOK, string error, object data) { ...
Assets/Scripts/RoomShell.cs
saint-angels/GGJ_2019
0
7039215
using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class RoomShell : SingletonComponent<RoomShell> { public Color attackableColor; [SerializeField] private Room[] roomPrefabs; [SerializeField] private Room tutorialRoomPrefab; [SerializeField] private Ro...
src/baymax/Controllers/HomeController.cs
matt-hammond/baymax
0
7039216
<filename>src/baymax/Controllers/HomeController.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using baymax.Models; namespace baymax.Controllers { public class PrototypeController : Controller { public IActionResult Index...
Gentings/Extensions/Settings/SettingDictionaryDataMigration.cs
Mozlite/Gentings
0
7039217
<gh_stars>0 using Gentings.Data.Migrations; namespace Gentings.Extensions.Settings { /// <summary> /// 数据库迁移。 /// </summary> internal class SettingDictionaryDataMigration : DataMigration { /// <summary> /// 当模型建立时候构建的表格实例。 /// </summary> /// <param name="builder">迁移...
Scripts/UI/UI_PassiveItemsManager.cs
Peacetoletov/AdaptiveWizard
0
7039218
<reponame>Peacetoletov/AdaptiveWizard<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using Items; public class UI_PassiveItemsManager : MonoBehaviour { // GameObjects used for instantiates public GameObject healthCrystalUI_Prefab; public GameObject manaCrystalUI_...
Editor/SpritesheetImporterSettingsManager.cs
chrishayesmu/Unity-Spritesheet-Importer
1
7039219
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor.SettingsManagement; using UnityEditor; namespace SpritesheetImporter { internal static class SpritesheetImporterSettingsManager { private const string packageName = "com.chrishayesmu.spritesheet...
OaCM_labs.Tests/Lab6Tests.cs
kinpa200296/OaCM_labs
0
7039220
using System; using System.IO; using Kindruk.lab6; using MathBase; using MathBase.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace OaCM_labs.Tests { [TestClass] public class Lab6Tests { private bool CheckAlmostEqual(DoubleVector expected, DoubleVector received) { ...
Assets/_Velting/Scripts/HealthSystem.cs
Battlertrunks/255-2021-SlipstreamJumper
0
7039222
<filename>Assets/_Velting/Scripts/HealthSystem.cs using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Velting { public class HealthSystem : MonoBehaviour { //state: //C# field: //public float hp; // C# property: public f...
System.Maui.Controls.Issues/System.Maui.Controls.Issues.Shared/Issue4026.cs
Skyprx/maui
3
7039223
using System.Maui.CustomAttributes; using System.Maui.Internals; #if UITEST using System.Maui.Core.UITests; using Xamarin.UITest; using NUnit.Framework; #endif namespace System.Maui.Controls.Issues { #if UITEST [Category(UITestCategories.ManualReview)] #endif [Preserve(AllMembers = true)] [Issue(IssueTracker.Githu...
AnaliseOperante/source/services/ExperimentoService.cs
RafRunner/AnaliseOperante
0
7039224
using AnaliseOperante.source.dominio; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AnaliseOperante.source.services { public class ExperimentoService : AbstractService { private static readonly string TABELA_Experimento = "Experimento...
UnityProject/Assets/LocalNotification/IOSNotification.cs
end1220/LocalNotificationForUnity3D
0
7039225
<gh_stars>0  #if UNITY_IOS && !UNITY_EDITOR namespace LocalNotification { public class IOSNotification : INotification { private const float DELAY_PUSH_SECONDS = 0.5f; public IOSNotification() { // 注册本地推送 UnityEngine.iOS.NotificationServices.RegisterForNotifications( UnityEngine.iOS.NotificationTyp...
src/ESFA.DC.ILR.ReportService.Model/ReportModels/PeriodEnd/AppsCoInvestmentContributionsModel.cs
SkillsFundingAgency/DC-ILR-1819-ReportService
0
7039226
<filename>src/ESFA.DC.ILR.ReportService.Model/ReportModels/PeriodEnd/AppsCoInvestmentContributionsModel.cs  namespace ESFA.DC.ILR.ReportService.Model.ReportModels.PeriodEnd { public class AppsCoInvestmentContributionsModel { public string LearnRefNumber { get; set; } public long UniqueLearnerN...
WindowsAzure/Table/Queryable/IAsyncQueryProvider.cs
conube/WindowsAzure
34
7039227
<reponame>conube/WindowsAzure using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; namespace WindowsAzure.Table.Queryable { /// <summary> /// Defines methods to create and asynchronously execute queries that are described by an /// <see cref="T:Sy...
Source/AnnoyingManager.WindowsTrayAlert/FormTask.cs
fabiogouw/annoyingmanager
0
7039228
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using AnnoyingManager.Core; using AnnoyingManager.Core.Entities; using AnnoyingManager.Core.Common; namespace AnnoyingMana...
JanusNG/Services/Connection/ApiConnectionService.cs
andrewvk/JanusNG
0
7039229
<filename>JanusNG/Services/Connection/ApiConnectionService.cs<gh_stars>0 using System; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Sockets; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using Rsdn.Api.Models.Auth; usin...
TeamProjects/HQC & UnitTesting/CalorieCounter/CalorieCounter.UnitTests/Models/FoodModel/CustomFoodProductTests/Constructor_Should.cs
alekhristov/TelerikAcademyAlpha
0
7039230
using System; using CalorieCounter.Contracts; using CalorieCounter.Models.FoodModel; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CalorieCounter.UnitTests.Models.FoodModel.CustomFoodProductTests { [TestClass] public class Constructor_Should { [TestMethod] public void Creat...
src/Krento/Interfaces/IPackage.cs
perevoznyk/krento
4
7039231
<reponame>perevoznyk/krento using System; using System.Collections.Generic; using System.Text; namespace Krento { /// <summary> /// Communication interface for Krento packages (additional modules, loaded into main domain). /// Every Krento Plugin must implement this interface in order to be loaded...
CommandDotNet/ArgumentDefault.cs
giuliov/commanddotnet
405
7039232
using System; namespace CommandDotNet { /// <summary>The values provided as the default for an argument</summary> public class ArgumentDefault { /// <summary>The source of the default value</summary> public string Source { get; } /// <summary>The key of the default value</summary>...
G3/Class07/SEDC.AspNet.Mvc.Class07/SEDC.AspNet.Mvc.Class07.DatabaseFirst/Models/Categories.cs
sedc-codecademy/skwd9-net-08-aspnetmvc
1
7039233
using System; using System.Collections.Generic; // Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled. // If you have enabled NRTs for your project, then un-comment the following line: // #nullable disable namespace SEDC.AspNet.Mvc.Class07.DatabaseFirst.Models { public pa...
gpmr/MohawkCollege.EHR.gpmr.Pipeline.Renderer.XML.ITS/XsltGenerator.cs
Vespertan/everest
40
7039234
/* * Copyright 2008-2013 Mohawk College of Applied Arts and Technology * * 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 *...
FlightJournal.Web/Views/Account/ExternalLoginFailure.cshtml
VladimirVLF/startlist.club
12
7039235
@{ ViewBag.Title = "Login Failure"; } <hgroup> <h2>@ViewBag.Title.</h2> <h3 class="text-error">Unsuccessful login with service.</h3> </hgroup> @if (ViewBag.Message != null) { <div class="alert alert-danger"><span class="glyphicon glyphicon-alert"></span> @ViewBag.Message</div> }
Models/Valute.cs
bankoViktor/example_app
0
7039236
using System.Diagnostics; using System.Xml.Serialization; namespace ExampleApp.Models { /// <summary> /// Схема http://www.cbr.ru/StaticHtml/File/92172/ValCurs.xsd /// </summary> [DebuggerDisplay("{CharCode} = {Value}")] [XmlRoot(ElementName = "Valute")] public class Valute { /// <...
03.02 - Conditional Statements - Exercise/08. Scholarship/Program.cs
ivanstamboliyski/Programming-Basics-With-CSharp-Course
1
7039237
<gh_stars>1-10 using System; namespace _02._08.Scholarship__Exercise { class Program { static void Main(string[] args) { double income = double.Parse(Console.ReadLine()); double averageResult = double.Parse(Console.ReadLine()); double minSalary = d...
Enterprise/Helpers/Currency/THB.cs
next-scale/ERPCore
1
7039238
<reponame>next-scale/ERPCore<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ERPKeeper.Helpers.Currency.Thai { public class Baht { private char cha1; private string ProcessValue; public string...
src/Liquid.Runtime/Polly/Polly.cs
d-daniel-de-sousa/Liquid-Application-Framework
1
7039239
using Polly; using Polly.Retry; using System; using System.Collections.Generic; using System.Diagnostics; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Liquid.Runtime.Polly { public class Polly : LightPolly { public override async Task<HttpResponse...
StrixIT.Platform.Modules.Cms/News/NewsService.cs
StrixIT/StrixIT.Platform.Modules.Cms
0
7039240
<reponame>StrixIT/StrixIT.Platform.Modules.Cms #region Apache License //----------------------------------------------------------------------- // <copyright file="NewsService.cs" company="StrixIT"> // Copyright 2015 StrixIT. Author <NAME> MSc. // // Licensed under the Apache License, Version 2.0 (the "License"); //...
src/Transports/MassTransit.EventHubIntegration/EventHubIntegration/EventHubMessageSendContext.cs
kjrobrien/MassTransit
1
7039241
namespace MassTransit.EventHubIntegration { using System.Threading; using Context; public class EventHubMessageSendContext<T> : MessageSendContext<T>, EventHubSendContext<T> where T : class { public EventHubMessageSendContext(T message, CancellationToken cancellationTok...
Assets/Oculus/VR/Scripts/Util/OVRAutoDestroyInMRC.cs
vrcorpru/UnityVRTools
343
7039242
using System.Collections; using System.Collections.Generic; using UnityEngine; // If there is a game object under the main camera which should not be cloned under Mixed Reality Capture, // attaching this component would auto destroy that after the MRC camera get cloned public class OVRAutoDestroyInMRC : MonoBehaviour ...
CookedRabbit.Core.Tests/UtilsTests.cs
ryanmvt/RabbitMQ.Core
9
7039243
<filename>CookedRabbit.Core.Tests/UtilsTests.cs using CookedRabbit.Core.Utils; using Xunit; namespace CookedRabbit.Core.Tests { public class UtilsTests { [Fact] public void CreateRandomBytes() { var xorShift = new XorShift(); var bytes0 = new byte[1000]; ...
src/BuiltInTools/dotnet-watch/HotReload/HotReloadProfileReader.cs
mandel-macaque/sdk
1
7039244
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #nullable enable using System.Collections.Generic; using Microsoft.Build.Execution; using Microsoft.Build.Graph; using Microsoft.Extensions.Too...
MultiMedia/Joystick.cs
shintadono/Win32
44
7039245
<reponame>shintadono/Win32 using System; using System.Collections.Generic; using System.Text; namespace Win32.MultiMedia { /// <summary> /// http://www.activevb.de/cgi-bin/apiwiki/JOYINFOEX /// http://msdn.microsoft.com/en-us/library/dd757108%28VS.85%29.aspx /// http://www.activevb.de/cgi-bin/apiwiki/JoyGetPosEx ...
CKS.Prototype/Filters/InitializeSimpleMembershipAttribute.cs
ck-lee/renopolo
2
7039246
<reponame>ck-lee/renopolo using System; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Web.Http.Controllers; using System.Web.Http.Filters; using WebMatrix.WebData; namespace CKS.Prototype.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = fals...
project/OsEngine/Charts/CandleChart/OxyAreas/ControlPanelArea.cs
IEugeny/OsEngine
5
7039247
<reponame>IEugeny/OsEngine<gh_stars>1-10 using CustomAnnotations; using OsEngine.Entity; using OxyPlot; using OxyPlot.Annotations; using OxyPlot.Series; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Contr...
client/framework/dotween-develop/UnityTests.Unity5/Assets/_Tests/CallbacksOnlySequence.cs
HelloWindows/AccountBook-
1
7039249
using DG.Tweening; using UnityEngine; using System.Collections; public class CallbacksOnlySequence : BrainBase { public Transform target; void Start() { DOTween.Sequence() .OnComplete(()=>Debug.Log(target.position.x.ToString("N10"))) // .SetLoops(3, LoopType.Yoyo) // .SetLoops(3) .AppendCallback(()=...
PopTheCircleSecond/Assets/NoteMaker/Scripts/Core/MusicManager.cs
Hamsting/PopTheCircleSecond
0
7039250
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace PopTheCircle.NoteEditor { public class MusicManager : Singleton<MusicManager> { private AudioSource musicAudioSource; private AudioSource shotAudioSource; private AudioSource seAudioSource; ...
Umbrella/BulletTimer.cs
Jarlyk/JarlykMods
5
7039251
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using RoR2; using UnityEngine; using Mono.Cecil.Cil; using MonoMod.Cil; using R2API; using RoR2.Projectile; namespace JarlykMods.Umbrella { public sealed class BulletTimer { private float _startTime; public Bull...
src/Activiti.Net/Models/JobResponse.cs
freetalent/Activiti.Net
0
7039252
<reponame>freetalent/Activiti.Net // <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Activiti.Net.Models { using Newtonsoft.Json; using System.Linq; public pa...
src/Microsoft.TestPlatform.ObjectModel/DataCollector/Events/TestHostLaunchedEvent.cs
mcooley/vstest
272
7039253
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection { using System.Runtime.Serialization; /// <summary> /// Session End e...
src/Presentation/PptFileFormat/MouseClickInteractiveInfoContainer.cs
datadiode/B2XTranslator
0
7039254
<filename>src/Presentation/PptFileFormat/MouseClickInteractiveInfoContainer.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using DIaLOGIKa.b2xtranslator.OfficeDrawing; using System.IO; namespace DIaLOGIKa.b2xtranslator.PptFileFormat { [OfficeRecordAttribute(4082)] pub...
src/Cassandra/Data/Linq/VisitingParam.cs
cdwiegand/csharp-driver
487
7039255
// // Copyright (C) DataStax Inc. // // 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 la...
Student Management System/ClassLibrary/CourseComparer.cs
ismail5g/StudentManagementSystem
0
7039257
using System; using System.Collections.Generic; using ClassLibrary.Entities; namespace ClassLibrary { public class CourseComparer : IEqualityComparer<Course> { public bool Equals(Course courses1, Course courses2) { return courses2 != null && courses1 != null && courses1.CourseId ==...
Assets/PRACTICA/informacionCrewild.cs
NessDisk/Crewild
0
7039258
<reponame>NessDisk/Crewild<filename>Assets/PRACTICA/informacionCrewild.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using UnityEngine.Events; public class informacionCrewild : MonoBehaviour { public bool Activ...
Assets/JCSUnity/Scripts/Animation/2D/JCS_2DRandAnimByTimeController.cs
mike316mike316/JCSUnity_Framework
56
7039259
<filename>Assets/JCSUnity/Scripts/Animation/2D/JCS_2DRandAnimByTimeController.cs /** * $File: JCS_2DRandAnimByTimeController.cs $ * $Date: 2017-05-10 17:49:29 $ * $Revision: $ * $Creator: <NAME> $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright (c) 2017 by <N...
MediaBrowser.Plugins.ITV/Info.cs
boripped/Emby.Channels
18
7039260
using System.Collections.Generic; namespace MediaBrowser.Plugins.ITV { class TVChannel { public string name; public string fname; public string thumb; public TVChannel(string n, string fn, string t) { name = n; fname = fn; thumb = t;...
plugin/CactbotOverlay/PluginLoader.cs
anubiann00b/cactbot
4
7039261
<reponame>anubiann00b/cactbot using System.Windows.Forms; using RainbowMage.OverlayPlugin; using Advanced_Combat_Tracker; using System.Collections.Generic; using System.IO; using System.Linq; using System; namespace Cactbot { public class PluginLoader : IActPluginV1, IOverlayAddonV2 { priv...
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSixTwoZero/AdditionalIndexesAndKeys.cs
gildebrand/Umbraco-CMS
0
7039262
using System; using Umbraco.Core.Configuration; namespace Umbraco.Core.Persistence.Migrations.Upgrades.TargetVersionSixTwoZero { [Migration("6.2.0", 0, GlobalSettings.UmbracoMigrationName)] public class AdditionalIndexesAndKeys : MigrationBase { public override void Up() { ...
Views/Bill/Index.cshtml
thuonghtml/Shop
0
7039263
@model Shop.Models.Bill @{ ViewBag.Title = "Bill"; Layout = "~/Views/Shared/_Layout.cshtml"; } @section Css { <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/css/select2.min.css" /> <style> .select2-container--default .select2-selection--single { ba...
MoogleEngine/Query.cs
adrianhdez929/moogle-2021
0
7039264
using System; using MoogleEngine.Math; namespace MoogleEngine { public class Query { Vector tf; Vector tfidf; public Query(string query) { this.Text = query; this.Words = new string[]{}; this.SkippedWords = new string[]{}; this.MustWords = ne...
Source/SharpDX.Direct2D1/DirectWrite/GlyphRunAnalysis.cs
kyapp69/SharpDX
1,436
7039265
// Copyright (c) 2010-2014 SharpDX - <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge,...
test/Kentico.Kontent.ModelGenerator.Tests/Generators/Class/ClassCodeGeneratorTests.cs
Kentico/cloud-generators-net
8
7039266
using System; using System.Collections.Generic; using System.Reflection; using Kentico.Kontent.ModelGenerator.Core.Common; using Kentico.Kontent.ModelGenerator.Core.Generators.Class; using Xunit; namespace Kentico.Kontent.ModelGenerator.Tests.Generators.Class { public class ClassCodeGeneratorTests { [...
src/Descriptor.Http/Generics/HttpMethodDescriptorContainer`1.cs
ritterim/descriptor
3
7039267
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace RimDev.Descriptor.Http.Generic { public class HttpMethodDescriptorContainer<T> : HttpDescriptorContainer<T> { public HttpMethodDescriptorContainer() { Parameters = new List<HttpDescriptorContai...
ECS.Defaults/DataComponents/Limit.cs
d4160/UnityGameFramework
0
7039268
using System; #if UNITY_ECS using Unity.Entities; #endif namespace d4160.ECS { [Serializable] public struct Limit #if UNITY_ECS : IComponentData #endif { public LimitSide side; public float limitValue; } public enum LimitSide { Up, Right, Down, ...
Slurper/Logic/ConfigurationService.cs
ademol/Slurper
1
7039269
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Threading.Tasks; using Newtonsoft.Json; using Slurper.Models; using Slurper.Output; namespace Slurper.Logic { public class ConfigurationService { private static readonly Lazy<Configur...
Routines.AspNetCore/OneToMany.cs
xsysfan/Routines
4
7039270
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Http; namespace DashboardCode.Routines.AspNetCore { public class OneToMany<TP, TF, TfID, TDAL> : IOneToMany<TP, TDAL> where TP : class where TF : class { private readonly Action<Action<string, object>, IReadOnlyCollection<TF>,...
_PF - More Exercises/13.ArraysAndMethods-MoreExercises/T07.InventoryMatcher/Program.cs
akdimitrov/CSharp-Fundamentals
0
7039271
<gh_stars>0 using System; using System.Linq; namespace T07.InventoryMatcher { class Program { static void Main(string[] args) { string[] products = Console.ReadLine().Split(); long[] quantities = Console.ReadLine().Split().Select(long.Parse).ToArray(); decim...
RayTracingInDotNet/Vulkan/DepthBuffer.cs
bmdub/RayTracingInDotNet
11
7039272
<reponame>bmdub/RayTracingInDotNet<filename>RayTracingInDotNet/Vulkan/DepthBuffer.cs using Silk.NET.Vulkan; using System; using System.Collections.Generic; namespace RayTracingInDotNet.Vulkan { class DepthBuffer : IDisposable { private readonly Api _api; private readonly Format _format; private readonly Image...
ExcelEditor/Commands/Edit/SetValueCommand.cs
martinsmith1968/exceled
0
7039273
<filename>ExcelEditor/Commands/Edit/SetValueCommand.cs using System; using ExcelEditor.Excel.Document; using Ookii.CommandLine; namespace ExcelEditor.Commands.Edit { public class SetValueCommand : BaseCommand<SetValueCommand.SetValueArguments> { public class SetValueArguments { [Co...
sources/Interop/Windows/Windows/um/lsalookup/LSA_TRANSLATED_NAME.cs
rickbrew/terrafx.interop.windows
0
7039274
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/LsaLookup.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows; /// <inc...
IvyBot/IvyBot/Services/StringService.cs
ivydrinkscoffee/ivy-bot
2
7039275
<reponame>ivydrinkscoffee/ivy-bot using System; using System.Collections.Generic; using System.Linq; namespace IvyBot.Services { public static class StringService { public static bool EqualsAny (this string target, StringComparer comparer, params string[] values) { return target.EqualsAny (comp...
SiriusQuality-MaizeLAIConsole/LeafState.cs
SiriusQuality/-SiriusQuality-BioMa-MaizeLAI-Component
0
7039276
<reponame>SiriusQuality/-SiriusQuality-BioMa-MaizeLAI-Component using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SiriusQuality_MaizeLAIConsole { //Enumeration of possible states for the leaf layers public enum LeafState ...
src/BlazorWebFormsComponents/ButtonBaseComponent.cs
mpaulosky/BlazorWebFormsComponents
0
7039277
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; namespace BlazorWebFormsComponents { public abstract class ButtonBaseComponent : BaseWebFormsComponent, IButtonComponent { [Parameter] public bool CausesValidation { get; set; } = true; [Parameter] public string CommandName ...
Implementation/RN_Enhance/RawNotification/StartServiceHelper/Form1.Designer.cs
lekhasy/RawNotification
2
7039278
namespace StartServiceHelper { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
DragonFruit.Six.Api/Utils/PlatformParser.cs
aspriddell/Dragon6-API
0
7039279
// Dragon6 API Copyright 2020 Drag<NAME> <<EMAIL>> // Licensed under Apache-2. Please refer to the LICENSE file for more info using System; using System.Collections.Generic; using System.Linq; using DragonFruit.Six.Api.Enums; namespace DragonFruit.Six.Api.Utils { public static class PlatformParser { ...
src/OpenRiaServices.Client/Test/Client.Test/ApplicationServices/AuthenticationServiceTest.cs
erikoijwall/OpenRiaServices
0
7039280
<filename>src/OpenRiaServices.Client/Test/Client.Test/ApplicationServices/AuthenticationServiceTest.cs extern alias SSmDsClient; using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Security.Principal; using System.Threading; using OpenRiaServices.Client...
LXD/Domain/ContainerState.cs
autozimu/lxd.NET
3
7039281
using System.Collections.Generic; namespace LXD.Domain { public class ContainerState : RemoteObject { public string Status; public int StatusCode; public Dictionary<string, StateDisk> Disk; public StateMemory Memory; public Dictionary<string, StateNetwork> Net...
GameProject/GameProject/Implementation/GameManager.cs
ayyse/software-development-series
0
7039282
<reponame>ayyse/software-development-series using GameProject.Contracts; using GameProject.Models; using System; namespace GameProject.Implementation { public class GameManager : IGameService { public void Add(Game game) { Console.WriteLine(game.Name + " added."); ...
Api/src/Api/Startup.cs
andrecard123/Adiq.Autenticacao
0
7039283
using Adiq.Presentation.Presentation.Api.Configurations; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace Api { public class Startup { private ...