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
Projects/ContantesEstruturas/estatica.cs
jonatasvnascimento/curse-csharp
0
7053832
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ContantesEstruturas { class estatica { public const string nome = "Tese"; } }
interaction/BulletManager.cs
BryantSuen/THUAI4
7
7053833
using System.Collections; using System.Collections.Generic; using UnityEngine; using Communication.Proto; using Google.Protobuf; using System.IO; using Communication.CSharpClient; using System.Net; public class BulletManager : MonoBehaviour { public GameObject[] bullet = null; // Start is called before the fi...
IronFoundry.Warden/Handlers/LimitDiskRequestHandler.cs
IronFoundry/if_warden
3
7053834
<filename>IronFoundry.Warden/Handlers/LimitDiskRequestHandler.cs<gh_stars>1-10 using System.Threading.Tasks; using IronFoundry.Warden.Protocol; using NLog; namespace IronFoundry.Warden.Handlers { public class LimitDiskRequestHandler : RequestHandler { private readonly Logger log = LogManager.GetCurren...
PSP_EMU/HLE/modules/sceSha256.cs
xXxTheDarkprogramerxXx/PSPSHARP
4
7053835
<filename>PSP_EMU/HLE/modules/sceSha256.cs<gh_stars>1-10 /* This file is part of pspsharp. pspsharp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ...
src/ToDo.Infrastructure.EntityFramework/ToDoDbContext.cs
aarbla01/todo-net-core
0
7053836
<reponame>aarbla01/todo-net-core<filename>src/ToDo.Infrastructure.EntityFramework/ToDoDbContext.cs using Microsoft.EntityFrameworkCore; using System.Reflection; namespace ToDo.Infrastructure.EntityFramework { public class ToDoDbContext : DbContext { public ToDoDbContext(DbContextOptions<ToDoDbContext>...
Proficy.Historian.WebSocket/WebSocketService.cs
henrikbulldog/Proficy.Historian.Gateway
1
7053837
using Fleck; using Proficy.Historian.Gateway.Service; using Serilog; using System; using System.Collections.Generic; using System.Linq; namespace Proficy.Historian.WebSocket { public class WebSocketService : IService { private readonly WebSocketServer server; private List<WebSocketPublisher> a...
src/Fame/Parser/ParserError.cs
girba/roslyn2famix
1
7053838
<gh_stars>1-10 namespace Fame.Parser { using System; public class ParseError : Exception { public readonly Position Pos; public TokenType Expected; public Token Found; public ParseError(string message, Position pos) : base(message + " at " + pos) { Pos = pos; } public ParseError(TokenType expect...
src/Menees.VsTools/Regions/OutliningTagger.cs
menees/VsTools
10
7053839
namespace Menees.VsTools.Regions { #region Using Directives using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Windows.Threading; using Menees.VsTools.Tasks; using Microsoft.VisualStudio.Shell; us...
ExecutionOrder/Assets/Scripts/TestScript1Root.cs
BoardTadpoleFish/Unity3dExample-ExecutionOrder
0
7053840
using System.Collections; using UnityEngine; namespace BoardTadpoleFish { // Ref. https://gist.github.com/BoardTadpoleFish/007edaa817ea08400e5af43e25749ab8#file-testscript1root-cs // Result: Unity3dExample-ExecutionOrder-Result1: https://pastebin.com/VCYjKT4Z public class TestScript1Root : MonoBehaviour ...
src/WomConnector/Models/VoucherRedeemPayload.cs
WOM-Platform/.NET-Connector
0
7053841
<reponame>WOM-Platform/.NET-Connector<filename>src/WomConnector/Models/VoucherRedeemPayload.cs using System; using System.ComponentModel; using Newtonsoft.Json; namespace WomPlatform.Connector.Models { /// <summary> /// Request payload for voucher redemption. /// </summary> [JsonObject(MemberSerializa...
Form1.Designer.cs
juanfuentes95/ScoreboardSSBU
0
7053843
<reponame>juanfuentes95/ScoreboardSSBU namespace ScoreboardSSBU { partial class Form1 { /// <summary> /// Variable del diseñador necesaria. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpiar los recursos que se e...
Ton.Sdk/Utils/ParamsOfCalcStorageFee.cs
staszx/Ton.Sdk
0
7053844
<reponame>staszx/Ton.Sdk namespace Ton.Sdk.Utils { using Newtonsoft.Json; public class ParamsOfCalcStorageFee { #region Properties [JsonProperty("account")] public string Account { get; set; } [JsonProperty("period")] public uint Period { get; set; } #endr...
Code/Chapter_6/JewelThief/JewelThief/SafeOwner.cs
elGuille-info/fourth-edition
472
7053845
using System; using System.Collections.Generic; using System.Text; namespace JewelThief { class SafeOwner { private string valuables = ""; public void ReceiveContents(string safeContents) { valuables = safeContents; Console.WriteLine($"Thank you for ...
src/after/DroneDelivery-after/Views/Home/Index.cshtml
hitendrajagtap/monolith-to-macroservices-using-kubernetes
11
7053846
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Drone Delivery - after (Microservice)</title> </head> <body> <h1>Drone Delivery - after (Microservice)</h1> <form action="~/Home/SendRequests" method="post"> <button type="submit">Send Requests</button> ...
src/M5x.Schemas/Commands/DistinctCommand.cs
rgfaber/m5x-sdk
2
7053847
<filename>src/M5x.Schemas/Commands/DistinctCommand.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace M5x.Schemas.Commands { public abstract class DistinctCommand<TIdentity> : ICommand<TIdentity> where TIdentity : IIdentity { private readonl...
SD.Web/SD.Web/Areas/Administration/Models/UserViewModels/UserIndexViewModel.cs
ghzlatarev/SD-System
2
7053848
using System.Linq; using SD.Data.Models.Identity; using SD.Web.Models; using X.PagedList; namespace SD.Web.Areas.Administration.Models.UserViewModels { public class UserIndexViewModel { public UserIndexViewModel(IPagedList<ApplicationUser> users, string searchTerm = "") { this.Tabl...
src/JSInterop/Microsoft.JSInterop/src/Infrastructure/DotNetStreamReferenceJsonConverter.cs
lbosquett/aspnetcore
8,570
7053849
<reponame>lbosquett/aspnetcore // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Text.Json; using System.Text.Json.Serialization; namespace Microsoft.JSInterop.Infrastructure; internal sealed class DotNetStreamReferen...
source/R5T.B0001.X0001/Code/Bases/Extensions/ITypeNameExtensions-Interfaces.cs
SafetyCone/R5T.B0001.X0001
0
7053850
using System; using R5T.B0001; using R5T.B0001.X0001; namespace System { public static partial class ITypeNameExtensions { public static string IServiceAction(this ITypeName _) { return TypeNames.IServiceAction; } public static string IServiceDefinition(this ITyp...
src/OctopusNotify/Model/DeploymentSummaryEventArgs.cs
AndrewMcLachlan/OctopusNotify
2
7053851
<gh_stars>1-10 using System; using System.Collections.Generic; namespace OctopusNotify.Model { public class DeploymentSummaryEventArgs : EventArgs { public IReadOnlyDictionary<DeploymentStatus, int> Summary { get; private set; } public DeploymentSummaryEventArgs(Dictionary<Deployment...
SampleApp.RazorPages/Pages/GridEditor_ICodeSample.cs
adamfoneil/Dapper.CX
4
7053852
using SampleApp.RazorPages.Interfaces; using System.Collections.Generic; namespace SampleApp.RazorPages.Pages { public partial class GridEditorModel : ICodeSample { public IEnumerable<CodeSample> Samples => new CodeSample[] { new CodeSample() { Title = "...
src/Xomorod.com/Controllers/AdminController.cs
bezzad/Xomorod.com
2
7053853
<reponame>bezzad/Xomorod.com using System; using System.Drawing; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; using AdoManager; using Dapper; using DotNet.Highstock.Enums; using DotNet.Highstock.Helpers; using DotNet.Highstock.Options; using Xomorod.Com.Models; using Xomorod.Helper.GooglePage...
CodingInterviewSolutions/CodingInterviewSolutions/Named/SwapNodePairsInLinkedLists.cs
jogonzal-msft/coding-interview-solutions
0
7053855
<gh_stars>0 namespace CodingInterviewSolutions.Named { /// <summary> /// Given a pointer to the root, swap the nodes in a linked list. Swap nodes 1 and 2, 3 and 4, ... etc /// /// Pitfalls: Not updating root, not making sense of the swaps that need to happen /// /// Possible approaches: Recursive, iterative sp...
src/draco/api/ExtensionService.Api/Controllers/ExtensionServiceController.cs
timmyreilly/draco
0
7053856
<filename>src/draco/api/ExtensionService.Api/Controllers/ExtensionServiceController.cs<gh_stars>0 // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Draco.Api.InternalModels; using Draco.Api.InternalModels.Extensions; using Draco.Core.Services.Interfaces; using Microsoft.AspNetCore.Mvc; ...
src/prod/src/managed/powershell/StopChaos.cs
gridgentoo/ServiceFabricAzure
2,542
7053857
<filename>src/prod/src/managed/powershell/StopChaos.cs // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // -------------------------------------...
CatFactory.Dapper/Definitions/Extensions/EntityClassBuilder.cs
JTOne123/CatFactory.Dapper
21
7053858
using System.Linq; using CatFactory.CodeFactory; using CatFactory.NetCore; using CatFactory.NetCore.ObjectOrientedProgramming; using CatFactory.ObjectOrientedProgramming; using CatFactory.ObjectRelationalMapping; using CatFactory.ObjectRelationalMapping.Programmability; namespace CatFactory.Dapper.Definitions.Extensi...
Data/Migrations/20200227135438_Second.cs
solvemate2018/Flight-Manager
0
7053859
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Data.Migrations { public partial class Second : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Flights", columns...
Define/MovieID.cs
SinsofSloth/RF5-global-metadata
1
7053860
public enum MovieID // TypeDefIndex: 10781 { // Fields public int value__; // 0x0 public const MovieID Opening = 0; public const MovieID Opening2 = 1; public const MovieID MeetPriscilla = 2; public const MovieID MeetLucy = 3; public const MovieID MeetScarlett = 4; public const MovieID MeetFuqua = 5; public con...
src/AWS.Deploy.Constants/CLI.cs
96malhar/aws-dotnet-deploy
0
7053861
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace AWS.Deploy.Constants { internal static class CLI { // Represents the default STS AWS region that is used for the purposes of // retrieving the caller identity and determining if a user is in an opt-in regio...
Views/Customer/Index.cshtml
petersongomes/jetneo-theme-evaluation
0
7053862
@model DomainCustomer.Entities.Customer @{ ViewBag.Title = "Área do Cliente"; Layout = "~/Views/Shared/Base/_LayoutBreadCrumbContent.cshtml"; } @section gtm { <script> dataLayer = [ { 'pageType': 'other' } ]; </script> } @section breadcrumbs { ...
EmployeeApi/Services/EmployeeDbContext.cs
victor-cleber/e-school
0
7053863
<filename>EmployeeApi/Services/EmployeeDbContext.cs using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using EmployeeApi.Models; namespace EmployeeApi.Services { public class EmployeeDbContext : DbContext { public EmployeeDbContext(DbContextOptions<EmployeeDbContex...
src/OrderItemDto.cs
henkiiii/Epinova.ArvatoPaymentGateway
0
7053864
<gh_stars>0 using Epinova.ArvatoPaymentGateway.Base; namespace Epinova.ArvatoPaymentGateway { internal class OrderItemDto : BaseOrderItemDto { public string ImageUrl { get; set; } } }
src/FasTnT.Subscriptions/ServiceCollectionExtensions.cs
louisaxel-ambroise/FasTnT
14
7053865
<reponame>louisaxel-ambroise/FasTnT using Microsoft.Extensions.DependencyInjection; using MediatR; namespace FasTnT.Subscriptions { public static class ServiceCollectionExtensions { public static IServiceCollection AddBackgroundSubscriptionService(this IServiceCollection services) { ...
TSHotelManagerSystem/Models/AdminInfo.cs
jackson0720/TopskyHotelManagerSystem
3
7053866
<reponame>jackson0720/TopskyHotelManagerSystem using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TSHotelManagerSystem.Models { public class AdminInfo { /// <summary> /// 存储当前超管姓名 /// </summary> public st...
Assets/Scripts/GUI/SliderShowShape.cs
alelievr/Touhou-jam
1
7053867
<filename>Assets/Scripts/GUI/SliderShowShape.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SliderShowShape : MonoBehaviour { public Text sliderValue; public Slider slider; void Update() { if (slider.value == 0) sliderValue.text = ...
Source/RoaringFangs/Animation/Editor/MutexHelperEditor.cs
Tarocco/roaring-fangs-unity
3
7053868
/* The MIT License (MIT) Copyright (c) 2016 <NAME> Entertainment Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
ZumenSearch/Common/DatePickerCalendar.cs
torum/ZumenSearch
1
7053869
using System; using System.Globalization; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Input; using System.Windows.Media; using System.Windows.Threading; using Calendar = System.Windows.Controls.Calendar; using CalendarMo...
src/TWCore.Object/Compiler/IRuntimeCode.cs
tonyredondo/TWCore2
29
7053870
/* Copyright 2015-2018 <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 or agreed to in writing, software di...
HegAdapter/Classes/SendKeys/Log.cs
pro7tech/HEG_adapter
0
7053871
using System; using System.Collections.Generic; using System.Text; namespace BxAdapter { class Log { private DateTime Started; private string EventDesc; public Log(string eventDesc) { EventDesc = eventDesc; } public void Start() { Started = DateTime...
Assets/Player.cs
veremenko-y/ggj19
1
7053872
using UnityEngine; using UnityEngine.AI; [RequireComponent(typeof(NavMeshAgent))] [RequireComponent(typeof(SpriteRenderer))] public class Player : MonoBehaviour { [SerializeField] Transform _home = null; [SerializeField] float _goHomeStartSeconds = 1f; [SerializeField] float _goHomeRepeatSecon...
ShadowFlash/Assets/Runtime/Util/Action/Core/ICondition.cs
SylarLi/ShadowFlash
8
7053873
<reponame>SylarLi/ShadowFlash namespace Action { public interface ICondition { ConditionType type { get; } float progress { get; set; } bool Meet(float value); ICondition Clone(); } }
streamdeck-client-csharp/Messages/LogMessage.cs
JTOne123/streamdeck-client-csharp
56
7053874
using Newtonsoft.Json; namespace streamdeck_client_csharp.Messages { internal class LogMessage : IMessage { [JsonProperty("event")] public string Event { get { return "logMessage"; } } [JsonProperty("payload")] public IPayload Payload { get; private set; } public LogM...
src/Letter.IO/Pipeline/IWrappedWriter.cs
gedo4547/letter
2
7053875
using System.Runtime.CompilerServices; namespace System.IO.Pipelines { public interface IWrappedWriter { [MethodImpl(MethodImplOptions.AggressiveInlining)] Memory<byte> GetWritableMemory(int length); [MethodImpl(MethodImplOptions.AggressiveInlining)] Span<byte> GetWritableSpan(...
TIS100/Operations/Swp.cs
embix/TIS100
11
7053876
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TIS100.Chips; namespace TIS100.Operations { public class Swp : IOperation { public Swp() { } public IOperationResult Execute(AssemblyChip chip) { ...
src/OddMonitor/Common/BetterStopWatch.cs
prayzzz/odd-monitor
0
7053877
using System.Diagnostics; namespace OddMonitor.Common { public class BetterStopWatch : Stopwatch { public new static Stopwatch Start() { var watch = new Stopwatch(); watch.Start(); return watch; } } }
MagicTheGathering/Cards/Creature.cs
kelostrada/CardGames
0
7053878
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MagicTheGathering.Cards { public class Creature : CardType { public int Power { get; private set; } public int Shield { get; private set; } public Cre...
WinDoControls/Controls/Btn/WDBtnImg.cs
lazycrazy/WinDoAdmin
3
7053879
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using WinDo.Utilities.PublicResource; namespace WinDoControls.Controls { public partial class WDBtnImg : WDBtnExt { ...
src/prod/src/managed/Api/src/System/Fabric/ReplicatorBroker.cs
vishnuk007/service-fabric
2,542
7053880
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric { ...
UIResources/Panels/GridEx.cs
huangjia2107/WPFToolkit
2
7053881
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using UIResources.Helps; using Utils.Common; namespace UIResources.Panels { public class GridEx : Grid ...
NetworkClient/frmNetworkClient.Designer.cs
zz110/IntranetPenetration
0
7053883
namespace NetworkClient { partial class frmNetworkClient { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,...
src/Lykke.Service.PayVolatility.AzureRepositories/Candles/CandleEntity.cs
LykkeCity/Lykke.Service.PayVolatility
0
7053884
<filename>src/Lykke.Service.PayVolatility.AzureRepositories/Candles/CandleEntity.cs using Lykke.AzureStorage.Tables; using Lykke.AzureStorage.Tables.Entity.Annotation; using Lykke.AzureStorage.Tables.Entity.ValueTypesMerging; using Lykke.Service.PayVolatility.Core.Domain; using System; using System.Globalization; usin...
src/Unleash/Caching/IToggleCollectionCache.cs
scottt732/unleash-client-core
0
7053885
using System.Threading; using System.Threading.Tasks; using Unleash.Internal; namespace Unleash.Caching { public interface IToggleCollectionCache { Task<ToggleCollectionCacheResult> Load(CancellationToken cancellationToken); Task Save(ToggleCollection toggleCollection, string etag, Cancellation...
Assets/Scripts/Finite State Machine/Entity.cs
PlotArmorStudios/Awesome-Knight
0
7053886
<gh_stars>0 using System; using System.Collections; using UnityEngine; using UnityEngine.AI; public class Entity : MonoBehaviour { [SerializeField] protected float _detectionRadius; [SerializeField] protected float _attackRadius; [SerializeField] protected float _attackDelay; [SerializeField] protecte...
Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@75ed63f10701-1623629446205/Core/Definitions/Devices/MixedRealityInputActionMapping.cs
kroodl21/MRTK-Blank-Starter
28
7053887
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Utilities; using System; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Input { /// <summary> /// Maps the capabilities of controllers, defining the physical inputs of a cont...
src/PaySimpleSdkTests/PaymentTests/ValidationTests/PaymentValidatorTests.cs
john-pham/AI-PaySimpleSDK
6
7053888
<filename>src/PaySimpleSdkTests/PaymentTests/ValidationTests/PaymentValidatorTests.cs #region License // The MIT License (MIT) // // Copyright (c) 2015 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to ...
CefSharp/Internals/MethodInvocationCompleteArgs.cs
bjarteskogoy/CefSharp
23
7053889
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp.Internals { public sealed class MethodInvocationCompleteArgs : EventArgs { public MethodInvocati...
GlobalSuppressions.cs
GuriAce/DeakinOpenDay
0
7053890
 // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Code Noti...
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Documents/TextElement.cs
KodamaSakuno/wpf
5,937
7053891
<gh_stars>1000+ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // Description: Base class for content in text based FrameworkElement. // // Enable presharp pra...
src/PetaPoco.Repository.Abstractions/ICrudRepositoryService.cs
TimBurris/PetaPoco.Repository
1
7053892
namespace PetaPoco.Repository.Abstractions { public interface ICrudRepositoryService { void BeforeUpdate<T, TPrimaryKeyType>(Abstractions.ICrudRepository<T, TPrimaryKeyType> repository, T entity); void AfterUpdate<T, TPrimaryKeyType>(Abstractions.ICrudRepository<T, TPrimaryKeyType> repository, ...
src/Nucleus.Core/Extensions/EnumerableExtensions.cs
alexeystalker/nucleus
0
7053893
using System; using System.Collections.Generic; namespace Nucleus.Core.Extensions { public static class EnumerableExtensions { public static Dictionary<TKey, TValue> ToDictSafe<TSource, TKey, TValue>( this IEnumerable<TSource> enumerable, Func<TSource, TKey> keyFunc, Func<TSource, TValue> valueFunc) { ...
src/GRSWebServices/GRS.WebServices/Configuration/GRSServicesConfiguration.cs
krb42/GRSWebServices
0
7053894
<filename>src/GRSWebServices/GRS.WebServices/Configuration/GRSServicesConfiguration.cs using GRS.Data.Model; using GRS.Service; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace GRS.WebServices.Co...
Source/RuneForge.Core/Interface/Windows/IngameMenuWindow.cs
RuneForge/RuneForge
0
7053895
using System; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using RuneForge.Core.Interface.Controls; using RuneForge.Core.Interface.Interfaces; namespace RuneForge.Core.Interface.Windows { public partial class IngameMenuWindow : Window { private static readonly TimeS...
Assets/Scripts/Synthesis Processing/Parameters/DrawParameterLine.cs
pedro-lucas-bravo/physical_computing_project
0
7053896
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DrawParameterLine : MonoBehaviour { public GameObject curveLinePrefab; public GameObject linePointPrefab; public static DrawParameterLine Instance; void Awake() { Instance = this; connections...
src/Lumina/Excel/Exceptions/ExcelSheetColumnChecksumMismatchException.cs
akuseru/Lumina
1
7053897
using System; namespace Lumina.Excel.Exceptions { public class ExcelSheetColumnChecksumMismatchException : Exception { public readonly string SheetName; public readonly uint ExpectedHash; public readonly uint ActualHash; public ExcelSheetColumnChecksumMismatchException(...
src/Microsoft.VisualStudio.Composition.VSMefx/Commands/PartEdge.cs
dotdevelop/vs-mef
172
7053898
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.VSMefx.Commands { /// <summary> /// A class to represent a simple edge between nodes. /// </summar...
WebApi.HelpPage/Controllers/HelpControllerBase.cs
wanlitao/AspnetWebApiHelpPage
3
7053899
<gh_stars>1-10 using RazorEngine; using RazorEngine.Configuration; using RazorEngine.Templating; using System; using System.Collections.ObjectModel; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Description; using WebApi.HelpPage.ModelDescriptions; using WebApi.HelpPage.Models; ...
src/MAVN.Service.Referral.DomainServices/Subscribers/OfferToPurchaseByLeadSubscriber.cs
mavn-alliance/MAVN.Service.Referral
0
7053900
//using System; //using System.Threading.Tasks; //using Lykke.Common.Log; //using Lykke.Service.MAVNPropertyIntegration.Contract.MAVNEvents; //using MAVN.Service.Referral.Domain.Models; //using MAVN.Service.Referral.Domain.Services; //namespace MAVN.Service.Referral.DomainServices.Subscribers //{ // public class O...
Assets/StarGlow/Scripts/StarGlowPass.cs
seagullinfinity/urp-postprocessing-examples
42
7053901
<reponame>seagullinfinity/urp-postprocessing-examples using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; using UnityEngine.Rendering.Universal; namespace Toguchi.Rendering { public class StarGlowPass : ScriptableRenderPass { private static reado...
Source/Libraries/SM.Media.Platform.Desktop/Web/HttpConnection/SocketWrapper.cs
henricj/phonesm
5
7053902
<gh_stars>1-10 // ----------------------------------------------------------------------- // <copyright file="SocketWrapper.cs" company="<NAME>"> // Copyright (c) 2012-2014. // <author><NAME></author> // </copyright> // ----------------------------------------------------------------------- // Copyright (c) 2012-2...
src/Kontext.Docu.Web.Portals/Views/Shared/_HomePageJumbotron.cshtml
kontext-tech/docu
1
7053903
<div class="carousel slide carousel-fade" id="carouselHomepage" data-ride="carousel" data-interval="6000"> <ol class="carousel-indicators"> <li class="active" data-target="#carouselHomepage" data-slide-to="0"></li> <li data-target="#carouselHomepage" data-slide-to="1"></li> </ol> <div class...
01.Exercises/09.C# Strings and Text Processing/05.MagicExchangebleWords.cs
AlexanderVlaskovski/ProgrammingFundamentals-SoftUni
0
7053904
<filename>01.Exercises/09.C# Strings and Text Processing/05.MagicExchangebleWords.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _05 { class Program { static void Main() { string[] input = Console.Read...
src/Shackle.Services/Blockchain/BlockchainService.cs
kasiaturbiarz/Shackle
0
7053905
using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Shackle.Core.Factories; using Shackle.Core.Models; using Shackle.Core.Repositories; using Shackle.Core.Services; using Shackle.Services.Dto; namespace Shackle.Services.Blockchain { pub...
TibiaMapTester/TibiaMapTester/TibiaMapFile.cs
Sixish/Odyssey-Generator
0
7053906
<filename>TibiaMapTester/TibiaMapTester/TibiaMapFile.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace TibiaMapTester { class TibiaMapFile { public const int SIZEX = 256; publ...
ref-apps/rocket/csharp/src/VAP/LineDetector/SingleLineCrossingDetector.cs
bennage/test
69
7053907
<filename>ref-apps/rocket/csharp/src/VAP/LineDetector/SingleLineCrossingDetector.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System.Collections.Generic; using System.Drawing; using BGSObjectDetector; namespace LineDetector { class SingleLineCrossingDetector : ISingleLineC...
src/Generators/Generator.Bind/Writers/ProjectFileWriter.cs
raedok/opentk
0
7053908
<reponame>raedok/opentk // // ProjectFileWriter.cs // // Copyright (C) 2019 OpenTK // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // using System.IO; using System.Threading.Tasks; namespace Bind.Writers { /// <summary> /// Contains ...
KillDuties.Finance.Rebalancer/Models/Portfolio.cs
KillDuties/KillDuties.Finance.Rebalancer
0
7053909
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using LiteDB; namespace KillDuties.Finance.Rebalancer.Models { public class Portfolio { public int Id { get; set; } public string Key { get; set; } public int PortfolioId { ge...
SpeedBet/SpeedBet.Dal/Context/SpeedBetContext.cs
Fyvel/speed-bet
1
7053910
<gh_stars>1-10 using Microsoft.EntityFrameworkCore; using SpeedBet.Dal.Dtos; namespace SpeedBet.Dal.Context { public class SpeedBetContext : DbContext { public DbSet<MatchDto> Matches { get; set; } public DbSet<TeamDto> Teams { get; set; } public DbSet<MatchTypeDto> MatchTypes { get; s...
CloudOps/Generated/StorageGateway/ListFileSharesOperation.cs
austindimmer/AWSRetriever
0
7053911
using Amazon; using Amazon.StorageGateway; using Amazon.StorageGateway.Model; using Amazon.Runtime; namespace CloudOps.StorageGateway { public class ListFileSharesOperation : Operation { public override string Name => "ListFileShares"; public override string Description => "Gets a list of the ...
TestDrivenTalk/Example2/PriceCalculator.cs
JoelViney/TestDrivenTalk
0
7053912
<filename>TestDrivenTalk/Example2/PriceCalculator.cs using System; using System.Collections.Generic; using System.Text; namespace TestDrivenTalk.Example2 { public class PriceCalculator { public object GetPrice(Customer customer, decimal amount) { var result = amount; i...
OpendagVR/Assets/Scripts/TouchpadCross.cs
HousekeepersStudio/OpendagVR2
1
7053913
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Valve.VR; [RequireComponent(typeof(SteamVR_TrackedObject))] public class TouchpadCross : MonoBehaviour { SteamVR_TrackedObject trackedObj; SteamVR_Controller.Device device; bool pressed; pub...
CP/Games/RiskCP/Data/RiskSaveInfo.cs
musictopia2/GamingPackXV3
0
7053914
<reponame>musictopia2/GamingPackXV3<gh_stars>0 namespace RiskCP.Data; [SingletonGame] public class RiskSaveInfo : BasicSavedGameClass<RiskPlayerItem>, ISavedCardList<RiskCardInfo>, IMappable, ISaveInfo { private RiskVMData? _model; private int _armiesToPlace; public int ArmiesToPlace { get => _a...
Microsoft.Azure.Cosmos/src/Json/IJsonBinaryWriterExtensions.cs
ayanMSFT/azure-cosmos-dotnet-v3
522
7053915
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Json { using System; internal interface IJsonBinaryWriterExtensions : IJsonWriter ...
Template/Template.Core/FastReflection/PropertyAccessor.cs
xin2015/Template
0
7053916
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Template.Core.FastReflection { public interface IPropertyAccessor { object GetValue(object instance); void SetV...
src/Parquet/Thrift/BloomFilterHeader.cs
felipepessoto/parquet-dotnet
191
7053917
<gh_stars>100-1000 #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member /* * Autogenerated by Thrift Compiler (0.10.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System; using System.Collections; using System.Collections...
libraries/csharp_dotnetcore/Microsoft.Bot.Builder.Adapters.WeChat/AttachmentHash.cs
ericwei0909/BotFramework-WeChat
1
7053918
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Globalization; using System.Security.Cryptography; using System.Text; namespace Microsoft.Bot.Builder.Adapters.WeChat { internal class AttachmentHash : IAttachmentHash { /// <summary> ...
TankLib/STU/Types/STU_28633B85.cs
Mike111177/OWLib
1
7053919
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x28633B85)] public class STU_28633B85 : STUInstance { [STUFieldAttribute(0xFFA188A2, "m_values", ReaderType = typeof(EmbeddedInstanceFieldReader))] public STU_6440565A[] ...
Lib/Neon.Kube/Model/ClusterDefinition/Hosting/Aws/AwsHelper.cs
codelastnight/neonKUBE
0
7053920
//----------------------------------------------------------------------------- // FILE: AwsHelper.cs // CONTRIBUTOR: <NAME> // COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in com...
FixUtf8/Program.cs
magicxor/FixUtf8
0
7053921
<filename>FixUtf8/Program.cs using System.IO; using System.Text; string line; using var srcFile = new StreamReader(args[0]); using var destFile = new StreamWriter(args[1], false, Encoding.UTF8); try { while ((line = srcFile.ReadLine()) != null) { destFile.WriteLine(line); } } finall...
RocketToOpenMod/Model/Rocket/Permissions/RocketPermission.cs
archie426/RocketModToOpenMod
4
7053922
using System; using System.Xml.Serialization; namespace RocketToOpenMod.Model.Rocket.Permissions { [Serializable] public class Permission { [XmlAttribute] public uint Cooldown = 0; [XmlText] public string Name = ""; public Permission() { } public Permissio...
Assets/PlantUIElement.cs
WakifRajin/Project-Greenrth
1
7053923
<filename>Assets/PlantUIElement.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using TMPro; using UnityEngine.UI; public class PlantUIElement : MonoBehaviour { // Start is called before the first frame update public RawImage img; p...
WhatIsNewInDotNet6/06-NewJsonFeatures/06-NewJsonFeatures.Performance/Program.cs
Djohnnie/CodePaLOUsaPresentations
6
7053924
using FizzWare.NBuilder; using System.Diagnostics; using System.Text.Json; using System.Text.Json.Serialization; using static System.Console; using NewtonsoftSerializer = Newtonsoft.Json.JsonConvert; namespace _06_NewJsonFeatures.Performance; class Program { static void Main(string[] args) { WriteLin...
core/client/game/src/shine/tween/TweenBase.cs
hw233/home3
8
7053925
<filename>core/client/game/src/shine/tween/TweenBase.cs using System; namespace ShineEngine { /// <summary> /// 缓动类 /// </summary> public class TweenBase<T> { private TweenFactoryBase<T> _factory; public int index=-1; protected T _start; protected T _end; private int _delay; private int _time; pr...
Services/src/CSClassroom/CSClassroom.WebApp/Controllers/BaseCheckpointController.cs
dave-br/CSClassroom
1
7053926
<gh_stars>1-10 using System.Threading.Tasks; using CSC.CSClassroom.Model.Projects; using CSC.CSClassroom.Service.Classrooms; using CSC.CSClassroom.Service.Projects; namespace CSC.CSClassroom.WebApp.Controllers { /// <summary> /// The base class for controllers managing resources for a checkpoint. /// </summary> p...
test/shared/Elsa.Testing.Shared/AutoFixture/SpecimenBuilders/AutofixtureResolutionServiceProviderSpecimenBuilder.cs
tomy2105/elsa-core
3,147
7053927
<filename>test/shared/Elsa.Testing.Shared/AutoFixture/SpecimenBuilders/AutofixtureResolutionServiceProviderSpecimenBuilder.cs using System; using AutoFixture.Kernel; using Moq; namespace Elsa.Testing.Shared.AutoFixture.SpecimenBuilders { public class AutofixtureResolutionServiceProviderSpecimenBuilder : ISpecimenB...
ErsatzTV.Application/Emby/Queries/GetEmbyPathReplacementsBySourceIdHandler.cs
Long-Man/ErsatzTV
176
7053928
<gh_stars>100-1000 using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using ErsatzTV.Core.Interfaces.Repositories; using LanguageExt; using MediatR; using static ErsatzTV.Application.Emby.Mapper; namespace ErsatzTV.Application.Emby.Queries { public class Get...
Grid/MoveResizeOverlaySettings.cs
excubo-ag/Blazor.Grids
14
7053929
<reponame>excubo-ag/Blazor.Grids using Microsoft.AspNetCore.Components; namespace Excubo.Blazor.Grids { public class MoveResizeOverlaySettings : ComponentBase { [CascadingParameter] public Grid Grid { get; set; } /// <summary> /// /// </summary> [Parameter] p...
Assets/Scripts/Sensors/Grid/Basic/Sensor/GridBuffer.cs
mbaske/grid-sensor
53
7053930
using UnityEngine; using Unity.MLAgents; using System; namespace MBaske.Sensors.Grid { /// <summary> /// 3D data structure for storing float values. /// Dimensions: channels x width x height. /// </summary> public class GridBuffer { /// <summary> /// Grid shape. /// </s...
src/infrastucture.libs/image/ImageConfigBuilder.cs
KlaatuVerataNecto/perun.net
4
7053931
#region # using statements # using System; using infrastructure.libs.validators; #endregion namespace infrastucture.libs.image { public class ImageConfigBuilder { #region # Variables # private string _sourceFilePath; private string _saveFilePath; private int _quality; ...
ILSpy/NRefactory/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssue.cs
tuandoi1/simple-assembly-exploror
184
7053932
<filename>ILSpy/NRefactory/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssue.cs // // InspectionIssue.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2012 Xamarin <http://xamarin.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and ...
src/Benchmark/Program.cs
mkarpusiewicz/SwiftHelpers
3
7053933
using System; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Running; namespace Benchmark { internal class Program { private static void Main(string[] args) { var config = ManualConfig.Create(DefaultConfig.Instance); //BenchmarkRunner.Run<DistinctTests>(config); ...
SteamConsoleHelper/BackgroundServices/ScheduledJobs/ScheduledJobBase.cs
Marzipans/St3amConsoleHelper
0
7053934
<filename>SteamConsoleHelper/BackgroundServices/ScheduledJobs/ScheduledJobBase.cs using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using SteamConsoleHelper.Exceptions; namespace SteamConsoleHelper.BackgroundServices.Scheduled...