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
Geometry/Position.cs
Josephblt/Rubik-s-Challenge
1
7056381
namespace RubiksChallenge.Geometry { public class Position { #region Constructor public Position() { this.UpdatePosition(); } public Position(Point3D point) { this.UpdatePosition(); this.Translate(point.X, point....
Scripts/HealthBarBehaviour.cs
dhenzpadilla/DrShrinkGameProject
0
7056382
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HealthBarBehaviour : MonoBehaviour { private Image Healthbar; public float CurrentHealth; private float MaxHealth; private float Player; // Start is called before the first...
Server/Project-Titan/World/Map/Objects/Entities/NotPlayable.cs
steele123/Trials-Of-Titan
0
7056383
using System; using System.Collections.Generic; using System.Text; using TitanCore.Core; using TitanCore.Data; using TitanCore.Net.Packets.Models; using Utils.NET.Geometry; using World.GameState; namespace World.Map.Objects.Entities { public abstract class NotPlayable : Entity { protected override voi...
BLL/BllRelatorio.cs
MrFortunato/Projecto-Farma
0
7056384
<filename>BLL/BllRelatorio.cs using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using DAL; using DTO; namespace BLL { public class BllRelatorio { public DataTable RelatorioAnual(Relatorio dto) { tr...
src/DotNetHelper-IO/Enum/PathType.cs
TheMofaDe/DotNetHelper-IO
0
7056385
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotNetHelper_IO.Enum { public enum PathType { File = 1, Folder = 2, Zip = 3, None = 3, } }
src/Controls/src/Core/Handlers/Items/CollectionViewHandler.iOS.cs
andreas-nesheim/maui
16,061
7056386
using System; using System.Collections.Generic; using System.Text; using Foundation; using Microsoft.Maui.Handlers; using ObjCRuntime; using UIKit; namespace Microsoft.Maui.Controls.Handlers.Items { public partial class CollectionViewHandler : GroupableItemsViewHandler<GroupableItemsView> { } }
ImputationH31per/ImputationH31per/Modele/Entite/IInformationTicketTfsNotifiable.cs
blueneosky/Bag
0
7056387
<reponame>blueneosky/Bag using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace ImputationH31per.Modele.Entite { public interface IInformationTicketTfsNotifiable : IInformationTicketTfs, IInformationTacheTfsNotifiable, INotifyPropertyChanged { } ...
controls/radradialmenu/Examples/radradialmenu-commands-radialmenuitem/UserControl_Cs.xaml.cs
kylemurdoch/xaml-docs
0
7056388
<reponame>kylemurdoch/xaml-docs using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Windows.Controls; using Telerik.Windows.Controls; namespace RadialMenuExample { public partial class MainPage : UserControl { public MainPage() { ...
src/OdataApi/Models/BookstoreContext.cs
ddpruitt/DC.CoreOData
0
7056389
using Microsoft.EntityFrameworkCore; namespace OdataApi { public class BookStoreContext : DbContext { public BookStoreContext (DbContextOptions<BookStoreContext> options) : base (options) { } public DbSet<Book> Books { get; set; } public DbSet<Press> Presses { get; set; } protected...
src/Crawler/SqlServer/SqlServerSettings.cs
mEliehl/MorningBrewCrawler
0
7056390
<gh_stars>0 namespace Crawler.SqlServer { public class SqlServerSettings { public SqlServerSettings(string connectionString) { ConnectionString = connectionString; } public string ConnectionString { get; } } }
XmlUnit.xUnit/XmlAssertion.cs
horsdal/XmlUnit.Xunit
1
7056391
namespace XmlUnit.Xunit { using global::Xunit; using System.IO; public class XmlAssertion : Assert { public static void AssertXmlEquals(TextReader controlTextReader, TextReader testTextReader) { AssertXmlEquals(new XmlDiff(controlTextReader, testTextReader)); ...
Tests/Xamarin.Interactive.Tests/ReflectionRemotingTests.cs
mono/workbooks
0
7056392
<filename>Tests/Xamarin.Interactive.Tests/ReflectionRemotingTests.cs<gh_stars>0 // // Author: // <NAME> <<EMAIL>> // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.IO; using NUnit.Framework; using Xamarin.Interactive.Core; using Xamarin.In...
src/api/Service/IBlogFileService.cs
JerryBian/blog.laobian.me
4
7056393
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Laobian.Share.Model.Blog; namespace Laobian.Api.Service; public interface IBlogFileService { Task<List<BlogPost>> GetBlogPostsAsync(CancellationToken cancellationToken = default); Task<BlogPost> GetBl...
ShellScript/Core/Language/Compiler/Lexing/Lexer.cs
amkherad/ShellScript
6
7056394
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace ShellScript.Core.Language.Compiler.Lexing { public class Lexer { public const char EscapeCharacter = '\\'; public const string EscapeCharacterSt...
src/Dgraph4Net.Identity.Core/IUser.cs
schivei/dgraph4net
2
7056395
using System; using System.Collections.Generic; namespace Dgraph4Net.Identity { public interface IUser : IEntity { string PasswordHash { get; set; } DateTimeOffset? LockoutEnd { get; set; } bool TwoFactorEnabled { get; set; } bool PhoneNumberConfirmed { get; set; } strin...
Astroder/MoonRiver/FormMoonRiver.cs
Cruisoring/Astroder
1
7056396
<gh_stars>1-10 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using ZedGraph; using EphemerisCalculator; using AstroCalendarControl; namespace MoonRiver { public partial class F...
_lib/bam.net.core/_core/_Services/_DataReplication/FileSequenceProvider.cs
BryanApellanes/Bam.Net.Core
2
7056397
<gh_stars>1-10 using Bam.Net.Data.Repositories; using Bam.Net.Logging; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bam.Net.Services.DataReplication { /// <summary> /// An implementation of ISequenceProvider that...
test/FunctionalTests/Taupo/Source/Taupo.Astoria/Contracts/IAstoriaStringResourceVerifiers.cs
Sreejithpin/odata.net
629
7056398
//--------------------------------------------------------------------- // <copyright file="IAstoriaStringResourceVerifiers.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //---------------------...
WpfClient/RootViewModel.cs
p2pquake/epsp-peer-cs
11
7056399
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace WpfClient { public class RootViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler P...
Couplet/Assets/Scripts/CharacterController.cs
adaBushara/Couplet
0
7056400
<reponame>adaBushara/Couplet<filename>Couplet/Assets/Scripts/CharacterController.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterController : MonoBehaviour { public float moveSpeed = 2.0f; // Use this for initialization void Start () { } //us...
SuffixTrie/Models/Partition.cs
mainframebot/csharp-datastructures-trie
0
7056401
namespace SuffixTrie.Models { public class Partition { public string Key { get; set; } public string KeyPart { get; set; } public int KeyPartLength { get; set; } public int KeyPartStart { get; set; } public Partition(string key, string keyPart, int keyP...
HasDuplicate.cs
SabitKondakci/DynamicProgrammingAlgorithsm
23
7056402
<reponame>SabitKondakci/DynamicProgrammingAlgorithsm public static class ExtentionCollection { public static bool HasDuplicate<T>(this ICollection<T> collection, out int indexOfDuplicateValue) where T : struct { var localCollection = collection; if(localCollection is null) throw new NullReferenceExcepti...
VisioAutomation_2010/VisioAutomation.Models/DOM/PolyLine.cs
jhliptak/VisioAutomation
99
7056403
using System.Collections.Generic; using System.Linq; namespace VisioAutomation.Models.Dom { public class PolyLine : BaseShape { public List<VisioAutomation.Geometry.Point> Points { get; } public PolyLine(params double[] doubles) { this.Points = VisioAutomation.G...
Main/Source/Helpers/Steps/StepReferenceManifest.cs
paulushub/SandAssists
1
7056404
<filename>Main/Source/Helpers/Steps/StepReferenceManifest.cs<gh_stars>1-10 using System; using System.IO; using System.Diagnostics; using Sandcastle.References; namespace Sandcastle.Steps { public sealed class StepReferenceManifest : StepXslTransform { #region Private Fields [Non...
Cross-Cutting/OS.Common/CommunicationServices/ClassMessageTO.cs
Orl4ne/OnlineServices
0
7056405
using OS.Common.CommunicationServices.Enumerations; using System; namespace OS.Common.CommunicationServices { public class ClassMessageTO { public int IdMessage { get; set; } public int IdSender { get; set; } public int IdReceiver { get; set; } public string EmailExtern { get;...
Source/Aupli/SystemBoundaries/Pi/Amplifier/AmplifierFactory.cs
hugener/Aupli
1
7056406
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AmplifierFactory.cs" company="Hukano"> // Copyright (c) Hukano. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license infor...
JogoVarejo_Server/Shared/Models/Movimento.cs
WillBrigida/ProjetoJogoVarejo
0
7056407
using System; using System.Collections.Generic; #nullable disable namespace JogoVarejo_Server.Shared.Models { public partial class Movimento { public int MovimentoId { get; set; } public int GrupoId { get; set; } public int Dia { get; set; } public int Recebido { g...
src/ForEvolve.ExceptionMapper.FluentMapper/FluentExceptionHandler.cs
ForEvolve/ForEvolve.ExceptionMapper
1
7056408
<gh_stars>1-10 using ForEvolve.ExceptionMapper; using System; using System.Threading.Tasks; namespace ForEvolve.ExceptionMapper.FluentMapper { public class FluentExceptionHandler<TException> : IExceptionHandler where TException : Exception { public int Order { get; set; } = HandlerOrder.De...
ios9/MusicMotion/MusicMotion/View Controller Classes/HistoryViewController.cs
susairajs/ios-samples
863
7056409
<gh_stars>100-1000 using System; using System.Collections.Generic; using Foundation; using UIKit; namespace MusicMotion { public partial class HistoryViewController : UIViewController, IUITableViewDelegate, IUITableViewDataSource, INSCoding { readonly string textCellIdentifier = "HistoryCell"; List<Tuple<str...
MixerLib/Events/ChatMessageEventArgs.cs
jbdk/MixerLib
4
7056411
using System; namespace MixerLib.Events { public class ChatMessageEventArgs : EventArgs { public uint ChannelId { get; internal set; } public uint UserId { get; internal set; } public string UserName { get; internal set; } public bool IsWhisper { get; internal set; } public bool IsOwner { get; internal set...
DLaB.Xrm.LocalCrm.Tests.Base/EntityReferenceNamingTests.cs
bobbyangers/XrmUnitTest
52
7056412
using System; using System.Diagnostics.CodeAnalysis; using DLaB.Xrm.Entities; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DLaB.Xrm.LocalCrm.Tests { [TestClass] public class EntityReferenceNamingTests : BaseTestClass { [TestMethod] [SuppressMessage("ReSharper", "EmptyGener...
SmtpSettingsService.cs
careyi3/GoodBearMailClient
0
7056413
using System; using System.Configuration; namespace GoodBearMailClient { public class SmtpSettingsService : ISmtpSettingsService { private ISmtpSettings _smtpSettingsConfig; public SmtpSettingsService(ISmtpSettings smtpSettings) { _smtpSettingsConfig = smtpSettings; ...
Northwind.MvcWebUI/Controllers/CartController.cs
erhankiyakk/Northwind_ASP.NET
0
7056414
<filename>Northwind.MvcWebUI/Controllers/CartController.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Northwind.Entities.Models; using Northwind.Interface; using Northwind.Entities; namespace Northwind.MvcWebUI.Controllers { public class CartCo...
src/LastPassDto/lastpassItem.cs
zanybaka/lastpass-to-json
1
7056415
// https://json2csharp.com/json-to-csharp was used to convert JSON to c# namespace lastpass_to_json { public class LastPassItem { public string url; public string username; public string password; public string totp; public string extra; public string name; ...
src/Shared/Auth/IFirebaseUser.cs
Kapusch/Plugin.Firebase
0
7056416
using System.Collections.Generic; using System.Threading.Tasks; namespace Plugin.Firebase.Auth { /// <summary> /// Represents a user. Firebase Auth does not attempt to validate users when loading them from the keychain. Invalidated users /// (such as those whose passwords have been changed on another clien...
src/Mocks/Editor/TextSnapshotMock.cs
AlexanderSher/RTVS-Old
2
7056417
<gh_stars>1-10 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Utilities; using...
UnityStreamDeck/StreamDeckLink.cs
nicollasricas/unity-streamdeck
10
7056418
using System; using System.Collections.Generic; using UnityEditor; using UnityEditorInternal; using UnityEngine; using UnityEngine.XR; using WebSocketSharp; using WebSocketSharp.Net; namespace UnityStreamDeck { [InitializeOnLoad] [ExecuteInEditMode] public class StreamDeckLink { private WebSoc...
ToolBoxGNA/GNA/ToolBox GNA/View/CustomControls/Tabs/TabPasswordManager.cs
AlexDimo/ITCareerProjectGDN
0
7056419
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using ToolBox_GNA.View.CustomControls.Tabs.Design; using PasswordManager.PasswordManager.Controller; usin...
FilesAndStreams/FilesAndStreamsSamples/PipesWriter/Program.cs
okyuanzhui/bb
479
7056421
<reponame>okyuanzhui/bb using System; using System.IO; using System.IO.Pipes; using System.Text; using System.Threading.Tasks; namespace PipesWriter { public class Program { public static void Main(string[] args) { string pipeName = args.Length >= 1 ? args[0] : "SamplePipe"; ...
SPCViewer.ViewModel/SaveHandler.cs
JensKrumsieck/BluEPRint2
3
7056422
<gh_stars>1-10 using ChemSharp.Spectroscopy.Extension; using OxyPlot; using SPCViewer.Core; using SPCViewer.ViewModel.Extension; using System; using System.Globalization; using System.IO; using PngExporter = OxyPlot.SkiaSharp.PngExporter; using SvgExporter = SPCViewer.Core.Plots.SvgExporter; namespace SPCViewer.ViewM...
YuGiOh.Bot/Modules/Miscellaneous.cs
MeLikeChoco/YuGiOhBot
15
7056423
using Discord; using Discord.Addons.Interactive; using Discord.Commands; using MoreLinq; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; using YuGiOh.Bot.Extensions; using YuGiOh.Bot.Models.Attributes; using YuGiOh.Bot.Models.Bo...
Assets/Scripts/Connection.cs
DanielPri/PathfindingTest
0
7056424
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Connection { public Node connectedNode; public float distance; public Connection(Node _node, float _distance) { this.connectedNode = _node; this.distance = _distance; } }
src/ReconNess.Worker/BackgroundTaskQueue.cs
slooppe/reconness
267
7056425
<reponame>slooppe/reconness<gh_stars>100-1000 using NLog; using ReconNess.Worker.Models; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace ReconNess.Worker { /// <summary> /// /// </summa...
openrest4net-api/com/openrest/v1_1/QueryOrdersRequest.cs
wix-incubator/openrest4net
0
7056426
<filename>openrest4net-api/com/openrest/v1_1/QueryOrdersRequest.cs using System; using System.Collections.Generic; namespace com.openrest.v1_1 { public class QueryOrdersRequest : Request { private static readonly string TYPE = "query_orders"; public string accessToken; publi...
Assets/Scripts/Shop/ShopItem.cs
AcidBurn9494/InterviewTask
0
7056427
<reponame>AcidBurn9494/InterviewTask<gh_stars>0 using TMPro; using UnityEngine; using UnityEngine.UI; /// <summary> /// Handles item listing in shop, updating text and adding/removing to inventory /// </summary> public class ShopItem : MonoBehaviour { public ItemObject Item { get; private set; } public Chara...
Mixer.Base/Model/Chat/ChatDeleteMessageEventModel.cs
sinfuljosh/mixer-client-csharp
1
7056428
using System; namespace Mixer.Base.Model.Chat { public class ChatDeleteMessageEventModel { public Guid id { get; set; } public ChatMessageUserModel moderator { get; set; } } }
Web/Lekarna.Web/Views/Errors/BadRequest.cshtml
HristoShabanakov/Lekarna
0
7056429
 <link rel="stylesheet" href="~/css/badRequest.css"> <section class="masthead" role="img" aria-label="Image Description"> <h1> Bad Request ! </h1> <p>Something went wrong.</p> <a asp-area="" asp-controller="Home" asp-action="Index" class="btn btn-outline-primary"><i class="fa fa-home"></i> Go...
Assets/Scripts/hpbar.cs
maryphun/Hellfight
0
7056430
using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; using UnityEngine.UI; public class hpbar : MonoBehaviour { [SerializeField] Controller player; [SerializeField] Image fill; [SerializeField] Image delayfill; [SerializeField] private float maxSi...
Assets/Helpshift/Plugins/Android/Helpshiftandroid.cs
helpshift-solutions/UnityGames
0
7056431
<filename>Assets/Helpshift/Plugins/Android/Helpshiftandroid.cs /* * Copyright 2015, Helpshift, Inc. * All rights reserved */ #if UNITY_ANDROID using UnityEngine; using System; using System.Collections.Generic; using System.Runtime.InteropServices; using HSMiniJSON; using System.Linq; using System.Collections; using Sy...
tests/UnitTests/QuestionOneTest.cs
Fitsumg/zenfolio-interview-solution
0
7056432
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using TheSolution; namespace UnitTests { [TestClass] public class QuestionOneTest { private QuestionOne questionOne; [TestInitialize] public void Setup() {...
chapter-06/end/Input/SplashInputCommand.cs
louissalin/monogame-tutorials
39
7056433
using chapter_06.Input.Base; namespace chapter_06.Input { public class SplashInputCommand : BaseInputCommand { // Out of Game Commands public class GameSelect : SplashInputCommand { } } }
Assets/Scripts/CanvasHandler/Welcome/NoBandConfirmUI.cs
FluidTrack/MOA_garden
0
7056434
<filename>Assets/Scripts/CanvasHandler/Welcome/NoBandConfirmUI.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class NoBandConfirmUI : MonoBehaviour { public void OkayButton() { DataHandler.User_moa_band_name = ""; DataHandler.User_water_skip = "00:00"; ...
Sources/ScreamIt/ScreamIt.Client.Data.Model/LocalDataService.cs
ScreamItTeam/ScreamIt
0
7056435
<filename>Sources/ScreamIt/ScreamIt.Client.Data.Model/LocalDataService.cs using System; using System.Collections.Generic; using System.Threading.Tasks; using Windows.ApplicationModel.Contacts; using ScreamIt.Client.Data.Contracts; namespace ScreamIt.Client.Data.Model { public class LocalDataService : ILocalDataSe...
Assets/Scripts/Chunk.cs
daniel-cheng/Farmoor
0
7056436
<filename>Assets/Scripts/Chunk.cs using System.Collections; using System.Collections.Generic; using Unity.Collections; using UnityEngine; using UnityEngine.Rendering; public class Chunk : MonoBehaviour { public MeshFilter meshFilter; public MeshRenderer meshRenderer; public MeshCollider meshCollider; public Vecto...
src/FlowrouteApi/Controllers/IncomingRoutesController.cs
mws-dev/flowroute-api-email-text
0
7056437
<filename>src/FlowrouteApi/Controllers/IncomingRoutesController.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using FlowrouteApi.DataModels; using...
src/WebApplication/Controllers/HomeController.cs
bitcoinbrisbane/ColourTickets
0
7056438
using LiteDB; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace WebApplication.Controllers { public class HomeController : Controller { // GET: Home public ActionResult Index() { ...
src/MicroElements.IsExternalInit/MicroElements/IsExternalInit/IsExternalInit.cs
micro-elements/MicroElements.Shared
0
7056439
#region License // Copyright (c) MicroElements. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #endregion #region Supressions #pragma warning disable // ReSharper disable CheckNamespace #endregion #if ME_EXTERNALINIT_ENABLE || ((NETSTANDA...
Cairo Desktop/Cairo Desktop/SupportingClasses/AppBarHelper.cs
dekiertanna/cairoshell
0
7056440
using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Windows.Forms; using CairoDesktop.Configuration; using System.Windows.Interop; using CairoDesktop.WindowsTray; using CairoDesktop.Common.Logging; using static CairoDesktop.Interop.NativeMethods; namespace CairoDesktop.Su...
src/Nvelope/DateTimeExtensions.cs
jeremiahredekop/Nvelope
0
7056441
<gh_stars>0 using System; using System.Globalization; using System.Text.RegularExpressions; namespace Nvelope { public static class DateTimeExtensions { public static TimeSpan Age(this DateTime date) { return DateTime.Now - date; } public static string...
cards/TGT/AT/Sim_AT_128.cs
chi-rei-den/Silverfish
1
7056442
<gh_stars>1-10 /* _BEGIN_TEMPLATE_ { "id": "AT_128", "name": [ "骷髅骑士", "The Skeleton Knight" ], "text": [ "<b>亡语:</b>揭示双方牌库里的一张随从牌。如果你的牌法力值消耗较大,则将骷髅骑士移回你的手牌。", "<b>Deathrattle:</b> Reveal a minion in each deck. If yours costs more, return this to your hand." ], "cardClass": "NEUTRAL", "t...
Relm/Relm.Sandbox.Win/Naming/TextureNames.cs
slyprid/Relm
0
7056443
<reponame>slyprid/Relm namespace Relm.Sandbox.Win.Naming { public class TextureNames { public static string Test64 = "images/Test-64"; public static string Background = "images/Background"; public static string UserInterfaceSkin = "images/RelmSkin"; public static string Icons = ...
modules/pricer/src/test/java/com/opengamma/strata/pricer/CompoundedRateTypeTest.cs
ckarcz/Strata.ConvertedToCSharp
0
7056444
<filename>modules/pricer/src/test/java/com/opengamma/strata/pricer/CompoundedRateTypeTest.cs /* * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.pricer { //JAVA TO C# CONVERTER TODO TASK: This Java 'impo...
Platforms/Shared/Orbital.Video/Texture.cs
YairHalberstadt/Orbital-Framework
0
7056445
using System; namespace Orbital.Video { public enum TextureMode { /// <summary> /// Memory will be optimized for GPU only use /// </summary> GPUOptimized } public enum TextureFormat { Default, DefaultHDR, B8G8R8A8, R10G10B10A2 } public struct TextureMipLevel2D { public int width, height; ...
dl-api-csharp/Doublelives.Infrastructure/Validations/ModelValidator.cs
lzw5399/dl-admin
5
7056446
<filename>dl-api-csharp/Doublelives.Infrastructure/Validations/ModelValidator.cs using FluentValidation; namespace Doublelives.Infrastructure.Validations { public static class ModelValidator<TModel, TValidator> where TModel : class where TValidator : AbstractValidator<TModel>, new() { ...
HULAF.BackEnd/HULAF.WebApi/Mapping/Profiles.cs
peterkollerlv/hulaf
0
7056447
<filename>HULAF.BackEnd/HULAF.WebApi/Mapping/Profiles.cs //using System; //using AutoMapper; //using HULAF.Domain.Person; //using HULAF.WebApi.Controllers; //namespace HULAF.WebApi.Mapping //{ // public class HulafControllerProfile : Profile // { // public HulafControllerProfile() // { ...
FriendlyRS1/Views/UserProfile/Profil.cshtml
atifdelibasic/ASP.NET-Core-MVC-Friendly-Social-Network
0
7056448
@{ Layout = "~/Views/Shared/_Layout1.cshtml"; } <style> body { /*margin-top: 20px;*/ background: #eee; } .profile-header { position: relative; overflow: hidden } .profile-header .profile-header-cover { background-image: url(https://bootdey.com...
XExten/CacheFactory/RedisCache/RedisCaches.cs
EmilyEdna/LinqX
6
7056449
using Newtonsoft.Json; using StackExchange.Redis; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace XExten.CacheFactory.RedisCache { /// <summary> /// /// </summary> public class RedisCaches { #region Redis /// <summary> ...
Shell_Old/ShellSettings.cs
BryanApellanes/bam
0
7056450
<reponame>BryanApellanes/bam<gh_stars>0 using Bam.Net; namespace Bam.Shell { public class ShellSettings { public ShellSettings() { if (OSInfo.Current == OSNames.Windows) { Editor = OSInfo.GetPath("notepad"); } else { ...
src/Properties/Resources.Designer.cs
Shahid-Roofi-Khan/localtunnel-client
0
7056451
<filename>src/Properties/Resources.Designer.cs<gh_stars>0 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if...
ZimaHrm.Infrastructure/Extensions/ConfigurationExtensions.cs
Dakicksoft/ZimaHrm
2
7056452
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace ZimaHrm.Core.Infrastructure.Extensions { public static class ConfigurationExtensions { } }
src/Umbraco.Web.BackOffice/Filters/AppendUserModifiedHeaderAttribute.cs
mehrdadab/Umbraco-CMS
1
7056453
<gh_stars>1-10 using System; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; using Umbraco.Cms.Core.Security; using Umbraco.Extensions; namespace Umbraco.Cms.Web.BackOffice.Filters { /// <summary> /// Appends a custom response header to notify the UI that the current us...
Services/GirlsHandmadeShop.Services.Data/IProductsService.cs
StasiKoleva/GirlsHandmadeShop
1
7056454
namespace GirlsHandmadeShop.Services.Data { using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using GirlsHandmadeShop.Web.ViewModels.Products; public interface IProductsService { Task CreateAsync(CreateProductInputModel input, string ...
src/HAL/Hal.AspNetCore.OData/DependencyInjection/ServiceCollectionExtensions.cs
wertzui/HAL
0
7056455
using HAL.AspNetCore.OData; using HAL.AspNetCore.OData.Abstractions; using System; namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Contains extension methods for <see cref="IServiceCollection"/>. /// </summary> public static class ServiceCollectionExtensions { ...
client/framework/UnityCsReference-master/Modules/GraphViewEditor/Manipulators/EdgeConnector.cs
HelloWindows/AccountBook-
1
7056456
// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using UnityEngine; using UnityEngine.UIElements; namespace UnityEditor.Experimental.GraphView { public interface IEdgeConnectorListener { void OnDr...
Project Dungeon/Assets/Scripts/Mechanisms/PressurePlate.cs
HaloSeventy7/CI-Project-GitHub
0
7056457
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PressurePlate : MonoBehaviour { [SerializeField] GameObject objectToChange; [SerializeField] bool destroyObject = true; //consider for spawning walls [SerializeField] AudioClip soundToPlay; AudioManager audioM...
ATTP/ATTP/Models/Proxy.cs
lysna87/ATTP
5
7056458
<reponame>lysna87/ATTP using StudentServiceRef; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.ServiceModel; using System.Text; namespace ATTP.Models { public class Proxy { private static StudentServiceCli...
src/Pekka.RoyaleApi.Client/Models/ClanModels/ClanMember.cs
Blind-Striker/clash-royale-client-dotnet
12
7056459
<gh_stars>10-100 using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; namespace Pekka.RoyaleApi.Client.Models.ClanModels { [JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))] public class ClanMember { public string Name { get; set; } public string Tag ...
MonstercatNet/Models/Release/Requests/ReleaseCoverRequest.cs
karimelazzouni/MonstercatNet
2
7056460
<filename>MonstercatNet/Models/Release/Requests/ReleaseCoverRequest.cs using Refit; using System; namespace SoftThorn.MonstercatNet { public sealed class ReleaseCoverRequest { [AliasAs("image_width")] public int Width { get; set; } = 512; public Guid ReleaseId { get; set; } pu...
src/Experimental/ExistsForAll.Shepherd.SimpleInjector.Depricated/OptionsValidator.cs
existall/Shepherd
4
7056461
namespace ExistsForAll.Shepherd.SimpleInjector.Depricated { internal class OptionsValidator : IOptionsValidator { public void ValidateOptions(IShepherdOptions options) { Guard.NullArgument(options.DecoratorRegistrationBehavior, nameof(options.DecoratorRegistrationBehavior)); Guard.NullArgument(optio...
ScriptService/Services/IScriptService.cs
telmengedar/scriptservice
0
7056462
using System.Threading.Tasks; using NightlyCode.AspNetCore.Services.Data; using ScriptService.Dto; using ScriptService.Dto.Patches; namespace ScriptService.Services { /// <summary> /// script data management /// </summary> public interface IScriptService { /// <summary> /// creates a...
AdventOfCode/Solutions/Year2015/Day05-Solution.cs
taikodragon/AdventOfCode
0
7056463
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AdventOfCode.Solutions.Year2015 { class Day05 : ASolution { string vowels = "aeiou"; List<string> forbidden = new List<string>() { "ab", "cd", "pq", "xy" }; public Day05(...
ShoppingApp/ShoppingApp/Form1.Designer.cs
umer-farooq-dev/Quick-c-sharp
0
7056464
<reponame>umer-farooq-dev/Quick-c-sharp<gh_stars>0 namespace ShoppingApp { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources bei...
SocketManager.Mongo/MongoDataStore.cs
abhishek4official/SocketHandler
0
7056465
<filename>SocketManager.Mongo/MongoDataStore.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Net.WebSockets; using System.Threading.Tasks; using MongoDB.Driver; using SocketHandler.Core.Interfaces; using SocketHandler.Core.SocketModels; namespace SocketManager.Mongo { public class MongoD...
Extension/DbTrace/DbTrace.Entities.cs
Aspectize/Extension
0
7056466
<gh_stars>0  using System; using System.Collections.Generic; using System.Text; using System.Data; using System.ComponentModel; using Aspectize.Core; [assembly:AspectizeDALAssemblyAttribute] namespace DbTrace { public static partial class SchemaNames { public static partial class Entities { public const st...
Microsoft.DotNet.ImageBuilder/src/Commands/ManifestCommand.cs
StephenBonikowsky/docker-tools
2
7056467
<gh_stars>1-10 // 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. using Microsoft.DotNet.ImageBuilder.ViewModel; namespace Microsoft.DotNet.ImageBuilder.Commands { ...
Car.Backend/Car.Data/FluentValidation/NotificationValidator.cs
ita-social-projects/SoftServeCar-Back-End
17
7056468
using System; using FluentValidation; namespace Car.Data.FluentValidation { public class NotificationValidator : AbstractValidator<Entities.Notification> { public NotificationValidator() { RuleFor(notification => notification.Id).GreaterThan(Constants.Constants.IdLength); ...
C# Fundamentals/C# OOP Basics/BashSoft/BashSoftProgram/IO/Commands/ChangeRelativePathCommand.cs
MihailDobrev/SoftUni
10
7056469
namespace BashSoftProgram.IO.Commands { using BashSoftProgram.Exceptions; public class ChangeRelativePathCommand : Command { public ChangeRelativePathCommand(string input, string[] data, Tester judge, StudentsRepository repository, IOManager inputOutputManager) : base(input, data, jud...
Store.Framework/AppManager.cs
nahruskii24/eCommerce
0
7056470
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Store.Framework.Messaging; using System.Web; namespace Store.Framework { public static class AppManager { /// <summary> /// Register handlers /// </summary> ...
Client/AutomationClient/Service References/Remote/Reference.cs
roryshko/WindowsPhoneTestFramework
0
7056471
<reponame>roryshko/WindowsPhoneTestFramework //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the co...
EES.Business/Concrete/EvaluationCommentManager.cs
bseker/EES
0
7056472
using System.Linq; using System.Collections.Generic; using EES.Entities.Concrete; using EES.Business.Abstract; using EES.DataLayer.Abstract; namespace EES.Business.Concrete { public class EvaluationCommentManager : IEvaluationCommentService { private re...
MultiTenantClient.Shared/Attributes/MultiTenantAutoMapperAttribute.cs
HongXuHe/MultiTenantClient
0
7056473
<filename>MultiTenantClient.Shared/Attributes/MultiTenantAutoMapperAttribute.cs using System; using System.Collections.Generic; using System.Text; namespace MultiTenantClient.Shared.Attributes { [AttributeUsage(AttributeTargets.Class)] public class MultiTenantAutoMapperAttribute : Attribute { publ...
Assets/Scripts/Asteroid.cs
simonolander/unity-asteroids
0
7056474
<filename>Assets/Scripts/Asteroid.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class Asteroid : MonoBehaviour { public float tumble; public Vector3 velocity; public GameObject explosion; private Rigidbody rb; void Start () { rb = GetComponent<Rigidbody> (); rb....
Parme.Core/Modifiers/EndingColorModifier.cs
KallDrexx/PaRME
8
7056476
<reponame>KallDrexx/PaRME namespace Parme.Core.Modifiers { public class EndingColorModifier : IParticleModifier { public string EditorShortName => "Ending Color Multiplier"; public string EditorShortValue => $"{Red}, {Green}, {Blue}, {Alpha:0.00}"; public byte Red { get; set; } = 255; ...
PMDODiscordBot/Commands/MiscCommands.cs
JordanZeotni/CSharpDewott
0
7056477
namespace CSharpDewott.Commands { using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Xml; using CSharpDe...
CubeCross/Assets/Scripts/LineManager.cs
Shmiddy/CubeCross
0
7056478
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LineManager : MonoBehaviour { GameObject gameManager; // Reference to hte game manager script where we will get our bounds info CubeManager cubeManager; // Reference to the script attached to the gameManager Li...
src/Weikio.TypeGenerator/CodeToAssemblyGenerator.cs
t-andre/TypeGenerator
4
7056479
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Loader; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Emit; namespace Weikio.TypeGenerator { /// <...
Camunda.Api.Client/Worker/ExternalTaskWorker.cs
mannok/Camunda.Api.Client
0
7056480
using Camunda.Api.Client.ExternalTask; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Camunda.Api.Client.Worker { public class ExternalTaskWorker : IDisposable { private string workerId = Guid.NewGuid().ToString(); // ...
source/MikhailKhalizev.Max/source/Program/Auto/z-1014-837e.cs
mikhail-khalizev/max
3
7056481
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1014_837e-23977cea")] public void Method_1014_837e() { ii(0x1014_837e, 5); push(0x20); ...
tests/components/Microsoft.DotNet.UpgradeAssistant.Tests/CommandTests.cs
adegeo/upgrade-assistant
629
7056482
<gh_stars>100-1000 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading; using System.Threading.Tasks; using Autofac.Extras.Moq; using Microsoft.DotNet.UpgradeAssistant.Commands; using Moq; using X...
Source/RpgDbEditor/Data/CharacterSheet/CharacterStatsRelations.cs
NuLL3rr0r/udk-rpg-database-editor
0
7056483
<reponame>NuLL3rr0r/udk-rpg-database-editor using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RpgDatabaseParser.Data.CharacterSheet { /// <summary> /// Contains the relations between each main character properties and the actual stats. /// </summary> publi...