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
VoxelGame/Client/UI/GuiScreens/HotbarScreen.cs
bryanspiteri/voxelgame-opensource
0
7047590
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VoxelGame.Util; namespace VoxelGame.Client.UI { public class HotbarScreen : GuiScreen { public int CrossHairThickness = 1; public int CrossHairWidth = 12; U...
Source/Ultraviolet.OpenGL/Shared/Graphics/OpenGLSamplerState.cs
Spool5520/ultraviolet
558
7047591
using System; using Ultraviolet.Graphics; using Ultraviolet.OpenGL.Bindings; namespace Ultraviolet.OpenGL.Graphics { /// <summary> /// Represents the OpenGL implementation of the SamplerState class. /// </summary> public class OpenGLSamplerState : SamplerState { /// <summary> /// I...
Modules Source/Caesura.Modules/AssemblyLoaderProvider.cs
kameko/Caesura.Modules
0
7047592
namespace Caesura.Modules { using System; using System.Threading.Tasks; using System.IO; using System.Reflection; using System.Runtime.Loader; public class AssemblyLoaderProvider : AssemblyLoadContext, IAssemblyLoader { public event Func<string, Task> OnUnload; ...
adminlte/Connected Services/TASMaterialProgramaAnaliticoService/Reference.cs
AMarvellous/CIAC-TAS-Web
0
7047593
<reponame>AMarvellous/CIAC-TAS-Web //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is reg...
Source/Excel/DispatchInterfaces/CustomView.cs
igoreksiz/NetOffice
0
7047594
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.ExcelApi { /// <summary> /// DispatchInterface CustomView /// SupportByVersion Excel, 9,10,11,12,14,15,16 /// </summary> /// <remarks> MSDN Online: http://msdn.microsoft.com/en-us/en-us/li...
MapSuiteGisEditor/GisEditorInfrastructure/Managers/LayerListManager/MenuItems/ZoomToExtentMenuItem.cs
hoangduit/MapSuiteGisEditor
2
7047595
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may no...
src/Dotc.MQExplorerPlus.Core/ViewModels/MessageListViewModel.cs
bgiot/mqexplorerplus
6
7047596
#region copyright // // Copyright (c) DOT Consulting scrl. All rights reserved. // Licensed under the provided EULA. See EULA file in the solution root for full license information. // #endregion using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; usin...
Common/CommonContract/ISDKConfigurationService.cs
avinet-au/micro-monolith
0
7047597
using System; using System.Collections.Generic; using System.Text; namespace MicroMonolith.Common { public interface ISDKConfigurationService { string GetBaseUri(MMService service); } public enum MMService { Personnel = 1, Setting = 2 } }
src/draco/platforms/Azure/Models.Cosmos/Cosmos/Repositories/CosmosExtensionRepository.cs
timmyreilly/draco
0
7047599
<gh_stars>0 // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Draco.Azure.Interfaces; using Draco.Azure.Models.Cosmos.Extensions; using Draco.Azure.Options; using Draco.Core.Models.Interfaces; using Microsoft.Azure.Documents; using Microsoft.Azure.Documents.Client; using Microsoft.Extens...
C# OOP/03.Interfaces and Abstraction/Interfaces and Abstraction Exercises/004.BorderControl/Model/Ctizen.cs
Anzzhhela98/SoftUniCourses
7
7047600
<filename>C# OOP/03.Interfaces and Abstraction/Interfaces and Abstraction Exercises/004.BorderControl/Model/Ctizen.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace _004.BorderControl { public class Ctizen : IIDValidatorable { public Ctizen(string name, int...
arpg_prg/nativeclient_prg/Assets/Code/Client/UI/UILogin/UILoginWindowLayout.cs
rusmass/wealthland_client
0
7047601
<gh_stars>0 using System; namespace Client.UI { public partial class UILoginWindow { class Layout { public static string lb_loginusename="usernametxt"; public static string lb_loginpassword="<PASSWORD>"; public static string toggle_rember="toggleremember"; public static string btn_forget=...
Telerik.Sitefinity.Frontend.Identity/Mvc/Views/ChangePassword/ChangePassword.ChangePassword.cshtml
sitefinitysteve/feather-widgets
60
7047602
@model Telerik.Sitefinity.Frontend.Identity.Mvc.Models.ChangePassword.ChangePasswordViewModel @using Telerik.Sitefinity.UI.MVC; @using Telerik.Sitefinity.Frontend.Mvc.Helpers @using Telerik.Sitefinity.Services; <div class="@Model.CssClass"> @if (Model.PasswordChanged) { <h3>@Html.Resource("ChangePass...
test/Nut.MediatR.ServiceLike.Test/AsEventListenerAttributeTest.cs
Archway-SharedLib/Nut.MediatR.Behaviors
0
7047603
using System; using FluentAssertions; using Xunit; namespace Nut.MediatR.ServiceLike.Test; public class AsEventListenerAttributeTest { [Fact] public void ctor_パラメーターがnullの場合は例外が発生する() { Action act = () => new AsEventListenerAttribute(null); act.Should().Throw<ArgumentException>(); } ...
src/Example.Tests.NUnit2/AnimalTests.cs
tmorgner/AutoCake-Example
0
7047604
<reponame>tmorgner/AutoCake-Example using Example.Animals; using NUnit.Framework; namespace Example.Tests.NUnit2 { [TestFixture] [Category("TraitOnClass")] [Property("RefSpec","ClassValue")] public sealed class AnimalTests { [Test] [Category("TraitOnMethod")] public void The_Cat_Sho...
sdk/dotnet/Integration/Outputs/IntegrationInstanceNetworkEndpointDetails.cs
EladGabay/pulumi-oci
5
7047605
<reponame>EladGabay/pulumi-oci // *** 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; usi...
Assets/Destructible 2D/Examples/Scripts/D2dGalleryGun.cs
CannibalK9/fireperson
0
7047606
using UnityEngine; #if UNITY_EDITOR using UnityEditor; namespace Destructible2D { [CanEditMultipleObjects] [CustomEditor(typeof(D2dGalleryGun))] public class D2dGalleryGun_Editor : D2dEditor<D2dGalleryGun> { protected override void OnInspector() { DrawDefault("MoveScale"); DrawDefault("MoveSpeed"); D...
Assets/Scripts/Character/AI/Conditions/ConditionList.cs
lost-home/CiGA2020
0
7047607
<filename>Assets/Scripts/Character/AI/Conditions/ConditionList.cs namespace Nez.AI.GOAP { public enum ConditionsCheckMode { AllTrueRequired, AnyTrueSuffice } public class ConditionList : AICondition { public ConditionsCheckMode checkMode; public string[] conditions; private AIScenarioAgent _agent; ...
TrackerDog/DeclaredObjectPropertyChangeEventArgs.cs
eglauko/trackerdog
90
7047608
<reponame>eglauko/trackerdog using System; namespace TrackerDog { /// <summary> /// Represents the arguments for <see cref="IObjectChangeTracker.Changed"/> event for a declared property change. /// </summary> public sealed class DeclaredObjectPropertyChangeEventArgs : ObjectChangeEventArgs { ...
BuildTT.UnitTests/StringReaderStrategy.cs
janissimsons/EntityFramework-Reverse-POCO-Code-First-Generator
0
7047610
using BuildTT.Application; namespace BuildTT.UnitTests { public class StringReaderStrategy : IReaderStrategy { private readonly string[] _data; public StringReaderStrategy(string[] data) { _data = data; } public (bool success, string[] data) ReadInput(stri...
Dal/Repositories/CategoryRepository.cs
conwid/RepositoryUoWSample
6
7047611
<reponame>conwid/RepositoryUoWSample using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dal { public class CategoryRepository : ICategoryRepository { private readonly NorthwindContext ctx; public CategoryRepo...
Source/Agents/Decrunchers/AncientDecruncher/Formats/Streams/PowerPackerStream.cs
neumatho/lfs_copy
20
7047612
<reponame>neumatho/lfs_copy<gh_stars>10-100 /******************************************************************************/ /* This source, or parts thereof, may be used in any software as long the */ /* license of NostalgicPlayer is keep. See the LICENSE file for more */ /* information. ...
VNC.AssemblyHelper/VNCAssemblyViewer/User Interface/ucBase.cs
chrhodes/VNC
3
7047613
<reponame>chrhodes/VNC using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace VNCAssemblyViewer.User_Interface { public class ucBase : UserControl, IRefresh { /// <summary> /// Creates an ins...
BasicWebServerLibSol/BasicWebServerLib/Events/HttpRequestEventArgs.cs
deandevl/BasicWebServerLib
0
7047615
using System; using BasicWebServerLib.HttpCommon; namespace BasicWebServerLib.Events { public class HttpRequestEventArgs : EventArgs { public object Body {get;private set;} public HttpConnectionDetails Details {get;private set;} public HttpRequestEventArgs(object body, HttpConnectionDetails details) {...
backend/src/Notifo.Infrastructure/Validation/Validate.cs
INOS-soft/notifo
0
7047616
<filename>backend/src/Notifo.Infrastructure/Validation/Validate.cs // ========================================================================== // Notifo.io // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. License...
src/PluginFactory/PluginInitContext.cs
xfrogcn/pluginfactory
72
7047617
using Microsoft.Extensions.DependencyInjection; using System; using System.Linq; namespace Xfrogcn.PluginFactory { public class PluginInitContext : IPluginInitContext { public PluginInitContext(string pluginPath, IPluginLoader pluginLoader, IServiceCollection services) { PluginLoa...
src/NHSD.GPIT.BuyingCatalogue.UI.Components.WebApp/Views/Home/TimeInput.cshtml
nhs-digital-gp-it-futures/GPITBuyingCatalogue
0
7047618
@model NHSD.GPIT.BuyingCatalogue.UI.Components.WebApp.Models.TimeInputModel @{ ViewBag.Title = "Time Input"; } <nhs-page-title title="@ViewBag.Title" advice="Use time input to help users enter a time or time range using a 24 hour format like 12:00 or 09:00." caption="Tag Helpers" ...
Assets/AMG2D/Model/IGroundGenerator.cs
bizz001/AMG2D
0
7047619
using System.Collections; using AMG2D.Model.Persistence; namespace AMG2D.Model { /// <summary> /// Service contract interface that provides ground creation for <see cref="MapPersistence"/> objects. /// </summary> public interface IGroundGenerator { /// <summary> /// Coroutine that ...
build/src/PureCloudPlatform.Client.V2/Model/WorkPlanValidationMessageArgument.cs
F-V-L/platform-client-sdk-dotnet
13
7047620
<filename>build/src/PureCloudPlatform.Client.V2/Model/WorkPlanValidationMessageArgument.cs using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; usi...
getInput.cs
jozadaquebatista/CSHARP-Overview
2
7047621
using System; public class getInput { public static void Main() { String name; Console.WriteLine("Hello, say your name: "); name = Console.ReadLine(); Console.WriteLine("Hello " + name + "!"); } }
src/HtmlGenerator.Tests/TestNormalize.cs
JTOne123/SourceBrowser
868
7047622
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.SourceBrowser.HtmlGenerator.Tests { [TestClass] public class NormalizeTests { [TestMethod] public void NormalizeTest1() { ...
src/StudentInfoSys.Infrastructure/Configurations/CourseConfiguration.cs
IanEscober/StudentInfoSys
0
7047623
namespace StudentInfoSys.Infrastructure.Configurations { using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using StudentInfoSys.Domain.Entities; public class CourseConfiguration : IEntityTypeConfiguration<Course> { public void Configure(EntityTypeB...
Source/Libraries/GSF.Core.Shared/Diagnostics/Utilities/LogFileReader.cs
kylekewley/gsf
131
7047624
//****************************************************************************************************** // LogFileReader.cs - Gbtc // // Copyright © 2016, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // t...
OTTDLib/Squirrel.cs
ttv86/CsNut
0
7047625
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OpenTTD { public static class Squirrel { public static string TypeOf(object obj) { throw new NotImplementedException(); } } }
PersonList/PersonEqualityComparer.cs
2002-feb24-net/harold-code
0
7047627
<reponame>2002-feb24-net/harold-code using System; using System.Collections.Generic; namespace PersonList { class PersonEqualityComparer : IEqualityComparer<Person> { public bool Equals(Person person1, Person person2) { if (person1.Name == person2.Name) { ...
RoslynDomCommon/Enums/Operator.cs
pottereric/RoslynDOM
1
7047628
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RoslynDom.Common { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Operator", Justification =...
src/Data/Responses/GetAllTenYearUsersResponse.cs
latestchatty/simple-chatty-server
3
7047629
<filename>src/Data/Responses/GetAllTenYearUsersResponse.cs using System.Collections.Generic; namespace SimpleChattyServer.Data.Responses { public sealed class GetAllTenYearUsersResponse { public List<string> Users { get; set; } } }
UnityAPI/UnityScripts/PoseAIRigMixamo.cs
PoseAI/PoseCameraAPI
37
7047630
<gh_stars>10-100 // Copyright 2021 Pose AI Ltd. All rights reserved using UnityEngine; using System.Collections.Generic; namespace PoseAI { [System.Serializable] public class PoseAIRigMixamo : PoseAIRigBase { public PoseAIRigMixamo() : base(new Quaternion(0.0f, 0.7071f, 0.7071f, 0.0f)){} ...
ToMigrate/Raven.Tests.Issues/RavenDB_1377.cs
ryanheath/ravendb
1
7047631
<reponame>ryanheath/ravendb<gh_stars>1-10 // ----------------------------------------------------------------------- // <copyright file="RavenDB_1377.cs" company="Hibernating Rhinos LTD"> // Copyright (c) <NAME>. All rights reserved. // </copyright> // --------------------------------------------------------...
example/mapping/DateOfBirthMapper.cs
iamandylamb/ExplicitMapper
1
7047632
using System; using ExplicitMapper; namespace Example.ExplicitMapper { public class DateOfBirthMapper : StructMapper<UserRegistrationModel, DateTime> { protected override void Map(UserRegistrationModel source, out DateTime destination) { destination = new DateTime(source.YearOfBirth...
TheSaga/TheSaga.Tests/SagaTests/AsyncAndValid/EventHandlers/CreatedEventHandler.cs
b-y-t-e/TheSaga
2
7047634
<filename>TheSaga/TheSaga.Tests/SagaTests/AsyncAndValid/EventHandlers/CreatedEventHandler.cs using System.Threading.Tasks; using TheSaga.Coordinators; using TheSaga.Events; using TheSaga.ExecutionContext; using TheSaga.Tests.SagaTests.AsyncAndValid.Events; namespace TheSaga.Tests.SagaTests.AsyncAndValid.EventHandlers...
AdventOfCode/Solutions/Year2020/Day12/Solution.cs
nerddtvg/aoc
0
7047635
<reponame>nerddtvg/aoc using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace AdventOfCode.Solutions.Year2020 { enum ShipDirection { // Starts facing east, +1 is 90 degrees right, -1 is 90 degrees left East, South, West, North } ...
src/FizzBuzz/FizzLib/Services/FizzBuzz.cs
koalaty-code/skills-assessment
0
7047636
using System; using System.Collections.Generic; using System.Linq; using FizzLib.Models; namespace FizzLib.Services { public class FizzBuzz : IFizzBuzz { private readonly DivisorReplacement _fizzReplacement = new DivisorReplacement { Divisor = 3, ReplaceWith = "Fizz" ...
C#Development/C#Advanced/SetsAndDictionaries-Exercise/07.FixEmails/07.FixEmails/Program.cs
stoyanov7/SoftwareUniversity
9
7047637
<filename>C#Development/C#Advanced/SetsAndDictionaries-Exercise/07.FixEmails/07.FixEmails/Program.cs namespace _07.FixEmails { using System; using System.Collections.Generic; public class FixEmails { public static void Main(string[] args) { var nameAndEmail = new D...
Assets/Scripts/TurretControl.cs
Sujatha-Nagarajan/GGJ2022
0
7047638
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TurretControl : MonoBehaviour { // This script allows the user to rotate the turret, // and raise and lower the barrel elevation. public Transform barrel; public float min = -30; public float max = 30; ...
src/Green/Expectable.cs
bwatts/Green
11
7047639
using System; using System.Collections.Generic; using System.Linq; namespace Green { /// <summary> /// Defines operators available to queries that throw <see cref="ExpectException"/> if not met /// </summary> public static partial class Expectable { /// <summary> /// Expects the target is <see langwo...
.Src/Extend/System.Object/Generic/Object.Generic.IsDefault.cs
ryanhry/Extend
38
7047640
#region Usings using System; using JetBrains.Annotations; #endregion namespace Extend { /// <summary> /// Class containing some extension methods for <see cref="object" />. /// </summary> public static partial class ObjectEx { /// <summary> /// Checks if th...
Client/Utilities/OutdatedVersionDialog.cs
Sladernimo/LunaMultiplayer
0
7047641
<reponame>Sladernimo/LunaMultiplayer<filename>Client/Utilities/OutdatedVersionDialog.cs using LunaClient.Localization; using UnityEngine; namespace LunaClient.Utilities { public class OutdatedVersionDialog { public static void SpawnDialog(string latestVersion, string currentVersion) { ...
Assets/Script/Module/StructureModule.cs
HeliSRaiN/Metagraphs
1
7047642
using System.Collections.Generic; using UnityEngine; using System; using System.IO; namespace nm { // История из раздела "Почему медленно работает прога?" [Serializable] public class Structure { public string Name = null; public string Description = null; public Vector3[] Posit...
src/Xels.Bitcoin.IntegrationTests.Common/EnvironmentMockUpHelpers/DateTimeProviderSet.cs
xels-io/SideChain-SmartContract
0
7047643
<reponame>xels-io/SideChain-SmartContract using System; using Xels.Bitcoin.Utilities; namespace Xels.Bitcoin.IntegrationTests.Common.EnvironmentMockUpHelpers { public class DateTimeProviderSet : DateTimeProvider { public long time; public DateTime timeutc; public override long GetTime...
SharedWpfControls/Helpers/ShapeGenerator.cs
mindleaving/dataapi
0
7047644
using System; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Shapes; using Commons.CoordinateTransform; using Commons.Extensions; using Commons.Mathematics; using Commons.Misc; using Commons.Physics; using SharedViewModels.Helpers; ...
docs/guide/samples/layout-builders-sourcegenerators/SourceGeneratorLayout.cs
xenial-io/Xenial
0
7047645
<filename>docs/guide/samples/layout-builders-sourcegenerators/SourceGeneratorLayout.cs using DevExpress.Persistent.Base; using DevExpress.Xpo; using Xenial; using Xenial.Framework.Layouts; using Xenial.Framework.Layouts.Items; using Xenial.Framework.Layouts.Items.Base; using Xenial.Framework.Layouts.Items.LeafNodes; ...
src/Tizen.Multimedia.Recorder/Recorder/RecordingStatusChangedEventArgs.cs
trimbaken/TizenFX
149
7047646
/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * 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 requi...
src/BundleTransformer.CleanCss/Internal/CleaningOptions.cs
kapral/BundleTransformer
0
7047647
<gh_stars>0 namespace BundleTransformer.CleanCss.Internal { /// <summary> /// CSS cleaning options /// </summary> internal sealed class CleaningOptions { /// <summary> /// Gets or sets a compatibility mode: /// "*" (default) - Internet Explorer 10+ compatibility mode; /// "ie9" - Internet Expl...
Framework/XS.Framework.Common/WebBase/WebHelper.cs
ctxsdhy/XSBlog
0
7047648
using System.Text; using System.Text.RegularExpressions; using System.Web; using XS.Framework.Common.Extension; namespace XS.Framework.Common.WebBase { /// <summary> /// 提供WEB开发常用功能 /// </summary> public static class WebUtil { /// <summary> /// 判断当前是否是POST请求方式 /// </summary...
ClintSharp/DateTimeExtension.cs
clintnetwork/ClintSharp
0
7047649
using System; using System.Linq; namespace ClintSharp { public static class DateTimeExtension { /// <summary> /// Convert a DateTime to Timestamp /// </summary> public static long ToTimestamp(this DateTime value) => (long)value.Subtract(new DateTime(1970, 1, 1)).TotalSeconds; ...
Assets/Sample/RaiseCustomEvent.cs
kyubuns/ApureEasing
24
7047650
<reponame>kyubuns/ApureEasing<gh_stars>10-100 using System.Collections; using System.Collections.Generic; using Unity.VisualScripting; using UnityEngine; public class RaiseCustomEvent : MonoBehaviour { [SerializeField] private GameObject target; [SerializeField] private string eventName; public void Upda...
Specifications/Events/for_EventSource/given/an_event_source_with_2_uncommitted_events.cs
joelhoisko/Runtime
0
7047651
using Machine.Specifications; namespace Dolittle.Events.Specs.for_EventSource.given { public class an_event_source_with_2_uncommitted_events : a_stateful_event_source { private Establish context = () => { var firstEvent = new SimpleEvent(); event_source.Apply(firstEvent); var ...
src/Uno.UITest.Xamarin/Extensions/InvokeJSAppQueryExtensions.cs
jeromelaban/Uno.UITest
8
7047652
<reponame>jeromelaban/Uno.UITest<filename>src/Uno.UITest.Xamarin/Extensions/InvokeJSAppQueryExtensions.cs using System; using System.Collections.Generic; using System.Text; using Xamarin.UITest.Queries; namespace Uno.UITest.Xamarin.Extensions { public static class InvokeJSAppQueryExtensions { public static IInvok...
src/DevExpress.OutlookInspiredApp.Wpf/Views/MailMergeView.xaml.cs
dreamcode0824/netcore-wpf-demos-master
2
7047653
<filename>src/DevExpress.OutlookInspiredApp.Wpf/Views/MailMergeView.xaml.cs using DevExpress.Mvvm.UI.Interactivity; using DevExpress.Xpf.RichEdit; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using S...
eTutor.SOLUTION/eTutor.Core/Managers/AccountsManager.cs
juandozuna/eTutor.BackEnd
1
7047654
<filename>eTutor.SOLUTION/eTutor.Core/Managers/AccountsManager.cs using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using eTutor.Core.Contracts; using eTutor.Core.Models; using eTutor.Core.Repositories; using Microsoft.AspNetCore.Identity; namespace eTut...
src/Tmds.GLib/Generated/Gdk.Generated.cs
tmds/Tmds.GLib
0
7047655
<gh_stars>0 using System; using System.Runtime.InteropServices; namespace Gdk { [Flags] public enum AnchorHints { flip_x = 1, flip_y = 2, slide_x = 4, slide_y = 8, resize_x = 16, resize_y = 32, flip = 3, slide = 12, resize = 48, } public ref struct AppLaunchContext { private IntPtr _pointer; ...
SolarSystem/SolarSystem.Backend/Classes/Storage.cs
Bargsteen/P5-MI-AAU
0
7047656
<reponame>Bargsteen/P5-MI-AAU using System; using System.Collections.Generic; using System.Linq; namespace SolarSystem.Backend.Classes { public class Storage { public event Action OnSendShelfBoxToStation; private readonly Queue<(Station, Article)> _requestQueue; private c...
src/root/src/numeric/bases/models/Base2.cs
0xCM/z0
0
7047657
//----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root; ...
TaaontiaCore/Database/Models/Item.cs
Kagaminara/taaontia-sharp
0
7047659
<gh_stars>0 using System; using System.ComponentModel.DataAnnotations; namespace TaaontiaCore.Database.Models { public class Item { [Key] public Guid Id { get; set; } public string Name { get; set; } } }
LeoBay/LeoBayController/ItemsManagerController/ItemsManagerController.cs
LeoRoma/LeoBay
0
7047660
<reponame>LeoRoma/LeoBay using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Security.Cryptography; using LeoBayModel; using System.Linq; using Microsoft.EntityFrameworkCore; using System.Drawing; using System.Data; using System.Data.SqlClient; namespace LeoBayController...
HotelMoxIt/WEB/Views/Usuario/Editar.cshtml
yedai13/HotelMoxIt
0
7047661
<filename>HotelMoxIt/WEB/Views/Usuario/Editar.cshtml @using Microsoft.AspNetCore.Http @model Repositorio.Models.Usuario @if (@Context.Session.GetInt32("TipoUsuario") == 1) { <partial name="_NavBarUsuario" /> } else { <partial name="_NavBarAdmin" /> } <h1>Editar Usuario</h1> <hr /> <div class="row"> <div...
Assets/RTS Framework/Scripts/Player/BuildUnits.cs
jacobbetz/techiton-game
0
7047662
<reponame>jacobbetz/techiton-game using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; /// <summary> /// Allows the player to place units and structures on the terrain. /// </summary> public class BuildUnits : Singleton<BuildUnits> { [Tooltip("The layer on whi...
source/Utilities/TransportTypeTemplateSelector.cs
nanoframework/nf-ANT
4
7047663
<reponame>nanoframework/nf-ANT<filename>source/Utilities/TransportTypeTemplateSelector.cs // // Copyright (c) 2017 The nanoFramework project contributors // See LICENSE file in the project root for full license information. // using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using nanoFramework.Tools.Debugger.Wi...
Assets/Scripts/RRTKDTree.cs
ctyeong/unitytool
0
7047664
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.IO; using UnityEditor; using KDTreeDLL; using Common; using Objects; using Extra; namespace Exploration { public class RRTKDTree : NodeProvider { private Cell[][][] nodeMatrix; private float angle; public KDTree tree; ...
modules/Information/src/Paas.Pioneer.Information.Domain/News/INewsRepository.cs
xiaolei000129/Paas.Pioneer
2
7047665
<filename>modules/Information/src/Paas.Pioneer.Information.Domain/News/INewsRepository.cs using Paas.Pioneer.Domain.Shared.Dto.Input; using System; using System.Threading.Tasks; using Volo.Abp.Domain.Repositories; using Paas.Pioneer.Domain.Shared.Dto.Output; using Paas.Pioneer.Information.Domain.BaseExtensions; using ...
FigmaSharp.Controls/FigmaSharp.Controls.Cocoa/Converters/Controls/SliderConverter.cs
Youssef1313/FigmaSharp
2
7047666
// Authors: // <NAME> <<EMAIL>> // <NAME> <<EMAIL>> // // Copyright (C) 2020 Microsoft, Corp // // 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 // witho...
Assets/Scripts/Interfaces/ISportPlayer.cs
PierreGac/Coachatron
0
7047667
<reponame>PierreGac/Coachatron<filename>Assets/Scripts/Interfaces/ISportPlayer.cs using UnityEngine; namespace CoachSimulator { public interface ISportPlayer { string name { get; } Sprite playerSprite { get; } string GetDescription(); } }
tests/NHSD.BuyingCatalogue.Solutions.API.UnitTests/Builders/CatalogueItemDtoBuilder.cs
nhs-digital-gp-it-futures/BuyingCatalogueService
2
7047668
<gh_stars>1-10 using NHSD.BuyingCatalogue.Solutions.Application.Queries.GetCatalogueItemById; namespace NHSD.BuyingCatalogue.Solutions.API.UnitTests.Builders { internal sealed class CatalogueItemDtoBuilder { private readonly string catalogueItemId; private readonly string name; privat...
Assets/3Party/TheFirstPerson/Code/Helper/GizmoUtilities.cs
2B-Games/Lost-Conscience
0
7047669
<filename>Assets/3Party/TheFirstPerson/Code/Helper/GizmoUtilities.cs using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace TheFirstPerson.Helper { public static class GizmoUtilities { //Code by toomasio found at https://forum.unity.com/threads/draw...
Engine/extlibs/IosLibs/mono-2.6.7/mcs/nunit24/NUnitFramework/framework/OldTestCase.cs
zlxy/Genesis-3D
1
7047670
// **************************************************************** // This is free software licensed under the NUnit license. You // may obtain a copy of the license as well as information regarding // copyright ownership at http://nunit.org/?p=license&r=2.4. // ********************************************************...
Win.Donantes/Win.Donantes/FormMenu.Designer.cs
allandiaz15/BancoPrueba
0
7047671
<gh_stars>0 using System; namespace Win.Donantes { partial class FormMenu { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ///...
XenAdmin/Dialogs/DecompressApplianceDialog.cs
cheng-z/xenadmin
1
7047672
/* Copyright (c) Citrix Systems 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: * * * Redistributions of source code must retain the above * copyright notice,...
zenonApi.Logic/FunctionBlockDiagrams/FunctionBlockDiagramDefinition.cs
COPA-DATA/zenonLogicAPI
3
7047673
<reponame>COPA-DATA/zenonLogicAPI using zenonApi.Collections; using zenonApi.Serialization; namespace zenonApi.Logic.FunctionBlockDiagrams { /// <summary> /// Describes a Function Block Diagram. /// </summary> public class FunctionBlockDiagramDefinition : zenonSerializable<FunctionBlockDiagramDefinition> { ...
Assets/Scripts/Services/BlockService.cs
BDXvibeForVIVE/labyrinthVR
0
7047674
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BlockService : MonoBehaviour { public DialogBoxController dialogBox; public GameObject[] blocks; private GameObject currentBlock; private bool spawnPlaced = false; void Awake () { currentBlock = blocks [0]; } publ...
RobotArm/Assets/RobotArmControl.cs
erikbuck/Unity3D_Examples
0
7047675
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; // For DateTime public class RobotArmControl : MonoBehaviour { public Rigidbody thingPrefab; public float baseRotationDeg; public float partARotationDeg; public float partBRotationDeg; public ...
Core.Tests/Components/Connection/ConnectionServiceTests.cs
beaudeanadams/ServiceBusDriver
0
7047676
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Messaging.ServiceBus.Administration; using Microsoft.Extensions.Logging; using Moq; using ServiceBusDriver.Core.Components.Connection; using ServiceBusDri...
NJsonApi.Test/Serialization/JsonApiTransformerTest/TestSerialization.cs
Bulkas456/NJsonApi
0
7047677
using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; using NJsonApi.Serialization; using NJsonApi.Serialization.Converters; using SoftwareApproach.TestingExtensions; using System; using System.Collections.Generic; namespace NJsonApi.Test.Serialization.JsonApiTransformerTest { [TestClass] ...
PearlPlotter/Form1.Designer.cs
nickmaleki/pearlplotter
0
7047678
namespace PearlPlotter1_3 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
Assets/Scripts/Instaniate64Cubes.cs
Garciaj007/AudioDevelopment
0
7047680
using UnityEngine; public class Instaniate64Cubes : MonoBehaviour { public GameObject samplePrefabCube; public AudioVisualiser av; public float maxScale; public Color c; Material[] mat; float hue; GameObject[] sampleCubes; // Use this for initialization void Start () { sampleC...
Csharp-Exam-Project-master/Forum/Forum/Areas/AccountPanel/Views/Profile/Details.cshtml
EmORz/Simple_Example_Projects
3
7047682
<gh_stars>1-10 @using Forum.ViewModels.Profile; @using Forum.ViewModels.Message; @model ProfileInfoViewModel; <div class="bg-white"> <div class="profile-container m-0"> <div id="profile-pic-holder" class="text-center bg-white m-0"> <div class="menu-bg-forum m-0 p-10 text-center"> ...
src/Urho3DMaterialEditor/Model/InlineFunctionNodeFactory.cs
gleblebedev/Urho3DMaterialGraphEditor
20
7047683
<reponame>gleblebedev/Urho3DMaterialGraphEditor using System.Collections.Generic; using System.Linq; using Toe.Scripting; using Toe.Scripting.Helpers; using Toe.Scripting.WPF.ViewModels; namespace Urho3DMaterialEditor.Model { public class InlineFunctionNodeFactory : INodeFactory { private readonly Scr...
ann-shop-server/Services/Flutter/FlutterPostCategoryService.cs
tranthaibinh111/ann-shop-dot-net
0
7047684
using ann_shop_server.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ann_shop_server.Services { public class FlutterPostCategoryService : PostCategoryService { public List<FlutterPostCategoryModel> getCategories() { var postCa...
CodeCompare/Forms/ComparisonType.cs
3583Bytes/CodeCompare
6
7047685
using System; using System.IO; using System.Windows.Forms; using CodeCompare.Shared; using CompareEngine; using System.Diagnostics; namespace CodeCompare.Forms { public partial class ComparisonType : BaseForm { public ComparisonType() { InitializeComponent(); } ...
src/OpenApi/src/OpenApiRouteHandlerBuilderExtensions.cs
aspnet/AspNetCore
8,570
7047686
<filename>src/OpenApi/src/OpenApiRouteHandlerBuilderExtensions.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Reflection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; usi...
TestLibrary/AssertionExtensions.cs
johnfnz/Emerlahn.TestLibrary
0
7047687
using FluentAssertions; using System; using System.Collections.Generic; using System.Linq; using Emerlahn.Utilities; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; using Ploeh.AutoFixture.Idioms; namespace Emerlahn.TestLibrary { public static class AssertionExtensions { public ...
UnityWeld/Binding/Adapters/StringCultureToDateTimeAdapterOptions.cs
Shandy-Gecko/Unity-Weld
365
7047688
<gh_stars>100-1000 using UnityEngine; namespace UnityWeld.Binding.Adapters { /// <summary> /// Options for converting from a string to a DateTime using format from a specified /// culture. /// </summary> [CreateAssetMenu(menuName = "Unity Weld/Adapter options/String to DateTime adapter (using cultu...
Playground/Reinforced.Samples.ToyFactory/Queries/Common.cs
fjod/Reinforced.Tecture
125
7047689
<reponame>fjod/Reinforced.Tecture using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Reinforced.Samples.ToyFactory.Logic.Channels; using Reinforced.Tecture.Aspects.Orm.Queries; namespace Reinforced.Samples.ToyFactory.Queries { public static class CommonQueries ...
ProjectManager/Services/Projects/StatusesServiceModel.cs
msaykov/Project-Manager
1
7047690
<reponame>msaykov/Project-Manager namespace ProjectManager.Services.Projects { public class StatusesServiceModel { public int Id { get; set; } public string Name { get; set; } } }
CmdMessenger/CmdMessenger/CSharp/CommandMessenger/CmdMessenger.cs
rofl-er/MobiFlight-Connector
45
7047691
#region CmdMessenger - MIT - (c) 2014 <NAME>. /* CmdMessenger - library that provides command based messaging 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, includin...
iSEE SWISMUN/SWISMUN/SWISMUN/ViewController.designer.cs
Epentibi/iSEE
0
7047692
// WARNING // // This file has been generated automatically by Visual Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using Foundation; using System.CodeDom.Compiler; namespace SWISMUN { [Register ("Vi...
SpecsAndDemos/SpecsAndDemos/031ScenarioContext/ScenarioContextSteps.cs
marcusoftnet/SpecFlowDemos
5
7047693
using System; using Should.Fluent; using Specs.TestEntities; using TechTalk.SpecFlow; using TechTalk.SpecFlow.Assist; namespace Specs._031ScenarioContext { [Binding] public class ScenarioContextSteps { [When(@"I store a person called (.*) in the Current ScenarioContext")] publi...
TestIT/TestIT/Views/Home/Users.cshtml
Mr-357/TestIT
1
7047694
<gh_stars>1-10 @model TestIT.Models.ViewModels.UsersViewModel @{ ViewData["Title"] = "Korisnici"; } <form> <label>Pretrazi po imenu</label> <div style="display:flex; flex-direction:row"> <input type="text" name="filter" maxlength="250" /> <button style="margin-left:1%" class="btn btn-prima...
MakingServerJSON/API/Resources/AndroidSendToAppByIdDispDoctorHistory.cs
wgpol098/Dispenser
0
7047695
<reponame>wgpol098/Dispenser<gh_stars>0 using System.Collections.Generic; namespace WebApplication1.API.Resources { public class AndroidSendToAppByIdDispDoctorHistory { public string Description { get; set; } public string Start { get; set; } public string End { get; set; } pub...
DockSample/frmDBConnect.Designer.cs
arghya-git/IEISync
0
7047696
<reponame>arghya-git/IEISync namespace DBSync { partial class frmDBConnect { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ///...
Msn.InteropDemo.Fhir/Model/Request/ExistPatientRequest.cs
SALUD-AR/Open-RSD
15
7047697
using System; using System.Collections.Generic; using System.Text; namespace Msn.InteropDemo.Fhir.Model.Request { public class ExistPatientRequest { public int Dni { get; set; } public string PrimerApellido { get; set; } public string PrimerNombre { get; set; } public string...