max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
src/GitHub.Api/SimpleApiClientFactory.cs
nsb1271/UWPapplication
1
7036032
<gh_stars>1-10 using System; using System.Collections.Generic; using System.ComponentModel.Composition; using GitHub.Models; using GitHub.Primitives; using GitHub.Services; using Octokit; using System.Collections.Concurrent; using System.Threading.Tasks; namespace GitHub.Api { [Export(typeof(ISimpleApiClientFacto...
Test/Translation.Server.Unit.Tests/TestHelpers/AssertResponseTestHelper.cs
misha2016/translation
0
7036033
using System.Linq; using Shouldly; using Translation.Common.Enumerations; using Translation.Common.Models.Base; namespace Translation.Server.Unit.Tests.TestHelpers { public class AssertResponseTestHelper { public const string OrganizationNameMustBeUnique = "organization_name_must_be_unique"; p...
Packages/Newtonsoft.Json-for-Unity.Converters/UnityConverters/Physics2D/ContactFilter2DConverter.cs
DefCon1VR/Newtonsoft.Json-for-Unity.Converters
2
7036034
<reponame>DefCon1VR/Newtonsoft.Json-for-Unity.Converters<gh_stars>1-10 using System; using Newtonsoft.Json.UnityConverters.Helpers; using UnityEngine; namespace Newtonsoft.Json.UnityConverters.Physics2D { public class ContactFilter2DConverter : PartialConverter<ContactFilter2D> { protected override vo...
webui/FeatureFlagsFactory.cs
jhasslof/todo-frontend
1
7036035
<gh_stars>1-10 using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using webui.Mapper; using webui.Models; using webui.Service; namespace webui { public class FeatureFlagsFactory { // // Add all Feature Flag...
Libraries/Williamsonfamily.Library/Web/Membership/SQLiteProviders/SQLiteRoleProvider.cs
sgwill/familyblog
0
7036036
using System; using System.Collections.Specialized; using System.Configuration; using System.Configuration.Provider; using System.Data; using System.Data.SQLite; using System.Diagnostics; using System.Web.Security; namespace WilliamsonFamily.Library.Web.Membership.SQLiteProviders { public sealed class SQLiteRolePr...
components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa.Testing/src/Servers/Alarms/AlarmConditionNodeManager.cs
benjguin/Industrial-IoT
2
7036037
/* ======================================================================== * Copyright (c) 2005-2017 The OPC Foundation, Inc. All rights reserved. * * OPC Foundation MIT License 1.00 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation ...
backend/src/Squidex/Config/Domain/QueryServices.cs
fpisu-sardit/squidex
0
7036038
<filename>backend/src/Squidex/Config/Domain/QueryServices.cs<gh_stars>0 // ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights r...
TestableDateTimeProvider/DateTimeProviderContext.cs
Sankra/testable-datetime-provider
0
7036039
using System; using System.Collections; using System.Threading; namespace TestableDateTimeProvider { public class DateTimeProviderContext : IDisposable { static readonly ThreadLocal<Stack> threadScopedStack; static DateTimeProviderContext() => threadScopedStack = new ThreadLocal<Stack...
ai-and-ml/cognitive-services/computer-vision/recognize-text/RecognizeTextConsole/Program.cs
riwasa/azure-samples
0
7036040
<gh_stars>0 using Microsoft.Azure.CognitiveServices.Vision.ComputerVision; using Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models; using System; using System.IO; using System.Threading.Tasks; namespace RecognizeTextConsole { class Program { // subscriptionKey = "<KEY>" private c...
source/aoHtmlImportTests/Controllers/MustacheTruthyControllerTests.cs
contensive/aoHtmlImport
0
7036041
using HtmlAgilityPack; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Contensive.Addons.HtmlImport.Controllers.Tests { [TestClass()] public class MustacheTruthyControllerTests { [TestMethod()] public void processTest() { string test1Src = "<div class=\"mustache-truth...
Homework/C#Fundamentals/C#Advanced/2.MultidimensionalArrays/Exercises/demo/Program.cs
GitHarr/SoftUni
0
7036043
<filename>Homework/C#Fundamentals/C#Advanced/2.MultidimensionalArrays/Exercises/demo/Program.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace demo { class Program { static void Main(string[] args) { ...
Powerslide/Assets/Scripts/Notes/Objects/NoteHold.cs
jump4r/Powerslide
5
7036044
<filename>Powerslide/Assets/Scripts/Notes/Objects/NoteHold.cs using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(LineRenderer))] public class NoteHold : NoteBase { // Hold Note: Player presses down to begin, and continues to hold the note until it finishes. ...
LolWorldFinalStats.Mobile/Domain/Event.cs
james-russo/Web-Mobile-Template
0
7036046
<reponame>james-russo/Web-Mobile-Template using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LolWorldFinalStats.Models.Domain { public class Event { public virtual int Id { get; set; } public virtual string Name { get...
Controllers/ToDoItemController.cs
zyun1/ToDoApi
0
7036047
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using ToDoApi.Models; using ToDoApi.Repositories; using ToDoApi.Filters; namespace ToDoApi.Controllers { [Route("api/[controller]")] public class ToDoItemController : Controller { readonly IToDoItemRepository _toDoItemRepository; ...
ImageServer/Common/StorageLocationCache.cs
econmed/ImageServer20
1
7036048
<filename>ImageServer/Common/StorageLocationCache.cs #region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistribution...
Analytics/Bloom.Analytics.Modules/Bloom.Analytics.Modules.LibraryModule/ViewModels/LibraryViewModel.cs
RobDixonIII/Bloom
1
7036049
using System; using Bloom.Analytics.Controls; using Bloom.Domain.Models; namespace Bloom.Analytics.Modules.LibraryModule.ViewModels { /// <summary> /// View model for LibraryView.xaml /// </summary> public class LibraryViewModel { /// <summary> /// Initializes a new instance of the...
db4o.net/Db4objects.Db4o/Db4objects.Db4o/Internal/Marshall/AbstractReadContext.cs
iboxdb/db4o-gpl
24
7036050
/* Copyright (C) 2004 - 2011 Versant Inc. http://www.db4o.com */ using System; using Db4objects.Db4o.Foundation; using Db4objects.Db4o.Internal; using Db4objects.Db4o.Internal.Activation; using Db4objects.Db4o.Internal.Marshall; using Db4objects.Db4o.Marshall; using Db4objects.Db4o.Typehandlers; namespace...
Assets/Summer/Editor/ResourceBuilder/Model/VersionListData.cs
Mu-L/Tank
7
7036051
<gh_stars>1-10 namespace Summer.Editor.ResourceBuilder.Model { public sealed class VersionListData { public string path; public int length; public int hashCode; public int zipLength; public int zipHashCode; public static VersionListData ValueOf(string path, ...
src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtVertexAttrib64bit.gen.cs
mcavanagh/Silk.NET
0
7036052
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Text; using Silk.NET.OpenGL.Legacy; using Silk.NET.Core.Loader; using Silk.NET.Core.Native; using Silk...
src/ConfigServer.Core/Models/Client/Tag.cs
kamlesh-microsoft/ConfigServer
0
7036053
using System; using System.Collections.Generic; namespace ConfigServer.Core { /// <summary> /// Tag applies additional meta data to client /// </summary> public class Tag : IEquatable<Tag> { /// <summary> /// Value of the tag /// </summary> public string Value { get...
UWPLogoMaker/View/SettingGroup/SettingPage.xaml.cs
huntertran/05-UWPLogoMaker
1
7036054
using System.Diagnostics; using Windows.UI.Xaml.Controls; namespace UWPLogoMaker.View.SettingGroup { public sealed partial class SettingPage { public SettingPage() { InitializeComponent(); } private void Pivot_SelectionChanged(object sender, SelectionChangedEventAr...
Assets/Scripts/CameraController.cs
jrslkns/Procedural-Planet-Tutorial
69
7036055
<gh_stars>10-100 using System.Collections; using System.Collections.Generic; using UnityEngine; // CameraController reads the player's input and allows them to click and drag to spin around the planet, // and use the mouse wheel to zoom in and out. public class CameraController : MonoBehaviour { public float m_M...
ProxySwitcherLib/FirefoxProxy.cs
GMouron/ProxySwitcher
2
7036056
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Text.RegularExpressions; namespace ProxySwitcher.Lib { public class FirefoxProxy:IBrowserProxy { private const string PREFS_FILENAME = "prefs.js"; private const string PROXY_STATUS_K...
test/BrokeredMessaging.Messaging.Tests/TestReceivedMessageFeature.cs
BrokeredMessaging/MessagingAbstractions
1
7036057
using System.IO; using BrokeredMessaging.Messaging.Features; namespace BrokeredMessaging.Messaging.Tests { public class TestReceivedMessageFeature : IReceivedMessageFeature { public TestReceivedMessageFeature() { } public IHeaderDictionary Headers { get; set; } public...
UserAuthentication/BazaarvoiceUtils.cs
condor623/HostedUIResources
21
7036058
<gh_stars>10-100 /* Copyright 2006-2013 Bazaarvoice, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
ZI/CRC/CRC/CRC/CRCAlg.cs
djordjeviclazar/IVgod
0
7036059
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CRC { public class CRCAlg { private BitArray polynom; public void SetPolynom(BitArray p) { // firs bit o...
GraphLayout/MSAGL/Core/Layout/Port.cs
yukangle/automatic-graph-layout
1
7036060
<filename>GraphLayout/MSAGL/Core/Layout/Port.cs using Microsoft.Msagl.Core.Geometry; using Microsoft.Msagl.Core.Geometry.Curves; namespace Microsoft.Msagl.Core.Layout { /// <summary> /// Specifies the way an edge is connected to a curve /// </summary> #if TEST_MSAGL [System.Diagnostics.CodeAnalysis.Sup...
EMS_App/UserInterfaceLayer/Library/ModelsConverters/ModelsConverter.cs
Hupco/EMS_Site
1
7036061
<filename>EMS_App/UserInterfaceLayer/Library/ModelsConverters/ModelsConverter.cs using System.Linq; using LogicLayer.Models; using UserInterfaceLayer.Models.Employee; namespace UserInterfaceLayer.Library.ModelsConverters { public class ModelsConverter : IModelsConverter { public EmployeeCardViewModel ...
Alba/Controllers.Tests/Kml/KmlConverterTests.cs
territorytools/territory-tools
1
7036062
using System; using NUnit.Framework; using System.Collections.Generic; using System.Linq; using TerritoryTools.Alba.Controllers.Models; using TerritoryTools.Alba.Controllers.Kml; namespace AlbaClient.Tests.KmlGateways { [TestFixture] public class KmlConverterTests { [Test] public void Conv...
src/Cybtans.Proto/Generators/CSharp/ClientGenerator.cs
ansel86castro/cybtans-cli
1
7036063
using Cybtans.Proto.AST; using Cybtans.Proto.Utils; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; namespace Cybtans.Proto.Generators.CSharp { public class ClientGenerator : FileGenerator<ClientGenerationOptions> { ...
Source/Zafiro.Avalonia/AvaloniaFile.cs
SuperJMN-Zafiro/Zafiro
10
7036064
<filename>Source/Zafiro.Avalonia/AvaloniaFile.cs using System; using System.IO; using System.Threading.Tasks; using Zafiro.Core.Files; namespace Zafiro.Avalonia { public class AvaloniaFile : IZafiroFile { private readonly string path; public AvaloniaFile(string path) { thi...
src/NRediSearch/Aggregation/Reducers/Reducers.cs
eduardobr/StackExchange.Redis
5,168
7036065
<gh_stars>1000+ // .NET port of https://github.com/RedisLabs/JRediSearch/ using System.Collections.Generic; namespace NRediSearch.Aggregation.Reducers { public static class Reducers { public static Reducer Count() => CountReducer.Instance; private sealed class CountReducer : Reducer {...
Source/v1.1/WorkGiver_Restrain.cs
Scarjit/RW_Restrain
0
7036066
using System.Collections.Generic; using RimWorld; using Verse; using Verse.AI; namespace Restrain { public class WorkGiver_Restrain : WorkGiver_Scanner { /// <summary> /// Only return pawns, that are in own faction and snapped out. /// </summary> /// <param name="pawn"></pa...
C# Advanced/advanced-jan22/IteratorsandComparators-Lab/BookComparator.cs
Tencho0/SoftuniEducation
0
7036067
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IteratorsAndComparatorsDemo { class BookComparator : IComparer<Book> { public int Compare(Book x, Book y) { if (x.Title.CompareTo(y.Title) > 0) ...
src/BusinessRules.POC.Tests/DoB48UnitTests.cs
SkillsFundingAgency/DC-Alpha-Azurefunctions-POC
0
7036068
using BusinessRules.POC.Data; using BusinessRules.POC.Helpers; using BusinessRules.POC.Models; using BusinessRules.POC.ReferenceData; using BusinessRules.POC.RuleDOB48; using BusinessRules.POC.SharedRules; using System; using System.Collections.Generic; using Xunit; namespace BusinessRules.POC.Tests { public clas...
src/Altinn.Platform/Altinn.Platform.Storage/Storage/Repository/ApplicationRepository.cs
roptaty/altinn-studio
0
7036069
namespace Altinn.Platform.Storage.Repository { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Altinn.Platform.Storage.Configuration; using Altinn.Platform.Storage.Interface.Models; using Microsoft.Azure.Document...
Tests/Tiny.RestClient.Tests/PutTests.cs
Lordinaire/Tiny.RestClient
190
7036070
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; using Tiny.RestClient.Tests.Models; namespace Tiny.RestClient.Tests { [TestClass] public class PutTests : BaseTest { [TestMethod] public async Task PutWithoutResponse() { var request = new...
src/Excel/ArchivoExcel.cs
yrrodriguezb/CrearExcel.Csharp
0
7036071
<reponame>yrrodriguezb/CrearExcel.Csharp using System.Collections.Generic; using System.Data; using System.Linq; using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Spreadsheet; namespace Excel { public class ArchivoExcel : ArchivoExcelBase { public ArchivoExcel(string rutaArchivo) : this(rutaA...
System.Web/UI/WebControls/ChangePassword.cs
ludovic-henry/referencesource
39
7036072
//------------------------------------------------------------------------------ // <copyright file="ChangePassword.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespace Syste...
Repository/Metra/MetraRepository.cs
brbarnett/home-dashboard
0
7036073
using System; using System.Collections.Generic; using System.Threading.Tasks; using Repository.Models; namespace Repository.Metra { public class MetraRepository : ITransitRepository { public async Task<IEnumerable<TransitItem>> GetTrains() { throw new NotImplementedException(); ...
Legacy/Piranha.Legacy.Services/CategoryService.cs
samuelmaxton/Piranha
309
7036074
<reponame>samuelmaxton/Piranha<gh_stars>100-1000 /* * Copyright (c) 2011-2015 <NAME> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * http://github.com/piranhacms/piranha * */ using System; using System.Collections.Gene...
ContactApp/Web/Areas/Admin/ViewModels/ArticleViewModels.cs
abendi/CakeOrderingSite
0
7036075
<reponame>abendi/CakeOrderingSite using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using System.Web.Mvc; using Domain; namespace Web.Areas.Admin.ViewModels { public class ArticleIndexViewModel { public List<Ar...
Experiments/PremiseWP7/Premise/Model/PremiseProperty.cs
tig/Tigger
1
7036076
<reponame>tig/Tigger using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Diagnosti...
RPC/RPC.cs
Liaojinghui/RPC
0
7036077
// Copyright (C) 2021 <NAME>. // This file belongs to the NEO-GAME-RPC contract developed for neo N3 // Date: Sep-2-2021 // // Special thanks to Mr. <NAME> and <NAME> // for reviewing this contract. // // The NEO-GAME-RPC is free smart contract distributed under the MIT software // license, see the accompanying file...
PalmeralGenNHibernate/CAD/Default_/ProveedorCAD.cs
pablovargan/winforms-ooh4ria
0
7036078
using System; using System.Text; using PalmeralGenNHibernate.CEN.Default_; using NHibernate; using NHibernate.Cfg; using NHibernate.Criterion; using NHibernate.Exceptions; using PalmeralGenNHibernate.EN.Default_; using PalmeralGenNHibernate.Exceptions; namespace PalmeralGenNHibernate.CAD.Default_ { public partial cla...
ForgeLevelEditor/Controls/ListViewEx.cs
Dreamer2345/Forge-Level-Editor
1
7036079
<gh_stars>1-10 using System.Windows.Forms; namespace ForgeLevelEditor.Controls { public class ListViewEx : ListView { public event ScrollEventHandler Scroll; protected virtual void OnScroll(ScrollEventArgs e) { ScrollEventHandler handler = this.Scroll; if (handler != ...
ObscureWare.Console/IConsole.cs
Sebastian-Gruchacz/GoblinFortress
0
7036080
<reponame>Sebastian-Gruchacz/GoblinFortress using System.Drawing; namespace ObscureWare.Console { public interface IConsole { /// <summary> /// Writes specific text at given position, and using given colors /// </summary> /// <param name="x"></param> /// <param name="y"...
iothub/device/src/Transport/FileUploadSasUriResponse.cs
tomkerkhove/azure-iot-sdk-csharp
438
7036081
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; using Newtonsoft.Json; namespace Microsoft.Azure.Devices.Client.Transport { /// <summary> /// The information provid...
dxa.net/ecommerce-framework-dotnet/SDL.ECommerce.Api/Model/FacetParameter.cs
RWS/ecommerce-framework
0
7036082
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace SDL.ECommerce.Api { /// <summary> /// Facet Parameter. /// Is used for representing a user facing facet. /// </summary> public class FacetParameter { // TODO:...
StorageManager.AzureTables/TableStorageQueryBuilder.cs
mcolon/StorageManager.AzureTables
0
7036083
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Microsoft.WindowsAzure.Storage.Table; using StorageManager.Enums; using StorageManager.Exceptions; using StorageManager.Query; using StorageManager.Storage; namespace StorageManager....
Phone_Fighters/Assets/Editor/SpawnerInspector.cs
yam-fine/Phone-Fighters
0
7036084
<reponame>yam-fine/Phone-Fighters using UnityEditor; using UnityEngine; using CorruptedSmileStudio.Spawn; /// <summary> /// A custom editor for the spawner class. Makes it easier to see how things interact. /// </summary> [CustomEditor(typeof(Spawner))] public class SpawnerInspector : Editor { /// <summary> //...
ReposUploader/Program.cs
jarmyo/reposUpdater
0
7036085
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text.Json; using System.Threading; namespace ReposUploader { internal static class Program { pri...
src/Ops.Controllers/Areas/ContentManagement/ViewModels/Users/MetadataViewModel.cs
haraldnagel/ocuda
0
7036086
using System.Collections.Generic; using Ocuda.Ops.Models.Entities; using Ocuda.Utility.Models; namespace Ocuda.Ops.Controllers.Areas.ContentManagement.ViewModels.Users { public class MetadataViewModel { public ICollection<UserMetadataType> MetadataTypes { get; set; } public PaginateModel Pagin...
DeviceAuth/Services/IServices/IAuthProvider.cs
AntonMisiura/CsvRepo
0
7036087
using DeviceAuth.Models; using DeviceAuth.Services.Models; namespace DeviceAuth.Services { public interface IAuthProvider { bool CheckServerAndDevicePayload(PacketWithId packet, Device device); string GetDevicePayloadSignature(string randomPayload, Device device); string GetJWTToken(De...
BaseApi/V1/Domain/Charge.cs
hjolany/charges-api
0
7036089
<gh_stars>0 using System; namespace BaseApi.V1.Domain { public class Charge { public Guid Id { get; set; } public string ChargeType { get; set; } public string ChargeSource { get; set; } public string DebitCode { get; set; } public string DebitCodeDescription { get; set;...
Exam/4.Programming Basics Sample Exam - 31 March 2019/2.Spaceship/Spaceship.cs
NeikoGrozev/CSharpBasic
0
7036090
using System; class Spaceship { static void Main() { double width = double.Parse(Console.ReadLine()); double length = double.Parse(Console.ReadLine()); double height = double.Parse(Console.ReadLine()); double averageHeightOfAstronauts = double.Parse(Console.ReadLine()); ...
IApproxEquatable.cs
Zumorica/Monochrome.GUI
0
7036091
namespace Monochrome.GUI { /// <summary> /// Approximate equality checking, to handle floating point errors. /// </summary> public interface IApproxEquatable<in T> { bool EqualsApprox(T other); bool EqualsApprox(T other, double tolerance); } }
GAMMA/Models/GameMessage.cs
samsmithnz/GAMMA
0
7036092
using GAMMA.Toolbox; using System; using System.Windows.Input; namespace GAMMA.Models { [Serializable] public class GameMessage : BaseModel { // Constructors public GameMessage() { } public GameMessage(string type, string content) { MessageType =...
DataAccess/Entities/Playlist.cs
DmitrijDN/Azimuth
0
7036093
using System.Collections.Generic; using Azimuth.DataAccess.Infrastructure; using Azimuth.Shared.Enums; using NHibernate.Type; namespace Azimuth.DataAccess.Entities { public class Playlist : BaseEntity { public virtual string Name { get; set; } public virtual Accessibilty Accessibilty { get; s...
IndustryLP/UI/UIOptionButton.cs
NEKERAFA/TFM-UDC
4
7036096
using ColossalFramework.UI; using IndustryLP.Utils.Constants; namespace IndustryLP.UI { internal abstract class UIOptionButton : UIButton { #region Unity Behaviour Methods public override void Awake() { base.Awake(); atlas = IndustryTool.IconAtlas; ...
src/HotChocolate/Data/src/Data/Projections/SelectionVisitor`1.cs
ezarko/hotchocolate
3,399
7036097
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using HotChocolate.Execution.Processing; using HotChocolate.Language; using HotChocolate.Resolvers; using HotChocolate.Types; namespace HotChocolate.Data.Projections { public class SelectionVisitor<TContext> : SelectionVisitor ...
CodeAffinity.TestFuzzer.UnitTest/UnitTestFuzzer.cs
josher565/TestFuzzer
0
7036098
<reponame>josher565/TestFuzzer using Microsoft.VisualStudio.TestTools.UnitTesting; using CodeAffinity.TestFuzzer; using CodeAffinity.TestFuzzer.UnitTest.TestModels; using System; namespace CodeAffinity.TestFuzzer.UnitTest { [TestClass] public class UnitTestFuzzer { [TestMethod] public void ...
src/FluentNHibernate.Testing/MappingModel/Output/HbmComponentWriterTester.cs
HudsonAkridge/fluent-nhibernate
0
7036099
<reponame>HudsonAkridge/fluent-nhibernate using System; using System.Collections.Generic; using System.Linq; using System.Text; using FluentNHibernate.MappingModel; using FluentNHibernate.MappingModel.Collections; using FluentNHibernate.MappingModel.Output; using NHibernate.Cfg.MappingSchema; using NUnit.Frame...
sdk/dotnet/CloudFront/OriginRequestPolicy.cs
alexbowers/pulumi-aws
260
7036100
<reponame>alexbowers/pulumi-aws // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; us...
Job/Mappers/CustomerCsActiveUserReportMapper.cs
createitpt/Create.CSP.GitHub.Reporting
2
7036101
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Create.CSP.GitHub.Reporting.Entities; namespace Create.CSP.GitHub.Reporting.Mappers { public class CustomerCsActiveUserReportMapper { public static CustomerCsActiveUserReport MapFr...
Source/ReflectionHelper.cs
Erdroy/AlwaysTooLate.CVars
0
7036102
// AlwaysTooLate.CVars (c) 2018-2022 Always Too Late. using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace AlwaysTooLate.CVars { internal static class ReflectionHelper { internal static IEnumerable<FieldInfo> GetAllConfigVariables(object instance) ...
Frontend/GaMR/Assets/Scripts/Buttons/GaMRButton.cs
rwth-acis/GaMR
11
7036103
<reponame>rwth-acis/GaMR<filename>Frontend/GaMR/Assets/Scripts/Buttons/GaMRButton.cs<gh_stars>10-100 using HoloToolkit.Unity.InputModule; using System.Collections; using System.Collections.Generic; using UnityEngine; using System; /// <summary> /// Registers InputEvents and redirects them to a specified method...
PSCredentialManager.CmdletTests/Extensions/StringExtensionsTests.cs
theaquamarine/PowerShell_Credential_Manager
120
7036104
using System.Security; using Microsoft.VisualStudio.TestTools.UnitTesting; using PSCredentialManager.Cmdlet.Extensions; namespace PSCredentialManager.CmdletTests.Extensions { [TestClass()] public class StringExtensionsTests { [TestMethod()] public void ToSecureStringTest() { ...
Assets/Scripts/Character/CharacterFootsteps.cs
ddmail2009/GT-CS6457-Titan-Pinbal_Game
0
7036105
<reponame>ddmail2009/GT-CS6457-Titan-Pinbal_Game /** * Team Titan * * <NAME> */ using UnityEngine; using System.Collections; public class CharacterFootsteps : MonoBehaviour { public AudioClip stepClip; AudioSource aud; public void Awake () { aud = GetComponents<AudioSource> () [1]; } public void LeftF...
RadioSX/StreamDownloader/DownloadRadioStream.cs
PodeCaradox/RadioPC
3
7036106
using Newtonsoft.Json; using RadioSX.ViewModel; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.T...
TOCManager.Entities/ProjectRole.cs
radgie/TOC-Manager
0
7036107
<reponame>radgie/TOC-Manager<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TOCManager.Entities { public class ProjectRole : IEntityBase { public int ID { get; set; } public string RoleName { get; set; }...
SubstrateNetApi/Model/Rpc/Block.cs
w3f-community/SubstrateNetApi
11
7036109
<filename>SubstrateNetApi/Model/Rpc/Block.cs<gh_stars>10-100 using SubstrateNetApi.Model.Extrinsics; namespace SubstrateNetApi.Model.Rpc { public class Block { public Extrinsic[] Extrinsics { get; set; } public Header Header { get; set; } } }
Scripts/Editor/Helpers/FloatRangeDrawer.cs
KonH/udbase
38
7036110
using UnityEngine; using UnityEditor; using UDBase.Helpers; namespace UDBase.EditorTools { [CustomPropertyDrawer(typeof(FloatRange))] public class FloatRangeDrawer:PropertyDrawer { readonly BaseRangeDrawer _editor = new BaseRangeDrawer(); public override void OnGUI(Rect position, SerializedProperty property, G...
Content/Template.Api/Startup.cs
jertje260/dotnet-core-templating
0
7036111
<filename>Content/Template.Api/Startup.cs<gh_stars>0 using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Serilog; usin...
Domain/Entities/CustomerAddress.cs
robsmitha/SmithaConsulting
0
7036112
<filename>Domain/Entities/CustomerAddress.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace Domain.Entities { public class CustomerAddress : BaseModel { ...
CSharpOOP Basics/03.Inheritance-Exercises/05.MoldorsCrueltyPlan/Models/Foods/Mushrooms.cs
Plotso/SoftUni
0
7036113
namespace _05.MoldorsCrueltyPlan { public class Mushrooms : Food { private const int MushroomsHappiness = -10; public Mushrooms() :base(MushroomsHappiness) { } } }
Scripts/Common/IState.cs
bogalo-games/wfn-core
0
7036114
<filename>Scripts/Common/IState.cs using System.Collections.Generic; namespace WfnCore.Common { /** * Provides the interface of a state in a finite state machine. */ public interface IState<T, World> { /** * Return a state to transition out of this state. Return `this` to remain * in this sta...
CommandLineUtils.EnumOption/EnumOptionConfigBuilder.cs
ZeroUltimax/CommandLineUtils.EnumOption
0
7036115
<gh_stars>0 using System; using System.Collections.Generic; namespace Microsoft.Extensions.CommandLineUtils { /// <summary> /// <para> /// Builder for an <see cref="EnumOptionConfig{T}"/> using a fluent interface. /// </para> /// <para> /// Configures the underlying <see cref="CommandOption"/>...
client/MAVN.Service.SmartVouchers.Client/Models/Responses/ReserveVoucherResponse.cs
IliyanIlievPH/MAVN.Service.SmartVouchers
0
7036116
<gh_stars>0 using JetBrains.Annotations; using MAVN.Service.SmartVouchers.Client.Models.Responses.Enums; namespace MAVN.Service.SmartVouchers.Client.Models.Responses { /// <summary> /// Reserve voucher response model /// </summary> [PublicAPI] public class ReserveVoucherResponse { /// ...
CNC Controls/CNC Controls/AppConfigView.xaml.cs
Benkei/ioSender
0
7036117
<gh_stars>0 /* * AppConfigView.xaml.cs - part of CNC Controls library for Grbl * * v0.33 / 2021-05-15 / Io Engineering (<NAME>) * */ /* Copyright (c) 2020-2021, Io Engineering (<NAME>) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided tha...
src/Force.Tests/Reflection/TypeTests.cs
DMak80/force
53
7036118
using System.ComponentModel.DataAnnotations; using System.Linq; using Force.Extensions; using Force.Reflection; using Force.Tests.Expressions; using Force.Tests.Infrastructure.Context; using Xunit; namespace Force.Tests.Reflection { public class TypeTests { [Fact] public void PropertyGetter() ...
aspnet-core/src/sage.poc_001.Core/SDI.Onboarding/SDI_Application.cs
PaulCoetser/SdiPoc
0
7036120
using Abp.Domain.Entities.Auditing; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace sage.poc_001.SDI.Onboarding { [Table("SDIApplications")] public class SDI_Application : FullAuditedE...
FastReport.Base/Functions/StdFunctions.cs
Remco4EF/FastReport
1
7036121
using System; using System.Collections.Generic; using System.Text; using FastReport.Utils; using System.Globalization; using FastReport.Data; namespace FastReport.Functions { /// <summary> /// Contains standard functions registered in the "Data" window. /// </summary> public static class StdFunctions { ...
Assets/GPU Noise/Scripts/MouseCamera.cs
GlitchEnzo/UnityGPUNoise
12
7036122
using UnityEngine; using System.Collections; public class MouseCamera : MonoBehaviour { public Transform target; public float distance = 10.0f; public float xSpeed = 250.0f; public float ySpeed = 120.0f; public float yMinLimit = -20f; public float yMaxLimit = 80f; private float x = 0.0f...
src/ShoppingCart/Controllers/ProductsController.cs
ericburcham/angular-cart
0
7036123
using Microsoft.AspNetCore.Mvc; using ShoppingCart.Entities; using ShoppingCart.Providers; using ShoppingCart.Responses; namespace ShoppingCart.Controllers; [ApiController] [Route("api/[controller]")] public class ProductsController : ControllerBase { [HttpGet] public ProductListResponse Get() { ...
2019-May-Season/SoftUni-Information-Services/src/Apps/Musaca/Musaca.App/Controllers/UsersController.cs
JuganD/csharp-web
0
7036124
using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using Musaca.App.ViewModels.Orders; using Musaca.Models; using Musaca.Services; using SIS.MvcFramework; using SIS.MvcFramework.Attributes; using SIS.MvcFramework.Attributes.Action; using SIS.MvcFramework.Mapping...
Veixy/staff_mp.master.cs
faxad/veixy
0
7036125
<gh_stars>0 using System; using System.Data; using System.Data.SqlClient; using System.Web.UI; using System.Web.UI.WebControls; public partial class staff_mp : System.Web.UI.MasterPage { private SqlConnection conn = new SqlConnection("Data Source=Toshiba;Initial Catalog=CRM_db;Integrated Security=True"); prot...
Plastic/PatternChecks/Data/DecimalFieldCheck.cs
jonkeda/Plastic
0
7036127
using Plastic.Definitions.Data; using Plastic.Definitions.Views; using Plastic.Infos.Data; using Plastic.Infos.Views; using Plastic.Molding.Cs.Data.EntityFramework; namespace Plastic.PatternChecks.Data { public class DecimalFieldCheck : FieldPatternCheck<decimal, DecimalFieldDefinition, DecimalFieldInfo, ...
BBGamelib/lib/flash/imp/define/TagDefine.cs
BigWoodGames/cocos2d-unity
9
7036128
<filename>BBGamelib/lib/flash/imp/define/TagDefine.cs using UnityEngine; using System.Collections; namespace BBGamelib.flash.imp{ public abstract class TagDefine : ITag { public const byte DEF_TYPE_GRAPHIC = 1; public const byte DEF_TYPE_SPRITE = 2; public readonly Flash flash; public readonly int character...
src/InjectionScript.Tests/Interpretation/IfTests.cs
uoinfusion/InjectionScript
3
7036129
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using static InjectionScript.Tests.TestHelpers; namespace InjectionScript.Tests.Interpretation { [TestClass] public class IfTests { [TestMethod] public ...
VRPG/Assets/VFrameWork/SceneAndManager/UI/HealthBar.cs
Visin1991/VRPG-Core
0
7036130
<reponame>Visin1991/VRPG-Core<filename>VRPG/Assets/VFrameWork/SceneAndManager/UI/HealthBar.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace V { public class HealthBar : MonoBehaviour { Image healthImage; private void Start() ...
FamilyTree.Application/People/Commands/CreatePersonCommand.cs
VuacheslavSichkarenko/FamilyTree
1
7036131
<gh_stars>1-10 using FamilyTree.Application.People.Enums; using MediatR; using System; namespace FamilyTree.Application.People.Commands { public class CreatePersonCommand : IRequest<int> { public string Name { get; set; } public string Surname { get; set; } public string Middlename {...
src/Compatibility/ControlGallery/src/Issues.Shared/Issue1024.cs
abod1944/maui
16,061
7036132
<filename>src/Compatibility/ControlGallery/src/Issues.Shared/Issue1024.cs<gh_stars>1000+ using System; using System.Collections.Generic; using System.Threading; using Microsoft.Maui.Controls.CustomAttributes; using Microsoft.Maui.Controls.Internals; using Microsoft.Maui.Graphics; #if UITEST using Xamarin.UITest; usin...
src/netcore/official document/Security/CustomPolicyProvider/Authorization/MinimumAgeAuthorizationHandler.cs
bbigcd/codestore
0
7036133
<reponame>bbigcd/codestore<filename>src/netcore/official document/Security/CustomPolicyProvider/Authorization/MinimumAgeAuthorizationHandler.cs using System; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.Extensions.Logging; namespace CustomPolicyP...
Algo/Exercice1_2/Program.cs
oribault/CDADWWM2111
0
7036134
<reponame>oribault/CDADWWM2111<gh_stars>0 using System; namespace Exercice1_2 { class Program { static void Main(string[] args) { Console.WriteLine("Calcul de l'aire et du volume d'une sphère"); double r; double aire; double volume; ...
C#-Part2/06. StringsAndTextProcessing/15.ReplaceTags/ReplaceTags.cs
glifada/TelerikAcademy
0
7036135
<gh_stars>0 using System; class ReplaceTags { static void Main() { Console.WriteLine("Please enter the text:"); string text = Console.ReadLine(); text = text.Replace(@"<a href=""", "[URL=").Replace(@""">", "]").Replace("</a>", "[/URL]"); Console.WriteLine(text); } }
code/procgen/ProcGen.cs
gvarados1/sbox-backrooms
3
7036136
using Sandbox; using System; using System.Linq; using System.Collections.Generic; namespace ProcGen; public struct ProcGrid { public ProcGrid( int x, int y ) { } } partial class ProcGenManager : Entity { public static int TileSize = 128; public static int GridX = 80; public static int GridY = 80; public bo...
Intersect (Core)/Network/Packets/Server/MoveRoutePacket.cs
RedBandana/Intersect-Engine
146
7036137
<gh_stars>100-1000 namespace Intersect.Network.Packets.Server { public class MoveRoutePacket : CerasPacket { public MoveRoutePacket(bool active) { Active = active; } public bool Active { get; set; } } }
Wiimote_DXLib/Form1.cs
oykdn2109/Wiimote
0
7036138
using System; using System.Drawing; using System.Windows.Forms; using DxLibDLL; using WiimoteLib; using System.Collections.Generic; namespace Wiimote_DXLib { public partial class Form1 : Form { private Wiimote mWiimote; private delegate void UpdateWiimoteStateDelegate(WiimoteChangedEventArgs a...
Person/Services/Core/ServiceDocumento.cs
lucasrochademoraes/microservice.pessoa
1
7036139
using Person.Arguments.Request; using Person.Core; using Person.Core.Enums; using Person.Infra.Persistence; using Person.Infra.Persistence.Specs; using Person.Services.Base; using Person.Services.Core.Interfaces; using Person.Services.Validators.Core; using System; using System.Collections.Generic; using System.Thread...