max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
Assets/Scripts/Plant.cs
Pennycook/ludum-dare-46
0
7070024
<filename>Assets/Scripts/Plant.cs /** * BSD 3-Clause License * * Copyright(c) 2020, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must ret...
Library/Views/Copys/Index.cshtml
JackStunning/Library.Solution
0
7070025
<filename>Library/Views/Copys/Index.cshtml @{ Layout = "_Layout"; } @using Library.Models; @model List<Library.Models.Copy>; <h2>Copys</h2> @if (Model.Count == 0) { <h3>No Copys have been taken yet!</h3> } @foreach (Copy copy in Model) { //Instead of it being the Book Id I want it to be Book Name <...
BuildingCoder/CmdViewsShowingElements.cs
vdamvdam/the_building_coder_samples
0
7070026
<reponame>vdamvdam/the_building_coder_samples #region Header // // CmdViewsShowingElements.cs - determine all views displaying a given set of elements // // By Colin, cshha, // http://forums.autodesk.com/t5/user/viewprofilepage/user-id/1162312 // published in // http://forums.autodesk.com/t5/Revit-API/Revision-help-...
resharper/resharper-unity/src/CSharp/Daemon/Stages/BurstCodeAnalysis/Analyzers/ReferenceExpression/BurstReadAccessAnalyzer.cs
McMatty/resharper-unity
1
7070027
<gh_stars>1-10 using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Errors; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharper.Psi.Tree; using JetBrains.ReSharper.Psi.Util; namespace JetBr...
Assets/CylinderCollider.cs
FauxKiwi/Schneider-Marbles
0
7070028
using System; using UnityEngine; using Random = UnityEngine.Random; public class CylinderCollider : MonoBehaviour { public float force; public static float rngValue = 0.5f; private void OnTriggerEnter(Collider other) { var rng = Random.value <= rngValue; Debug.Log(rng ? "Left" : "Rig...
C#/Unsorted/19.06.2015.13.34.cs
dvt32/cpp-journey
1
7070029
<gh_stars>1-10 // dvt32 /* 8. Напишете програма, която създава 10 обекта от тип Cat, * дава им имена от вида CatN, където N e уникален пореден номер на обекта, * и накрая извиква метода SayMiau() на всеки от тях. * * За реализацията използвайте вече дефинираното пространство Chapter11. */ using System; usin...
Blazor/Games/RollEmBlazor/Views/RollEmMainView.razor.cs
musictopia2/GamingPackXV3
0
7070031
namespace RollEmBlazor.Views; public partial class RollEmMainView { [CascadingParameter] public TestOptions? TestData { get; set; } private readonly BasicList<LabelGridModel> _labels = new(); private readonly BasicList<ScoreColumnModel> _scores = new(); private GameBoardGraphicsCP? _boardData; p...
EulerProblems/Old solutions/1 to 25/Problem011.cs
HisRoyalRedness/ProjectEuler
0
7070032
<reponame>HisRoyalRedness/ProjectEuler using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.Composition; using System.Numerics; namespace fletcher.org { [Export(typeof(IProblem))] [Solution("70600674")] class Problem011Generator : ProblemBase ...
src/DeepWinter.RRuleParserNet.Tests/Text/TextBuilderTest.cs
LucasWBritz/rrule-parser.net
11
7070033
using System; using DeepWinter.RRuleParserNet.Text; using DeepWinter.RRuleParserNet.Tokenizer.Validation; using DeepWinter.RRuleParserNet.Tokenizer.Value; using DeepWinter.RRuleParserNet.Tokenizer; using DeepWinter.RRuleParserNet.Translation.Language; using DeepWinter.RRuleParserNet.Translation; using NUnit.Framework;...
PrismMultiModule/Shell/ViewModels/View1ViewModel.cs
sequws/MyStarterProjects
0
7070034
<gh_stars>0 using Prism.Commands; using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; namespace Shell.ViewModels { public class View1ViewModel : BindableBase { public string Info { get; set; } = "Info from View1"; public View1ViewModel() { } ...
Lexical.Localization.Abstractions/Line/Parts/ILineArgument.cs
tagcode/Lexical.Localization
16
7070035
<reponame>tagcode/Lexical.Localization<gh_stars>10-100 // -------------------------------------------------------- // Copyright: <NAME> // Date: 2.5.2019 // Url: http://lexical.fi // -------------------------------------------------------- using Lexical.Localization.Internal; using Lexical.Lo...
Runtime/Profiling/ProfilerCountersInfo.cs
needle-mirror/com.unity.multiplayer.mlapi
0
7070036
<reponame>needle-mirror/com.unity.multiplayer.mlapi #if UNITY_2020_2_OR_NEWER using Unity.Profiling; #endif using UnityEngine; namespace MLAPI.Profiling { internal static class ProfilerCountersInfo { #if UNITY_2020_2_OR_NEWER && ENABLE_PROFILER // Operations private static readonly ProfilerCoun...
JXIPS/JX.Application/IServicesAppADO/IPresentServiceAppADO.cs
lixiong24/IPS2.1
0
7070037
<reponame>lixiong24/IPS2.1<filename>JXIPS/JX.Application/IServicesAppADO/IPresentServiceAppADO.cs using JX.Application.DTOs; using System.Threading.Tasks; namespace JX.Application { /// <summary> /// 数据库表:Present 的应用层服务接口. /// </summary> public partial interface IPresentServiceAppADO : IServiceAppADO<PresentDTO> ...
Server/Models/Message.cs
xlegodroit/blazor-messanger
3
7070038
<gh_stars>1-10 using System; using System.Collections.Generic; namespace messanger.Server.Models { public class Message { public Message() { ChildrenMessages = new HashSet<Message>(); AttachedFiles = new HashSet<File>(); } public int IdMessage { get; se...
CodeComposerLib/CodeComposerLib/SyntaxTree/SteAccessArrayItem.cs
ga-explorer/GMac
8
7070039
<gh_stars>1-10 namespace CodeComposerLib.SyntaxTree { public class SteAccessArrayItem : SteSyntaxElement { public bool ReadAccess { get; set; } public string VariableName { get; set; } public ISyntaxTreeElement ItemIndex { get; set; } } }
sales/ForecastingAPI/ForecastPublicApiUsageDemo/Utility/UpdateSimpleColumnStatusCode.cs
neeranelli/Dynamics365-Apps-Samples
72
7070040
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ForecastPublicApiUsageDemo.Utility { public enum UpdateSimpleColumnStatusCode { Success = 0, Failed } }
IniWrapper/IniWrapper.ModuleTests/Main/Configuration/Attribute/IniConverter/BoolBinaryConverterConfiguration.cs
Szpi/IniWrapper
2
7070041
<filename>IniWrapper/IniWrapper.ModuleTests/Main/Configuration/Attribute/IniConverter/BoolBinaryConverterConfiguration.cs using IniWrapper.Attribute; using IniWrapper.Converters.Primitive; namespace IniWrapper.ModuleTests.Main.Configuration.Attribute.IniConverter { public class BoolBinaryConverterConfiguration ...
Tatum/Clients/IBitcoinCashClient.cs
rosolam/tatum-csharp
9
7070042
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Threading.Tasks; using Tatum.Model.Requests; using Tatum.Model.Responses; /// <summary> /// Summary description for IBitcoinCashClient /// </summary> namespace Tatum { public interface IBitcoinCashClient...
AvlCollections.Tests/CountingComparerTests.cs
gryzunov/AvlCollections
0
7070043
<filename>AvlCollections.Tests/CountingComparerTests.cs<gh_stars>0 using System; using System.Collections.Generic; using Xunit; using Xunit.Abstractions; namespace AvlCollections.Tests { public class CountingComparerTests { private const int Count = 10000; private const int Seed = 1000; ...
Source/Frasterizer/Composition/Composition/FixedSizeCompositionTable.cs
americusmaximus/Frasterizer
1
7070044
#region License /* MIT License Copyright (c) 2020 <NAME> 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, merge,...
src/PlcNodeManager.cs
algattik/iot-edge-opc-plc
1
7070045
namespace OpcPlc { using Newtonsoft.Json; using Opc.Ua; using Opc.Ua.Server; using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using System.Web; using static Program; public class PlcNodeManager : Custom...
abpshop/src/AbpShop.Domain/Shop/AbpUserExtract.cs
AbpShop/abpshop
88
7070046
<gh_stars>10-100 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AbpShop { [Table("abp_user_extract")] public partial class AbpUserExtract { [Key] [Column("id", TypeName = "int(10) un...
Sharpotify7/Sparpotify7/ViewModel/MainPanoramaViewModel.cs
fernandoescolar/sharpotify7
0
7070047
<gh_stars>0 using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Windows.Controls; using System.Windows.Navigation; using Sharpotify.Media; using Sparpotify7.Commands; using System.Windows.Input; namespace Sparpotify7.ViewModel { /// <su...
src/NHSD.GPIT.BuyingCatalogue.UI.Components/Views/Shared/Components/NhsSecondaryButton/NhsSecondaryButtonViewComponent.cs
nhs-digital-gp-it-futures/GPITBuyingCatalogue
0
7070048
<gh_stars>0 using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace NHSD.GPIT.BuyingCatalogue.UI.Components.Views.Shared.Components.NhsSecondaryButton { public sealed class NhsSecondaryButtonViewComponent : ViewComponent { public async Task<IViewComponentResult> InvokeAsync(string text...
src/webapi/Services/WeatherService.cs
laurentkempe/Demo-WebAPI-MongoDB-Docker
1
7070049
using System.Collections.Generic; using MongoDB.Driver; using webapi.Services; namespace webapi.Services { public class WeatherService : IWeatherService { private readonly IMongoCollection<WeatherForecast> _weatherForecasts; public WeatherService(IWeatherDatabaseSettings settings) { ...
Clients/CrossBrowser/Xamarin.CrossBrowser.Wpf/Generated/Document.cs
slodge/workbooks
415
7070050
// // WARNING - GENERATED CODE - DO NOT EDIT // // Document.cs // // Author: // <NAME> <<EMAIL>> // // Copyright 2015-2016 Xamarin Inc. All rights reserved. using System; using mshtml; namespace Xamarin.CrossBrowser { public partial class Document : Node { internal Document (ScriptContext context, I...
src/IronyModManager.DI/Assemblies/StrongName.cs
actioninja/IronyModManager
134
7070051
// *********************************************************************** // Assembly : IronyModManager.DI // Author : Mario // Created : 01-12-2020 // // Last Modified By : Mario // Last Modified On : 02-09-2020 // *********************************************************************** // ...
sz.dataprovider/Tables/ArticleTable.cs
darioestupinan/superzapatos
0
7070052
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using sz.commons.models; using sz.dataprovider.DataModel; namespace sz.dataprovider.Tables { public interface IArticleTable { Task Delete(long id); Task<IEnumer...
NextVerTester/NextVerTester.cs
ImJustMatt/SDVMods
6
7070053
<reponame>ImJustMatt/SDVMods using StardewModdingAPI; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NextVerTester { public class NextVerTester : Mod { /// <summary>The mod entry point, called after the mod is first loaded....
src/WebExtensions.Net/Generated/Downloads/IDownloadsApi.cs
dragnilar/WebExtensions.Net
22
7070054
<reponame>dragnilar/WebExtensions.Net using System.Collections.Generic; using System.Threading.Tasks; namespace WebExtensions.Net.Downloads { /// <summary></summary> public partial interface IDownloadsApi { /// <summary>When any of a <see href='#type-DownloadItem'>DownloadItem</see>'s properties ex...
Task7and8/UI.cs
Kropisha/Task7and8_Sequences
0
7070055
<filename>Task7and8/UI.cs // <copyright file="UI.cs" company="My Company"> // Copyright (c) 2018 All Rights Reserved // </copyright> // <author><NAME></author> namespace Tasks7and8 { using System; using AgainFibonacci; using ShowMenuLib; /// <summary> /// Present visualization for user /// </s...
bases-uno/bases-uno/Views/UserControls/itemlugar.cs
abadillo/bases-uno
0
7070056
using Engine.Classes; 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 bases_uno.Views.Components { public partial class itemlugar : UserCo...
netcore3_0/src/pyprflow.Workflow/Model/Orchestration.cs
esscott1/pyprflow
0
7070058
<reponame>esscott1/pyprflow using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace pyprflow.Workflow.Model { public class Orchestration : BaseWorkflowItem { public string OrchestrationName { get; set; } public List<Movement> Moves { get; ...
TioRACLab.DosBox.Package/Class1.cs
TioRACLab/dosbox-package
0
7070059
<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; namespace TioRACLab.DosBox.Package { public class Class1 { public static void aaa() { using (FileStream zipToOpen = new FileStream(@"D:\OldPC\Package\Duke3D.dosbox", FileMode.O...
BitcoinAddress/Program.cs
PurwantoGZ/Bitcoin
0
7070060
using System; using System.Linq; using System.Runtime.InteropServices; using NBitcoin; using NBitcoin.DataEncoders; // ReSharper disable All namespace BitcoinAddress { class Program { static void Main() { Key privateKey = new Key(); // generate a random private key Pu...
Empired.Web/Controllers/Home/HomeApiController.cs
ashutosh37/EmpiredWebPOC
0
7070061
using Empired.Web.Infrastructure.Security; using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Threading.Tasks; using System.Web.Http; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; u...
Assets/Scripts/Schwarzer/Chart/BMS/Bemusilization/EventDispatcher.cs
cnSchwarzer/Lanotalium
39
7070062
<filename>Assets/Scripts/Schwarzer/Chart/BMS/Bemusilization/EventDispatcher.cs using System; using System.Collections.Generic; using Schwarzer.Chart.Bms.Bemusilization.Utils; namespace Schwarzer.Chart.Bms.Bemusilization { public delegate void OnBMSEvent(BMSEvent bmsEvent); public abstract partial c...
C#WebDevelopment/C#-Web-Basics/SISArchitecture2020/src/Apps/Suls/Controllers/HomeController.cs
TihomirIvanovIvanov/SoftUni
3
7070064
<reponame>TihomirIvanovIvanov/SoftUni using SIS.HTTP; using SIS.MvcFramework; using Suls.Data; using Suls.Services; using Suls.ViewModels.Home; using System.Linq; namespace Suls.Controllers { public class HomeController : Controller { private readonly ApplicationDbContext dbContext; public Ho...
Database/11.ADO.NET-Homework/Task02.NameAndDescriptionOfCategories/GetNameAndDescription.cs
DJBuro/Telerik
0
7070065
<filename>Database/11.ADO.NET-Homework/Task02.NameAndDescriptionOfCategories/GetNameAndDescription.cs namespace Task02.NameAndDescriptionOfCategories { using System; using System.Data.SqlClient; public class GetNameAndDescription { public static void Main() { SqlConnection ...
webform-vue/App_Start/ExceptionFilter.cs
CK159/Webform-vue
2
7070066
<filename>webform-vue/App_Start/ExceptionFilter.cs using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.ExceptionHandling; namespace WebformVue { public class Globa...
CommonLibraries/UniversalLibraries/Komodex.Common/Converters/BooleanConverterBase.cs
misenhower/WPRemote
2
7070067
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; using Windows.UI.Xaml; using Windows.UI.Xaml.Data; namespace Komodex.Common.Converters { public abstract class BooleanConverterBase<T> : IValueConverter { public T TrueValue { get; set; } public T F...
models/TerraformStackId.cs
foundry-infra/foundry-infra-cs
0
7070068
<reponame>foundry-infra/foundry-infra-cs using System.ComponentModel.DataAnnotations; namespace FoundryInfra.models { public class TerraformStackId { [Required(ErrorMessage = "Id is required for TerraformStackId")] public string Id { get; set; } = default!; } }
Web/Resgrid.Web.ServicesCore/Models/v3/Notes/NewNoteInput.cs
dotnetshop/Resgrid-Core
74
7070069
namespace Resgrid.Web.Services.Controllers.Version3.Models.Notes { /// <summary> /// Input to save a new note in the Resgrid system /// </summary> public class NewNoteInput { /// <summary> /// Title of the note /// </summary> public string Ttl { get; set; } /// <summary> /// Body of the note /// </...
source/Stile.Tests/Types/Enumerables/UnshiftFixture.cs
mcknell/Stile
0
7070070
<gh_stars>0 #region License info... // Stile for .NET, Copyright 2011-2013 by <NAME> // Licensed under the MIT License found at the top directory of the Stile project on GitHub #endregion #region using... using NUnit.Framework; using Stile.Types.Enumerables; #endregion namespace Stile.Tests.Types.Enumerables { [Tes...
Resource/Archive/openiddict-samples-dev/samples/RefreshFlow/AuthorizationServer/Controllers/TestController.cs
IEvangelist/Awesome-CMS-Core
3
7070071
<gh_stars>1-10 using System.Threading.Tasks; using AuthorizationServer.Models; using AuthorizationServer.ViewModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; namespace AuthorizationServer.Controllers { [Authorize] public class TestController...
src/EntityGraphQL/Compiler/GqlNodes/CompileContext.cs
lukemurray/EntityQueryLanguage
15
7070072
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace EntityGraphQL.Compiler { /// <summary> /// Class to hold required services ro constant parameters required to execute the compiled query /// </summary> public class CompileContext { private readonly Has...
Mirage/Source/Rendering/Texture.cs
natecurtiss/mirage
2
7070073
using System.Drawing; using System.Drawing.Imaging; using System.Runtime.InteropServices; using Silk.NET.OpenGL; using PixelFormat = Silk.NET.OpenGL.PixelFormat; namespace Mirage.Rendering; /// <summary> /// A representation of a <see cref="Texture"/> used by OpenGL. /// </summary> sealed class Texture : IDisposable...
EviMatch/Application/Commands/RegisterPlayer/RegisterPlayerCommand.cs
evident-digital/evi-match-maker
0
7070074
<filename>EviMatch/Application/Commands/RegisterPlayer/RegisterPlayerCommand.cs<gh_stars>0 using Application.Dtos; using MediatR; namespace Application.Commands.RegisterPlayer { public class RegisterPlayerCommand : IRequest<PlayerDto> { public RegisterPlayerCommand(string principalID, string name) ...
CSharp/leetcodesln/MajorityElement.cs
user3301/TrialOfTheGrasses
3
7070075
<reponame>user3301/TrialOfTheGrasses<gh_stars>1-10 namespace leetcodesln { public class MajorityElement { //using dictionary to count each element, when counter > half of the array size, return the number, O(n) //public int MajorityElementSln(int[] nums) //{ // var half = num...
Fo76ini/Tweaks/General/SkipStartupSplash.cs
itsjasonc/Fallout76-QuickConfiguration
21
7070076
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Fo76ini.Tweaks.General { class SkipStartupSplash : ITweak<bool>, ITweakInfo { public string Description => "If enabled, the game won't bother you with news on startup."; ...
Libraries/Services/Repositories/GenericRepository.cs
Romi-77/WebApi
0
7070077
using Dapper; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using Models.DataModels; using Models.Extensions; using System.Data; using System.Linq.Expressions; namespace Services.Repositories { public class GenericRepository<TEntity> : IGenericRepository<TEntity> where ...
tests/UnitTests/Parse/ValidCommands/AttributeParameterHidden.cs
blouin/CommandLineEngine
3
7070079
<filename>tests/UnitTests/Parse/ValidCommands/AttributeParameterHidden.cs using System; using System.Collections.Generic; using System.Text; namespace UnitTests.Parse.ValidCommands { class AttributeParameterHidden { [CommandLineEngine.Attributes.Command()] static void Command1( [Co...
Assets/Plugins/Localization/LocalizationManagement/CSVLoader.cs
TheanaProductions/Localisation-plugin---Unity
0
7070080
<reponame>TheanaProductions/Localisation-plugin---Unity // Script based on this video: https://www.youtube.com/watch?v=c-dzg4M20wY&t=129s using System.Collections.Generic; using UnityEngine; using System; using System.Text.RegularExpressions; namespace TheanaProd.Plugins.Localization { public class CSVLoader ...
src/Prometheus.Client.MetricServer/MetricServer.Kestrel.cs
ZlobnyiSerg/Prometheus.Client.MetricServer
0
7070081
<reponame>ZlobnyiSerg/Prometheus.Client.MetricServer #if !NET45 using System; using System.Collections.Generic; using System.Reflection; using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions...
OTTDLib/AILog.cs
ttv86/CsNut
0
7070082
namespace OpenTTD { /// <summary>Class that handles all log related functions.</summary> public static class AILog { /** * Print an Info message to the logs. * @param message The message to log. * @note Special characters such as U+0000-U+0019 and U+E000-U+E1FF are not su...
mattresses-management-dektop-app/mattresses-management-dektop-app.Core/Services/Api/IAttributesService.cs
RobertoFoglia/mattresses-management
0
7070083
using mattresses_management_dektop_app.Core.Models.entities; using System; using System.Collections.Generic; using System.Text; using Attribute = mattresses_management_dektop_app.Core.Models.entities.Attribute; namespace mattresses_management_dektop_app.Core.Services.Api { public interface IAttributesService : IC...
src/Command/Template/ResolveTemplateCmdlet.cs
astral-keks/powershell-workbench
1
7070084
<reponame>astral-keks/powershell-workbench using AstralKeks.PowerShell.Common.Attributes; using AstralKeks.PowerShell.Common.Parameters; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Management.Automation; namespace AstralKeks.Workbench.C...
Source/Project/Paging/IPaginationFactory.cs
RegionOrebroLan/.NET-Web-Extensions
0
7070085
using System; namespace RegionOrebroLan.Web.Paging { public interface IPaginationFactory { #region Methods IPagination Create(int maximumNumberOfDisplayedPages, int numberOfItems, string pageIndexKey, int pageSize, Uri url); IPagination Create(int maximumNumberOfDisplayedPages, int numberOfItems, string page...
HelloWorld.V4.Web.Write/Controllers/HelloWorldController.cs
superchar/hello-world-app
1
7070086
<filename>HelloWorld.V4.Web.Write/Controllers/HelloWorldController.cs using AutoMapper; using HelloWorld.V4.Models; using HelloWorld.V4.Write.Domain; using System.Threading.Tasks; using System.Web.Http; namespace HelloWorld.V4.Web.Write.Controllers { [RoutePrefix("[controller]")] public class HelloWorldContro...
ZeroChaos.TimesheetPOC/ZeroChaos.TimesheetPOC/View/Requisitions/ManageSubmissionPage.xaml.cs
rsinghcharan/TimehseetPOC
0
7070088
<reponame>rsinghcharan/TimehseetPOC<filename>ZeroChaos.TimesheetPOC/ZeroChaos.TimesheetPOC/View/Requisitions/ManageSubmissionPage.xaml.cs  using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Xamarin.Forms; using ZeroChaos.TimesheetPOC.ViewModel.CandidateCompare; namespa...
src/Titan.Windows/D3D11/D3D11_SHADER_RESOURCE_VIEW_DESC.cs
Golle/Titan
4
7070090
using System.Runtime.InteropServices; using Titan.Windows.D3D; using Titan.Windows.DXGI; // ReSharper disable InconsistentNaming namespace Titan.Windows.D3D11 { [StructLayout(LayoutKind.Sequential)] public struct D3D11_SHADER_RESOURCE_VIEW_DESC { public DXGI_FORMAT Format; public D3D_SRV_DI...
src/Allure.Xunit.StepExtensions/NameAttribute.cs
vabka/Allure.XUnit
17
7070091
<filename>src/Allure.Xunit.StepExtensions/NameAttribute.cs using System; namespace Allure.Xunit.StepAttribute { [AttributeUsage(AttributeTargets.Parameter)] public class NameAttribute : Attribute { public NameAttribute(string name) { Name = name; } public strin...
unityproject/CSBellard/Assets/FantomLib/Scripts/Module/Functions/MediaScannerController.cs
adokichi/ComputeShader_Bellard
36
7070092
<filename>unityproject/CSBellard/Assets/FantomLib/Scripts/Module/Functions/MediaScannerController.cs using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; namespace FantomLib { /// <summary> /// Media Scanner Controller /// ///・Run Medi...
resistor-color-trio/ResistorColorTrio.cs
victorh1590/exercism-csharp-track-solutions
0
7070094
<gh_stars>0 using System; public static class ResistorColorTrio { public static string[] Colors() => new[] { "black", "brown", "red", "orange", "yellow", "green", "blue", "violet", "grey", "white" }; public static int ColorCode(string color) { string...
09-Iterators-And-Comparators/Homework/01-ListyIterator/ListyIterator.cs
KostadinovK/CSharp-Advanced
0
7070095
<reponame>KostadinovK/CSharp-Advanced<gh_stars>0  using System; using System.Collections; using System.Collections.Generic; public class ListyIterator<T> : IEnumerator<T> { private List<T> elements; private int index; public ListyIterator(params T[] elements) { this.elements = new List<T>(ele...
Program.cs
fireheadmx/ProjectEuler
0
7070096
<reponame>fireheadmx/ProjectEuler<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProjectEuler { class Program { static void Main(string[] args) { //Problem92 p92 = new Problem92(2, 10000000); //Console.WriteLine...
Assets/Microgames/ClownTorch/Scripts/ClownTorchSpawnInRect.cs
waterbuddy16/NitoriWare
119
7070097
<reponame>waterbuddy16/NitoriWare<gh_stars>100-1000 using System.Collections; using System.Collections.Generic; using UnityEngine; namespace NitorInc.ClownTorch { public class ClownTorchSpawnInRect : MonoBehaviour { public GameObject objToSpawn; public Rect range; // Use this for initial...
src/Wigor.Sample.Application/Map/AutoMapProfile.cs
WuMortal/DDDSample
10
7070098
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using AutoMapper; using Wigor.Sample.ApplicationContract.DTO; using Wigor.Sample.Domain.Entity; namespace Wigor.Sample.Application.Map { public class AutoMapProfile : Profile { public AutoMapProfile() { ...
Assets/BulletMove.cs
metalmilitia069/DesignPatterns4.0
0
7070099
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class BulletMove : MonoBehaviour { public Vector3 velocity; private void OnCollisionEnter2D(Collision2D collision) { if (collision.gameObject.tag == "asteroid") { //Des...
src/JiiLib.Components/Interop/EffectProvider.cs
Joe4evr/JiiLib
4
7070100
<filename>src/JiiLib.Components/Interop/EffectProvider.cs //using System; //using System.Threading.Tasks; //using Microsoft.AspNetCore.Components; //using Microsoft.JSInterop; //namespace JiiLib.Components.Interop //{ // internal sealed class EffectProvider : IEffectProvider // { // private readonly IJSR...
PredicateBuilder/Helpers/ExpressionBuilder.cs
jrgcubano/predicatebuilder
8
7070101
<filename>PredicateBuilder/Helpers/ExpressionBuilder.cs using PredicateBuilder.Entities; using PredicateBuilder.Process; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; namespace PredicateBuilder.Helpers { publi...
Editor/Utilities/ScenePreview.cs
sintefneodroid/droid
32
7070102
<gh_stars>10-100 using System.IO; using UnityEditor; using UnityEngine.SceneManagement; using Directory = UnityEngine.Windows.Directory; using File = UnityEngine.Windows.File; #if UNITY_EDITOR using System.Linq; using UnityEngine; namespace droid.Editor.Utilities { /// <inheritdoc /> /// <summary> /// Scene p...
src/Tailviewer/Ui/Menu/AbstractMainMenuViewModel.cs
Kittyfisto/SharpTail
84
7070103
<reponame>Kittyfisto/SharpTail<filename>src/Tailviewer/Ui/Menu/AbstractMainMenuViewModel.cs using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using Tailviewer.Collections; using Tailviewer.Ui.DataSourceTree; n...
Minesweeper.Core/IBoard.cs
damithg/minesweeper
0
7070104
<filename>Minesweeper.Core/IBoard.cs<gh_stars>0 using System.Collections.Generic; using Minesweeper.Core.Enums; namespace Minesweeper.Core { public interface IBoard { int Width { get; } int Height { get; } int ExplodedMines { get; } void Init(int width, int height, do...
FBot/FBotInterface/secondaryForms/LogInFrm.Designer.cs
TheGoodFella/FBot
0
7070105
namespace FBotInterface.secondaryForms { partial class LogInFrm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
07. StringAndTextProcessing/05. UnicodeCharacters/UnicodeCharacters.cs
Gandjurov/Programming-Fundamentals-C-
1
7070106
using System; namespace UnicodeCharacters { class UnicodeCharacters { static void Main() { string input = Console.ReadLine(); foreach (var symbol in input) { Console.Write("\\u{0:x4}", (int)symbol); } Console.WriteLin...
DAO/TipoCobroDAO.cs
carloseip/ApiEventos
0
7070107
<filename>DAO/TipoCobroDAO.cs using System; using System.Collections.Generic; using System.Text; using BE; using Dapper; using System.Data; using System.Data.SqlClient; using System.Linq; namespace DAO { public class TipoCobroDAO { public static List<TipoCobro> Listar() { List<Tip...
source/server/TimeTracker.Domain/Dtos/TimeSlotDto.cs
musa-zulu/TimeTracker
1
7070108
using System; namespace TimeTracker.Domain.Dtos { public class TimeSlotDto : BaseEntity { public Guid TimeSlotId { get; set; } public Guid TaskId { get; set; } public Guid UserId { get; set; } public string TaskDescription { get; set; } public int WeekNumber { get; set;...
src/Unreal.Core/Models/FText.cs
AlpaGit/FortniteReplayDecompressor
0
7070109
<reponame>AlpaGit/FortniteReplayDecompressor using System; using Unreal.Core.Contracts; namespace Unreal.Core.Models { /// <summary> /// see https://github.com/EpicGames/UnrealEngine/blob/6c20d9831a968ad3cb156442bebb41a883e62152/Engine/Source/Runtime/Core/Public/Internationalization/Text.h#L325 /// </summ...
src/ZKWeb.Plugins/Common.SerialGenerate/src/Components/SerialGenerateHandlers/Interfaces/ISerialGenerateCallback.cs
zkweb-framework/ZKWeb.Plugins
52
7070110
namespace ZKWeb.Plugins.Common.SerialGenerate.src.Components.SerialGenerateHandlers.Interfaces { /// <summary> /// 生成序列号时的处理器 /// 可用于修改默认生成的序列号 /// </summary> public interface ISerialGenerateHandler { /// <summary> /// 生成时的处理 /// </summary> /// <param name="data">数据</param> /// <param name="se...
Tests/NicheMarket.Services.Tests/RetailerServiceTests.cs
Alexandra024905/Niche_Market
0
7070112
<gh_stars>0 using AutoMapperConfiguration; using Microsoft.EntityFrameworkCore; using Moq; using NicheMarket.Data; using NicheMarket.Data.Models; using NicheMarket.Services.Models; using NicheMarket.Web.Models.ViewModels; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using S...
YandexTurboRss/Feed/TurboFeedItem.cs
dkiryanov/yandex-turbo-rss
4
7070113
using System; using System.Xml.Linq; using YandexTurboRss.Constants; using YandexTurboRss.Related; namespace YandexTurboRss.Feed { /// <summary> /// Represents an item element that describes an exported page /// </summary> public class TurboFeedItem : ITurboFeedElement { private readonly X...
src/OrchardCore/OrchardCore.DisplayManagement/IDisplayManager.cs
protoncm/OrchardCore
3
7070114
<filename>src/OrchardCore/OrchardCore.DisplayManagement/IDisplayManager.cs<gh_stars>1-10 using OrchardCore.DisplayManagement.ModelBinding; using System.Threading.Tasks; namespace OrchardCore.DisplayManagement { public interface IDisplayManager<TModel> { Task<IShape> BuildDisplayAsync(TModel model, IUpd...
src/FastSharper.Tests/StringExtensions/IsMatchTests.cs
bh-schmidt/fast-sharper
0
7070115
using NUnit.Framework; using System; namespace FastSharper.Tests { public class IsMatchTests : BaseTests { [Test] public void Will_return_true_because_the_pattern_matches_with_the_input() { string source = "abcde"; string pattern = "[a-zA-Z]"; Asser...
src/Futurum.WebApiEndpoint/IWebApiEndpointRequestPayloadMapper.cs
futurum-dev/dotnet.futurum.webapiendpoint
0
7070116
using Futurum.Core.Result; namespace Futurum.WebApiEndpoint; /// <summary> /// <see cref="WebApiEndpoint"/> request payload mapper /// </summary> public interface IWebApiEndpointRequestPayloadMapper<TPayloadDto, TPayload> { /// <summary> /// Map from payload dto to payload domain /// </summary> Result...
G2/Class06 - Working with EF/Code/SEDC.NotesApp.DataAnotations/SEDC.NotesApp.DataAccess/NotesAppDbContext.cs
sedc-codecademy/skwd9-09-aspnetwebapi
0
7070117
<gh_stars>0 using Microsoft.EntityFrameworkCore; using SEDC.NotesApp.Domain.Models; namespace SEDC.NotesApp.DataAccess { public class NotesAppDbContext : DbContext { public NotesAppDbContext(DbContextOptions options) : base(options) { } public DbSet<Note> Notes { get; set; } ...
Assets/Code/Bon/Nodes/Noise/NoiseDisplayNode.cs
aphex-/BrotherhoodOfNode
171
7070118
using System; using System.Collections.Generic; using Assets.Code.Bon.Interface; using Assets.Code.Bon.Nodes.Number; using Assets.Code.Bon.Socket; using UnityEngine; namespace Assets.Code.Bon.Nodes.Noise { [Serializable] [GraphContextMenuItem("Noise", "Display")] public class NoiseDisplayNode : AbstractNoiseNode ...
TagNDropBuis/TNDMetaDataExtractor.cs
FlorianGrimm/TagNDrop
0
7070119
<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TagNDropLibrary; namespace TagNDropBuis { public class TNDMetaDataExtractor { public static bool ConvertFileContents(TNDDropItem fc) { if (fc.C...
Laurus.ProdTest.Ui/DesignTestRunViewModel.cs
thebeekeeper/Laurus.ProdTest
0
7070120
/* The MIT License (MIT) Copyright (c) 2013 <NAME> 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, merge, publi...
GalleryOfThings/GalleryOfThings/PageModels/ThingDetailPageModel.cs
johncharris/GalleryOfThings
1
7070121
<reponame>johncharris/GalleryOfThings using FreshMvvm; using GalleryOfThings.Models; using PropertyChanged; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace GalleryOfThings.ViewModel...
docs/tutorials/printtopdf/src/Main/MainWindow.cs
asears/WebSharp
352
7070122
using System; using System.Threading.Tasks; using System.IO; using System.Diagnostics; using WebSharpJs.Electron; using WebSharpJs.Script; //namespace MainWindow //{ public class Startup { static WebSharpJs.NodeJS.Console console; static App app; static BrowserWindow mainWindow; ...
DBToMD.cs
JackerKun/Jc.ToMD
0
7070124
/* * Author : JackerKun * Date : Thursday, 17 March 2022 14:31:18 * About : */ using System.Net; using System.Text; using Jc.ToMD.DbToMd; using Jc.ToMD.Model.MysqlInfo; namespace Jc.ToMD; public class DBToMD { /// <summary> /// 表头:和表格是对应关系 需要手动改写代码 /// </summary> private List<strin...
Source/BmsSurvey.Persistence/Configurations/RoleConfiguration.cs
NikolayKostadinov/SurveySystem
0
7070125
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace BmsSurvey.Persistence.Configurations { using Domain.Entities.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; public class RoleConfiguration: IEntityTypeConfig...
03-Source/ICMS.Modules.BaseComponents/Commons/MessageHelper.cs
chenghui0715/TDRS_master
1
7070126
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace ICMS.Commons { public class MessageHelper { /// <summary> /// 显示一般的提示信息 /// </summary> /// <param name="message">提示信息</param> public static Dialog...
src/Transports/RabbitMQ/RabbitMqTransportExtensions.cs
whitestone-no/cambion
4
7070127
<filename>src/Transports/RabbitMQ/RabbitMqTransportExtensions.cs using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Whitestone.Cambion.Interfaces; namespace Whitestone.Cambion.Transport.RabbitMQ { public static class RabbitMqTransportExte...
src/Views/Layout/Sidebar.cshtml
fabianohkd/gentelella-dotNetCore
1
7070128
@{ ViewData["Title"] = "Layout Sidebar"; } <!-- page content --> <div class="right_col" role="main"> <div class=""> <div class="page-title"> <div class="title_left"> <h3>Fixed Si...
sharpsource/sharpsource.Test/TestMethodWithoutTestAttributeTests.cs
Vannevelj/SharpSource
2
7070129
using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using RoslynTester.Helpers.CSharp; using SharpSource.Diagnostics.TestMethodWithoutTestAttribute; using SharpSource.Tests.Helpers; namespace SharpSource.Tests { [TestClass] public class TestMethodWithoutTestAttributeTe...
src/pycropml/cyml_paper/testn.cs
brichet/PyCrop2ML
5
7070130
<reponame>brichet/PyCrop2ML using System; using System.Collections.Generic; using System.Linq; public class Test { public static List<int> toto(int x, int y) { Dictionary<string,int>z = new Dictionary<string,int>{{"v", 1},{"h",6},}; int a; int b; List<string> j = new List<string>...
Assets/Code/MonoBehaviours/Players/Player.cs
danosted/NGJ2017
0
7070131
<gh_stars>0 namespace Assets.Code.MonoBehaviours.Players { using UnityEngine; using IoC; using DataAccess; using GameLogic; using Common; using Utilities; public class Player : PrefabBase { protected float JumpMagnitude { get; set; } protected float JumpFade { get; set;...
01_ProgrFundamentalsMay/12_Data-Types-More-Exercises/12_BeerKegs/BeerKegs.cs
nellypeneva/SoftUniProjects
0
7070132
<reponame>nellypeneva/SoftUniProjects using System; namespace _12_BeerKegs { public class BeerKegs { public static void Main() { int n = int.Parse(Console.ReadLine()); string biggestKegModel = String.Empty; double maxVolume = 0; for (int i = 0;...