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
PopForums.Web/Areas/PopForums/Views/Forum/NewTopic.cshtml
HongJunRen/POPForums
0
7044657
<reponame>HongJunRen/POPForums @model PopForums.Models.NewPost <h2>@PopForums.Resources.CreateNewTopic</h2> <div class="postForm" role="form"> <div class="form-group"> @Html.TextBoxFor(p => p.Title, new { @class = "form-control", placeholder = PopForums.Resources.Title }) </div> @Html.TextAreaFor(p => p...
Source/Twitta.Website/Views/Applications/Index.cshtml
jdehlin/Twitta
1
7044658
@model IEnumerable<Twitta.Website.Models.TwitterApp> @{ ViewBag.Title = "Index"; } <h2>Index</h2> <p> @Html.ActionLink("Create New", "Create") </p> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.AppName) </th> <th> @Html.DisplayNameFor...
Engine/extlibs/IosLibs/mono-2.6.7/mcs/errors/cs0146-4.cs
zlxy/Genesis-3D
0
7044659
<filename>Engine/extlibs/IosLibs/mono-2.6.7/mcs/errors/cs0146-4.cs // cs0146-4.cs: Circular base class dependency involving `Foo.Bar' and `Foo' // Line: 5 class Foo : Baz { public class Bar {} } class Baz : Foo.Bar {}
Bonsai.Bpod/EventSource.cs
bonsai-rx/bpod
0
7044660
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bonsai.Bpod { public enum EventSource : byte { StateMachine, Ttl, I2C } }
Digipost.Signature.Api.Client.Core/Internal/RequestHelper.cs
karpis/signature-api-client-dotnet
5
7044661
<gh_stars>1-10 using System; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Mime; using System.Threading.Tasks; using Digipost.Signature.Api.Client.Core.Exceptions; using Digipost.Signature.Api.Client.Core.Internal.Asice; using Digipost.Sign...
pjsip4net/Calls/CallRedirectedEventArgs.cs
moljac/pjsip4net
67
7044662
<gh_stars>10-100 using System; using pjsip4net.Core.Data; namespace pjsip4net.Calls { public class CallRedirectedEventArgs : EventArgs { public int CallId { get; internal set; } public string Target { get; internal set; } public RedirectOption Option { get; set; } } }
LiveVideoSDK/VIMS.Cms/GRGcms.Web/admin/login.aspx.cs
zengfanmao/mpds
0
7044663
<filename>LiveVideoSDK/VIMS.Cms/GRGcms.Web/admin/login.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using GRGcms.Common; namespace GRGcms.Web.admin { public partial class login : System.Web.UI.Page { ...
VirtualDataTableLib/ParquetRetriever.cs
juarezr/bigview
1
7044664
using Parquet; using Parquet.Data; using System; using System.Data; namespace VirtualDataTableLib { public class ParquetRetriever : FileDataRetriever { private int? _totalRowCount; private ParquetReader dataFileReader = null; public override int? GetTotalRowCount() { ...
src/Wallee/Model/SubscriptionLedgerEntry.cs
aurecchia/csharp-sdk
0
7044665
using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Component...
RecipeApiApp.Core/Models/Hit.cs
githubacct54385/RecipeApiApp
1
7044666
namespace RecipeApiApp.Core.Models { public class Hit { public bool Bookmarked { get; set; } public bool Bought { get; set; } public Recipe Recipe { get; set; } } }
Assets/Scripts/GUI/TargetUI.cs
SardineFish/MAJIKA
30
7044667
<gh_stars>10-100 using UnityEngine; using System.Collections; using UnityEngine.UI; public class TargetUI : MonoBehaviour { public Text TextName; public HPBar HPBar; public GameEntity Target; // Use this for initialization void Start() { } // Update is called once per ...
src/System.CommandLine.Tests/CompilationTests.cs
eisbaer66/command-line-api
0
7044668
<filename>src/System.CommandLine.Tests/CompilationTests.cs // Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #if NET6_0_OR_GREATER using System.CommandLine.Suggest; using System.CommandLine.Tes...
Playground.Domain.Persistence.PostgreSQL/Commands/Scripts.cs
carlos-vicente/Playgrounf
2
7044669
namespace Playground.Domain.Persistence.PostgreSQL.Commands { internal static class Scripts { internal static string CreateEventStream = "es.create_event_stream"; internal static string AddEvents = "es.save_events_in_stream"; internal static string RemoveEvent = ""; internal sta...
src/Core/Interfaces/IPropertyResolver.cs
maxstralin/csharp-to-js
8
7044670
<filename>src/Core/Interfaces/IPropertyResolver.cs using System; using System.Collections.Generic; using System.Reflection; namespace CSharpToJs.Core.Interfaces { /// <summary> /// Resolves properties for a type /// </summary> public interface IPropertyResolver { /// <summary> /// ...
Packages/cc.starlessnight.unity-jsb/Source/Binding/ValueTypes/Values_Color32.cs
shunfy/unity-jsb
0
7044671
<filename>Packages/cc.starlessnight.unity-jsb/Source/Binding/ValueTypes/Values_Color32.cs #if !JSB_UNITYLESS using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace QuickJS.Binding { using UnityEngine; using Native; public partial class Values { ...
QbtManager/Program.cs
Tailslide/QbtManager
19
7044672
<gh_stars>10-100 using System; using System.IO; using System.Collections.Generic; using System.Linq; using QBTManager.Logging; using static QbtManager.qbtService; using System.ServiceModel.Syndication; using System.Xml; using QBTCleanup; namespace QbtManager { public class MainClass { /// <summary> ...
KerbalWeatherSystems/Sound/Sounds.cs
AlexanderDzhoganov/Kerbal-Weather-Systems
1
7044673
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Sound { class Sounds { GameObject soundPlayer; } }
Source/Renderer/GL3x/Buffers/IndexBufferGL3x.cs
PeiQi2/OpenGlobe
233
7044674
#region License // // (C) Copyright 2009 <NAME> and <NAME> // // Distributed under the MIT License. // See License.txt or http://www.opensource.org/licenses/mit-license.php. // #endregion using OpenGlobe.Core; using OpenTK.Graphics.OpenGL; using System; namespace OpenGlobe.Renderer.GL3x { internal...
Connector/Connector/Events/NewUnitEvent.cs
GhostTyper/flattiverse
2
7044675
<reponame>GhostTyper/flattiverse<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace Flattiverse.Events { /// <summary> /// An event indicating that a new unit entered your scan horizon. /// </summary> public class NewUnitEvent : UnitEvent { ...
dFakto.AppDataPath/AppDataMigrator.cs
depfac/dFakto.AppDataPath
0
7044676
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace dFakto.AppDataPath { internal class AppDataMigrator : IAppDataMigrator { private const string Up...
src/E01D.Base.Pocos.Api/Coding/Code/Domains/E01D/XVersionId.cs
E01D/Base
0
7044677
<gh_stars>0 using Root.Coding.Code.Models.E01D.Base.Pocos; namespace Root.Coding.Code.Domains.E01D { public static class XVersionId { public static VersionId_I New(object castToLong) { return XPocos.Api.NewVersionId(castToLong); } public static VersionId_I New() ...
Assets/_Own/Scripts/Events/OnEnemyCombat.cs
maksmaisak/Saxion_Y2Q2_Indie_Game
1
7044678
<filename>Assets/_Own/Scripts/Events/OnEnemyCombat.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class OnEnemyCombat : BroadcastEvent<OnEnemyCombat> { public readonly EnemyAI agent; public readonly bool enterCombat; public OnEnemyCombat(EnemyAI agent, bool enter...
Singleton/Program.cs
LilyOSullivan/Design-Patterns-in-CSharp
0
7044679
using NUnit.Framework; using System; using System.Collections.Generic; using System.IO; using System.Linq; using MoreLinq; using Autofac; namespace Singleton { public interface IDatabase { int GetPopulation(string name); } public class SingletonDatabase : IDatabase { private Dicti...
src/Assman/ContentFiltering/ContentFilterContext.cs
muslumbozan27/demirbas
0
7044680
using System; namespace Assman.ContentFiltering { public class ContentFilterContext { public IResourceGroup Group { get; set; } public string ResourceVirtualPath { get; set; } public bool Minify { get; set; } } }
iMotto.Api/Extensions.cs
imotto/imotto.dnx
0
7044681
<filename>iMotto.Api/Extensions.cs<gh_stars>0 using iMotto.Cache; using iMotto.Cache.RedisImpl; using iMotto.Data; using iMotto.Data.Dapper; using iMotto.Events; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using System; ...
src/SizePhotos/Exif/ExifPhotoProcessor.cs
AerisG222/SizePhotos
1
7044682
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using NExifTool; namespace SizePhotos.Exif { public class ExifPhotoProcessor : IPhotoProcessor { public IPhotoProcessor Clone() { retu...
src/Couchbase/Core/IO/Operations/Legacy/SubDocument/DocumentFragment'.cs
MikeGoldsmith/dotnet-couchbase-client
0
7044683
using System; using System.Collections.Generic; using System.Linq; using Couchbase.Core.IO.Operations.SubDocument; using Couchbase.Core.IO.Serializers; namespace Couchbase.Core.IO.Operations.Legacy.SubDocument { /// <summary> /// Represents one more fragments of an <see cref="IDocument{T}"/> that is returned ...
src/Core/ApplicationGateway.Domain/Entities/Key.cs
NeoSOFT-Technologies/application-gatway
0
7044684
using ApplicationGateway.Domain.Common; namespace ApplicationGateway.Domain.Entities { public class Key: AuditableEntity { public string Id { get; set; } public string KeyName { get; set; } public bool IsActive{ get; set; } public DateTime? Expires { get; set; } ...
Source/CookingStation.cs
Angelbots1339/MOONSHOT-1339-Game
2
7044685
using Godot; using System; using System.Collections.Generic; /* This is the code for the Cooking Stations */ public class CookingStation : Area2D { [Export] /* Use the desired output food item name to find the correct recipe */ public string[] outputs = {}; public Recipe[] recipies; private List<FoodItem> inv...
AdvancedPlugin/Plugins/PluginBase.cs
khorozhansky/Advanced-Plugin-Base-and-Extensions-for-Dynamics
1
7044686
<gh_stars>1-10 namespace AdvancedPlugin.Plugins { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using AdvancedPlugin.Constants; using AdvancedPlugin.Extensions; using AdvancedPlugin.Logging; using AdvancedPlugin.Utils; using Microsoft.Crm.Sdk.Messages;...
VS2022/Options.cs
HO-COOH/ResourceMonitor
2
7044687
using Microsoft.VisualStudio; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.Win32; using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics.CodeAnalysis; using System.Globalization...
src/Data/MyVote.Data.Entities.Core/EntitiesContext.cs
Magenic/MyVoteGC
0
7044688
using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.ChangeTracking; using Microsoft.EntityFrameworkCore.Metadata; using System; using System.Diagnostics.CodeAnalysis; namespace MyVote.Data.Entities { [SuppressMessage("Microsoft.Naming", "CA1704:Identifie...
src_wip/Nucleo.ApplicationServices.Core/Services/ITemporaryDataService.cs
brianmains/Nucleo.NET
2
7044689
<gh_stars>1-10 using System; namespace Nucleo.Services { /// <summary> /// Represents a service to store temporary data. /// </summary> public interface ITemporaryDataService : IService { #region " Methods " /// <summary> /// Adds an item to the underlying service. /// </summary> /// <param name="key...
Assets/Scripts/LpmsCommands.cs
travip/UnityLPMSB2
0
7044690
/* * This class contains the actual command packets for the LPMSB2 * These are manually packed, due to issues with the default LPMSB2 class * constants */ public static class LpmsCommands { public static readonly byte[] resetOrientation = new byte[] { 0x3A, 0x01, 0x00, 0x52, 0x00, 0x00, 0x00, 0x53, 0x00, 0x...
ULabs.VBulletinEntityDemo/Controllers/HomeController.cs
U-Labs/ULabs.VBulletinEntity
1
7044691
<reponame>U-Labs/ULabs.VBulletinEntity using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using ULabs.VBulletinEntity; using ULabs.VBulletinEntityDemo.Models; namespace ULabs.VBulletinEntityDemo.Controllers { p...
Sylabs/Parsing/Effect/Statement/StatementExpression.cs
pratamabayu/Sylabs
2
7044692
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sylabs.Parsing { public class StatementExpression : Symbol { public StatementExpression(params Object[] symbols) : base(symbols) { } public static StatementExpression Produce(IEnumerable<Symbol> sym...
src/Models/Comment.cs
d-gibbs/MovableTypeParser.NET
0
7044693
namespace MovableTypeParser.Models { using System; /// <summary> /// Class representing a comment against a post. /// </summary> public class Comment { /// <summary> /// Gets or sets the author of the comment. /// </summary> public string Author { get; set; } ...
src/Service.ServerKeyValue.Client/AutofacHelper.cs
MyJetEducation/Service.ServerKeyValue
0
7044694
<reponame>MyJetEducation/Service.ServerKeyValue using Autofac; using Microsoft.Extensions.Logging; using Service.Grpc; using Service.ServerKeyValue.Grpc; // ReSharper disable UnusedMember.Global namespace Service.ServerKeyValue.Client { public static class AutofacHelper { public static void RegisterServerKeyValu...
UnitTests/Enviro.cs
Sauceforge/Saucery3
1
7044695
using System; namespace UnitTests { public static class Enviro { internal static string SauceNativeApp => GetStringVar(SauceryConstants.SAUCE_NATIVE_APP); internal static string SauceUserName => GetStringVar(SauceryConstants.SAUCE_USER_NAME); internal static string SauceApiKey => GetStri...
NBG Unity SDK/Assets/Plugins/Naughty Biker Games/Source/Interpolation/Installers/LerperInstaller.cs
juliansangillo/nbg-unity-sdk
0
7044696
using Zenject; namespace NaughtyBikerGames.SDK.Interpolation.Installers { /** * A Zenject installer that installs bindings for the Lerper dependencies. To use, call * LerperInstaller.Install(Container). * * @author <NAME> \<https://github.com/juliansangillo\> * @version 4.0 * @since ...
LogStream.cs
oxypomme/LBDCUpdater
1
7044697
<filename>LogStream.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LBDCUpdater { internal class LogStream { private TextWriter writer; public LogStream(string path) { writer ...
tools/WorldEditor/AddMobDialog.Designer.cs
AustralianDisabilityLimited/MultiversePlatform
33
7044699
<gh_stars>10-100 /******************************************************************** The Multiverse Platform is made available under the MIT License. Copyright (c) 2012 The Multiverse Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentat...
All TeamProjects/TeamProject-OOP_Monopoly/Monopoly/Element.cs
siderisltd/Telerik-Academy
1
7044700
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Monopoly { public abstract class Element { private List<PurchasableSpace> ownedSpaces = new List<PurchasableSpace>(); public void AddSpace() { throw new System.NotImplementedExc...
tests/ServiceStack.WebHost.Endpoints.Tests/ScriptTests/CodeTests.cs
deining/ServiceStack
2,977
7044701
using System.Collections.Generic; using System.Linq; using NUnit.Framework; using ServiceStack.Configuration; using ServiceStack.IO; using ServiceStack.Script; namespace ServiceStack.WebHost.Endpoints.Tests.ScriptTests { [Page("foreach-code")] public class ForEachCodeExample : SharpCodePage { ...
Sample/Assets/XLAF/Editor/EditorCoroutine/EditorCoroutineRunner.cs
SES-xuelan/XLAF
1
7044702
using System.Collections; using System.Collections.Generic; using UnityEditor; public static class EditorCoroutineRunner { private static List<EditorCoroutine> editorCoroutineList; private static List<IEnumerator> buffer; public static IEnumerator StartEditorCoroutine(IEnumerator iterator) { ...
AccountingOfTrafficViolation/Views/AddInfoWindows/AddVehiclesWindow.xaml.cs
MrNails/TraficViolationAccounting
0
7044703
<reponame>MrNails/TraficViolationAccounting using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using Sys...
Source/Vima.Ensure.Net.Tests/EnsureNotNullTest.cs
leeeennyy/Ensure.Net
0
7044704
<gh_stars>0 using System; using Vima.Ensure.Net.Tests.Helpers; namespace Vima.Ensure.Net.Tests { [TestFixture] public class EnsureNotNullTest { [Test] public void NotNullCheckShouldThrowArgumentNullExceptionIfVariableIsNull() { // Arrange string variableName ...
src/AutoTest.TestRunner/Plugins/AutoTest.TestRunners.MSpec/ProxyCache.cs
uQr/AutoTest.Net
34
7044705
using System; using System.Collections.Generic; namespace LinFu.DynamicProxy { public class ProxyCache : IProxyCache { private static readonly Dictionary<ProxyCacheEntry, Type> _cache = new Dictionary<ProxyCacheEntry, Type>(); private static readonly object _lock = new object(); #region IProxyCache Members...
backend/webapi/Features/AddressAutocomplete/Retrieve.cs
bcgov/moh-pidp
5
7044706
<reponame>bcgov/moh-pidp namespace Pidp.Features.AddressAutocomplete; using FluentValidation; using Pidp.Infrastructure.HttpClients.AddressAutocomplete; public class Retrieve { public class Query : IQuery<List<AddressAutocompleteRetrieveResponse>> { public string Id { get; set; } = string.Empty; ...
DinoRace/Data/GameBoard.cs
BuildItBusk/NanoGames
0
7044707
using System; using System.Collections.Generic; using System.Linq; namespace DinoRace.Data { public sealed class GameBoard { private string[] colors = { "Blue", "Green", "Pink", "Red", "Teal", "Yellow" }; public GameBoard(int numberOfPlayers, int numberOfFields) { ...
Telemetry/TelemetryApplication/Settings/DTO/CarsProperties.cs
plkumar/SecondMonitor
0
7044708
namespace SecondMonitor.Telemetry.TelemetryApplication.Settings.DTO { using System.Collections.Generic; using System.Linq; using CarProperties; public class CarsProperties { public CarsProperties() { Cars = new List<CarPropertiesDto>(); } p...
src/Audit.NET.DynamoDB/ConfigurationApi/IDynamoProviderConfigurator.cs
faso/Audit.NET
0
7044709
using System; using Amazon.DynamoDBv2; namespace Audit.DynamoDB.Configuration { /// <summary> /// Provides a configuration for the DynamoDB data provider /// </summary> public interface IDynamoProviderConfigurator { /// <summary> /// Use a client with the given Service URL ...
tests/DependencyGraph.Tests/Internal/GuardFacts.cs
lanceccraig/DependencyGraph
2
7044710
using System; using LanceC.DependencyGraph.Internal; using Xunit; namespace LanceC.DependencyGraph.Facts.Internal { public class GuardFacts { public class TheNotEmptyMethod : GuardFacts { [Theory] [InlineData("", "", typeof(ArgumentException))] [InlineData(""...
Builder/UI.Wpf/Presentation/ItemEditor/ViewModels/ScoreEditors/concreteAdv/MathBlockRowViewModel.cs
stichting-cito/QuestifyBuilder
3
7044711
<reponame>stichting-cito/QuestifyBuilder using System.ComponentModel; using System.Windows.Media.Imaging; using Cinch; using Cito.Tester.ContentModel; using MEFedMVVM.Common; using Questify.Builder.Logic.ContentModel.Scoring; using Questify.Builder.Logic.HelperClasses; namespace Questify.Builder.UI.Wpf.Presentation.I...
Assets/[Scripts]/Buttons/PlayButtonBehaviour.cs
Yuki-Os/3D-Snake
0
7044712
<reponame>Yuki-Os/3D-Snake using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; using UnityEngine.SceneManagement; public class PlayButtonBehaviour : MonoBehaviour { public void OnPlayButtonPressed() { SceneManager.LoadScene("GameplayScene"); ...
src/EnhancedLink.cs
wangkanai/Universal
4
7044713
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Wangkanai.Universal { internal class EnhancedLink : Require { private EnhancedOption option { get; set; } public EnhancedLink(Configuration config) { if (string.IsNullOrEmpty(con...
src/MonoTorrent/MonoTorrent.Client/Managers/ConnectionManager.cs
miryuan/monotorrent
0
7044714
<filename>src/MonoTorrent/MonoTorrent.Client/Managers/ConnectionManager.cs // // ConnectionManager.cs // // Authors: // <NAME> <EMAIL> // // Copyright (C) 2006 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Soft...
src/Sprint.Filter.OData/OData/MethodProvider.cs
artem-sedykh/Sprint.Filter.OData
8
7044715
<filename>src/Sprint.Filter.OData/OData/MethodProvider.cs using System; using System.Collections.Generic; using System.Reflection; namespace Sprint.Filter.OData { public static class MethodProvider { internal static readonly IDictionary<string, MethodInfo[]> UserFunctions = new Dictionary<string, Meth...
Homeworks/NeuralNetworks/B/main.cs
JensRL/PPaNM
0
7044716
<filename>Homeworks/NeuralNetworks/B/main.cs using System; using static System.Console; using static System.Math; using static System.Random; public static class main{ public static void Main(){ WriteLine("--------------- Testing the implemented Artificial Neural Network --------------"); WriteLine("The impleme...
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Itineraries/ItineraryDetailQueryHandlerShould.cs
baba-gana/allReady
0
7044717
<gh_stars>0 using AllReady.Areas.Admin.Features.Itineraries; using AllReady.Models; using MediatR; using Moq; using System; using System.Collections.Generic; using System.Threading.Tasks; using Xunit; namespace AllReady.UnitTest.Areas.Admin.Features.Itineraries { public class ItineraryDetailQueryHandlerShould : I...
Recursion/06P_ConnectedAreasInMatrix/Program.cs
tanyta78/Algorithms
0
7044718
namespace _06P_ConnectedAreasInMatrix { using System; using System.Collections.Generic; public class Program { private static char[,] matrix; private static SortedSet<Area> areas = new SortedSet<Area>(); private const char Wall = '*'; private const char Visited = 'v'; ...
Features/Public/GetArticle/Models.cs
mikecasas/MiniDevTo-1
0
7044719
<reponame>mikecasas/MiniDevTo-1 using System.Text.Json.Serialization; namespace Public.GetArticle; public class Request { public string ArticleID { get; set; } } public class Response { public string ArticleID { get; set; } public string Title { get; set; } public string Content { get; set; } pu...
System.Extensions/System/Parsing/Implementations/EmailAddressParser.cs
MediatedCommunications/Extensions
0
7044720
<filename>System.Extensions/System/Parsing/Implementations/EmailAddressParser.cs<gh_stars>0 using System.Diagnostics.CodeAnalysis; using System.Text.RegularExpressions; namespace System { public record EmailAddressParser : RegexClassParser<EmailAddress> { private static readonly Regex REGEX_EMAIL = new($...
CustomFontRenderingForm/CustomFontRenderingForm/FontInfo.cs
Gskartwii/Rbx_CustomFont
22
7044721
using System; using System.Collections.Generic; using System.Reflection; namespace CustomFontRenderingForm { class FontInfo { public string fontName; public int fontSize, lineHeight, firstAdjust; public List<CharacterInfo> characters = new List<CharacterInfo>(); public Dictionary<char, Dictionary<char, Ker...
test/EntityFramework.Commands.Tests/Migrations/CSharpModelCodeGeneratorTest.cs
mj1856/EntityFramework
0
7044722
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Data.Entity.Commands.Migrations; using Microsoft.Data.Entity.Metadata; using Microsoft.Data.Entity.Relati...
Assets/Scripts/Enemigos/AnimationEventGuardia.cs
XenMoros/ProjectAlpaca
1
7044723
<gh_stars>1-10 using UnityEngine; public class AnimationEventGuardia : MonoBehaviour {// Eventos de animacion del guardia public GuardiaMovement guardiaMovement; // El script del guardia public void FinalBuscar() { // Animation event, final de la animacion de buscar guardiaMovement.FinalB...
TempRoles/TempRoles/System/DB/RoleDatabase.cs
SrLicht/TempRole
0
7044724
using Exiled.API.Features; using MySqlConnector; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace TempRoles.System.DB { public class RoleDatabase : Base.Database { public RoleDatabase(string url) : base(url) { } protected static string CREATETABLE = "cre...
CognitiveServices.FaceApi/CognitiveServices.FaceApi/Models/Error.cs
quyk/uwp-face-api-explorer
0
7044725
using Newtonsoft.Json; namespace CognitiveServices.FaceApi.Models { public class Error { [JsonProperty(PropertyName = "code")] public string Code { get; set; } [JsonProperty(PropertyName = "message")] public string Message { get; set; } } }
src/QLNet/Math/integrals/Integral.cs
maittaeb/QLNet
244
7044726
/* Copyright (C) 2008 <NAME> (<EMAIL>) Copyright (C) 2008 <NAME> (<EMAIL>) This file is part of QLNet Project https://github.com/amaggiulli/qlnet QLNet is free software: you can redistribute it and/or modify it under the terms of the QLNet license. You should have received a copy of the license along with this...
pivotgrid/Group Bar/Group Bar Demo/CS/Form1.cs
syncfusion/winforms-demos
103
7044727
#region Copyright Syncfusion Inc. 2001-2021 // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL>. Any infringement will be prosecuted under // applicable laws. #endre...
SuperNeuro/Layers/Core/Dense.cs
tech-quantum/OpenCL.Tensor
5
7044728
namespace SuperNeuro.Layers { using SuperchargedArray; using SuperNeuro.Constraints; using SuperNeuro.Engine; using SuperNeuro.Initializers; using SuperNeuro.Layers.Activations; using SuperNeuro.Regularizers; /// <summary> /// Dense implements the operation: output = activation(dot(inp...
DirectoryZync/Models/DirectoryZyncFile.cs
ArunPrakashG/DirectoryZync
0
7044729
<reponame>ArunPrakashG/DirectoryZync<gh_stars>0 using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace DirectoryZync.Models { internal class DirectoryZyncFile { [JsonProperty] internal DateTime LastLockTime { get; set; } [JsonProperty] internal bool IsZyncLocked {...
src/Microsoft.ServiceFabric.Actors/Runtime/IActorActivator.cs
KDSBest/service-fabric-services-and-actors-dotnet
56
7044730
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Servic...
src/App/FinCalcR.WinUi/Services/EventToDialogTransformer.cs
stevenengland/FinCalcR
1
7044731
using System; using System.Threading; using System.Threading.Tasks; using MediatR; using StEn.FinCalcR.Common.LanguageResources; using StEn.FinCalcR.WinUi.Events; using StEn.FinCalcR.WinUi.Extensions; using StEn.FinCalcR.WinUi.LibraryMapper.DialogHost; using StEn.FinCalcR.WinUi.Platform; namespace StEn.FinCalcR.WinUi...
Basic.Azure.Storage/Communications/Utility/Base64Converter.cs
tarwn/BasicAzureStorageSDK
9
7044732
using System; using System.Text; namespace Basic.Azure.Storage.Communications.Utility { public static class Base64Converter { public static string ConvertToBase64(string original) { return Convert.ToBase64String(Encoding.UTF8.GetBytes(original)); } public static st...
StateRestoration/StateRestoration/Cell/CustomCellBackground.cs
susairajs/ios-samples
863
7044733
using System; using CoreGraphics; using UIKit; namespace StateRestoration { public class CustomCellBackground : UIView { CustomCellBackground (CGRect frame) : base (frame) { BackgroundColor = UIColor.White; Layer.CornerRadius = 5; } public static UIView CreateCustomCellBackground (CGRect frame) { ...
CalcTrainer.Core/Views/ProfileStatsView.xaml.cs
DJawna/calctrainer
0
7044734
using CalcTrainer.Core.ViewModels; using System.Windows.Controls; namespace CalcTrainer.Core.Views { /// <summary> /// Interaction logic for ProfileStatsView.xaml /// </summary> public partial class ProfileStatsView : UserControl { public ProfileStatsView(BaseViewModel baseViewModel) ...
solution/WellFired.Direct.Editor/Utility/USUndoManager.cs
WellFiredDevelopment/WellFired.Direct
4
7044735
#if UNITY_3_4 || UNITY_3_5 || UNITY_4_0 || UNITY_4_1 || UNITY_4_2 #define PRE_4_3_UNDO_SYSTEM #else #define POST_4_3_UNDO_SYSTEM #endif using UnityEngine; using UnityEditor; using System.Collections; namespace WellFired { public static class USUndoManager { private static bool hasPushed; public static v...
Aras.VS.MethodPlugin/IOMWrapper.cs
FilenkoAndriy/ArasVSMethodPlugin
0
7044736
<filename>Aras.VS.MethodPlugin/IOMWrapper.cs //------------------------------------------------------------------------------ // <copyright file="IOMWrapper.cs" company="Aras Corporation"> // © 2017-2019 Aras Corporation. All rights reserved. // </copyright> //------------------------------------------------------...
D05_Layout/D05_Layout/Repositories/MockRepoLoai.cs
hcmue/NETCourse1920
1
7044737
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using D05_Layout.Models; namespace D05_Layout.Repositories { public class MockRepoLoai : IRepoLoai { List<Loai> myList = new List<Loai>() { new Loai{MaLoai =1, TenLoai = ...
Scripts/Pattern/Singleton.cs
jinnin0105/Core-Sample
0
7044738
using UnityEngine; public class Singleton<T> : CachedBehaviour where T : Singleton<T> { public bool dontDestroyOnLoad; public static T Instance { get { return _instance; } } private static volatile T _instance; private static object _lock = new object(); protected virtual void OnAwake() { } private void Aw...
src/MTConnect.NET-Common/AssemblyExtensions.cs
TrakHound/MTConnect
0
7044739
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace MTConnect { public static class AssemblyExtensions { /// <summary> /// Get the types within the assembly that match the predicate. /// <para>for example, to get all types within a name...
Lpp.Dns.DTO/LookupLists/LookupListDetailRequestDTO.cs
Missouri-BMI/popmednet
9
7044740
<filename>Lpp.Dns.DTO/LookupLists/LookupListDetailRequestDTO.cs using Lpp.Dns.DTO.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Lpp.Dns.DTO { /// <summary> /// Lookup list for Detailed Re...
Windows 10/NotificationsExtensions/Toasts/ToastImage.cs
WindowsNotifications/NotificationsExtensions
103
7044741
<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Text; namespace NotificationsExtensions.Toasts { /// <summary> /// An inline image displayed in your toast notification. /// </summary> public sealed class ToastImage { /// <summary> /// Constructs an i...
src/old/test/PatternPA.Test.Utils/Huffman/HuffmanFixedLengthCodingTest.cs
o-mdr/pa-pattern-complexity
0
7044742
<reponame>o-mdr/pa-pattern-complexity<gh_stars>0 using System; using System.IO; using NUnit.Framework; using PatternPA.Core.Extensions; using PatternPA.Utils.Extension; using PatternPA.Utils.Huffman.Impl; using PatternPA.Utils.Huffman.Interface; namespace PatternPA.Test.Utils.Huffman { [TestFixture] public cla...
PulseAudio.Mixer/VolumeSlider.cs
raphaelr/PulseAudioMixer-dotnet
0
7044743
<filename>PulseAudio.Mixer/VolumeSlider.cs<gh_stars>0 using System; using System.Threading.Tasks; using System.Windows.Forms; using PulseAudio.Client; namespace PulseAudio.Mixer { public partial class VolumeSlider : UserControl { private readonly IVolumeControllable _volumeControllable; privat...
unity-ktwo/Assets/Scripts/Behaviours/BiteBehaviour.cs
jtorre39/ktwo
0
7044744
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; public class BiteBehaviour : NetworkBehaviour { public int damageAmount; public float duration; Animator animator; void Start() { if (!isServer) { animator = G...
Src/CompanySalesDemo/CompanySales.UI/EmployeeUI.cs
imwyw/.net
15
7044745
<reponame>imwyw/.net using CompanySales.BLL; using CompanySales.Model.Entity;using CompanySales.Model; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CompanySales.UI { public class EmployeeUI { ...
StoreWebApp/StoreWebApp/Models/ProductViewModel.cs
2011-nov02-net/paul-project1
0
7044746
<reponame>2011-nov02-net/paul-project1 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace StoreWebApp.Models { public class ProductViewModel { [Required] [Display(Name = "Product ID")] ...
HKX2/Autogen/hkpConstraintMotor.cs
soulsmods/DSMapStudio
128
7044747
using SoulsFormats; using System.Collections.Generic; using System.Numerics; namespace HKX2 { public enum MotorType { TYPE_INVALID = 0, TYPE_POSITION = 1, TYPE_VELOCITY = 2, TYPE_SPRING_DAMPER = 3, TYPE_CALLBACK = 4, TYPE_MAX = 5, } public partial cl...
samples/WebApplicationSample/Views/Shared/_Layout.cshtml
tuxuan5200/-Core
6
7044748
<reponame>tuxuan5200/-Core <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - Payment</title> <environment include="Development"> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/boots...
editor source/SPNATI Character Editor/Charts/SkinnedChart.cs
laytonc32/spnati
0
7044749
<gh_stars>0 using Desktop.Skinning; using System.Collections.Generic; using System.Windows.Forms; using System.Windows.Forms.DataVisualization.Charting; namespace SPNATI_Character_Editor.Charts { public class SkinnedChart : UserControl, ISkinControl { private List<Chart> _charts = new List<Chart>(); public voi...
C# Fundamentals/C# OOP Advanced/Unit Tests/Lab/Test/Skeleton.Test/AxeTests.cs
NickolayNanov/Software-Engineering
3
7044750
namespace Skeleton.Tests { using NUnit.Framework; using System; [TestFixture] public class AxeTests { [Test] public void TestIfWeaponLosesDurabilityAfterAttack() { //Arrange Dummy dummy = new Dummy(10, 10); Axe axe = new Axe(10, 10); ...
unity-client/Assets/Scripts/MainScripts/DCL/Controllers/Scene/ParcelScene.cs
EibrielInv/explorer
0
7044751
using DCL.Components; using DCL.Configuration; using DCL.Helpers; using DCL.Models; using System.Collections.Generic; using UnityEngine; using UnityEngine.Assertions; using Object = UnityEngine.Object; namespace DCL.Controllers { public class ParcelScene : MonoBehaviour, ICleanable { public static bool...
src/MakeLemonadeBot/Configuration/TelegramSettings.cs
pepelev/FunBot
0
7044752
<gh_stars>0 namespace MakeLemonadeBot.Configuration { public abstract class TelegramSettings { public abstract TelegramListeningSettings Listening { get; } public abstract TelegramDestinationSettings Feedback { get; } public abstract TelegramDestinationSettings Log { get; } }...
src/IvyFEM/IvyFEM/FEM.FixedCadsConditionForEigen.cs
ryujimiya/IvyFEM
12
7044753
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IvyFEM { public abstract partial class FEM { protected void DoubleSetFixedCadsCondtionForEigen( IvyFEM.Lapack.DoubleMatrix A, IvyFEM.Lapack.DoubleM...
src/ExceptionHandling/GlobalMiddlewarePipeline/CustomExceptions.cs
NMillard/CSharpDesignPatterns
2
7044754
using System; using System.Text.Json; namespace GlobalMiddlewarePipeline { public abstract class CustomExceptionBase : Exception { protected CustomExceptionBase(string message, ErrorCode code) { Message = message; Code = code; } public string Message { get; } ...
Assets/Player/Fireball.cs
matthiasSchedel/SamSnow_LD40
0
7044755
<reponame>matthiasSchedel/SamSnow_LD40 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Fireball : MonoBehaviour { [SerializeField] private GameObject m_explosion; [SerializeField] private float m_damage; // Use this for initialization void Start () { } // Updat...
internals/src/EflSharp/EflSharp/Circle/RotarySelector.cs
dalinui/TizenFX
1
7044756
using System; using System.Collections.Generic; using System.Text; namespace Efl { namespace Ui { namespace Wearable { /// <summary> /// The event argument of Rotary Selector. /// </summary> /// <since_tizen> 6 </since_tizen> public c...
WebApplication/Controllers/Api/ApiControllerBase.cs
sbergot/gifttracker
0
7044757
<reponame>sbergot/gifttracker namespace WebApplication.Controllers.Api { using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using Microsoft.Extensions.Logging; using WebApplication.Data; using WebApplication.Filters; using WebApplication.Services.Models; [Authorize] ...