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
Assets/Examples/Scene1/Use_PoolManager.cs
arkms/Arj2D-Unity-FrameWork
16
7050659
using UnityEngine; using System.Collections; public class Use_PoolManager : MonoBehaviour { public GameObject go_object; private int go_objectID; private float Time_ToGenerate; void Start () { PoolManager.Init(); go_objectID= PoolManager.AddToPool(go_object, 5); Time_ToGenerat...
operators/horreum-operator/dotnet/Kubernetes/Crds/Operators/HorreumOperator/Hyperfoil/V1Alpha1/Outputs/HorreumSpecDatabase.cs
pulumi/pulumi-kubernetes-crds
0
7050660
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.O...
src/TournamentTracker/Services/ChallengeService.cs
Sandy987/TournamentTracker
3
7050661
using TournamentTracker.Models; using TournamentTracker.Services.Interfaces; using TournamentTracker.Data; using System.Linq; using System; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; namespace TournamentTracker.Services { public class ChallengeService : IC...
Code/Container.cs
petterek/SimpleFactory
0
7050662
using SimpleFactory.Contract; using SimpleFactory.Exceptions; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace SimpleFactory { public class Container : IDisposable { private Dictionary<string, Func<Diction...
src/app/Client.App/Pages/Modals/AddRewardModal.razor.cs
mecvillarina/Vider
1
7050663
<gh_stars>1-10 using Application.CreatorPortal.CreatorRewards.Commands.Upload; using Blazored.FluentValidation; using Client.App.Infrastructure.Managers; using Client.Infrastructure.Exceptions; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; using MudBlazor; using System; using Syst...
Orm/Xtensive.Orm.Tests/Issues/Issue0408_EntitySetNullReference_Model/Container.cs
commit-n-run/dataobjects-net
41
7050664
<reponame>commit-n-run/dataobjects-net using System; namespace Xtensive.Orm.Tests.Issues.Issue0408_EntitySetNullReference_Model { [Serializable] [HierarchyRoot] public class Container : Entity { [Field, Key] public long Id {get ; private set;} [Field] public string Name { get; set; } [F...
src/Orleans/AssemblyLoader/CachedTypeResolver.cs
lfraile/orleans
0
7050665
/* Project Orleans Cloud Service SDK ver. 1.0 Copyright (c) Microsoft Corporation All rights reserved. MIT License 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, inc...
Library/PackageCache/com.unity.burst@1.6.0-pre.2/Tests/Runtime/Shared/Helpers/DataRange.cs
Alex-Greenen/Spectral-Animation-Unity-Unity
7
7050666
<reponame>Alex-Greenen/Spectral-Animation-Unity-Unity using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; using Unity.Mathematics; namespace Burst.Compiler.IL.Tests.Helpers { [Flags] internal enum DataRange { // Standa...
ProxiEdge.FaceId/LargeFaceList/CreateList/Operation/CreateLargeListOperation.cs
ashokrwork/ProxiEdge.FaceId
2
7050667
using ProxiEdge.FaceId.Base; using ProxiEdge.FaceId.LargeFaceList.CreateList.Parameter; using System; namespace ProxiEdge.FaceId.LargeFaceList.CreateList.Operation { public class CreateLargeListOperation : FaceIdApiOperation<string> { CreateLargeListParameter CreateListParameter; string FaceLi...
Scripts/Animations/AnimatedPanel.cs
thelastpointer/tlp.ui
0
7050668
<filename>Scripts/Animations/AnimatedPanel.cs using System.Collections; using UnityEngine; namespace TLP.UI { [RequireComponent(typeof(CanvasGroup))] [RequireComponent(typeof(RectTransform))] public class AnimatedPanel : MonoBehaviour { [HideInInspector] /// <summary>Show/hide animatio...
Desktop/View/WinForms/TableView.cs
SNBnani/Xian
1
7050669
#region License // Copyright (c) 2012, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using System.Collections.Generic; ...
BinLog/Logger.cs
dngulin/BinLog
0
7050670
<gh_stars>0 using System; using System.IO; using System.Runtime.Serialization; using BinLog.Exceptions; using BinLog.Internal; namespace BinLog { /// <summary> /// The base logger class. Create a subclass for each domain an application. /// </summary> /// <remarks> /// Each logger should have unique numeric ...
GeekWebAppProject/Controllers/BlogController.cs
Maryam-816/GeekWebApp
0
7050671
<gh_stars>0 using GeekWebAppProject.Data; using GeekWebAppProject.Infastracture; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace GeekWebAppProject.Controllers { public class BlogController : Controller { private readonly GeekDbContex...
KK_FBIOpenUp/Properties/AssemblyInfo.cs
wits-fe/KK
0
7050672
using System.Reflection; using System.Runtime.InteropServices; // 組件的一般資訊是由下列的屬性集控制。 // 變更這些屬性的值即可修改組件的相關 // 資訊。 [assembly: AssemblyTitle(KK_FBIOpenUp.KK_FBIOpenUp.PLUGIN_NAME)] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct(KK_FBIO...
Help.cs
vimithamanohar/ZHoof
0
7050673
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsof...
src/Skybrud.Essentials.AspNetCore/RequestExtensions.cs
skybrud/Skybrud.Essentials.AspNetCore
0
7050675
<filename>src/Skybrud.Essentials.AspNetCore/RequestExtensions.cs<gh_stars>0 using System; using Microsoft.AspNetCore.Http; namespace Skybrud.Essentials.AspNetCore { /// <summary> /// Various extension methods for working with <see cref="HttpRequest"/>. /// </summary> public static class RequestExtens...
Src/Tests/DelegateExtensionsTests.cs
EnoughTea/essentions
0
7050676
using System; using System.ComponentModel; using NUnit.Framework; namespace Essentions.Tests { [TestFixture] public class DelegateExtensionsTests { private static bool _called; private readonly EventHandler _emptyHandler = delegate { _called = true; }; private readonly EventHandle...
Source/DockingPortAlignmentIndicator/DockingPortAlignmentIndicator.cs
mwerle/DockingPortAlignmentIndicator
6
7050677
<reponame>mwerle/DockingPortAlignmentIndicator<filename>Source/DockingPortAlignmentIndicator/DockingPortAlignmentIndicator.cs<gh_stars>1-10 /* * DockingPortAlignment.cs * * Copyright (C) 2014, <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softwa...
ratchet-audio-mixer/ratchet-audio-mixer/Resampler.cs
rboissel/ratchet-audio-mixer
1
7050679
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ratchet.Audio { public partial class Mixer { class Upsampler_To_192K : Source<float> { Source<float> _Source; float[] _TempBuff...
Extension/Xamarin.Forms.HotReload.Extension.WinVS/WinVSConstants.cs
slang25/HotReload
473
7050680
namespace Xamarin.Forms.HotReload.Extension.WinVS { public class WinVSConstants { public const string DefaultFolderKind = "{66A26720-8FB5-11D2-AA7E-00C04F688DDE}"; public const string XamariniOsProjectKind = "{FEACFBD2-3405-455C-9665-78FE426C6842}"; public const string XamarinAndroidPro...
src/Cineland.Infrastructure/Persistence/EntityTypeConfigurations/MovieEntityTypeConfiguration.cs
fernandoeho/cineland
1
7050681
using Cineland.Domain.Entities.MovieAggregate; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Cineland.Infrastructure.Persistence.EntityTypeConfigurations { internal class MovieEntityTypeConfiguration : IEntityTypeConfiguration<Movie> { public void...
src/Core/NBB.Core.Effects/ParallelSideEffect.cs
VCuzmin/nbb
1
7050682
// Copyright (c) TotalSoft. // This source code is licensed under the MIT license. using System.Threading; using System.Threading.Tasks; namespace NBB.Core.Effects { public class Parallel { public class SideEffect<T1, T2> : ISideEffect<(T1, T2)>, IAmHandledBy<Handler<T1, T2>> { ...
Website/Infrastructure/Jobs/UpdateStatisticsJob.cs
KuduApps/NugetGallery16Fx45-DeleteMe
1
7050683
using System; using System.Data.Entity; using System.Threading.Tasks; using WebBackgrounder; namespace NuGetGallery.Jobs { public class UpdateStatisticsJob : Job { private Func<DbContext> _contextThunk; public UpdateStatisticsJob(TimeSpan interval, Func<DbContext> contextThunk, TimeSpan timeo...
source/Plugins/Chakracore.NET.Plugins.ModuleHosting/Properties/Resources.Designer.cs
fsdsabel/ChakraCore.NET
75
7050684
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
VirtualNodesTest/GeneralTests.cs
sotirisf/Umbraco-VirtualNodes
17
7050685
<gh_stars>10-100 using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using DotSee.VirtualNodes; namespace DotSee.VirtualNodesTest { /// <summary> /// Some silly tests, nothing much, really. /// </summary> [TestClass] public class HelperTests { [TestMethod] public ...
Assets/Laser.cs
Hontp/GAD180_ThanhHon
0
7050686
<reponame>Hontp/GAD180_ThanhHon using UnityEngine; public class Laser : Projectile { public float speed; public float startTime; private GameObject firingPoint; protected override void Start() { speed = 0; lifetime = 0.5f; base.Start(); transform.parent = null; ...
Program.cs
gromflomite/Videoclub
0
7050687
<filename>Program.cs using System; using System.Collections.Generic; using System.Data.SqlClient; namespace Videoclub { internal class Program { // Database connection--------------------------------------------------------------------------------------------------------------------------------- ...
MustDoX_mvvm/MustDoX_mvvm.Core/obj/Debug/netstandard1.6/MustDoX_mvvm.Core.Pages.AboutPage.xaml.g.cs
Gusadan/MustDoX_mvvm
0
7050688
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
src/KubeClient/Models/ContractResolvers/KubeContractResolver.cs
tomsseisums/dotnet-kube-client
178
7050689
<gh_stars>100-1000 using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Text; namespace KubeClient.Models.ContractResolvers { /// <summary> /// JSON contract resolver for K8s models. /// </summary> /// <remarks> /// Preserves casing of dictionar...
src/RabbitDB/Session/ReadOnlySession.cs
PowerMogli/Rabbit.Db
0
7050690
<reponame>PowerMogli/Rabbit.Db<filename>src/RabbitDB/Session/ReadOnlySession.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="ReadOnlySession.cs" company=""> // // </copyright> // <summary> // The read only session. // <...
tests/MongoDB.Bson.Tests/Jira/CSharp313Tests.cs
kosmakoff/mongo-csharp-driver
2
7050691
/* Copyright 2010-2014 MongoDB 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 law or agreed to in writi...
Arrays-Exercises.Fast/05.CompareCharArrays/CompareCharArrays.cs
Peter-Georgiev/Programming.Fundamentals
0
7050692
using System; using System.Linq; class CompareCharArrays { static void Main() { char[] arr1 = Console.ReadLine().Split(' ').Select(char.Parse).ToArray(); char[] arr2 = Console.ReadLine().Split(' ').Select(char.Parse).ToArray(); int minArr = Math.Min(arr1.Length, arr2.Length); ...
src/Reni/Code/ReplaceVisitor/ReplaceRelRefArg.cs
hahoyer/reni.cs
2
7050693
using hw.DebugFormatter; using Reni.Basics; namespace Reni.Code.ReplaceVisitor { sealed class ReplaceRelRefArg : ReplaceArg { ReplaceRelRefArg(ResultCache actualArg, Size offset) : base(actualArg) { Offset = offset; StopByObjectIds(-9); } int...
2-PrimitiveDataTypesVariables/13-ComparingFloats/ComparingFloats.cs
APatleeva/1-Csharp-Homeworks
0
7050694
<filename>2-PrimitiveDataTypesVariables/13-ComparingFloats/ComparingFloats.cs using System; /* Problem 13.* Comparing Floats Write a program that safely compares floating-point numbers (double) with precision eps = 0.000001. Note: Two floating-point numbers a and b cannot be compared directly by a == b because o...
Solver/Algorithms/Solver2.cs
klyse/ClassicCodingContest2019
0
7050695
<filename>Solver/Algorithms/Solver2.cs using System.Collections.Generic; using System.Linq; using Solver.Base; using Solver.Model; namespace Solver.Algorithms { public class Solver2 : ISolver<Output2, TerrainInput2> { public Output2 Solve(TerrainInput2 input) { var o = new Output2(); var countries = input...
Unity/OpenSeeProcessInterface.cs
LoveAIhuihui/FaceTrackServer
667
7050696
<gh_stars>100-1000 using System; using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; namespace OpenSee { // Based on https://github.com/josh4364/IL2cppStartProcess/blob/master/StartExternalProcess.cs public class OpenSeeProcessInterface { #region DllImport [DllImport(...
Alura.ByteBank-aula01/Alura.ByteBank.Infraestrutura.Testes/Servicos/IPixRepositorio.cs
caiorobert/testes_DotnetComBD
0
7050697
<gh_stars>0 using Alura.ByteBank.Infraestrutura.Testes.DTO; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Alura.ByteBank.Infraestrutura.Testes { public interface IPixRepositorio { public PixDTO consultaPix(Guid pix); } ...
ExpressiveSharp/Parser/AST.cs
MarcusVoelker/ExpressiveSharp
1
7050698
using System.Collections.Generic; using System.Linq; namespace ExpressiveSharp.Parser { internal class AST { public override string ToString() { return Root.ToString(); } public AST(ASTNode root) { Root = root; } public ASTNode ...
Assets/Scripts/Custom Update Cycles/UpdateManager.cs
FeikoJoosten/PerformanceInUnity
2
7050699
<reponame>FeikoJoosten/PerformanceInUnity using UnityEngine; public class UpdateManager : MonoBehaviour { public static event System.Action OnUpdateEvent; public static event System.Action OnLateUpdateEvent; public static event System.Action OnFixedUpdateEvent; private void Update() { ...
WeDJ/WeDJ/Models/ApiResponse.cs
JohnCSharp/WeDJ
0
7050700
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace WeDJ.Models { public class ApiResponse { [JsonProperty(PropertyName = "errors")] public List<ApiError> Errors { get; set; } ...
FirstExample/Pages/Test.cshtml
amclint/KianPair
0
7050701
@page @model FirstExample.Pages.TestModel @{ ViewData["Title"] = "A test page"; } <div class="text-center"> <p>Centered text, as an omen of things to come.</p> </div>
PipeExplorerMainWindow.xaml.cs
grayed/PipeExplorer
4
7050703
<filename>PipeExplorerMainWindow.xaml.cs #region Licensing information /* * Copyright(c) 2020 <NAME><<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in ...
Assets/Scripts/Invaders/UFOHealth.cs
jonisavo/space-invaders-vs
0
7050704
<filename>Assets/Scripts/Invaders/UFOHealth.cs using System.Collections; using RedBlueGames.NotNull; using UnityEngine; namespace SIVS { [RequireComponent(typeof(AudioSource))] public class UFOHealth : MonoBehaviour { private const int KillPoints = 1000; [Tooltip("GameObject to instantiat...
Source/Office/NativeCaller/IRibbonUI.cs
igoreksiz/NetOffice
0
7050705
<reponame>igoreksiz/NetOffice using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.OfficeApi { /// <summary> /// DispatchInterface IRibbonUI /// SupportByVersion Office, 12,14,15,16 /// </summary> /// <remark> https://msdn.mic...
yunggh/Components/Geometry/Bricks.cs
BIMFAM/yunggh
0
7050707
using System; using System.Collections.Generic; using System.Linq; using Grasshopper.Kernel; using Rhino.Geometry; namespace yunggh.Components.Geometry { public class Bricks : GH_Component { /// <summary> /// Initializes a new instance of the Bricks class. /// </summary> publi...
OpenKh.Tools.Kh2MdlxEditor/Views/TexAnim_Control.xaml.cs
Xeeynamo/KingdomHearts
6
7050709
using OpenKh.Kh2.TextureFooter; using OpenKh.Tools.Kh2MdlxEditor.ViewModels; using System.Windows.Controls; using System.Windows.Input; namespace OpenKh.Tools.Kh2MdlxEditor.Views { /// <summary> /// Interaction logic for TexAnimControl.xaml /// </summary> public partial class TexAnim_Control : UserCont...
FastBin-Server/Controllers/RawController.cs
galenguyer/FastBin-Server
0
7050710
using System.IO; using Microsoft.AspNetCore.Mvc; namespace FastBin_Server.Controllers { [Route("api/[controller]")] [ApiController] public class RawController : ControllerBase { // GET: api/text/id [HttpGet("{id}", Name = "GetRaw")] public IActionResult Get(string id) {...
SimpleCompiler-DotNet/VirtualMachine/Stack.cs
federicodangelo/SimpleCompiler
3
7050711
<filename>SimpleCompiler-DotNet/VirtualMachine/Stack.cs using System; using SimpleCompiler.Shared; namespace SimpleCompiler.VirtualMachine { public class Stack { const string ERROR_STACK_EMPTY = "Empty stack"; const string ERROR_STACK_FULL = "Full stack"; const string ERROR_STACK_FUNCTIONS_FULL = "Full functio...
DotNet.Basics.Tests/IO/DirPathExtensionsTests.cs
rzmoz/dotnet.basics
0
7050712
<reponame>rzmoz/dotnet.basics<filename>DotNet.Basics.Tests/IO/DirPathExtensionsTests.cs using System; using System.IO; using System.Linq; using DotNet.Basics.Sys; using DotNet.Basics.IO; using FluentAssertions; using Xunit; using Xunit.Abstractions; namespace DotNet.Basics.Tests.IO { public class DirPa...
IoControlExtensions/Disk/PartitionInformationGpt.cs
juner/IoControl
2
7050713
using System; using System.Runtime.InteropServices; namespace IoControl.Disk { /// <summary> /// PARTITION_INFORMATION_GPT structure ( https://msdn.microsoft.com/library/windows/hardware/ff563763 ) /// <see cref="PartitionInformationGpt"/> contains information for a GUID Partition Table partition that is ...
CyberCAT.Core/Enums/Dumped Enums/inkSaveType.cs
bsmr/WolvenKit-CyberCAT
0
7050714
namespace CyberCAT.Core.DumpedEnums { public enum inkSaveType { ManualSave = 0, QuickSave = 1, AutoSave = 2, PointOfNoReturn = 3, EndGameSave = 4 } }
src/Editor/SceneRefPropertyDrawer.cs
chankiyu22/Unity-Scene-Ref
0
7050715
using UnityEngine; using UnityEditor; namespace Chankiyu22.UnitySceneRef { [CustomPropertyDrawer(typeof(SceneRef))] public class SceneRefPropertyDrawer : PropertyDrawer { public override float GetPropertyHeight(SerializedProperty property, GUIContent label) { return EditorGUIUtility.singleLineHeight; ...
ScholarshipManagementSystem/Views/Home/Disciplinary.cshtml
ldsink/ScholarshipManagementSystem
2
7050716
@model ScholarshipManagementSystem.Models.PunishmentDTO @{ ViewBag.Title = "违纪情况管理"; } @section Scripts { <script type="text/javascript" src="/Scripts/jquery-1.8.2.js"></script> <script type="text/javascript" src="/Scripts/AjaxFileUploader/ajaxfileupload.js"></script> <script type="text/javasc...
Framework.Core/Theraot/Threading/Needles/ReadOnlyNeedle.cs
LonghronShen/Theraot
0
7050717
#if FAT using System; using System.Collections.Generic; namespace Theraot.Threading.Needles { [System.Diagnostics.DebuggerNonUserCode] public class ReadOnlyNeedle<T> : IReadOnlyNeedle<T>, IEquatable<ReadOnlyNeedle<T>> { private readonly INeedle<T> _target; public ReadOnlyNeedle() ...
test/MsgPack.Rpc.UnitTest/Rpc/ArraySegmentExtensionTests.cs
Skydev0h/msgpack-rpc-cli
39
7050718
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // 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.or...
src/Tests/Reactive/ObjectSpaceProviderTests.cs
mbogaerts/DevExpress.XAF
0
7050719
using akarnokd.reactive_extensions; using NUnit.Framework; using Shouldly; using Xpand.TestsLib.Attributes; using Xpand.XAF.Modules.Reactive.Services; namespace Xpand.XAF.Modules.Reactive.Tests{ public class ObjectSpaceProviderTests:ReactiveBaseTest{ // [Test] [XpandTest()] public void Whe...
Superscribe/Models/FinalFunction.cs
duaneking/Superscribe
0
7050720
<gh_stars>0  namespace Superscribe.Models { using System; public class ExclusiveFinalFunction : FinalFunction { public ExclusiveFinalFunction() { } public ExclusiveFinalFunction(string method, Func<dynamic, object> func) : base(method, func) { }...
BookLovers.Auth.Application/CommandHandlers/Registrations/CreateRegistrationSummaryHandler.cs
kamilk08/BookLoversApi
0
7050721
<reponame>kamilk08/BookLoversApi using System.Threading.Tasks; using BookLovers.Auth.Application.Commands.Registrations; using BookLovers.Auth.Domain.RegistrationSummaries; using BookLovers.Base.Infrastructure; using BookLovers.Base.Infrastructure.Commands; namespace BookLovers.Auth.Application.CommandHandlers.Regist...
src/Imml/IO/IImmlSerialiser.cs
craigomatic/IMML
0
7050722
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Imml.IO { /// <summary> /// Provides support for reading and writting IMML to and from streams. /// </summary> public interface IImmlSerialiser { /// <summary> ...
Defs/ThreeJs/Constants.cs
SharpKit/SharpKit-SDK
12
7050723
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace THREE { public enum Side { FrontSide = 0, BackSide = 1, DoubleSide = 2, } public enum Shading { NoShading = 0, FlatShading = 1, SmoothShading = 2, } ...
src/AspNetCore.Authentication.SK.IdCard/IdCardHandler.cs
kaupov/AspNetCore.Authentication.SK.IdCard
0
7050724
using System; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace AspNetCore.Authentication.SK.IDCard { public class IdCardHandler : AuthenticationHandler<IdCardOptions> { ...
src/TicketShopProject/src/TicketShopProject/Data/Models/OrderDetail.cs
TeknikhogskolanGothenburg/ticketSystem-mjsfebruaryproject
0
7050725
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TicketShopProject.Data.Models { public class OrderDetail { public int OrderDetailId { get; set; } public int OrderId { get; set; } public int TicketId { get; set; } publ...
src/Middleware/Session/src/IDistributedSessionStore.cs
rokonec/aspnetcore
10
7050726
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Microsoft.AspNetCore.Session { internal interface IDistributedS...
HolaMundo/HolaMundo/Menu/MenuPage.xaml.cs
sebaleoperez/MUG-Xamarin-2019
0
7050727
<reponame>sebaleoperez/MUG-Xamarin-2019 using System; using System.Collections.Generic; using HolaMundo.Views; using Xamarin.Forms; namespace HolaMundo.Menu { public partial class MenuPage : ContentPage { public MenuPage() { InitializeComponent(); } public void Nav...
src/Demo.Domain/Invoice/Validators/NotAllowedToModifyInvoiceContentInStatusValidator.cs
nvdvlies/aspnet-core-api-demo
1
7050728
<reponame>nvdvlies/aspnet-core-api-demo using Demo.Domain.Shared.DomainEntity; using Demo.Domain.Shared.Interfaces; using FluentAssertions; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Demo.Domain.Invoice.Valid...
Managed/main/STRINGS/GAMEPLAY_EVENTS.cs
undancer/oni-data
1
7050729
namespace STRINGS { public class GAMEPLAY_EVENTS { public class LOCATIONS { public static LocString NONE_AVAILABLE = "No location currently available"; public static LocString SUN = "The Sun"; public static LocString SURFACE = "Planetary Surface"; public static LocString PRINTING_POD = BUILDINGS.PR...
src/AnyVsContains/Collections/CollectionsFactory.cs
yvzn/dotnet-any-vs-contains
0
7050730
using System; using System.Collections.Generic; using System.Linq; namespace AnyVsContains.Collections { public class CollectionsFactory { public static ICollection<T> Create<T>(TypeOfCollection type, IEnumerable<T> dataset) => type switch { TypeOfCollection.Arr...
src/cor64/BitFiddler64.cs
bryanperris/cor64
38
7050731
<reponame>bryanperris/cor64 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace cor64 { public class BitFiddler64 { private readonly List<_Field> m_Fields = new List<_Field>(); private struct _Field { ...
OpenTok/LayoutType.cs
onpoc/Opentok-.NET-SDK
40
7050733
namespace OpenTokSDK { /// <summary> /// The Layout Type for the an Archive /// </summary> public enum LayoutType { /// <summary> /// Use best fit layout /// </summary> bestFit, /// <summary> /// Use a Custom layout (stylesheet property must be set) ...
src/Handyman.Azure.Cosmos.Table/src/Internals/CompositionTableQueryFilterNode.cs
JonasSamuelsson/Handyman
1
7050734
<gh_stars>1-10 using Microsoft.Azure.Cosmos.Table; using System; using System.Collections.Generic; using System.Diagnostics; namespace Handyman.Azure.Cosmos.Table.Internals { [DebuggerDisplay("{Build()}")] internal abstract class CompositionTableQueryFilterNode : ITableQueryFilterNode { private re...
src/XCommon.EF.Application/Register/Implementation/Query/UsersTokensQuery.cs
marviobezerra/XCommon
3
7050735
using System.Linq; using XCommon.EF.Application.Context.Register; using XCommon.Entity.Register.Filter; using XCommon.Extensions.Checks; using XCommon.Extensions.String; using XCommon.Patterns.Specification.Query; using XCommon.Patterns.Specification.Query.Extensions; namespace XCommon.EF.Application.Register.Implemen...
Clash SL Server [UCS 7.4.0]/Packets/Messages/Client/FacebookLinkMessage.cs
skyprolk/Clash-Of-SL
0
7050736
using System; using System.Collections.Generic; using System.IO; using System.Text; using UCS.Core; using UCS.Core.Network; using UCS.Helpers; using UCS.Logic; using UCS.Packets.Messages.Server; namespace UCS.Packets.Messages.Client { // Packet 14201 internal class FacebookLinkMessage : Message { ...
src/Extensions/Nimbus.Transports.InProcess/DeadLetterOffice/InProcessDeadLetterOffice.cs
dicko2/Nimbus
0
7050738
using System.Collections.Concurrent; using System.Threading.Tasks; using Nimbus.Extensions; namespace Nimbus.Transports.InProcess.DeadLetterOffice { internal class InProcessDeadLetterOffice : IDeadLetterOffice { private readonly ConcurrentBag<NimbusMessage> _messages = new ConcurrentBag<NimbusMessage>(...
src/EiffelEvents.Net/Events/Edition-Paris/EiffelSourceChangeCreatedEvent/EiffelSourceChangeCreatedLinks.cs
eiffel-community/eiffelevents-sdk-dotnet
6
7050739
<gh_stars>1-10 // Copyright (c) 2021 ICT Cube, doWhile, and Eiffel Community collaborators. // // 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.o...
ThreeCs/Materials/IMap.cs
GrandStrateguerre/three.cs
19
7050740
namespace ThreeCs.Materials { using ThreeCs.Textures; public interface IMap { Texture Map { get; set; } Texture AlphaMap { get; set; } Texture SpecularMap { get; set; } Texture NormalMap { get; set; } Texture BumpMap { get; set; } Texture LightMap { get...
Sources/Frau/Models/GameTypeLookup.cs
mika-sandbox/dotnet-mixier-api-wrapper
0
7050741
using Newtonsoft.Json; namespace Frau.Models { public class GameTypeLookup : GameTypeSimple { [JsonProperty("exact")] public bool Exact { get; set; } } }
BinaryTools.Elf/ElfFile.cs
fjeremic/BinaryTools.Elf
2
7050742
namespace BinaryTools.Elf { using System; using System.IO; using System.Text; using BinaryTools.Elf.Io; /// <summary> /// Represents an Executable Linkable Format (ELF) file. /// </summary> public sealed class ElfFile { /// <summary> /// Initializes a n...
Asterisk.2013/Asterisk.NET/FastAGI/Command/SetExtensionCommand.cs
timapple/AsterNET
127
7050743
using System; namespace AsterNET.FastAGI.Command { /// <summary> /// Sets the extension for continuation upon exiting the application. /// </summary> public class SetExtensionCommand : AGICommand { /// <summary> /// Get/Set the extension for continuation upon exiting the application. /// </summary>...
statsd.net.core/Structures/MetricInfo.cs
tedoc2000/statsd.net
0
7050744
 namespace statsd.net.core.Structures { public class MetricInfo { public string Name { get; private set; } public MetricTags Tags { get; private set; } public MetricInfo(string name) : this(name, new MetricTags(null)) { } public MetricInfo(string name, MetricTags tags) ...
Answer.cs
alexforster/Answer
2
7050745
namespace Answer { using System; using System.Collections; using System.Collections.Generic; using System.Text; public sealed class Answer: IEnumerable<Answer> { public String Name; public String Value; public Int32 Indent; public Answer Parent; // obvious cycle is obvious public readonly List<Ans...
src/Feature/Chat/Sitecore.Feature.Chat/ChatEntity.cs
WWhasasnh/ChatModule
0
7050746
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Sitecore.Feature.Chat { public class ChatEntity { public string From { get; set; } public string ToName { get; set; } public string ToId { get; set; } public string Message { get; set...
Edc.Infrastructure.DataAccess/Repositories/StructureContentRepository.cs
gerinka/EnhancedDocumentCreator
1
7050747
<filename>Edc.Infrastructure.DataAccess/Repositories/StructureContentRepository.cs using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; using Edc.Infrastructure.DataAccess.Interfaces; using MtcModel; na...
Editor/GltfSampleSetEditor.cs
bloc-in-bloc/glTFast
1
7050748
<gh_stars>1-10 // Copyright 2020-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 obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
Assets/Scripts/Combat/AttackTargetFinder.cs
Domiii/UnityAIFun
1
7050749
using UnityEngine; public class AttackTargetFinder : TargetFinder { public override bool IsValidTarget (Living target) { //Debug.Log(gameObject+ " vs. " + target.gameObject + ": " + FactionManager.AreHostile (gameObject, target.gameObject)); return target.CanBeAttacked && FactionManager.AreHostile (gameObject, t...
modules/00_Admin/Admin.Web/Controllers/AuthorizeController.cs
HmmmWoo/Mkh
1
7050750
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Mkh.Auth.Abstractions; using Mkh.Auth.Abstractions.Annotations; using Mkh.Mod.Admin.Core.Application.Authorize; using Mkh.Mod.Admin.Core.Application.Authorize.Dto; using Mkh.Mod.Admin.Core.Infras...
apps/apps-self/aspnet-core-authentication/intro2-jwt-bearer/Intro1/Startup.cs
reyou/Ggg.Csharp
2
7050751
<reponame>reyou/Ggg.Csharp using Intro1.Requirements; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using ...
src/Microsoft.TemplateEngine.Core.Contracts/IGlobalRunSpec.cs
vijaya-lakshmi-venkatraman/templating
0
7050752
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; namespace Microsoft.TemplateEngine.Core.Contracts { public interface IGlobalRunSpec { IReadOnlyList<IPathMatcher> Exclude { get; } ...
NiquIoC.Test.PartialEmitFunction/MixObjectsLifeTime/SingletonAndTransient/ResolveWithBuildUp/RegisterInterfaceWithDependencyPropertyTests.cs
niqu90/NiquIoc
1
7050753
<filename>NiquIoC.Test.PartialEmitFunction/MixObjectsLifeTime/SingletonAndTransient/ResolveWithBuildUp/RegisterInterfaceWithDependencyPropertyTests.cs using Microsoft.VisualStudio.TestTools.UnitTesting; using NiquIoC.Enums; using NiquIoC.Test.Model; namespace NiquIoC.Test.PartialEmitFunction.MixObjectsLifeTime.Single...
Datafixtures/FixtureLoader.cs
timostamm/Datafixtures
0
7050754
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; namespace Datafixtures { public class FixtureLoader { private readonly Dictionary<Type, IFixture> fixtures = new Dictionary<Type, IFixture>(); privat...
src/Cassandra/Unset.cs
levdimov/csharp-driver
6
7050755
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Cassandra { /// <summary> /// The Unset class represents a unspecified value. /// <para> /// In Cassandra 2.2 and above, when executing a UPDATE or INSERT query, a parameter can be unset. /// Designed ...
NRealbit.Tests/sighash_tests.cs
maren7/NRealbit
0
7050756
<reponame>maren7/NRealbit<filename>NRealbit.Tests/sighash_tests.cs<gh_stars>0 using NRealbit.DataEncoders; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace NRealbit.Tests { public class sighash_tests { // Goal: check that Si...
BB.Poker.Logic/Networking/ConnectionTracker/ConnectionTracker.cs
bberak/Poker.NET
0
7050757
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Net; using System.Text; using BB.Poker.Common; namespace BB.Poker.Logic { public class ConnectionTracker { class TableColumns { public const string PlayerName = "PlayerName"; ...
Assets/PhantomSyntax/Scripts/Camera/CameraBehavior.cs
phantomsyntax/extendevents
0
7050758
<filename>Assets/PhantomSyntax/Scripts/Camera/CameraBehavior.cs using UnityEngine; public class CameraBehavior : MonoBehaviour { [Header("Camera Behavior Settings")] [SerializeField] private GameObject focusObject; [SerializeField] private SOEventSubject eventSubject; private void Start() { ev...
tst/MethodTest.cs
olegsych/inspector
1
7050759
using System.Reflection; using NSubstitute; using Xunit; namespace Inspector { public class MethodTest { readonly Method sut; // Constructor parameters readonly MethodInfo instanceMethod = typeof(TestType).GetMethod(nameof(TestType.Method))!; readonly MethodInfo staticMethod = ...
src/ClientRegistry/HL7v3/Hl7v3GetDemographicsMessageBuilder.cs
tonymitchell/bc-empi-sdk
1
7050760
using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.Diagnostics; using Health; using Health.Services; using HealthRegistries; namespace Health.Services.Hl7v3 { public class Hl7v3GetDemographicsMessageBuilder { private GetDemographicsParameters _...
Imagin.Common/_Interfaces/IParse.cs
OkumaScott/Imagin.NET
0
7050761
namespace Imagin.Common { /// <summary> /// /// </summary> public interface IParse { /// <summary> /// /// </summary> /// <param name="input"></param> /// <returns></returns> object Parse(string input); } }
unity/Assets/SRConnection.Unity/Core/Channel/ChannelAccessor.cs
yazawa-ichio/SRNet
1
7050762
<filename>unity/Assets/SRConnection.Unity/Core/Channel/ChannelAccessor.cs using System; using System.IO; namespace SRConnection.Channel { public readonly struct ChannelAccessor { public readonly short Id; readonly Connection m_Conn; internal ChannelAccessor(short channel, Connection conn) { Id = channel...
CDT.Cosmos.Cms/Views/Editor/Preload.cshtml
WalterMaroney/Cosmos.Cms
5
7050763
<reponame>WalterMaroney/Cosmos.Cms<gh_stars>1-10 @using Kendo.Mvc.UI @addTagHelper *, Kendo.Mvc @model PreloadViewModel @{ ViewData["Title"] = "Preload CDN"; } <div class="container mt-5 pt-2"> <form asp-controller="Editor" asp-action="Preload" method="post"> <div class="row"> <div class="...
tests/editmode/LocalTaskRunner_ThreadingTests.cs
BastianBlokland/componenttask-unity
19
7050764
<reponame>BastianBlokland/componenttask-unity using System.Threading; using System.Threading.Tasks; using ComponentTask.Tests.EditMode.Helpers; using ComponentTask.Tests.EditMode.Mocks; using NUnit.Framework; namespace ComponentTask.Tests.EditMode { public sealed class LocalTaskRunner_ThreadingTests { ...
src/Essensoft.Paylink.Alipay/Domain/SignActivityDTO.cs
essensoft/paymen
522
7050765
<reponame>essensoft/paymen<filename>src/Essensoft.Paylink.Alipay/Domain/SignActivityDTO.cs using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// SignActivityDTO Data Structure. /// </summary> public class SignActivityDTO : AlipayObject { /// <s...