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 |
|---|---|---|---|---|
PSConsole/ConsoleHost.cs | ulkyome/laucher_server | 0 | 7067783 | using System;
using System.Globalization;
using System.Management.Automation.Host;
using System.Threading;
namespace PSConsole
{
internal class ConsoleHost : PSHost
{
public ConsoleHost(PSConsoleMain program)
{
this.program = program;
}
public override CultureInfo CurrentCulture
{
get
{
retu... |
semester_2/homework_3/3.1(HashTable)/3.1(HashTable)/HashTable.cs | Alexey-Girin/homework | 2 | 7067784 | namespace HashTableNamespace
{
using ListNamespace;
/// <summary>
/// Класс хеш-таблица.
/// </summary>
public class HashTable
{
private uint size = 32;
private IHashFunction hashFunction;
/// <summary>
/// Массив для хеш-таблицы.
/// </summary>
... |
Attributes/ViewField.cs | birko/Birko.Data.SQL.View | 0 | 7067785 | <reponame>birko/Birko.Data.SQL.View
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace Birko.Data.Attributes
{
[System.AttributeUsage(System.AttributeTargets.Property)]
public class ViewField : System.Attribute
{
public string Name { get; in... |
ThirdPersonCamera/Utility.cs | NicholasConnors/outer-wilds-third-person-camera | 1 | 7067786 | using OWML.ModHelper;
using OWML.Common;
using UnityEngine;
using UnityEngine.PostProcessing;
using UnityEngine.SceneManagement;
using UnityEngine.InputSystem;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace ThirdPersonCamera
{
class Utility
{
public static GameObjec... |
src/NuGet.Services.Operations/Helpers/XLinqExtensions.cs | NuGet/NuGet.Operations | 7 | 7067787 | // 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Xml.Linq
{
internal static class XLinqExtens... |
tests/Tests.Jeebs.Data.All/Tests.Jeebs.Data.Querying/_/QueryBuilderWithFrom/Skip_Tests.cs | bencgreen/jeebs | 3 | 7067788 | // Jeebs Unit Tests
// Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013
using Jeebs.Data.Mapping;
using NSubstitute;
using Xunit;
namespace Jeebs.Data.Querying.QueryBuilderWithFrom_Tests
{
public class Skip_Tests
{
[Fact]
public void Sets_Skip()
{
// Arrange
var table = Substitute.For<... |
SwagOverFlow/SwagOverFlow.WPF/Controls/SwagWindow.cs | adiamante/SwagOverFlow | 0 | 7067789 | using ControlzEx.Theming;
using MahApps.Metro.Controls;
using SwagOverFlow.Logger;
using SwagOverFlow.ViewModels;
using SwagOverFlow.WPF.Commands;
using SwagOverFlow.WPF.Services;
using SwagOverFlow.WPF.UI;
using SwagOverFlow.WPF.ViewModels;
using System;
using System.Collections.Generic;
using System.ComponentModel;
... |
Assets/Plugins/RainbowAssets/RainbowFolders/Editor/Scripts/Info/AssetInfo.cs | jsl-bim/- | 0 | 7067790 | <reponame>jsl-bim/-
namespace Borodar.RainbowFolders.Editor
{
public class AssetInfo
{
public const string STORE_ID = "50668";
public const string NAME = "Rainbow Folders";
public const string VERSION = "0.9";
public const string HELP_URL = "http://www.borodar.com/stuff/rainbowf... |
FlubuCore.Azure/Tasks/Eventhubs/AzureEventhubsNamespaceAuthorizationRuleKeysTask.cs | flubu-core/FlubuCore.Azure | 1 | 7067791 |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Azure.Tasks.Eventhubs
{
public partial class AzureEventhubsNamespaceAuthorizationRuleKeysTask : ExternalProcessTaskBase<AzureEventhubsNamespaceAuth... |
VxSort/BitonicSort.cs | redknightlois/VxSort | 81 | 7067792 | using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using static System.Runtime.Intrinsics.X86.Avx2;
namespace VxSort
{
using V = Vector256<int>;
static partial class BitonicSort<T> where T : unmanaged, IComparable<T>
{
// Legend:
// X - shuffle/permute ma... |
InsideTradeRegistry.Api.Test/DataColumnBooleanAttributeTest.cs | maxsjolinder/InsideTradeRegistryApi | 0 | 7067793 | <reponame>maxsjolinder/InsideTradeRegistryApi
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace InsideTradeRegistry.Api.Test
{
[TestCategory("Unit test")]
[TestClass]
public class DataColumnBooleanAttributeTest
{
[TestMethod]
[ExpectedE... |
src/Infrastructure/LocalStack/GraphRequest.cs | ignas-sakalauskas/LocalstackS3SetupForNetCore | 6 | 7067794 | <gh_stars>1-10
using Newtonsoft.Json;
namespace LocalstackS3SetupForNetCore.Infrastructure.LocalStack
{
public class GraphRequest
{
[JsonProperty(PropertyName = "awsEnvironment")]
public string AwsEnvironment { get; set; }
[JsonProperty(PropertyName = "nameFilter")]
... |
HuntTheNuts/Level.cs | roadrunnerlenny/huntthenuts_wpf | 0 | 7067796 | <filename>HuntTheNuts/Level.cs
using System;
using System.Collections.Generic;
using System.Windows.Threading;
namespace SilverlightSnake
{
public class Level
{
private bool[,] _apples;
public bool[,] Apples
{
get { return _apples; }
set { _apples = value; }
... |
LoonyC.Shared/Lexer/Lexer.cs | Rohansi/LoonyC | 1 | 7067797 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using JetBrains.Annotations;
namespace LoonyC.Shared.Lexer
{
public abstract partial class Lexer<TToken, TTokenType> : IEnumerable<TToken>
where TToken : Token<TTokenType>
{
protecte... |
Chaskis/UnitTests/CoreTests/Handlers/Part/PartHandlerTest.cs | xforever1313/Chaskis | 11 | 7067798 | //
// Copyright <NAME> 2016-2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
using System;
using System.Collections.Generic;
using Chaskis.UnitTests.Common;
using Chaskis.Core;
using... |
src/Network/Analyzer/MainForm.cs | ADMTec/OpenMU | 1 | 7067799 | // <copyright file="MainForm.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.Network.Analyzer;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Diagnostics;
using System.... |
src/api/QuantumLogic/DataModels/Requests/GetAllRequest.cs | vipdrv/vipdrv | 5 | 7067800 | <gh_stars>1-10
using System;
namespace QuantumLogic.WebApi.DataModels.Requests
{
public class GetAllRequest
{
public string Sorting { get; set; }
#warning ad-hock that have to be removed after policy implementation
[Obsolete]
public int? UserId { get; set; }
}
}
|
Sketch_VR/Assets/ColorManager.cs | Rowl1ng/SketchyVR | 0 | 7067801 | <filename>Sketch_VR/Assets/ColorManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ColorManager : MonoBehaviour
{
public static ColorManager Instance;
private Color color = Color.white;
void Awake()
{
if(Instance == null)
{
... |
src/PaymentPortal/Models/SelectInvoicesModel.cs | PracticeEngine/PaymentPortal | 0 | 7067802 | using PEPaymentProvider;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace PaymentPortal.Models
{
public class SelectInvoicesModel
{
public ClientDetails Client { get; set; }
public IEnumerable<InvoiceDetails> Invoices { get; set; }
... |
PhysicsEngine/Tests/Vector2DTests.cs | BenjaminNitschke/PhysicsCourse | 1 | 7067803 | using System;
using NUnit.Framework;
namespace PhysicsEngine.Tests
{
public class Vector2DTests
{
[Test]
public void Add()
{
Vector2D a = new Vector2D(1, 2);
Vector2D b = new Vector2D(3, 1);
Assert.That(a + b, Is.EqualTo(new Vector2D(4, 3)));
Assert.That(a + new Vector2D(2, 2), Is.EqualTo(new Vect... |
etickets_app/obj/Debug/net5.0/Razor/Views/Orders/ShoppingCart.cshtml.g.cs | Mohamed-Hamdy/Ecommerce-Tickets-Application | 0 | 7067804 | <gh_stars>0
#pragma checksum "F:\.NET projectss\etickets_app\etickets_app\Views\Orders\ShoppingCart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "bd35720c1697019c368a5af6dfefd693a09d2713"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribu... |
WebPerformanceMeter/Reports/ReportFile/GrpcReportFile/GrpcLogByStartTime.cs | evgenynazarchuk/WebPerformanceMeter | 0 | 7067805 | <filename>WebPerformanceMeter/Reports/ReportFile/GrpcReportFile/GrpcLogByStartTime.cs
namespace WebPerformanceMeter.Reports
{
public class GrpcLogByStartTime : GrpcLogByTime
{
public GrpcLogByStartTime(
string? userName,
string? method,
string? label,
lon... |
Assets/Plugins/PluginMaster/DesignTools/Editor/TransformTools/Scripts/GridArrangementToolWindow.cs | Truly-Integrated-Computing/UnityTestProject | 0 | 7067806 | /*
Copyright (c) 2020 <NAME>
Unauthorized copying of this file, via any medium is strictly prohibited.
Writen by <NAME>, 2020.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINF... |
tabnine-vim/third_party/ycmd/third_party/OmniSharpServer/NRefactory/ICSharpCode.NRefactory.CSharp.Refactoring/CodeActions/SimplifyIfFlowAction.cs | MrMonk3y/vimrc | 324 | 7067807 | //
// SimplifyIfFlowAction.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2013 <NAME> <<EMAIL>>
//
// 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, inclu... |
CommonStandard/EntityModels/OHLCBar.cs | salda8/Quant-Finance-Mngmt-System | 1 | 7067808 | <reponame>salda8/Quant-Finance-Mngmt-System
using System;
using System.ComponentModel.DataAnnotations.Schema;
using Common.Enums;
using NodaTime;
using ProtoBuf;
namespace Common.EntityModels
{
[ProtoContract]
public class OHLCBar
{
[ProtoMember(1)]
public decimal Open { get; set; }
... |
src/GaltonMachine/GaltonMachine/Model/Histogram.cs | criscola/galtonmachine | 0 | 7067809 | using GaltonMachine.Helper;
namespace GaltonMachine.Model
{
public class Histogram : BindableBase
{
#region ================== Costanti =================
#endregion
#region ================== Attributi & proprietà =================
private double x;
private double y;
... |
src/dotnet/building-blocks/N8T.Infrastructure/Bus/Kafka/BackGroundKafkaConsumer.cs | vietnam-devs/coolstore-microservice- | 60 | 7067810 | <reponame>vietnam-devs/coolstore-microservice-
using System;
using System.Threading;
using System.Threading.Tasks;
using Avro.Generic;
using Confluent.Kafka;
using Confluent.Kafka.SyncOverAsync;
using Confluent.SchemaRegistry;
using Confluent.SchemaRegistry.Serdes;
using MediatR;
using Microsoft.Extensions.DependencyIn... |
Assets/Scripts/Scene/InteractableObjects/Extensible.cs | SymplecticGames/Runok | 0 | 7067811 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Extensible : MonoBehaviour
{
private Vector3 restScale;
private float newScale;
// Start is called before the first frame update
void Start()
{
restScale = transform.parent.localScale;
... |
Assets/Scripts/Utilities/DestroyWhenParticleSystemsFinish.cs | GhodelApps/SanAndreasUnity | 1,169 | 7067812 | <filename>Assets/Scripts/Utilities/DestroyWhenParticleSystemsFinish.cs<gh_stars>1000+
using System.Collections;
using System.Linq;
using UnityEngine;
namespace SanAndreasUnity.Utilities
{
public class DestroyWhenParticleSystemsFinish : MonoBehaviour
{
IEnumerator Start()
{
var sy... |
Assets/GameScripts/Generic/ReadOnlyAttribute.cs | Mikesuper666/yanprototype | 0 | 7067813 | <reponame>Mikesuper666/yanprototype
using UnityEngine;
[System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple = true, Inherited = true)]
public class ReadOnlyAttribute : PropertyAttribute
{
public readonly bool justInPlayMode;
public ReadOnlyAttribute(bool justInPlayMode = true)
{
th... |
src/BililiveNotification/Apis/BiliApis.GetRealRoomId.cs | Executor-Cheng/BililiveNotification | 5 | 7067814 | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Net.Http;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace BililiveNotification.Apis
{
public static partial class BiliApis
{
/// <summary>
/// 原房间号缓存字典
/// </summa... |
source/GithubX.UWP/Converters/FalseToVisibleConverter.cs | yazdipour/githubx | 12 | 7067815 | <filename>source/GithubX.UWP/Converters/FalseToVisibleConverter.cs
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace GithubX.UWP.Converters
{
internal class FalseToVisibleConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
... |
src/Components/EditorGeneratorAttribute.cs | saber-wang/Element-Blazor | 490 | 7067816 | using System;
using System.Collections.Generic;
using System.Text;
namespace Element
{
public class EditorGeneratorAttribute : Attribute
{
/// <summary>
/// 编辑器控件
/// </summary>
public Type Control { get; set; }
/// <summary>
/// 是否必填
/// </summary>
... |
Legacy.Core/Core/StaticData/Items/EquipmentStaticData.cs | Albeoris/MMXLegacy | 10 | 7067817 | <filename>Legacy.Core/Core/StaticData/Items/EquipmentStaticData.cs
using System;
using Dumper.Core;
using Legacy.Core.Entities.Items;
namespace Legacy.Core.StaticData.Items
{
public class EquipmentStaticData : BaseItemStaticData
{
[CsvColumn("Type")]
protected EEquipmentType m_type;
[CsvColumn("PrefixID")]
... |
Vue.Net/Hiiops.Shop/Repositories/Shop/Hiiops_Shop_Store_CouponRepository.cs | Hiiops/Hiiops.Outside | 1 | 7067818 | /*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*Repository提供数据库操作,如果要增加数据库操作请在当前目录下Partial文件夹Hiiops_Shop_Store_CouponRepository编写代码
*/
using Hiiops.Shop.IRepositories;
using VOL.Core.BaseProvider;
using VOL.Core.EFDbContext;
using VOL.Core.Extensions.AutofacManager;
using VOL.Entity.DomainModels;
namespace Hiiops.Shop.Repositories
... |
Tests/CSF.Screenplay.WebApis.Tests/Endpoints/SetNumber.cs | csf-dev/CSF.Screenplay | 15 | 7067819 | using System;
using System.Net.Http;
using CSF.Screenplay.WebTestWebsite.Models;
namespace CSF.Screenplay.WebApis.Tests.Endpoints
{
public class SetNumber : RelativeEndpoint
{
public override string Name => "the number-setting service";
public override HttpMethod HttpMethod => HttpMethod.Post;
prote... |
GreenLight/GreenLight/Selection_box.cs | DaanJamo/GreenLight_Informatica_UU | 0 | 7067820 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
using Microsoft.VisualBasic;
namespace GreenLight
{
public class Selection_box : Panel
{
int Selected_index = 0;
bool Selected_l... |
Source/starshipxac.Windows/Devices/MultiScreen.cs | rasmus-z/starshipxac.ShellLibrary | 1 | 7067821 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Windows;
using System.Windows.Interop;
using starshipxac.Windows.Devices.Internal;
using starshipxac.Windows.Devices.Interop;
using starshipxac.Windows.Interop;
namespace starsh... |
test/Inflatable.Tests/ClassMapper/Default/ReferenceTests.cs | cjwang/Inflatable | 1 | 7067822 | using Inflatable.ClassMapper.Default;
using Inflatable.Tests.BaseClasses;
using Inflatable.Tests.MockClasses;
using Inflatable.Tests.TestDatabases.SimpleTest;
using System;
using Xunit;
namespace Inflatable.Tests.ClassMapper.Default
{
public class ReferenceTests : TestingFixture
{
public Re... |
DeemZ/DeemZ.Web/Areas/Identity/Pages/Account/Manage/Index.cshtml.cs | Berat-Dzhevdetov/DeemZ-Platform | 7 | 7067823 | <reponame>Berat-Dzhevdetov/DeemZ-Platform<gh_stars>1-10
namespace DeemZ.Web.Areas.Identity.Pages.Account.Manage
{
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using System.ComponentModel.DataAnnotati... |
Backend/Messaging/Messages.Services/DependencyInjection.cs | mtalebian/basic-templates | 1 | 7067824 | using Message.Core;
using Messages.Services;
namespace Microsoft.Extensions.DependencyInjection
{
public static class DependencyInjection
{
public static void AddEmailService(this IServiceCollection services)
{
services.AddScoped<ISendEmailService, SendEmailServices>();
}
... |
Software/Unity/VirtualWires/Assets/Scripts/PopUpWindow/EditTogglePanel.cs | yoonji-kim/VirtualComponent | 6 | 7067825 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using UnityEngine.EventSystems;
public class EditTogglePanel : MonoBehaviour {
public Button editButton;
public GameObject modalPanelObject;
private static EditTogglePanel modalP... |
Vendstor/UserControls/Auth/PinLogin.Designer.cs | franznkemaka/Vendstor | 8 | 7067826 | <reponame>franznkemaka/Vendstor<gh_stars>1-10
namespace Vendstor.UserControls.Auth
{
partial class PinLogin
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up an... |
SqlRepo.Tests/Mapping/EntityValueMemberMapperShortShould.cs | SqlRepo/SqlRepo | 28 | 7067827 | <gh_stars>10-100
using System;
using System.Data;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using SqlRepo.Tests.TestObjects;
namespace SqlRepo.Tests
{
[TestFixture]
public class EntityValueMemberMapperShortShould
{
[SetUp]
public void SetUp()
{
t... |
signalr-server/Controllers/PerformanceController.cs | dangtathanh/signalr-performance-testing | 0 | 7067828 | using Microsoft.AspNetCore.Mvc;
using signalr.server.Services;
using System;
using System.Threading.Tasks;
namespace signalr.server.Controllers
{
[Route("api/v1/performance-testing")]
public class PerformanceController : ControllerBase
{
private readonly ICounterService _counterService;
pr... |
boilersGraphics/Adorners/StraightLineAdorner.cs | dhq-boiler/grapher | 1 | 7067829 | using boilersGraphics.Controls;
using boilersGraphics.Dao;
using boilersGraphics.Extensions;
using boilersGraphics.Helpers;
using boilersGraphics.Models;
using boilersGraphics.ViewModels;
using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Documents... |
Sources/GenieLamp.Core/Metamodel/Model.cs | arbinada-com/genie-lamp | 1 | 7067830 | <reponame>arbinada-com/genie-lamp
using System;
using System.IO;
using System.Xml;
using System.Collections.Generic;
using GenieLamp.Core.CodeWriters;
using GenieLamp.Core.Metamodel.Physical;
using GenieLamp.Core.Exceptions;
namespace GenieLamp.Core.Metamodel
{
class Model : IModel
{
private GenieLam... |
lib/Apache.Hive.Service.Rpc.Thrift/TGetOperationStatusResp.cs | SamuelFisher/Airlock.Hive | 4 | 7067831 | <gh_stars>1-10
/**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
us... |
Training.Docker.DataCollectorService/CustomerOrderHandler.cs | lukaszkepa/Training.Docker | 0 | 7067832 | using Microsoft.Extensions.Logging;
using Rebus.Handlers;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Training.Docker.Models;
namespace Training.Docker.DataCollectorService
{
public class CustomerOrderHandler : IHandleMessages<CustomerOrderAdded>
{
... |
Assets/Scripts/KnifeController.cs | iremsevim/Knife-Hit-Unity-Game | 0 | 7067833 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeController : MonoBehaviour
{
public static List<KnifeController> knifelists = new List<KnifeController>();
public static KnifeController instance;
public Rigidbody2D rb;
public float speed;
public BoxC... |
Algorithms/Warmup/Mini-Max Sum/miniMaxSum.cs | DKLynch/HackerRank-Challenges | 0 | 7067834 | //Problem URL: https://www.hackerrank.com/challenges/mini-max-sum/problem
static void miniMaxSum(int[] arr) {
List<long> sums = new List<long>();
for(int i = 0; i < arr.Length; i++){
var otherNums = arr.Where((x, j) => j != i);
long sum = 0;
foreach(long n in otherNums){
... |
Samples/NET 4.6/WF_WCF_Samples/WF/Scenario/ActivityLibrary/PowerShell/CS/PowerShell/PowerShellExecutionException.cs | jdm7dv/visual-studio | 1 | 7067835 | //-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
using System;
using System.Collections.ObjectModel;
using System.Management.Automation;
using Sy... |
src/Ponics/Queries/GetAllPonicsSystemsQueryHandler.cs | simpleponics/Ponics | 0 | 7067837 | using System.Collections.Generic;
using Ponics.Kernel.Queries;
namespace Ponics.Queries
{
public abstract class GetAllPonicsSystemsQueryHandler<TGetAllPonicsSystem, TPonicsSystem> : IQueryHandler<TGetAllPonicsSystem, List<TPonicsSystem>>
where TPonicsSystem : PonicsSystem
where TGetAllPonicsSystem... |
SpreadCommander.Common/PowerShell/CmdLets/Book/AddBookTocCmdlet.cs | VassilievVV/SpreadCommander | 3 | 7067838 | using DevExpress.XtraRichEdit.API.Native;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using System.Threading.Tasks;
using SpreadCommander.Common.Code;
namespace SpreadCommander.Common.PowerShell.CmdLets.Book
{
[Cmdlet(VerbsCommon.Add, "... |
Assets/Plugins/UniDialog/Examples/ConfirmDialog/Presentation/ConfirmDialogFramePresenter.cs | fumobox/UniDialog | 0 | 7067839 | <filename>Assets/Plugins/UniDialog/Examples/ConfirmDialog/Presentation/ConfirmDialogFramePresenter.cs
using System.Collections.Generic;
using UniDialog.Domain;
using UnityEngine;
using UnityEngine.UI;
namespace UniDialog.Presentation
{
public class ConfirmDialogFramePresenter : DialogFramePresenter
{
... |
src/SFA.DAS.Reservations.Api/Models/GetProviderResponse.cs | uk-gov-mirror/SkillsFundingAgency.das-apim-endpoints | 4 | 7067840 | namespace SFA.DAS.Reservations.Api.Models
{
public class GetProviderResponse
{
public long Id { get; set; }
public uint Ukprn { get; set; }
public string Name { get; set; }
public bool NationalProvider { get; set; }
public decimal? LearnerSatisfaction { get; set; }
... |
Runtime/Tags/FilterObject.cs | mfragger/ScriptableObjectArchitecture | 0 | 7067841 | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace ScriptableObjectArchitecture
{
public static class Filter
{
internal static List<IRunFilter> filters = new();
public static void RunFilters()
{
for (int i = 0; i < filters.Count; ... |
Controllers/CLabController.cs | ggraur/toDoList | 0 | 7067843 | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Claims;
using System.Text;
using S... |
Asp.Net/backend/backend/Controllers/BaseController.cs | monsterddq/rscchat | 0 | 7067844 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using backend.Entity;
using System.Security.Claims;
using backend.Utilities;
using Microsoft.AspNetCore.Hosting;
namespace backend.Controllers
{
public class BaseController : Controller... |
Core/Field/JSM/File/Jsm.GameObject.cs | korreckj328/OpenVIII-monogame | 208 | 7067845 | <filename>Core/Field/JSM/File/Jsm.GameObject.cs
using System.Collections.Generic;
using System.Linq;
namespace OpenVIII.Fields.Scripts
{
public static partial class Jsm
{
#region Classes
public sealed class GameObject
{
#region Constructors
public GameObject(i... |
src/HallOfBeorn/Services/LotR/Octgn/Sets/PrintOnDemand/TheBattleOfLakeTownSet.cs | danpoage/hall-of-beorn | 5 | 7067847 | <filename>src/HallOfBeorn/Services/LotR/Octgn/Sets/PrintOnDemand/TheBattleOfLakeTownSet.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HallOfBeorn.Services.LotR.Octgn.Sets.PrintOnDemand
{
public class TheBattleOfLakeTownSet
: OctgnSet
{
... |
mcs/class/pscorlib/Amf/ReflectionSerializer.cs | sushihangover/PlayScript | 20 | 7067848 | <reponame>sushihangover/PlayScript<filename>mcs/class/pscorlib/Amf/ReflectionSerializer.cs
//
// Copyright 2013 Zynga 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... |
C#/HolidayTest/CalendricalCalculations/NationalHolidays/Argentina.cs | JensBorrisholt/Holidays | 1 | 7067849 | <gh_stars>1-10
using System;
namespace CalendricalCalculation.NationalHolidays
{
public class Argentina : BaseNationalHolidays
{
public override string SundayName { get; } = "Sunday";
public override BaseNationalHolidays MakeHolydays()
{
Add(NewYearsDay, "New Year's Day");
... |
Pmxlib/PmxTag.cs | Pldare/fluffy-octo-system | 0 | 7067850 | <reponame>Pldare/fluffy-octo-system
using System.Text.RegularExpressions;
namespace PmxLib
{
internal static class PmxTag
{
public const string GROUPNAME = "gp";
public static MatchCollection MatchsTag(string tag, string text, string groupName = "gp")
{
string text2 = "<" + tag + ">";
string text3 = "</... |
NewFeatures/AddDemonSpecials.cs | bje259/WOTR_PATH_OF_RAGE | 1 | 7067851 | using BlueprintCore.Blueprints;
using Kingmaker.UnitLogic.Abilities.Blueprints;
using System;
using WOTR_PATH_OF_RAGE.Utilities;
using Kingmaker.Blueprints;
using Kingmaker.UnitLogic.Abilities.Components.Base;
using WOTR_PATH_OF_RAGE;
using HarmonyLib;
using Kingmaker.Blueprints.JsonSystem;
using Kingmaker.Blueprints.... |
src/Remotus/Workers/ResourceMonitor.cs | LazyTarget/ProcHelper | 1 | 7067852 | <reponame>LazyTarget/ProcHelper
using System.Diagnostics;
using System.Threading;
namespace Remotus
{
public class ResourceMonitor
{
private PerformanceCounter _totalCpu;
public object GetCurrentCpuUsage()
{
if (_totalCpu == null)
{
_totalCpu = ... |
DifficultiesInfoPlugin.cs | JackCeparou/JackCeparouCompass | 20 | 7067853 | namespace Turbo.Plugins.Jack
{
using System;
using System.Collections.Generic;
using System.Linq;
using Turbo.Plugins.Default;
using Turbo.Plugins.Jack.Decorators.TopTables;
public class DifficultiesInfoPlugin : BasePlugin, IInGameTopPainter
{
public Func<int, string> TormentLabelF... |
APCSharp/Parser/Data/Memory.cs | WilliamRagstad/APCSharp | 4 | 7067854 | using System;
using System.Collections.Generic;
using System.Text;
namespace APCSharp.Parser.Data
{
class Memory
{
public PResult Value { get; private set; }
public int Accesses { get; private set; }
public bool IsLeftRecursive { get; private set; }
private Memory() { }
... |
shoot-the-asteroids/Assets/Scripts/Metheorite.cs | alejandrofloresm/unity-sessions | 0 | 7067855 | using UnityEngine;
using System.Collections;
public class Metheorite : MonoBehaviour {
private int Life = 5;
public Transform ExplosionParticleSystem;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter(Collider other) {
... |
Unity/FantasyFootball/Assets/Scripts/Player/Player.cs | binarysudoku/Fantasy-Football | 0 | 7067856 | <reponame>binarysudoku/Fantasy-Football
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
enum State { Running, Channeling, Kicking, Stunned, Airborne };
public string playerName;
private bool useGamepad; //should be changed when re... |
src/KdyWeb.Dto/SearchVideo/VideoMain/VideoEpisodeExtension.cs | jkhcc11/KdyWeb.NetCore | 0 | 7067857 | using System;
using System.Collections.Generic;
using System.Linq;
using KdyWeb.Entity.SearchVideo;
namespace KdyWeb.Dto.SearchVideo
{
/// <summary>
/// 影片剧集扩展
/// </summary>
public static class VideoEpisodeExtension
{
/// <summary>
/// 获取剧集编辑信息
/// </summary>
/// <... |
Views/Home/Index.cshtml | RajPotla/glassdoor | 0 | 7067858 | <gh_stars>0
@model IEnumerable<Glassdoor.Models.User>
@{
ViewBag.Title = "Glassdoor - Team 6";
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-5">
<div class="card sh... |
source/KihonEngine/GameEngine/Graphics/ModelDefinitions/SkyboxDefinition.cs | nico65535/KihonEngine | 1 | 7067859 | <reponame>nico65535/KihonEngine<gh_stars>1-10
namespace KihonEngine.GameEngine.Graphics.ModelDefinitions
{
public class SkyboxDefinition : ModelBaseDefinition
{
public SkyboxMetadata Metadata { get; set; }
}
}
|
src/NW.WIDJobsClient/CommandLineValidators/ParallelRequestsManager.cs | numbworks/NW.WIDJobs | 1 | 7067860 | using System;
using System.Linq;
namespace NW.WIDJobsClient.CommandLineValidators
{
/// <inheritdoc cref="IParallelRequestsManager/>
public class ParallelRequestsManager : IParallelRequestsManager
{
#region Fields
#endregion
#region Properties
public static ushort Minin... |
Network-backup/Packeting/PacketSystem.cs | AngryCarrot789/REghZyIOWrapper | 0 | 7067861 | using System;
using System.Collections.Generic;
using REghZyIOWrapper.Network.Listeners;
using REghZyIOWrapper.Network.Packeting.Packets;
namespace REghZyIOWrapper.Network.Packeting {
/// <summary>
/// A packet system is something that is capiable of transporting packets around
/// (sending new packets t... |
Enums/Sounds.cs | Pixel0h/Ethereal | 0 | 7067862 | <gh_stars>0
namespace Ethereal.Enums
{
/* Defines vanilla game sounds */
public enum Sounds
{
Dig = 0,
PlayerHit = 1,
Item = 2,
NPCHit = 3,
NPCKilled = 4,
PlayerKilled = 5,
Grass = 6,
Grab = 7,
DoorOpen = 8,
DoorClosed = 9,
... |
RealEstate/RikardWeb/Views/_ViewImports.cshtml | wapxmas/rikard-csharp-net-core | 0 | 7067863 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using Microsoft.AspNetCore.Authorization
@using Microsoft.Extensions.Options
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.Http
@using System.Globalization
@using System.Net
@using RikardWeb.Options
@using RikardWeb.Models
@using RikardWeb.Servic... |
Uniwiki/Uniwiki.Client.Host/Services/StaticStateService.cs | SindelarPetr/Uniwiki | 0 | 7067864 | using Uniwiki.Client.Host.Services.Abstractions;
using Uniwiki.Shared.ModelDtos;
namespace Uniwiki.Client.Host.Services
{
public class StaticStateService
{
public StudyGroupToSelectDto? SelectedStudyGroup { get; private set; }
public void SetSelectedStudyGroup(StudyGroupToSelectDto? selectedSt... |
SimpleFormsService.Persistence/Repositories/RepositoryBase.cs | Nova-Scotia-Digital-Service/Simple-Form-Service | 4 | 7067865 | <filename>SimpleFormsService.Persistence/Repositories/RepositoryBase.cs
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
using SimpleFormsService.Domain.Repositories;
namespace SimpleFormsService.Persistence.Repositories
{
public abstract class RepositoryBase<T> : IRepositoryBase<T> where T : c... |
Assets/Instrumental/Scripts/Editing/Tools/HSLColorZone.cs | jcorvinus/InstrumentalXR | 5 | 7067866 | <filename>Assets/Instrumental/Scripts/Editing/Tools/HSLColorZone.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Instrumental.Editing.Tools
{
public class HSLColorZone : ColorZone
{
[SerializeField]
BoxCollider boxCollider... |
Sloth.Core/Extensions/TransactionExtensions.cs | ucdavis/Sloth | 0 | 7067867 | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Sloth.Core.Models;
using Sloth.Core.Utilities;
namespace Sloth.Core.Extensions
{
public static class TransactionExtensions
{
public static string ToXml(this Transaction transaction)
{
var sw = ... |
BurningKnight/level/rooms/secret/SecretChestRoom.cs | kwokfu/BurningKnight | 282 | 7067868 | using System;
using BurningKnight.level.entities.chest;
using Lens.entity;
using Lens.util;
using Lens.util.math;
using Microsoft.Xna.Framework;
namespace BurningKnight.level.rooms.secret {
public class SecretChestRoom : SecretRoom {
public override void Paint(Level level) {
Entity chest = null;
if (Rnd.Chan... |
LambdaBiz.Serverless/Function.cs | WorkMaze/LambdaBiz | 1 | 7067869 | <reponame>WorkMaze/LambdaBiz<filename>LambdaBiz.Serverless/Function.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using LambdaBiz.AWS;
using Newtonsoft.Json;
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
// Assembly attribute to ... |
PyramidGame/PyramidForm.cs | DBHeise/PyramidGame | 0 | 7067870 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PyramidGame
{
public partial class PyramidForm : Form
{
... |
CBRN_Project/CBRN_Project/MVVM/Models/Input/Challenge.cs | DomideAdrian/CBRN | 0 | 7067871 | using System.Collections.Generic;
namespace CBRN_Project.MVVM.Models
{
public class Challenge
{
public string Agent { get; set; }
public string ChallengeType { get; set; }
public double Step { get; set; }
public List<double> Values { get; set; }
}
}
|
JVermeulen.Processing/MessageBox.cs | JVermeulen/JVermeulen | 0 | 7067872 | using System;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading;
namespace JVermeulen.Processing
{
/// <summary>
/// A queue of messages you can subscribe to. Message are handled one-by-one.
/// </summary>
/// <typeparam name="T">The ... |
source/Processor/Views/CPHttpClass.cs | contensive/Contensive50 | 2 | 7067873 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Contensive.BaseClasses;
using Contensive.BaseModels;
using Contensive.Processor.Controllers;
namespace Contensive.Processor {
public class CPHttpClass : BaseClasses.CPHttpBaseClass {
/// <summary>
... |
DigitRecognitionWeb/Controllers/DigitController.cs | KirillFormado/digit-recogniser | 0 | 7067874 | <filename>DigitRecognitionWeb/Controllers/DigitController.cs<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using DigitRecognitionService;
using System.IO;
namespace DigitRecognition.Controllers
{
[Route("api/[controller]")]
public class DigitController : Contr... |
NamelessRogue_updated/Engine/Factories/InputHandlingFactory.cs | GreyArmor/SomeRogueMonogame | 7 | 7067875 | <reponame>GreyArmor/SomeRogueMonogame
using NamelessRogue.Engine.Abstraction;
using NamelessRogue.Engine.Components.Interaction;
using NamelessRogue.Engine.Infrastructure;
namespace NamelessRogue.Engine.Factories
{
public class InputHandlingFactory {
public static IEntity CreateInput()
{
... |
PitStopBot/Commands/GeneralCommands.cs | tiemonl/PitStopBot | 0 | 7067877 | <filename>PitStopBot/Commands/GeneralCommands.cs
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
namespace PitStopBot.Commands {
public class GeneralCommands : ModuleBase<SocketCommandContext> {
private readonly CommandService _comma... |
src/Runtime/DataLoaderDescriptor.cs | gmiserez/hotchocolate | 0 | 7067878 | using System;
using System.Threading;
using System.Threading.Tasks;
namespace HotChocolate.Runtime
{
public delegate Task TriggerDataLoaderAsync(
object dataLoader,
CancellationToken cancellationToken);
public class DataLoaderDescriptor
: IScopedStateDescriptor<string>
{
p... |
client/MAVN.Service.AdminManagement.Client/Models/Requests/GetByEmailRequestModel.cs | LykkeBusiness/MAVN.Service.AdminManagement | 0 | 7067879 | <reponame>LykkeBusiness/MAVN.Service.AdminManagement
namespace MAVN.Service.AdminManagement.Client.Models.Requests
{
/// <summary>
/// Request model for getting by email.
/// </summary>
public class GetByEmailRequestModel
{
/// <summary>Email</summary>
public string Email { get; set;... |
src/Seq.Input.MSSql.Tests/TimePeriodHelperTest.cs | MattMofDoom/seq-input-mssql | 3 | 7067880 | <gh_stars>1-10
using System;
using Xunit;
namespace Seq.Input.MSSql.Tests
{
public class TimePeriodHelperTest
{
[Fact]
public void IsValidTimePeriod_IsValid_InRange()
{
var dateTime = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, 9, 5, 0);
... |
Touch.UWP/ViewModels/PlaceDetailViewModel.cs | TonyZZX/Touch.UWP | 0 | 7067881 | #region
using Touch.Models;
#endregion
namespace Touch.ViewModels
{
public class PlaceDetailViewModel : BaseImagesViewModel
{
public readonly Cover PlaceCover;
public PlaceDetailViewModel(Cover placeCover)
{
PlaceCover = placeCover;
}
public void LoadImag... |
Unity/Assets/Hotfix/Demo/Unit/M2C_RemoveUnitsHandler.cs | susices/SJET | 22 | 7067882 | using System.Linq;
namespace ET
{
public class M2C_RemoveUnitsHandler : AMHandler<M2C_RemoveUnits>
{
protected override async ETVoid Run(Session session, M2C_RemoveUnits message)
{
UnitComponent unitComponent = session.DomainScene().GetComponent<UnitComponent>();
for (i... |
Infinity Engine/src/EditorCoroutine.cs | mciissee/InfinityEngine | 2 | 7067883 | using System;
using System.Collections;
using UnityEngine;
namespace InfinityEngine
{
/// <summary>
/// Provides a way to use coroutines in editor mode.
/// </summary>
public class EditorCoroutine
{
private readonly IEnumerator routine;
private object current;
/// <summar... |
Src/IR0Evaluator/IR0Evaluator.Exp.cs | ioklo/citron | 0 | 7067886 | <reponame>ioklo/citron<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Citron.Infra.CollectionExtensions;
using Citron.Infra;
using Citron.Collections;
... |
Views/Layout.cshtml | Lombiq/RDB.Bindery | 0 | 7067887 | <filename>Views/Layout.cshtml
@using Orchard.Localization
@functions {
// Taken from The Theme Machine, allows for collapsable widget areas.
string CalcuClassify(string[] zoneNames, string classNamePrefix)
{
var zoneCounter = 0;
var zoneNumsFilled = string.Join("", zoneNames.Select(zoneNam... |
src/JT809.Protocol.Extensions.JT1078/Formatters/JT809_JT1078_0x1B00_0x1B02_Formatter.cs | waterliu99/JT1078 | 11 | 7067888 | using JT809.Protocol.Extensions.JT1078.MessageBody;
using JT809.Protocol.Formatters;
using JT809.Protocol.MessagePack;
using System;
using System.Collections.Generic;
using System.Text;
namespace JT809.Protocol.Extensions.JT1078.Formatters
{
public class JT809_JT1078_0x1B00_0x1B02_Formatter : IJT809MessagePackFor... |
src/Qooba.Framework.Bot.Azure.Tests/BaseRunnerTests.cs | qooba/Qooba.Framework | 2 | 7067890 | <reponame>qooba/Qooba.Framework
using Microsoft.Extensions.Configuration;
using Moq;
using Newtonsoft.Json.Linq;
using System;
using System.IO;
namespace Qooba.Framework.Bot.Azure.Tests
{
public abstract class BaseRunnerTests
{
protected readonly Mock<IConfigurationRoot> configurationRootMock;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.