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
src/UITesting.ProviderPortal/StepDefinitions/Course Management/ViewYourCourses_Line1Steps.cs
SkillsFundingAgency/dfc-providerportal-automatedtests
1
7059568
using System; using TechTalk.SpecFlow; using UITesting.ProviderPortal.TestSupport; using UITesting.Framework.Helpers; using UITesting.ProviderPortal.Pages.Course_Management; namespace UITesting.ProviderPortal.StepDefinitions.Course_Management { [Binding] public class ViewYourCourses_Line1Steps :BaseTest ...
BaseLibrary/Torque3D/Engine/GuiGradientCtrl.cs
lukaspj/T3D-CSharp-Tools
0
7059569
<gh_stars>0 using System; using System.Linq; using System.Collections.Generic; using System.Runtime.InteropServices; using Torque3D.Engine; using Torque3D.Util; namespace Torque3D { public unsafe class GuiGradientCtrl : GuiControl { public GuiGradientCtrl(bool pRegister = false) : base(pRegister) { } pub...
src/s2protocol.NET/Models/TrackerEvents/TrackerEvent.cs
ipax77/s2protocol.NET
0
7059570
<gh_stars>0 using System.Text.Json.Serialization; namespace s2protocol.NET.Models; /// <summary>Record <c>Event</c> Event baseclass</summary> /// public record TrackerEvent { /// <summary>Record <c>Event</c> base constructor</summary> /// <comment>Tracker events are new in version 2.0.8, they do not exist in ...
MessageQueue/AzureServicebus/EventConsumer.Azure.Extension/Constants.cs
futugyou/CodeFragments
0
7059571
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EventConsumer.Azure.Extension { internal static class Constants { public static string PropertyKeyPrefix { get; } = "cloudEvents:"; public static string SpecVersionPro...
Source/RimWriter/ThingBook.cs
somebody0214/RimWriter
0
7059572
using System.Collections.Generic; using RimWorld; using UnityEngine; using Verse; using Verse.AI; namespace RimWriter { public class ThingBook : ThingWithComps { CompArt compArt; CompArt CompArt { get { if (compArt == null) { ...
EsentCollections/PersistentDictionaryDefaultConfig.cs
EWSoftware/ManagedEsent
0
7059573
<filename>EsentCollections/PersistentDictionaryDefaultConfig.cs<gh_stars>0 // -------------------------------------------------------------------------------------------------------------------- // <copyright file="PersistentDictionaryDefaultConfig.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Cor...
octo-get/Program.cs
piofthings/octodash
0
7059574
<reponame>piofthings/octodash<gh_stars>0 namespace OctoDash.OctoGet; using System.Threading.Tasks; public class Program { static async Task Main(string[] args) { await ProcessRepositories(); } private static async Task ProcessRepositories() { Console.WriteLine("Hello...
samples/Stock Service Fabric Graph Engine/Trinity.ServiceFabric.SampleProtocols/SampleModuleImpl.cs
bartjanson/GraphEngine
3
7059575
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Trinity.Diagnostics; using Trinity.Extension; namespace Trinity.ServiceFabric.SampleProtocols { [AutoRegisteredCommunicationModule] public class SampleModuleImpl : ServiceFa...
Unicord.Universal/Voice/VoiceConnectionModel.cs
WamWooWam/Unicord
106
7059576
<filename>Unicord.Universal/Voice/VoiceConnectionModel.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using DSharpPlus.Entities; using DSharpPlus.EventArgs; using DSharpPlus.VoiceNext.Entities; using Microsoft.AppCente...
ExchangeMAPI/Source/Common/Common/ExchangeMapiClient/RopMessages/IDeserializable.cs
v-yahan/Interop-TestSuites
29
7059577
namespace Microsoft.Protocols.TestSuites.Common { /// <summary> /// This interface define the methods that is needed to deserialize a bytes array into an ROP object /// </summary> public interface IDeserializable { /// <summary> /// Deserialize input bytes ropBytes into a ROP...
ManagedClient/Mapping/SubFieldMapper.cs
amironov73/ManagedClient.4
3
7059578
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* SubFieldMapper.cs */ #region Using directives using System; using JetBrains.Annotations; #endregion namespace ManagedClient.Mapping { /// <summar...
InterReact/Messages/Output/HistoricalData.cs
dshe/InterReact
25
7059579
using NodaTime; using NodaTime.Text; using System.Collections.Generic; namespace InterReact; public sealed class HistoricalData : IHasRequestId { internal static readonly LocalDateTimePattern DateTimePattern = LocalDateTimePattern.CreateWithInvariantCulture("yyyyMMdd HH:mm:ss"); public int RequestId { get; ...
Server/Hubs/AdminHub.cs
hieronymusma/Bet-Game
0
7059580
<filename>Server/Hubs/AdminHub.cs<gh_stars>0 using Microsoft.AspNetCore.SignalR; using Server.DataStorage; using Server.Services; using System; using System.Collections.Generic; namespace Server.Hubs { public class AdminHub : Hub { private readonly IDataService mDataService; private readonly I...
src/DemoService/Controllers/AppConsole.cs
PavelKulbida/ZorroConsole
1
7059581
<filename>src/DemoService/Controllers/AppConsole.cs using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using DemoService.BL; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Primitives; namespace DemoService.Controllers { [ApiController] [Route("[controller]")]...
MediatorPattern/Program.cs
Gustavo-Braga/csharp-design-patterns-for-humans-examples
43
7059583
<filename>MediatorPattern/Program.cs<gh_stars>10-100 using System; namespace MediatorPattern { interface IChatRoomMediator { void ShowMessage(User user, string message); } //Mediator class ChatRoom : IChatRoomMediator { public void ShowMessage(User user, string message) { Console.WriteLine("{0} [{1}]:{2}",...
rbkApiModules.Diagnostics.UI/Builder.cs
smarza/rbk-api-modules
0
7059584
namespace rbkApiModules.Analytics.UI { //public static class Builder //{ // public static void AddRbkApiAnalyticsUIModule(this IServiceCollection services) // { // } // public static IApplicationBuilder UseRbkApiAnalyticsUIModule(this IApplicationBuilder app) // { // ...
Backend/Models/SaveReputationRequest.cs
ThorConzales/AoE2HDLobbyCompanion
10
7059585
<filename>Backend/Models/SaveReputationRequest.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Backend.Models { public class SaveReputationRequest { public string Name { get; set; } public int ReputationType { get; set; } public...
Example.WindowsFormsApp/Modules/Stack/Stack2View.cs
usausa/Smart-Net-Navigation
16
7059587
<filename>Example.WindowsFormsApp/Modules/Stack/Stack2View.cs namespace Example.WindowsFormsApp.Modules.Stack { using Smart.Navigation; using Smart.Navigation.Attributes; [View(ViewId.Stack2)] public partial class Stack2View : AppViewBase { public override string Title => "Stack2View"; ...
XTool/code/sql.compare/FieldComparison.cs
eXtensoft/xtool
0
7059588
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XTool { public class FieldComparison : IEnumerable<Field> { public List<Field> Items { get; set; } public string TableSchema { g...
CorePaginationExample.Tests/PaginationReportingTests.cs
JoelViney/CorePaginationExample
0
7059589
using CorePaginationExample.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Threading.Tasks; namespace CorePaginationExample { [TestClass] public class PaginationReportingTests { private WidgetRepository _repository; [TestInitial...
Python/Product/Django/TemplateParsing/DjangoBlocks/DjangoIfBlock.cs
srivatsn/PTVS
1
7059590
<reponame>srivatsn/PTVS<filename>Python/Product/Django/TemplateParsing/DjangoBlocks/DjangoIfBlock.cs // Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with...
src/MarginTrading.Backend.Services/MatchingEngines/MatchingEngineRoutesCacheService.cs
lykkecloud/MT
0
7059591
// Copyright (c) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Linq; using System.Threading; using MarginTrading.Backend.Core.MatchingEngines; namespace MarginTrading.Backend.Services.MatchingEngines { public class MatchingEngine...
Love-Babbar-450-In-CSharp/12_graph/37_M_coloring_problem.cs
harshanu11/Love-Babbar-450-In-CSharp
0
7059592
///* // link: https://practice.geeksforgeeks.org/problems/m-coloring-problem-1587115620/1 // video: https://youtu.be/h9M0pQ39ha0 //*/ //// ----------------------------------------------------------------------------------------------------------------------- // ///* // BFS //*/ //#include<bits/stdc++.h> /...
Stfu/NetworkExtensions.cs
samhocevar/stfu
1
7059593
<filename>Stfu/NetworkExtensions.cs<gh_stars>1-10 // // Stfu — Sam’s Tiny Framework Utilities // // Copyright © 2013—2021 <NAME> <<EMAIL>> // // This library is free software. It comes without any warranty, to // the extent permitted by applicable law. You can redistribute it // and/or modify it under the terms o...
Assets/Standard Assets/City/Edge.cs
BrettGregson/ProceduralBuildings
21
7059594
<gh_stars>10-100 using UnityEngine; namespace Thesis { public class Edge { private Vector3 _start; public Vector3 start { get { return _start; } set { _start = value; _length = Vector3.Distance(_start, _end); _middle = (_start + _end) / 2; _direction = (_end - _start).norm...
SharpMedia/Math/Shapes/Polygon3f.cs
zigaosolin/SharpMedia
0
7059595
<gh_stars>0 // This file was generated by TemplateEngine from template source 'Polygon' // using template 'Polygon3f. Do not modify this file directly, modify it from template source. // This file constitutes a part of the SharpMedia project, (c) 2007 by the SharpMedia team // and is licensed for your use under the co...
Runtime/Scripts/IMColorPicker.cs
bgr/unity-immediate-color-picker
0
7059596
using UnityEngine; namespace imColorPicker { public class IMColorPicker { public Color Color { get { return _color; } set { _color = value; IMColorUtil.RGBToHSV(_color, out h, out s, o...
Assets/_Game/Scripts/Singleton.cs
yanek/RogueSpector-LDJam-Edition
0
7059597
using UnityEngine; namespace Game.Scripts { public abstract class Singleton<T> : MonoBehaviour where T : MonoBehaviour { private static T _instance; public static T Instance { get { if (_instance == null) { _i...
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/Dataflow/Origin.cs
pyracanda/runtime
9,402
7059598
<reponame>pyracanda/runtime // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Internal.TypeSystem; using Internal.TypeSystem.Ecma; namespace ILCompiler.Dataflow { internal abstract class Origin { } class Met...
MergeOpenApi.Ui/Controllers/ApiController.cs
HenrikDK/MergeOpenApi
0
7059599
<filename>MergeOpenApi.Ui/Controllers/ApiController.cs<gh_stars>0 using MergeOpenApi.Ui.Model; namespace MergeOpenApi.Ui.Controllers; [ApiController] public class ApiController : ControllerBase { private readonly IGetSchemaCached _getSchemaCached; public ApiController(IGetSchemaCached getSchemaCach...
Testing/unittest/Query/ParsingTests.cs
mungojam/dotnetrdf-fork
0
7059600
<gh_stars>0 /* dotNetRDF is free and open source software licensed under the MIT License ----------------------------------------------------------------------------- Copyright (c) 2009-2012 dotNetRDF Project (<EMAIL>) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...
Gradeio-Quiz/Gradeio.Quiz.WebApi/Controllers/QuizzesController.cs
Tiberiu-Cocei/IPProiect
0
7059601
using AutoMapper; using Gradeio.Quiz.Business.Quiz; using Gradeio.Quiz.Domain.Entities; using Gradeio.Quiz.WebApi.Models.Quiz; using Gradeio.Quiz.WebApi.UserExtensions; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using Sys...
NetworkDetective/UI/GoToPanel/BackButton.cs
kianzarrin/NetworkDetective
0
7059602
using ColossalFramework.UI; using KianCommons; using KianCommons.UI; using NetworkDetective.Tool; using UnityEngine; namespace NetworkDetective.UI.ControlPanel { public class BackButton: UIButton { public string AtlasName => GetType().FullName + "_rev" + GetType().VersionOf(); const int SIZE = 40; ...
Hands-on lab/Resources/Microservices/MachineTelemetryRead/Models/PgDistObject.cs
saimachi/MCW-Innovate-and-modernize-apps-with-Data-and-AI
45
7059603
using System; using System.Collections.Generic; namespace MachineTelemetryRead.Models { public partial class PgDistObject { public uint Classid { get; set; } public uint Objid { get; set; } public int Objsubid { get; set; } public string Type { get; set; } public string...
src/EA.Weee.DataAccess.Tests.DataAccess/StoredProcedure/GetNonObligatedWeeeReceivedAtAatfsTests.cs
uk-gov-mirror/defra.prsd-weee
2
7059604
<filename>src/EA.Weee.DataAccess.Tests.DataAccess/StoredProcedure/GetNonObligatedWeeeReceivedAtAatfsTests.cs<gh_stars>1-10 namespace EA.Weee.DataAccess.Tests.DataAccess.StoredProcedure { using AutoFixture; using Core.AatfReturn; using Domain.DataReturns; using FluentAssertions; using Prsd.Core; ...
src/06.tool/06-Alabo.Tool.QrCode/QrCoder/QRCoderService.cs
tongxin3267/alabo
0
7059605
<filename>src/06.tool/06-Alabo.Tool.QrCode/QrCoder/QRCoderService.cs using Alabo.Extensions; using QRCoder; namespace Alabo.Tool.QrCode.QrCoder { /// <summary> /// QRCoder二维码服务 /// </summary> public class QrCoderService : IQrCodeService { /// <summary> /// 容错级别 /// ...
LocalStorage/Paging/Views/FreePagesView.cs
Kittyfisto/LocalStorage
0
7059606
using System; using System.IO; namespace LocalStorage.Paging.Views { /// <summary> /// A page which is responsible for maintaining the indices of all free (e.g. unused) pages. /// Indices with a value less than 1 are unused slots. /// </summary> internal sealed class FreePagesView : AbstractLinkedListPageView ...
src/dotnet-stdocs/Transformation/ScriptTransformHandler.cs
lhaussknecht/Storyteller
275
7059607
using StorytellerDocGen.Html; using StorytellerDocGen.Topics; using StoryTeller.Util; namespace StorytellerDocGen.Transformation { public class ScriptTransformHandler : ITransformHandler { private readonly IUrlResolver _urls; public ScriptTransformHandler(IUrlResolver urls) { ...
src/Comet.Game/Database/Models/DbTrap.cs
inburst21/ConquerServer
0
7059608
// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (C) FTW! Masters // Keep the headers and the patterns adopted by the project. If you changed anything in the file just insert // your name below, but don't remove the names of who work...
AEDB.EZAsk/EZAsk/FrmPergunta.cs
Isaias-dt/EZAsk
0
7059609
<filename>AEDB.EZAsk/EZAsk/FrmPergunta.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace EZAsk { public partial class FrmPergunta : Form ...
VulnusCloud/Models/ReportViewModel.cs
carlpaton/VulnusCloud
1
7059610
<filename>VulnusCloud/Models/ReportViewModel.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace VulnusCloud.Models { public class ReportByProjectViewModel { public int Id { get; set; } public int ProjectId { get; set...
resources/.gen/aws/aws/OpsworksApplication.cs
scottenriquez/cdktf-alpha-csharp-testing
0
7059611
<filename>resources/.gen/aws/aws/OpsworksApplication.cs using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiClass(nativeType: typeof(aws.OpsworksApplication), fullyQualifiedName: "aws.OpsworksApplication", parametersJson: "[{\"name\":\"scope\",\"type\":{\"fqn\":\"co...
Assets/Playcraft/Examples/Color Catcher/Scripts/WispDetect.cs
Will9371/PDX-GGJ-2021-Playcraft
18
7059612
using UnityEngine; namespace Playcraft.Examples.ColorCatcher { public class WispDetect : MonoBehaviour { [HideInInspector] public WispType type; [SerializeField] BoolEvent Output = default; public void Input(Collider other) { var wisp = other.GetComponent<WispTag>(...
Views/Administrador/AprovarComentarios.cshtml
lukkanog/PontoDigital_final
0
7059613
<filename>Views/Administrador/AprovarComentarios.cshtml<gh_stars>0 @model PontoDigital_final.ViewModels.ComentarioViewModel @{ ViewData["Title"] = "Comentarios | Ponto Digital"; ViewData["css"] = "aprovar_comentarios-style.css"; } <main class="container"> <div class="content"> @if (Model.ListaDeComentario...
QueryCiv3/BiqSections/Game.cs
pcen/Prototype
10
7059614
using System; using System.Runtime.InteropServices; namespace QueryCiv3.Biq { [StructLayout(LayoutKind.Sequential, Pack=1)] public unsafe struct TIMESCALE { private fixed int Values[7]; public int this[int index] { get => Values[index]; } } [StructLayout(LayoutKind.Sequential, Pack...
Sourcery/Migrations/Migration.cs
mcintyre321/Sourcery
1
7059615
<reponame>mcintyre321/Sourcery using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Sourcery.EventStores; namespace Sourcery.Migrations { public abstract class Migration { public void Transform(SourceryEvent @event, bool isInit) { var newJsonContent = TransformRawJson(@event.Co...
sdk/src/Services/SecurityHub/Generated/Model/AwsEc2NetworkAclDetails.cs
nechemiaseif/aws-sdk-net
1
7059616
<reponame>nechemiaseif/aws-sdk-net /* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apac...
build.cake
dj-doMains/paginable-collections
3
7059617
<gh_stars>1-10 var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var buildDirectory = Directory("./artifacts"); Task("Clean") .Does(() => { CleanDirectory(buildDirectory); }); Task("Restore") .IsDependentOn("Clean") .Does(() => { ...
src/Azure.Functions.Cli/Helpers/ScriptHostHelpers.cs
shaktidhara/azure-functions-core-tools
0
7059618
<filename>src/Azure.Functions.Cli/Helpers/ScriptHostHelpers.cs using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using Azure.Functions.Cli.Common; using Azure.Functions.Cli.Diagnostics; using Microsoft.Azure.WebJobs.Logging; using Microsoft.Azure....
Assets/Script/StickPuzzle/Trap/TrapUlti.cs
attmaxess/aa
0
7059619
<gh_stars>0 using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; public class TrapUlti : MonoBehaviour { public Material matDefault; public Material matHighlight; [ContextMenu("SetupAllTrap")] public void SetupAllTrap() { ...
Fundamentals/Gestures/DragAndDropGesture/DragAndDropGesture/Views/TextDragDemoPage.xaml.cs
davidbritch/dotnet-maui-samples
8
7059620
<gh_stars>1-10 namespace DragAndDropGesture { public partial class TextDragDemoPage : ContentPage { public TextDragDemoPage() { InitializeComponent(); } async void OnDropGestureRecognizerDrop(object sender, DropEventArgs e) { await Di...
UltimaOnline.Data/Items/Addons/WaterTroughEastAddon.cs
netcode-gamer/game.ultimaonline.io
0
7059621
using System; using UltimaOnline; namespace UltimaOnline.Items { public class WaterTroughEastAddon : BaseAddon, IWaterSource { public override BaseAddonDeed Deed { get { return new WaterTroughEastDeed(); } } [Constructable] public WaterTroughEastAddon() { ...
UNicoAPI2/APIs/download_comment/Response/leaf.cs
cocop/UNicoAPI2
0
7059622
using System.Xml.Serialization; namespace UNicoAPI2.APIs.download_comment.Response { /******************************************/ /// <summary> /// コメントリーフ情報 /// </summary> /******************************************/ public class leaf { /// <summary> /// コメントリーフID /...
Assets/Example/DrawExample.cs
Tyrant117/Rouge-Engine
3
7059623
<reponame>Tyrant117/Rouge-Engine using Rougelikeberry.Render; using System.Collections; using System.Collections.Generic; using UnityEngine; public class DrawExample : MonoBehaviour { public Console console; private IEnumerator Start() { // wait until display has initialized w...
DIGNDB.APP.SmitteStop.Jobs/Exceptions/SsiZipFolderProcessingException.cs
Sundhedsdatastyrelsen/Smittestop.Backend
1
7059624
using System; namespace DIGNDB.APP.SmitteStop.Jobs.Exceptions { public class SsiZipFolderProcessingException : Exception { public SsiZipFolderProcessingException(string message) : base(message) { } } }
Source/Infrastructure/TenantManagement/Services/SubscriptionPlanManager.cs
DavidEggenberger/CrispyCollab
0
7059625
<filename>Source/Infrastructure/TenantManagement/Services/SubscriptionPlanManager.cs using Infrastructure.Identity.Entities; using Infrastructure.Identity.Types; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Stripe; using System; using System.Collections.Generic; using System.Lin...
DealingAdmin.Abstractions/ITraderSearchService.cs
MyJetWallet/MarginEngine.DealingAdmin
0
7059626
<filename>DealingAdmin.Abstractions/ITraderSearchService.cs using DealingAdmin.Abstractions.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace DealingAdmin.Abstractions { public interface ITraderSearchService { Task<List<TraderBrandSearchModel>> GetTraderDataByAnyId(stri...
Wolfpack.Core/Artifacts/ArtifactManagerBootstrapper.cs
jdruin/Wolfpack-Redux
0
7059627
<reponame>jdruin/Wolfpack-Redux using Wolfpack.Core.Interfaces; using Wolfpack.Core.Interfaces.Entities; namespace Wolfpack.Core.Artifacts { public class ArtifactManagerBootstrapper : IStartupPlugin { public Status Status { get; set; } public void Initialise() { Container....
Controllers/ComentarioController.cs
lukkanog/PontoDigital_final
0
7059628
<filename>Controllers/ComentarioController.cs using System.Collections.Generic; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using PontoDigital_final.Models; using PontoDigital_final.Repositories; using PontoDigital_final.ViewModels; namespace PontoDigital_final.Controllers { public class Comen...
Assets/ECS/CollisionResponseSystem.cs
Yttrmin/SimplePhysicsDemo
0
7059629
using Unity.Collections; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using static Unity.Mathematics.math; using static MathExtensions; [UpdateAfter(typeof(IntegrateSystem))] public class CollisionResponseSystem : JobComponentSystem { [ComputeJobOptimization] private struct Data : IJobProcessCom...
trunk/model/formats-management/DirectoryFormatsRepository.cs
logjointfork/logjoint
0
7059630
<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Xml.Linq; namespace LogJoint { public class DirectoryFormatsRepository : IFormatDefinitionsRepository { public DirectoryFormatsRepository(string dire...
picovm.Tests/CompilerDataAllocationDirectiveTest.cs
seanmcelroy/picovm
0
7059631
using Xunit; using picovm.Assembler; using System; namespace picovm.Tests { public class CompilerDataAllocationDirectiveTest { [Fact] public void Parse_Data_DB() { var dad = CompilerDataAllocationDirective.ParseLine("msg db 'Hello, world!', 0xa"); Assert.Equal("m...
test/coverlet.core.tests/CoverageResultTests.cs
corinblaikie/coverlet
0
7059632
using Xunit; using Moq; using Coverlet.Core; using Coverlet.Core.Reporters; namespace Coverlet.Core.Tests { public class CoverageResultTests { [Fact] public void TestFormat() { var mock = new Mock<IReporter>(); CoverageResult coverageResult = new CoverageResult...
Assets/Scripts/DialogueModule/DialogueHandler.cs
FellowshipOfTheGame/FinalInferno
0
7059633
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; using UnityEngine.UI; using TMPro; namespace Fog.Dialogue { using Fog.Editor; /// <summary> /// This is the main, manager class for a dialogue box system /// The pipeline is: /// -> StartDialogue() wi...
Assets/Scripts/MapManager.cs
Theunisv/StrategyGameDemo
0
7059634
<filename>Assets/Scripts/MapManager.cs<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using Debug = UnityEngine.Debug; using Object = System.Object; using Random = UnityEngine.Random; public class MapManager : MonoBehaviour { private Mage[] ...
PizzaBox.Storing/Entities/Store.cs
210329-UTA-SH-UiPath/p0-nick-nevius
0
7059635
using System.ComponentModel.DataAnnotations; namespace PizzaBox.Storing.Entities { public enum STORE_TYPE { NewYork, Chicago, Unknown } public class Store { [Key] public int ID { get; set; } [Required] public string Name { get; set; } ...
DotNet/DotNet/UE4/Generated/Engine/SceneCaptureCube.cs
UE4DotNet/Plugin
2
7059636
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; #pragma warning disable CS01...
desk/Menus/Menus/Model/EntityFrameworkFunc.cs
Mogueno/Atena-Desk-and-Mobile
0
7059637
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Menus.Model { class EntityFrameworkFunc { bancoMainEntities1 ht2 = new bancoMainEntities1(); public List<dynamic> getSharedNotes(int userId) ...
src/FutureState.Specifications/EmailAddressAttribute.cs
riskvista/futurestate-forked
1
7059638
#region using System; using System.ComponentModel.DataAnnotations; #endregion namespace FutureState.Specifications { /// <summary> /// Requires a string value to translate to an e-mail address. /// </summary> [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] public sealed ...
Src/CSharpier/SyntaxPrinter/SyntaxNodePrinters/StackAllocArrayCreationExpression.cs
superstrom/csharpier
0
7059639
<gh_stars>0 using CSharpier.DocTypes; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace CSharpier.SyntaxPrinter.SyntaxNodePrinters { public static class StackAllocArrayCreationExpression { public static Doc Print(StackAllocArrayCreationExpressionSyntax node) { return Doc.Concat(...
Craftsman/Builders/Bff/Features/Dynamic/Api/DynamicFeatureAddEntityBuilder.cs
lukerogers/craftsman
0
7059640
<reponame>lukerogers/craftsman<filename>Craftsman/Builders/Bff/Features/Dynamic/Api/DynamicFeatureAddEntityBuilder.cs namespace Craftsman.Builders.Bff.Features.Dynamic.Api; using System.IO.Abstractions; using Enums; using Helpers; using Models; public class DynamicFeatureAddEntityBuilder { public static void Create...
Web/Models/BlogViewModel.cs
CMITInternational/Guitars
0
7059641
<filename>Web/Models/BlogViewModel.cs using System.Collections.Generic; namespace Web.Models { public class BlogViewModel { public string Title { get; set; } public string SubTitle { get; set; } public string Description { get; set; } public List<string> Lines { get; set; } ...
Assets/Scripts/Importing/Vehicles/Handling.cs
jaan242/SanAndreasUnity
1,169
7059642
<reponame>jaan242/SanAndreasUnity using SanAndreasUnity.Utilities; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; namespace SanAndreasUnity.Importing.Vehicles { public enum DriveType { Forward, Rear, ...
Semester3/Homework5/5.1/5.1.Tests/FtpTests1.cs
yuniyakim/Homework
1
7059643
<gh_stars>1-10 using NUnit.Framework; using System; using System.Text; using System.Threading; using System.Threading.Tasks; namespace FTP { public class FtpTests { private const int port = 8888; private Client client; private Server server; [SetUp] public void Setup() ...
src/Ebergstedt.SimpleMemoryCache/Ebergstedt.SimpleMemoryCache.Test/SimpleMemoryCache_Test.cs
ebergstedt/SimpleMemoryCache
1
7059644
<filename>src/Ebergstedt.SimpleMemoryCache/Ebergstedt.SimpleMemoryCache.Test/SimpleMemoryCache_Test.cs using System; using Ebergstedt.SimpleMemoryCache.Interfaces; using NUnit.Framework; namespace Ebergstedt.SimpleMemoryCache.Test { [TestFixture] public class SimpleMemoryCache_Test { ISimpleMemor...
TempusApi/Models/MapInfoModel.cs
Hona/TempusApi
1
7059645
using Newtonsoft.Json; namespace TempusApi.Models { public class MapInfoModel { [JsonProperty(PropertyName = "date_added")] public double DateAdded { get; set; } [JsonProperty(PropertyName = "id")] public int Id { get; set; } [JsonProperty(PropertyName = "name")] public string Name {...
Assets/Scripts/Player/Player.cs
DBeumans/TheAwesomeClickerApp2k16
0
7059646
<reponame>DBeumans/TheAwesomeClickerApp2k16<gh_stars>0 using UnityEngine; using System.Collections; public class Player : Load { Save _save; Player_UI_Score _player_ui_score; public int PlayerScore_Clicks, PlayerScore_Diamonds, PlayerScore_Rubies, PlayerScore...
Source/Macad.Interaction/Actions/ToggleSubshapesAction.cs
zhyifei/Macad3D
107
7059647
using System.Collections.Generic; using System.Linq; using Macad.Core; using Macad.Occt; namespace Macad.Interaction { public class ToggleSubshapesAction : ToolAction { public class Subshape { public TopoDS_Shape Shape; public AIS_Shape AisShape; ...
Assets/Scripts/UIScript/ObjectiveTextUI.cs
wmjpillow/GardenGame
3
7059648
<reponame>wmjpillow/GardenGame using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ObjectiveTextUI : MonoBehaviour { // Text component public Text objectiveText; // Start is called before the first frame update ...
src/Application/CategoryMediatr/DTO/DeleteCategoryDTO.cs
ysfbzkrba/prooram
1
7059649
using System; namespace prooram.Application.CategoryMediatr.DTO { public class DeleteCategoryDTO { public Guid Id { get; set; } public string CategoryName { get; set; } } }
src/SoundCore/BackgroundMusic.cs
tylermenezes/Hunt-the-Wumpus-2010
1
7059650
using System; using System.Collections.Generic; using System.Linq; using System.Text; using HuntTheWumpus.Utilities; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Media; na...
StudentsCalendar.Core/Generation/GenerationEngine.cs
jakubfijalkowski/studentscalendar
1
7059651
using System.Linq; using NodaTime; using StudentsCalendar.Core.Intermediates; using StudentsCalendar.Core.Templates; namespace StudentsCalendar.Core.Generation { /// <summary> /// Domyślna implementacja silnika kalendarza. /// </summary> public class GenerationEngine : IGenerationEngine { private readonly IC...
Aurora.Game/AuroraGame.cs
uranometrical/aurora
3
7059652
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Aurora.Game.API; using Aurora.Game.Overlays; using Aurora.Game.Overlays.Settings; using Aurora.Game.Screens; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framewor...
Libraries/Sdk/Xms.Sdk.Abstractions/Query/QueryExpression.cs
ganqiyin/xms
518
7059653
using System.Collections.Generic; using Xms.Localization.Abstractions; namespace Xms.Sdk.Abstractions.Query { public class QueryExpression : QueryBase { private List<LinkEntity> _linkEntities; private List<OrderExpression> _orders; public int Top { get; set; } public bool Dis...
src/CodeAnalyzer.Test/UnitTestMethodNamingTests.cs
barto90/CodeAnalyzer
1
7059654
using CodeAnalyzer.Analyzers; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using TestHelper; namespace CodeAnalyzer.Test { [TestClass] public class UnitTestMethodNamingTests : CodeFix...
C#/School/IT4/WindowsFormsApplication11/MainForm.cs
bramborman/Area42
0
7059655
using System; using System.Drawing; using System.Windows.Forms; namespace WindowsFormsApplication11 { public partial class MainForm : Form { System.Threading.Timer timer; public MainForm() { InitializeComponent(); ColorChanged(null, null); timer = n...
src/Coldairarrow.Web/Views/Demo/ZTreeSelect.cshtml
horsewww/Colder.Fx.Core.AdminLTE
482
7059656
@{ Layout = "~/Views/Shared/_Layout_Form.cshtml"; } <div style="padding:15px;padding-right:45px;"> <form id="form" class="form-horizontal" role="form"> <div class="form-group form-group-sm"> <label class="col-sm-2 control-label">测试</label> <div class="col-sm-2 input-icon-group"...
MDXBuilderTest/unit/mdxbuilder/axisitems/NonEmptyTest.cs
abenjamins/NMDXBuilderLibrary
2
7059658
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using MDXBuilderLibrary.mdx.axisitems; using MDXBuilderLibrary.mdx.Errors; namespace MDXBuilderTest.unit.mdxbuilder.axisitems { [TestFixture] [Category("MDXBuilderLibrary")] [Category("M...
Pattern/TransferObject/StudentBO.cs
PUPA42/Pattern
2
7059659
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pattern.TransferObject { class StudentBO { private List<StudentVO> m_students = new List<StudentVO>(); public void AddStudent(string name) { var in...
tests/NRustLightning.Server.Tests/UnitTest1.cs
joemphilips/NRustLightning
8
7059661
<reponame>joemphilips/NRustLightning<gh_stars>1-10 using System; using System.Buffers; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using DotNetLightning.Payment; using DotNetLightning.Serializ...
tests/benchmarks/XmlBenchmarks/XmlMicroBenchmarks.cs
mawosoft/MissingCoverage
0
7059662
// Copyright (c) 2021-2022 <NAME>, Mawosoft. using System.Collections.Generic; using System.IO; using System.Xml; using BenchmarkDotNet.Attributes; namespace XmlBenchmarks { public class XmlMicroBenchmarks1 { public IEnumerable<FileBytesWrapper> FileBytes_Arguments() => TestFiles.GetWrappedFileBytes(...
Exercise6/Lab/Dictionaries, Lambda and LINQ/2. Odd Occurrences/OddOccurrences.cs
NadejdaTs/Programming-Fundamentals
0
7059663
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2.Odd_Occurrences { class OddOccurrences { static void Main() { string[] words = Console.ReadLine() .ToLower() .Split(' ');...
src/MessageBoard.Application/Messages/Commands/CreateMessageCommandHandler.cs
Compusa/MessageBoard
0
7059664
<reponame>Compusa/MessageBoard<filename>src/MessageBoard.Application/Messages/Commands/CreateMessageCommandHandler.cs using System.Threading; using System.Threading.Tasks; using MediatR; using MessageBoard.Application.SeedWork.Results; using MessageBoard.Application.SeedWork.Results.StatusCodes; using MessageBoard.Dom...
GuildWars2.API/Model/Achievements/ProgressBit.cs
Roytazz/GW2-Projects
0
7059665
using Newtonsoft.Json; namespace GuildWars2.API.Model.Achievements { public class ProgressBit { [JsonProperty("type")] public ProgressBitType Type { get; set; } [JsonProperty("id")] public int ID { get; set; } [JsonProperty("text")] public int ...
RCCM/Plugins/RepeatabilityTest/RepeatabilityTest/RepeatabilityTestPlugin.cs
jmal0/RCCM
0
7059667
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RCCM; namespace RepeatabilityTest { public class RepeatabilityTestPlugin : IRCCMPlugin { public string Name { get { return "Repeatability Test"; } } ...
sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/StorageProperties.Serialization.cs
v-kaifazhang/azure-sdk-for-net
0
7059668
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.AppPlatform.Models { public partial class StorageProperties : IUtf8JsonSerializable { void ...
Source/NEATAgents/HyperSharpNEAT 2.1/SharpNeatLib/Evolution/NeatParameters.cs
sinairv/GridSoccerSimulator
12
7059669
using System; using System.Collections; namespace SharpNeatLib.Evolution { public class NeatParameters { #region Constants public const int DEFAULT_POPULATION_SIZE = 150; public const float DEFAULT_P_INITIAL_POPULATION_INTERCONNECTIONS = 1.00F;//DAVID 0.05F; public const double DEFAULT_P_OFFSPRING_AS...
Thinktecture.Relay.Server/DependencyInjection/RelayServerModule.cs
jasminsehic/relayserver
1
7059670
using System; using Autofac; using Microsoft.Owin.Security.OAuth; using RabbitMQ.Client; using Thinktecture.Relay.Server.Communication; using Thinktecture.Relay.Server.Communication.RabbitMq; using Thinktecture.Relay.Server.Config; using Thinktecture.Relay.Server.Controller; using Thinktecture.Relay.Server.Diagnostics;...
Scripts/WheelEffects.cs
MuhammadUsman16/CarPhysicsBasic
0
7059671
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WheelEffects : MonoBehaviour { Vector3 WheelPos; Quaternion WheelRot; public WheelCollider Wheel; // Update is called once per frame void Update () { Wheel.GetWorldPose (out WheelPos,out WheelRot); transform.position...
PowerUtilities/Profilers/Editor/ChangeTexture.cs
redcool/PowerUtilities
0
7059672
<reponame>redcool/PowerUtilities namespace PowerUtilities { #if UNITY_EDITOR using UnityEditor; using UnityEngine; using System.Collections; using System.IO; public class ChangeTexture { const string RGB_PNG = "_rgb.png"; const string EXTRA_PNG = "_extra.png"; const str...