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
tools/Assets/Scripts/Mod/XMLMod.cs
Mephostopilis/clash
0
7029512
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; using System.IO; namespace SPSGame.Tools { public class XMLMod { /// <summary> /// 获取XElement文件树节点段XElement的列表 /// </summary> /// <param name="XElemen...
src/TBT.Api/Controllers/TimeEntryController.cs
Brainence/TimeBookingTool-API
2
7029513
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using TBT.Api.Common.Filters.Base; using TBT.Api.Common.Filters.ControllersFilters; using TBT.Api.Common.FluentValidation.Attributes; using TBT.Api.Controllers.Base; using TBT.B...
ObservatoryFramework/Files/Journal/Other/SendText.cs
mholtmanns/ObservatoryCore
25
7029514
<reponame>mholtmanns/ObservatoryCore namespace Observatory.Framework.Files.Journal { public class SendText : JournalBase { public string To { get; init; } public string To_Localised { get; init; } public string Message { get; init; } public bool Sent { get; init; } } }
SuperUI/Assets/SuperUI/Scripts/PopupPresenter/LB_PopUpData.cs
cosgunhalil/SuperUI
4
7029515
<gh_stars>1-10  namespace LB.SuperUI.PopUpSystem { public struct LB_PopUpData { public PopUpType Type; public string Title; public string Content; } }
Source/Boxed.AspNetCore.TagHelpers/OpenGraph/Enums/OpenGraphMusicReleaseType.cs
Dotnet-Boxed/Framework
526
7029516
<reponame>Dotnet-Boxed/Framework namespace Boxed.AspNetCore.TagHelpers.OpenGraph; /// <summary> /// How the music is released. /// </summary> public enum OpenGraphMusicReleaseType { /// <summary> /// This is the first original release. /// </summary> OriginalRelease, /// <summary> /// This is ...
Intrinio/Api/DataTagApi.cs
KolesnichenkoDS/intrinio-netcore
0
7029517
<gh_stars>0 using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using RestSharp; using Intrinio.Client; using Intrinio.Model; namespace Intrinio.Api { /// <summary> /// Represents a collection of functions to interact with the API endpoints ...
LaserAmazer/math/MathExtension.cs
thejereman13/FEDD-Game-C
0
7029518
<gh_stars>0 using System; namespace LaserAmazer.Math { class MathExtension { public static int RandomInt(int min, int max) { Random random = new Random(); return random.Next() * (max - min + 1) + min; } public static double ToRadians(double val) ...
Core/Transports/DiskTransport/DiskTransport.cs
gjedlicska/speckle-sharp
0
7029519
<reponame>gjedlicska/speckle-sharp<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json; using Speckle.Core.Transports; namespace DiskTransport { /// <summary> /// Writes speckle objects to disk. ...
Arc.Collections/HotMethod/IHotMethodResolver.cs
archi-Doc/Arc.Collection
3
7029520
<filename>Arc.Collections/HotMethod/IHotMethodResolver.cs // Copyright (c) All contributors. All rights reserved. Licensed under the MIT license. using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace Arc.Collections.HotMethod { /// <summary> /// Allows querying for ...
Source/Pablo/Formats/Rip/Tools/Paste.cs
christianvozar/pablodraw
141
7029521
using System; using Eto.Forms; using Eto.Drawing; using System.Reflection; using Pablo.BGI; using System.Collections.Generic; namespace Pablo.Formats.Rip.Tools { public class Paste : RipTool { Point? point; bool applied; public override string Description { get { return "Pastes the contents of the clipb...
src/core/Wyam.Configuration/ConfigScript/ScriptBase.cs
glennawatson/Wyam
1
7029522
<gh_stars>1-10 using Wyam.Common.Configuration; using Wyam.Common.Documents; using Wyam.Common.Execution; using Wyam.Common.IO; using Wyam.Common.Meta; using Wyam.Core.Documents; using Wyam.Core.Execution; namespace Wyam.Configuration.ConfigScript { /// <summary> /// This is the base class used for...
MarioCat/Assets/Scripts/Managers/TrackManager.cs
jcondek/MarioCat
0
7029523
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; namespace Managers { public class TrackManager : MonoBehaviour { private static TrackManager instance = null; public static TrackManager Instance { get ...
src/Functions/SantaTalk.Models/SantaLetter.cs
rikoari/santa-talk
0
7029524
<reponame>rikoari/santa-talk using System; using System.Collections.Generic; using System.Text; namespace SantaTalk.Models { public class SantaLetter { public string KidName { get; set; } public string LetterText { get; set; } public string PictureBase64 { get; set; } } }
KPComponents/KPComponents/KPForm/KPFormButton/KPFormButtonSimple.cs
NumericTechnology/Platanum.Net
0
7029525
<reponame>NumericTechnology/Platanum.Net /* * Copyright 2011-2015 Numeric 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...
Imagin.Common/Diagnostics/InvalidResultException.cs
OkumaScott/Imagin.NET
0
7029526
using System; namespace Imagin.Common.Debug { /// <summary> /// /// </summary> public class InvalidResultException : Exception { /// <summary> /// /// </summary> public InvalidResultException() : base() { } /// <summary> /// ...
Web/operador/vendas.aspx.cs
pontobrsistemas/v1Tabulare_z13
0
7029527
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Text; using controller; using model.objetos; using model; using System.Web; using System.Web.UI.WebControls.WebParts; using System.Web.U...
Dotnet-Multi-Platform-Builder/Dotnet-Multi-Platform-Builder/Program.cs
2haloes/Dotnet-Multi-Platform-Builder
0
7029528
<reponame>2haloes/Dotnet-Multi-Platform-Builder using Dotnet_Multi_Platform_Builder.Classes; using System; using System.Collections.Generic; namespace Dotnet_Multi_Platform_Builder { class Program { static void Main(string[] args) { Runtimes OSinfo; List<string> test = ...
ExtremeNoughtsAndCrosses/ExtremeNoughtsAndCrosses.Test/PlacingTokens.cs
nedgrady/Extreme-Noughts-and-Crosses
0
7029529
<reponame>nedgrady/Extreme-Noughts-and-Crosses using ExtremeNoughtsAndCrosses.GameState; using FluentAssertions; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.Extensions.DependencyInjection; using System.Net; using System.Threading.Tasks; using Xunit; namespace ExtremeNoughtsAndCrosses.Test { public cla...
democode/Proto.Router/Routers/RoundRobinRouterState.cs
renesugar/ProjectExodus
0
7029530
// ----------------------------------------------------------------------- // <copyright file="RoundRobinRouterState.cs" company="Asynkron HB"> // Copyright (C) 2015-2017 Asynkron HB All rights reserved // </copyright> // ----------------------------------------------------------------------- using System.Co...
Server/Libraries/PermissionBank.cs
rushingfox/SudoDrive
0
7029531
namespace Server.Libraries { public class PermissionBank { /// <summary> /// 注册权限 /// 默认组:游客组 /// </summary> public const string UserAuthRegister = "user.auth.register"; /// <summary> /// 登陆权限 /// 默认组:游客组 /// </summary> public cons...
Yuebon.DataProcess.Core/Dtos/Sys_conf_detailsInputDto.cs
JonasChan2020/DataProcess
2
7029532
<filename>Yuebon.DataProcess.Core/Dtos/Sys_conf_detailsInputDto.cs using AutoMapper; using System; using Yuebon.Commons.Dtos; using Yuebon.DataProcess.Models; namespace Yuebon.DataProcess.Dtos { /// <summary> /// 输入对象模型 /// </summary> [AutoMap(typeof(Sys_conf_details))] [Serializable] ...
Solid.UI/Skinning/Converters/PictureConverter.cs
MasterQ32/Solid
0
7029533
<filename>Solid.UI/Skinning/Converters/PictureConverter.cs namespace Solid.UI.Skinning.Converters { using System; using System.ComponentModel; using System.Globalization; public sealed class PictureConverter : TypeConverter { private readonly IGraphicsObjectFactory objectFactory; public PictureConverter(IGr...
app/NHtmlUnit/Generated/Javascript/Host/Events/MIDIMessageEvent.cs
JonAnders/NHtmlUnit
0
7029534
<gh_stars>0 // Generated class v2.19.0.0, don't modify using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace NHtmlUnit.Javascript.Host.Events { public partial class MIDIMessageEvent : NHtmlUnit.Javascript.Host.Events.Event { s...
modules/platforms/dotnet/examples/Thin/Sql/DdlThin/Program.cs
vvteplygin/ignite
4,339
7029535
/* * 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 Apache License, Version 2.0 * (the "License"); you may...
src/SFA.DAS.Payments.DataLocks.Domain.UnitTests/Services/CourseValidation/OnProgrammeAndIncentiveEarningPeriodsValidationProcessorTest.cs
uk-gov-mirror/SkillsFundingAgency.das-payments-V2
7
7029536
<filename>src/SFA.DAS.Payments.DataLocks.Domain.UnitTests/Services/CourseValidation/OnProgrammeAndIncentiveEarningPeriodsValidationProcessorTest.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using Autofac.Extras.Moq; using AutoFixture.NUnit3; using FluentAssertions; using Moq...
Topos.MongoDb.Tests/MongoFixtureBase.cs
runeanielsen/Topos
15
7029537
using MongoDB.Driver; using Topos.Tests; namespace Topos.MongoDb.Tests { public abstract class MongoFixtureBase : ToposFixtureBase { protected IMongoDatabase GetCleanTestDatabase() => MongoTestConfig.GetCleanTestDatabase(); } }
src/DesktopUI/ViewModels/Profiles/FollowersListViewModel.cs
krzysztoftalar/instagram
0
7029540
using AutoMapper; using Caliburn.Micro; using DesktopUI.EventModels; using DesktopUI.Helpers; using DesktopUI.Library.Api.Profile; using DesktopUI.Library.Models.DbModels; using DesktopUI.Models; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace DesktopUI.ViewModels.Pro...
Conduit.Auth.Domain/Services/DataAccess/UnitOfWorkExtensions.cs
alex2021cyberhuman-team/auth-microservice
1
7029541
<gh_stars>1-10 using System; using System.Reflection; namespace Conduit.Auth.Domain.Services.DataAccess; public static class UnitOfWorkExtensions { private static readonly MethodInfo _genericMethod = typeof(IUnitOfWork).GetMethod(nameof(IUnitOfWork.GetRepository), BindingFlags.Public ...
LircSharpCore/LircCommandParser.cs
veleek/lircsharp
0
7029542
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ben.LircSharp { public class LircCommandParser { private enum ParserState { Begin, Command, Result, DataOrEnd, DataCount, Data...
ROS_Comm/Publisher.cs
MagicHYD/Windows-Robot
91
7029543
// File: Publisher.cs // Project: ROS_C-Sharp // // ROS.NET // <NAME> <<EMAIL>> // UMass Lowell Robotics Laboratory // // Reimplementation of the ROS (ros.org) ros_cpp client in C#. // // Created: 04/28/2015 // Updated: 02/10/2016 #region USINGZ using System; using System.Diagnostics; using Messages; using m = Me...
Unity/Assets/Scripts/BotStates/BotStateFindPlayer.cs
hoggins/StressTestJem4
0
7029544
<reponame>hoggins/StressTestJem4 using UnityEngine; namespace BotStates { public class BotStateFindPlayer : BotStateBase { public BotStateFindPlayer(BallBotControl control) : base(control) { StateDuration = 10f; StateDurationRandom = 5f; ChanceToSelect = 0.40f; } ...
test/Extensions/HttpContextExtensionsTest.cs
anhgeeky/Detection
424
7029545
// Copyright (c) 2014-2022 <NAME>, All Rights Reserved. Apache License, Version 2.0 using Microsoft.AspNetCore.Http; using Wangkanai.Detection.Extensions; using Wangkanai.Detection.Models; namespace Wangkanai.Detection.Hosting; public class HttpContextExtensionsTest { [Fact] public void GetDevice_HttpConte...
src/StrawberryShake/Client/src/Razor/UseFragment.cs
inmark92/hotchocolate
3
7029546
<filename>src/StrawberryShake/Client/src/Razor/UseFragment.cs using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Rendering; namespace StrawberryShake.Razor; public class UseFragment<TFragment> : ComponentBase where TFragment : class { [Parameter] public TFragment? Data { get; set; } ...
Eutherion/Shared/SafeLazyObject.cs
PenguinF/sandra-three
4
7029547
#region License /********************************************************************************* * SafeLazyObject.cs * * Copyright (c) 2004-2021 <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 obta...
NerfItWeb/Models/PanTiltModel.cs
jkaldon/NerfIt
0
7029548
<filename>NerfItWeb/Models/PanTiltModel.cs using System; using System.Collections.Generic; namespace NerfItWeb.Models { public class PanTiltModel { private decimal _Pan; private decimal _Tilt; private List<string> _History; public List<string> History { get{ return _History;} set{ _His...
src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/PropertySetAnalysis/PropertyMapperCollection.cs
vpereira01/roslyn-analyzers
1
7029549
<gh_stars>1-10 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Linq; using System.Collections.Generic; using System.Collections.Immutable; namespace Analyzer.Utilities.FlowAnaly...
GlyssenEngine/Utilities/ListExtensions.cs
sillsdev/Glyssen
6
7029550
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; namespace GlyssenEngine.Utilities { public static class ListExtensions { /// <summary> /// Merges two sorted lists containing potentially different types of objects, resulting in a single /// sorted list of objects of type T wit...
DistanceFont/Pipeline/FontImporter.cs
SometimesRain/MonogameDistanceFont
4
7029551
<reponame>SometimesRain/MonogameDistanceFont<gh_stars>1-10 using DistanceFont.Util; using Microsoft.Xna.Framework.Content.Pipeline; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DistanceFont.Pipeline...
source/Cosmos.VS.ProjectSystem/ProjectSystem/VS/PlugsProjectTreeProvider.cs
cfwprpht/Cosmos
1
7029552
<gh_stars>1-10 using System; using System.ComponentModel.Composition; using System.Threading; using System.Threading.Tasks; using System.Threading.Tasks.Dataflow; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio.ProjectSystem; using Microsoft.VisualStudio.ProjectSystem.Properties; namespace Cosmos.V...
SanboxApi/M3mbrillo.Common/DataAccess/Dapper/Extensions/ListColumnDefinitionExtensions.cs
M3mbrillo/demo-asp-net
0
7029553
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace M3mbrillo.Common.DataAccess.Dapper.Extensions { public static class ListColumnDefinitionExtensions { public static ModelDefinition.ColumnDefinit...
2018-07-02/StringCalculator/StringCalculator.cs
Baintastic/StringKata
0
7029555
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace StringCalculator { public class StringCalculator { public object Add(string numbers) { if (string.IsNullOrWhiteSpace(n...
Code/Services/EmailSuggestor.cs
pkdigital/valigator
0
7029556
// // Valigator // // EmailSuggestor.cs // // using System; using System.Collections.Generic; using System.Linq; namespace Valigator.Services { public static class EmailSuggestor { public static EmailSuggestionResult Suggest(HashSet<string> haystack, string needle) { var...
HastaneDAL/HastaneDAL/Entity/Unvan.cs
fatihyildizhan/projects-before-2010
1
7029557
<filename>HastaneDAL/HastaneDAL/Entity/Unvan.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HastaneDAL.Entity { public class Unvan { int unvanId; string unvanAd; public int UnvanId { get { return unvanId; } ...
ConfigSolution/CfTests/RealtimeTestCfg.cs
RuBeArtZilla/ArtZilla.Config
0
7029558
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using ArtZilla.Config; using ArtZilla.Config.Configurators; using ArtZilla.Config.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CfTests { [TestClass] public class RealtimeTestCfg { [T...
Assets/Imported Assets/AmplifyColor/Plugins/Editor/ResolutionSettings.cs
Hir-o/Settlers-of-Albion-Project-Files
127
7029559
<gh_stars>100-1000 // Amplify Color - Advanced Color Grading for Unity // Copyright (c) Amplify Creations, Lda <<EMAIL>> namespace AmplifyColor { public class ResolutionSettings { private readonly string[] _resolutionOptions = new[] { //"Game Window", "640x480", "800x600", "1024x768", "1280x720", ...
GoldInvestment/AcceptanceTests/GoldInvetment.AcceptanceTests/Drivers/IGoldInvestmentApplicationDriver.cs
masoud-bahrami/CraftingDesignUsingTDD
0
7029560
using System.Threading.Tasks; using GoldInvestment.ApplicationService.Contract; namespace GoldInvestment.AcceptanceTests.Drivers { public interface IGoldInvestmentApplicationDriver { Task Bootstrap(); Task CreateDollarPrice(CreateDollarRateCommand createDollarRateCommand); Task CreateOu...
tests/ImageSharp.Tests/Processing/Processors/Effects/PixelShaderTest.cs
fahadabdulaziz/ImageSharp
0
7029561
<reponame>fahadabdulaziz/ImageSharp // Copyright (c) <NAME> and contributors. // Licensed under the GNU Affero General Public License, Version 3. using System; using System.Numerics; using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; using Xunit; namespace SixLabors.ImageSharp.Tests.Pro...
src/Calcasa.Api/Model/VorigeVerkoop.cs
calcasa/api-csharp
1
7029563
<reponame>calcasa/api-csharp /* * Copyright 2022 Calcasa B.V. * * 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...
src/Windows/Windows.Phone/Windows.Interactivity/WebAuthenticateAction.cs
pashcovich/More
0
7029564
<filename>src/Windows/Windows.Phone/Windows.Interactivity/WebAuthenticateAction.cs namespace More.Windows.Interactivity { using More.Windows.Input; using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Threading.Tasks; using global::Windows.Foundation....
Domain/Models/Draft.cs
geeklesbian/AcademicWritingUtility
0
7029565
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AcademicWritingUtility.Domain.Models { public class Draft : BaseClass { public string Name { get; private set; } public List<PaperVersion> Versions { get; set; } = new...
TestSuites/FileServer/src/DFSC/TestSuite/DomainReferralToDC.cs
LiuXiaotian/WindowsProtocolTestSuites
1
7029567
<gh_stars>1-10 // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Protocols.TestSuites.FileSharing.Common.Adapter; using Microsoft.Protocols.TestTools; using Microsoft.Protocols.TestTools.StackSdk....
Problems/10869/Program/Program.cs
jongfeel/BaekjoonOnlineJudge
0
7029570
using System; using _1000; using _1001; using _10998; using _1008; namespace Problem { public class Program { static void Main(string[] args) { string s = Console.ReadLine(); string[] ss = s.Split(); int a = int.Parse(ss[0]); int b = int.Parse(ss...
Src/H.Necessaire/H.Necessaire.Runtime/Security/Engines/Model/JwtPayload.cs
hinteadan/H.Necessaire
1
7029571
using Newtonsoft.Json; using System; namespace H.Necessaire.Runtime.Security.Engines.Model { class JwtPayload : IGuidIdentity { [JsonProperty("jti")] public Guid ID { get; set; } = Guid.NewGuid(); [JsonProperty("iss")] public string Issuer { get; set; } = "H.Necessaire"; [JsonProperty(...
P2Modus.Core/Conditions/Sickened.cs
ambroser1971/P2Modus
0
7029572
<reponame>ambroser1971/P2Modus<gh_stars>0 using System.Linq; namespace P2Modus.Core.Conditions { // Sickened condition as documented here: https://2e.aonprd.com/Conditions.aspx?ID=34 // // The following is automated: // * Status penalty for all DCs and checks. // // The following is not au...
Assets/GameBackend/Scripts/Backend/Interfaces/IGrabable.cs
pm706/Pariamog
6
7029573
<filename>Assets/GameBackend/Scripts/Backend/Interfaces/IGrabable.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public interface IGrabable { Team.Type GetTeam(); Vector3 GetLocation(); bool Grabbed(); void SetGrabbed(bool grabbed, IAgent newHolder); ...
src/FubuMVC.Tests/ServiceBus/Monitoring/PermanentTaskController/when_stopping_a_task.cs
RyanHauert/fubumvc
100
7029574
using System; using System.Linq; using System.Threading.Tasks; using FubuMVC.Core.ServiceBus; using FubuMVC.Core.ServiceBus.ErrorHandling; using FubuMVC.Core.ServiceBus.Monitoring; using NUnit.Framework; using Shouldly; namespace FubuMVC.Tests.ServiceBus.Monitoring.PermanentTaskController { [TestFixture] publ...
src/OrchardCore.Modules/OrchardCore.Features/Startup.cs
tanriverdim/OrchardCore
6
7029575
<reponame>tanriverdim/OrchardCore using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using OrchardCore.Admin; using OrchardCore.Deployment; using OrchardCore.DisplayManagement.Handlers; using OrchardCo...
API/Controllers/AdminController.cs
FernandoDevBh/DattingApp
1
7029576
using API.DTOs; using API.Entities; using API.Interfaces; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace API.Controllers; public class AdminController : BaseApiController { private readonly UserManager<A...
tests/StackExchange.Redis.Extensions.Core.Tests/Serializers/JsonNetSerializeTest.cs
trejjam/StackExchange.Redis.Extensions
520
7029577
using System.Linq; using System.Threading.Tasks; using StackExchange.Redis.Extensions.Newtonsoft; using Xunit; namespace StackExchange.Redis.Extensions.Core.Tests.Serializers { public class JsonNetSerializeTest : CacheClientTestBase { public JsonNetSerializeTest() : base(new Newt...
APITests/Models/AccessRoles.cs
ragavendra/continuous_integration
1
7029578
 using System; namespace PortalApp.Models { public class Features { public int displayOrder { get; set; } public string id { get; set; } public string name { get; set; } public string displayName { get; set; } public string description { get; set; } public strin...
src/NiceHash.Core/DependencyInjection.cs
jernejk/NiceHash
2
7029579
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using NiceHash.Core.Config; using NiceHash.Core.Services; namespace NiceHash.Core { public static class DependencyInjection { public static IServiceCollection AddNiceHash(this IServiceCollection serviceCollection...
Sds.Osdr.WebApi.IntegrationTests/Tests/Streams/GetStreamAllPublicAggregates.cs
scidatasoft/osdr-core
0
7029580
using FluentAssertions; using Newtonsoft.Json.Linq; using Sds.Osdr.IntegrationTests; using Sds.Osdr.IntegrationTests.FluentAssersions; using Sds.Osdr.IntegrationTests.Traits; using Sds.Osdr.WebApi.IntegrationTests.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tas...
Source/HelixToolkit.Wpf.Shared/Visual3Ds/Composite/MeshNormalsVisual3D.cs
deisner/helix-toolkit
1,298
7029581
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MeshNormalsVisual3D.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // A visual element that shows the normals of th...
nopCommerce 4.4/src/Presentation/Nop.Web/Areas/Admin/Views/Shared/Alert.cshtml
peterthomet/BioPuur
0
7029582
<reponame>peterthomet/BioPuur @model ActionAlertModel <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title" id="@(Model.WindowId)-title">@T("Admin.Common.Alert")</h4> <button type="button" class="close" data-dismiss="modal" aria-l...
Tests/Runtime/SpawningBase_SpawnableObjectScript.cs
PixelCeremony/com.unity.multiplayer-hlapi
0
7029583
<filename>Tests/Runtime/SpawningBase_SpawnableObjectScript.cs #pragma warning disable 0618 // UNET transport deprecation using UnityEngine.Networking; #pragma warning disable 618 public class SpawningBase_SpawnableObjectScript : NetworkBehaviour { public override void OnStartServer() { SpawningTestBase...
src/PhotoPavilion.Models.ViewModels/Ratings/StarRatingResponseModel.cs
stanislavstoyanov99/PhotoPavilion
0
7029584
namespace PhotoPavilion.Models.ViewModels.Ratings { using System; public class StarRatingResponseModel { public int StarRatingsSum { get; set; } public string ErrorMessage { get; set; } public string AuthenticateErrorMessage { get; set; } public DateTime NextVoteDate { g...
Assets/Sound/SoundManager.cs
danielfdzperez/IDDGJ2021
0
7029586
<filename>Assets/Sound/SoundManager.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class SoundManager : MonoBehaviour { public static SoundManager Instance; public bool sfxOn; public bool musicOn; public float volume; public AudioSource player; [Seria...
Assets/UnityMeshDecimation/3rdParty/Math.Net/Numerics/LinearAlgebra/Solvers/IPreconditioner.cs
crescent3983/UnityMeshDecimation
2,519
7029587
// <copyright file="IPreConditioner.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2014 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of t...
EncodingTest/EucJPTest.cs
peteroupc/encoding
2
7029588
using System; using NUnit.Framework; using PeterO; using PeterO.Text; using Test; namespace EncodingTest { [TestFixture] public class EucJPTest { [Test] public void TestEucJPDecoder() { byte[] bytes; string str; ICharacterEncoding charset = Encodings.GetEncoding("euc-jp"); bytes = n...
sdk/dotnet/Outputs/RepositoryEnvironmentDeploymentBranchPolicy.cs
pulumi/pulumi-github
20
7029589
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
Neo4j.Driver/Neo4j.Driver/Internal/StatementRunner.cs
jsoref/neo4j-dotnet-driver
0
7029592
// Copyright (c) 2002-2018 "Neo Technology," // Network Engine for Objects in Lund AB [http://neotechnology.com] // // This file is part of Neo4j. // // 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 L...
source/Validation/CreativeCoders.Validation/ValidationSteps/SimplePropertyValidationStepBase.cs
CreativeCodersTeam/Core
0
7029593
<reponame>CreativeCodersTeam/Core<gh_stars>0 namespace CreativeCoders.Validation.ValidationSteps { public abstract class SimplePropertyValidationStepBase<T, TProperty> : PropertyValidationStepBase<T, TProperty> where T : class { protected SimplePropertyValidationStepBase(string faultMessage) : ...
sdk/dotnet/EventGrid/V20200401Preview/Inputs/EventChannelFilterArgs.cs
test-wiz-sec/pulumi-azure-nextgen
0
7029594
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
src/Razor/test/Microsoft.AspNetCore.Razor.Test.MvcShim/Microsoft.AspNetCore.Razor.TagHelpers/TagMode.cs
adrianwright109/razor-tooling
104
7029595
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. #nullable disable namespace Microsoft.AspNetCore.Razor.TagHelpers { /// <summary> /// The mode in which an element should render. /// </summary> publi...
RedOnion.KSP/API/Globals.cs
evandisoft/RedOnion
4
7029596
<filename>RedOnion.KSP/API/Globals.cs using System; using System.Collections.Generic; using RedOnion.ROS; using MoonSharp.Interpreter; using MoonSharp.Interpreter.Interop; using System.ComponentModel; using System.Linq; using System.Reflection; using RedOnion.Attributes; using RedOnion.KSP.Namespaces; using RedOnion.KS...
src/NLog.Extensions.AzureDataTables/NLogEntity.cs
CptButtercup/NLog.Extensions.AzureStorage
29
7029597
using System; using Azure; using Azure.Data.Tables; namespace NLog.Extensions.AzureStorage { public class NLogEntity: ITableEntity { public string PartitionKey { get; set; } public string RowKey { get; set; } public DateTimeOffset? Timestamp { get; set; } public ETag ETag { get...
reinvent-2019/learn-languages-ai-ml/Buildersfair-API/Utils/TranscribeUtil.cs
kienpham2000/aws-builders-fair-projects
2
7029598
<reponame>kienpham2000/aws-builders-fair-projects<filename>reinvent-2019/learn-languages-ai-ml/Buildersfair-API/Utils/TranscribeUtil.cs using System; using System.Threading.Tasks; using Amazon.TranscribeService; using Amazon.TranscribeService.Model; using System.Threading; using System.Collections.Generic; using Builde...
src/Wellcome.Dds/Wellcome.Dds/Catalogue/Work.cs
wellcomecollection/iiif-builder
1
7029599
namespace Wellcome.Dds.Catalogue { public class Work : CatalogueEntity { public string Id { get; set; } public string Title { get; set; } public string[] AlternativeTitles { get; set; } public string ReferenceNumber { get; set; } public string Description { get; set; } ...
src/UNM.Parser/SimpleLexer/TokenPosition.cs
ShawnCowles/UniversalNameMarkup
0
7029600
<filename>src/UNM.Parser/SimpleLexer/TokenPosition.cs /* * Adapted from SimpleLexer by <NAME> at: http://blogs.msdn.com/b/drew/archive/2009/12/31/a-simple-lexer-in-c-that-uses-regular-expressions.aspx * License unknown. */ namespace UNM.Parser.SimpleLexer { /// <summary> /// Represents the position of a ...
DMJukebox.Core/Discord/DiscordClient.cs
jclapis/dm-jukebox
0
7029601
/* ======================================================================== * * This file is part of the DM Jukebox project. * Copyright (c) 2016 <NAME>. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
src/DominosNETSource/Address.cs
TheBonelessAlien/Dominos.NET
8
7029602
using System; using DominosNET.Stores; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace DominosNET.Address { public enum ServiceType { Delivery, Carryout, DriveUpCarryout } /// <summary> /// The class for the user's add...
Src/LeetCode/String/383_Ransom_Note.cs
LouisGuo/LeetCode
0
7029603
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeetCode { public class RansomNote { public bool Solution(string ransomNote, string magazine) { var sb = new StringBuilder(magazine); foreach (v...
Apstory.ApstoryTsqlCodeGen.InterfaceGenerator/InterfaceGen.cs
apstory/apstory-tsql-code-gen
0
7029604
using Apstory.ApstoryTsqlCodeGen.Shared.Interfaces; using Apstory.ApstoryTsqlCodeGen.Shared.Service; using Apstory.ApstoryTsqlCodeGen.Shared.Models; using System; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Apstory.ApstoryTsqlCodeGen.InterfaceGenerator { public p...
packages/ekyc-api/src/ekyc-api/Startup.cs
teosinh/aws-ekyc-sample
11
7029605
using System; using System.IO; using System.Net; using System.Reflection; using Amazon.CognitoIdentityProvider; using Amazon.Extensions.CognitoAuthentication; using Amazon.XRay.Recorder.Core; using Amazon.XRay.Recorder.Handlers.AwsSdk; using ekyc_api.Utils; using Microsoft.AspNetCore.Authentication.Cookies; using Micr...
BinarySerializer.Test/Issues/Issue64/Entry.cs
shaggygi/BinarySerializer
0
7029606
<filename>BinarySerializer.Test/Issues/Issue64/Entry.cs namespace BinarySerialization.Test.Issues.Issue64; public class Entry { [FieldOrder(0)] public byte Length { get; set; } [FieldOrder(1)] [FieldAlignment(5, FieldAlignmentMode.LeftOnly)] [FieldLength("Length")] public string Value { get; ...
TesseractEngine-Core/Core/Graphics/Accelerated/BindSet.cs
Zekrom64/TesseractEngine
0
7029607
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Tesseract.Core.Graphics.Accelerated { /// <summary> /// Enumeration of types of bindings. /// </summary> public enum BindType { /// <summary> /// A uniform buffer. /// </summary> UniformBuffer, /// <summary...
src/Microsoft.Graph/Models/Generated/WindowsKioskConfiguration.cs
OfficeGlobal/msgraph-beta-sdk-dotnet
0
7029608
<gh_stars>0 // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ---------------------------------------------------------------------...
DOTSSample-master/Assets/Unity.Sample.Core/Scripts/GameTime/GameTime.cs
The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game
1
7029609
using Unity.Entities; using Unity.Sample.Core; using UnityEngine; public struct GameTime { /// <summary>Number of ticks per second.</summary> public int tickRate { get { return m_tickRate; } set { m_tickRate = value; tickInterval = 1.0f / m_tickRate; ...
APITests/Services/Authorization.cs
ragavendra/webrick
1
7029610
using System; using Newtonsoft.Json; using PortalApp.Models; namespace PortalApp { public class Authorization : Rest { private string serverName = Constants.portalServerName; private const string protocol = Constants.protocol; private const string version = Constants.authorizationVer...
BusinessBears.UI/BusinessBears.DataAccess/Entities/Customer.cs
1904-apr22-net/sadiki-code
0
7029611
using System; using System.Collections.Generic; namespace BusinessBears.DataAccess.Entities { public partial class Customer { public Customer() { Orders = new HashSet<Orders>(); } public int CustomerId { get; set; } public string FirstName { get; set; } ...
src/Lucene.Net.Suggest/Suggest/Fst/FSTCompletionLookup.cs
BlueCurve-Team/lucenenet
0
7029612
<gh_stars>0 using Lucene.Net.Store; using Lucene.Net.Support; using Lucene.Net.Util; using Lucene.Net.Util.Fst; using System; using System.Collections.Generic; using System.IO; namespace Lucene.Net.Search.Suggest.Fst { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor...
Editor/LevelProgressionRunnerEditor.cs
pdyxs/LevelMaker
0
7029613
<filename>Editor/LevelProgressionRunnerEditor.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEngine; [CustomEditor(typeof(LevelProgressionRunner))] public class LevelProgressionRunnerEditor : Editor { public LevelProgressionRunner runner => ...
tests/Conway.Advanced.Domain.Tests/Models/AdvancedGameBoardTests.cs
Riegardt/Conway
0
7029614
using NUnit.Framework; using Conway.Advanced.Domain.Enums; using Conway.Advanced.Domain.Models; using System; using System.Linq; namespace Conway.Advanced.Domain.Tests { public class AdvancedGameBoardTests { [Test] public void HasValidSize_ReturnsFalseIfBoardSizeIsOne() { var sut = new AdvancedGameBoard ...
Z_Source/Apini/Comps/ThinkNode_ConditionalColonyHasPawnKindDef.cs
lordmuff/Rimworld-Apini
6
7029615
using System.Collections.Generic; using Verse; using Verse.AI; namespace Apini { /// <summary> /// Do the faction on the map have a pawn of a certain kind in it? /// </summary> public class ThinkNode_ConditionalColonyHasPawnKindDef : ThinkNode_Conditional { /// <summary> /// List o...
snippets/csharp/VS_Snippets_WebNet/System.Web.UI.ViewStateException/CS/Class1.cs
BohdanMosiyuk/samples
2
7029616
<filename>snippets/csharp/VS_Snippets_WebNet/System.Web.UI.ViewStateException/CS/Class1.cs using System; using System.Collections; using System.Web.UI; using System.Web; // Compile this same using the following command line: // csc /t:exe /out:objectstateformattertest.exe objectstateformattertest.cs public class Ob...
Sources/Effects/Wobble.cs
SirusDoma/VoxCharger
11
7029617
using System; using System.Linq; namespace VoxCharger { public partial class Effect { public class Wobble : Effect { public float Mix { get; set; } public float LowFrequency { get; set; } public float HiFrequency { get; set; } public fl...
svn_autopilot/EntitiesLayer/ViewModel/PinterestVM.cs
DikshaGunnewar/mainProjectData
0
7029618
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EntitiesLayer.ViewModel { class PinterestVM { } public class PinterestUser{ public UserVM data { get; set; } } public class UserVM{ ...
Cryptography/CafeLib.Cryptography.BouncyCastle/Asn1/X509/NoticeReference.cs
kronoverse-inc/CafeLib
0
7029619
using System; using System.Collections; using CafeLib.Cryptography.BouncyCastle.Math; namespace CafeLib.Cryptography.BouncyCastle.Asn1.X509 { /** * <code>NoticeReference</code> class, used in * <code>CertificatePolicies</code> X509 V3 extensions * (in policy qualifiers). * * <pre> * ...
TopicPage.xaml.cs
zcbenz/sbbs-client-wp7
2
7029620
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Navigation; using System.Windows.Controls; using System.Windows.Documents; using Microsoft.Phone.Controls; using System.Collections.ObjectModel; namespace sbbs_client_wp7 { using Sbbs; ...
Source/starshipxac.Windows.Shell/Dialogs/Controls/FileDialogControl.cs
rasmus-z/starshipxac.ShellLibrary
1
7029621
using System; using System.Diagnostics.Contracts; namespace starshipxac.Windows.Shell.Dialogs.Controls { /// <summary> /// Define the control base class of the file dialog. /// </summary> public abstract class FileDialogControl : IEquatable<FileDialogControl> { public static ...