max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
Assets/Plugins/Mesh4D/Scripts/Editor/Quaternion4Editor.cs
reillydonovan/ConformationLG
0
7036347
<gh_stars>0 using UnityEngine; using System.Collections; using UnityEditor; using System; namespace M4DLib.Editors { [CustomPropertyDrawer(typeof(Quaternion4))] public class Quaternion4Editor : PropertyDrawer { private Rotation4 _euler = Rotation4.identity; private Quaternion4 _quaternio...
Assets/Scripts/Tetris/Block/Block.cs
mariofv/NEAT-Tetris
3
7036348
<reponame>mariofv/NEAT-Tetris<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Block : MonoBehaviour { public enum BlockType { I, J, L, O, S, T, Z, NONE } BlockType blockType; ...
ECSDevServer/ECS.Security/AccessTokens/Jwt/IJwtManager.cs
extra-curricular-schooling/WebAPI-Demo
0
7036349
using ECS.Models; using System.Collections.Generic; using System.Security.Claims; namespace ECS.Security.AccessTokens.Jwt { // Fill in the rest of the comments. public interface IJwtManager { /// <summary> /// Creates a JWT /// </summary> /// <param name="username"></param>...
Runtime/rt/java/io/FileNotFoundException.cs
danelkhen/cs2java
11
7036350
//*************************************************** //* This file was generated by JSharp //*************************************************** namespace java.io { public partial class FileNotFoundException : IOException { public FileNotFoundException(){} public FileNotFoundException(global::j...
src/Abp/Auditing/AuditingConfiguration.cs
nineconsult/Kickoff2016Net
5
7036351
<filename>src/Abp/Auditing/AuditingConfiguration.cs<gh_stars>1-10 namespace Abp.Auditing { internal class AuditingConfiguration : IAuditingConfiguration { public bool IsEnabled { get; set; } public bool IsEnabledForAnonymousUsers { get; set; } public IMvcControllersAuditingConfigurati...
src/ComputeSharp.SourceGenerators/GlobalUsingDirectivesGenerator.cs
arcadiogarcia/ComputeSharp
0
7036352
<reponame>arcadiogarcia/ComputeSharp using System.IO; using System.Reflection; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; namespace ComputeSharp.SourceGenerators; /// <summary> /// A source generator to create global using directives for the HLSL primitive types. /// </summar...
TPUM_2021/TPUM_2021.Data/Interfaces/ICustomer.cs
st1310/TPUM
0
7036353
<filename>TPUM_2021/TPUM_2021.Data/Interfaces/ICustomer.cs using System; using System.Collections.Generic; using System.Text; namespace TPUM_2021.ServerData { public interface ICustomer : IEntity { string Name { get; set; } decimal Funds { get; set; } } }
Dev4Side.SP2013.FilteredLookup/FilteredLookupFieldEditor.cs
serenabenny/sharepoint-2013-filtered-lookup-field
2
7036354
<filename>Dev4Side.SP2013.FilteredLookup/FilteredLookupFieldEditor.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.UI; using Microsoft.SharePoint.WebControls; using System.Web.UI.WebControls; using Microsoft.SharePoint; using Microsoft.SharePoint.Utilit...
Echo.Process/Prelude_Logging.cs
meddbase/echo-process
0
7036355
<gh_stars>0 using System; using System.Diagnostics; using System.Reactive.Subjects; namespace Echo { public static partial class Process { #if DEBUG /// <summary> /// Log info - Internal /// </summary> internal static void logInfo(object message) => Debug.WriteLine...
FastReport.Base/DataFooterBand.cs
8VAid8/FastReport
1,828
7036356
using System; using System.Collections; namespace FastReport { /// <summary> /// This class represents a data band footer. /// </summary> public class DataFooterBand : HeaderFooterBandBase { } }
DPMMVCCore/DPM_Testing/Models/Prescriptive/PSR/MSSStrategyModel.cs
dprescriptivemaintenance40/DPMCore
1
7036357
<filename>DPMMVCCore/DPM_Testing/Models/Prescriptive/PSR/MSSStrategyModel.cs using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DPM.Models.Prescriptive.PSR { public class MSSStrategyModel { [Key] public int MSSStrategyModelId { get; set; ...
b2xtranslator/Xls/XlsFileFormat/Structures/XmlTkDispBlanksAsFrt.cs
kafkaesqu3/Macrome
484
7036358
 using b2xtranslator.StructuredStorage.Reader; namespace b2xtranslator.Spreadsheet.XlsFileFormat.Structures { public class XmlTkDispBlanksAsFrt { //0x0067 Specifies that blank values are shown as a gap. //0x0069 Specifies that blank values are spanned with a line. The current chart group typ...
Simulation/PlayGen.ITAlert.Simulation/Systems/Movement/MovementException.cs
playgen/it-alert
1
7036359
<reponame>playgen/it-alert using System; using System.Collections.Generic; using System.Linq; using System.Text; using PlayGen.ITAlert.Simulation.Exceptions; namespace PlayGen.ITAlert.Simulation.Systems.Movement { public class MovementException : SimulationException { public MovementException() { ...
Sandbox/CustomerExamples/MarketProfileTradingExample/HistogramBarDemoProjectViewModel.cs
hafniz/SciChart.Wpf.Examples
1
7036360
<filename>Sandbox/CustomerExamples/MarketProfileTradingExample/HistogramBarDemoProjectViewModel.cs // ************************************************************************************* // SCICHART® Copyright SciChart Ltd. 2011-2017. All rights reserved. // // Web: http://www.scichart.com // Support: <EMAIL> // ...
src/Microsoft.AspNetCore.OData/NonValidatingParameterBindingAttribute.cs
komdil/WebApi
907
7036361
//----------------------------------------------------------------------------- // <copyright file="NonValidatingParameterBindingAttribute.cs" company=".NET Foundation"> // Copyright (c) .NET Foundation and Contributors. All rights reserved. // See License.txt in the project root for license information. // ...
src/Features/NetDevPL.Features.Blogs/BlogDataProvider.cs
NetDevelopersPoland/NetDevPLWebsite
27
7036362
<filename>src/Features/NetDevPL.Features.Blogs/BlogDataProvider.cs using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using NetDevPL.Infrastructure.Services; namespace NetDevPL.Features.Blogs { public class BlogDataProvider { public ICollection<Blog> GetDataFr...
Assets/IGSoft_Tools/FXMaker/ToolScript/Editor/Inspector/NcParticleSystemEditor.cs
yimengfan/PosePlus_FTG
85
7036363
// ---------------------------------------------------------------------------------- // // FXMaker // Created by ismoon - 2012 - <EMAIL> // // ---------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------- us...
NCop.Aspects/Weaving/Expressions/BindingMethodInterceptionAspectExpression.cs
sagifogel/NCop
34
7036364
using NCop.Aspects.Aspects; using NCop.Aspects.Extensions; namespace NCop.Aspects.Weaving.Expressions { internal class BindingMethodInterceptionAspectExpression : AbstractAspectMethodExpression { private readonly IMethodAspectDefinition topAspectInScopeDefinition = null; internal BindingMethodIn...
Generate/Xml/GrindArea.cs
nt153133/SaintCoinach
1
7036365
using System.Collections.Generic; using System.Xml.Serialization; namespace Generate.Xml { //[XmlRoot("GrindArea")] public class GrindArea { [XmlAttribute("Name")] public string Name { get; set; } [XmlElement("MinLevel")] public int MinLevel { get; set; } [XmlElement("MaxLevel...
src/Com.Danliris.Service.Packing.Inventory.Application/Helper/Timestamp.cs
AndreaZain/com-danliris-service-packing-inventory
0
7036366
using System; namespace Com.Danliris.Service.Packing.Inventory.Application.Helper { public class Timestamp { private const string TIMESTAMP_FORMAT = "yyyyMMddHHmmssffff"; public static string Generate(DateTime value) { return value.ToString(TIMESTAMP_FORMAT); } ...
Assets/Scripts/Controller/ControllerGrab.cs
Aptanaa/VR_RibbonCut
0
7036367
<gh_stars>0 using Assets.Scripts.Common; using UnityEngine; using Valve.VR; namespace Assets.Scripts.Controller { public class ControllerGrab : MonoBehaviour { public EVRButtonId PickupButton; private SteamVR_TrackedObject _trackedObj; private SteamVR_Controller.Device Controller ...
src/Com.Danliris.Service.Packing.Inventory.Test/Services/GarmentShipping/Monitoring/GarmentCoverLetterMonitoringServiceTest.cs
AndreaZain/com-danliris-service-packing-inventory
0
7036368
<filename>src/Com.Danliris.Service.Packing.Inventory.Test/Services/GarmentShipping/Monitoring/GarmentCoverLetterMonitoringServiceTest.cs using Com.Danliris.Service.Packing.Inventory.Application.ToBeRefactored.GarmentShipping.Monitoring.GarmentCoverLetter; using Com.Danliris.Service.Packing.Inventory.Data.Models.Garmen...
EvolveGraphicsAndAnimation/AnimationSamples/ViewAnimation.cs
ertan2002/monotouch-samples
1
7036369
using System; using System.Drawing; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.CoreGraphics; using MonoTouch.CoreAnimation; namespace AnimationSamples { public partial class ViewAnimation : UIViewController { PointF pt; UIImageView imgView; UIImage img; public ViewAnimation () : ba...
HW03-ASP.NET-Web-and-HTML-Controls/RandomNumbersHTMLControls/Home.aspx.cs
MarinMarinov/ASP.NET-Web-Forms
0
7036370
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace RandomNumbersHTMLControls { public partial class Home : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
RavenDBTesting/RavenDBTesting/CupOfTea.cs
Andrew-Brad/RavenDBTesting
0
7036371
using System; using System.Collections.Generic; namespace RavenDBTesting { public class CupOfTea { public string Id { get; set; } public string TeaProfileId { get; set; } public decimal Temperature { get; set; } public DateTime PouredOn { get; set; } } }
BetterJoyForCemu/XInputController.cs
MYCRAFTisbest/BetterJoy
4
7036372
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using SharpDX.XInput; namespace BetterJoyForCemu { public class XInputController { /// <summary> /// The main entry point for the applic...
ZigBeeNet/ZDO/ZdoCommand.cs
thombrink/ZigbeeNet
0
7036373
<reponame>thombrink/ZigbeeNet using System; using System.Collections.Generic; using System.Text; using ZigBeeNet.ZCL; namespace ZigBeeNet.ZDO { public class ZdoCommand : ZigBeeCommand { public override void Serialize(ZclFieldSerializer serializer) { } public overr...
src/Easy.Web.Serialization.XML/XMLDeserializer.cs
NimaAra/Easy.Web
8
7036374
<filename>src/Easy.Web.Serialization.XML/XMLDeserializer.cs namespace Easy.Web.Serialization.XML { using System.IO; using System.Collections.Generic; using System.Text; using System.Xml; using System.Xml.Serialization; using System.Xml.Linq; using Core.Interfaces; using Core.Extensions;...
DDD/ControleLivros_Unity/ArtigoUnity.Dominio/Servico/Interfaces/Base/IBaseServicoAlterar.cs
gabrielsimas/SistemasExemplo
2
7036375
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArtigoUnity.Dominio.Servico.Interfaces.Base { public interface IBaseServicoAlterar<T> where T: class { void Alterar(T entidade); } }
CodeFirstStoreFunctionsSamples/MultipleResultSetsSample.cs
amccool/codefirstfunctions
0
7036376
<reponame>amccool/codefirstfunctions<filename>CodeFirstStoreFunctionsSamples/MultipleResultSetsSample.cs namespace CodeFirstStoreFunctionsSamples { using System; using System.Data.Entity; using System.Linq; using CodeFirstStoreFunctions; using System.Collections.Generic; using System.Dat...
SendGrid/SendGridMail/Utils.cs
dineshkummarc/sendgrid-csharp
0
7036377
using System; using System.Collections.Generic; using System.IO; using System.IO.Pipes; using System.Linq; using System.Net; using System.Net.Mail; using System.Runtime.Serialization.Json; using System.Text; namespace SendGridMail { public class Utils { public static string Serialize<T>(...
tests/RoutingRecords.IntegrationTests/FromQueryTests.cs
fernandoescolar/RoutingRecords
8
7036378
<reponame>fernandoescolar/RoutingRecords<gh_stars>1-10 using RoutingRecords.IntegrationTests.TestServer; using System.Net.Http; using System.Threading.Tasks; using Xunit; namespace RoutingRecords.IntegrationTests { public class FromQueryTests { private readonly HttpClient _client; public FromQueryTests() { ...
LibAYEmu/RegData.cs
iratahack/WYZTracker
38
7036379
using System; namespace LibAYEmu { /// <summary> /// Summary description for RegData. /// </summary> public class RegData { private int tone_a; /*< R0, R1 */ private int tone_b; /*< R2, R3 */ private int tone_c; /*< R4, R5 */ private int noise; /*< R6 */ private int R7_tone_a; /*< R7 bit 0 ...
Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Entities/Views/VProductModelCatalogDescription.cs
niemyjski/nettiers
66
7036380
#region Using directives using System; #endregion namespace Nettiers.AdventureWorks.Entities { ///<summary> /// Displays the content from each element in the xml column CatalogDescription for each product in the Production.ProductModel table that has catalog data. ///</summary> /// <remarks> /// ...
Test.Core/AuthRemoteHandler.cs
hoofa/IdentityServer4.XPO
1
7036381
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Syst...
CameraControl.Plugins/Plugins.cs
mathcham/digiCamControl
1
7036382
#region Licence // Distributed under MIT License // =========================================================== // // digiCamControl - DSLR camera remote control open source software // Copyright (C) 2014 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software a...
Assets/TextureLoader/Scripts/Editor/TextureStreamingLoaderEditor.cs
asus4/UnityTextureLoader
16
7036383
<gh_stars>10-100 using UnityEngine; using UnityEditor; namespace TextureLoader { [CustomEditor(typeof(TextureStreamingLoader))] [CanEditMultipleObjects] public class TextureStreamingLoaderEditor : TextureLoaderEditor { // simple overrides [MenuItem("Tools/Create/TextureLoader (from Ste...
libraries/ModernRonin.PraeterArtem/Reflection/TypeLoader.cs
ModernRonin/praeterartem
0
7036384
<reponame>ModernRonin/praeterartem using System; using System.Collections.Concurrent; using JetBrains.Annotations; namespace ModernRonin.PraeterArtem.Reflection { [UsedImplicitly] sealed class TypeLoader : MarshalByRefObject { /// <summary> /// This MUST be an instance method, otherwise...
src/LionFire.ObjectBus.Redis/Redis/Referencing/RedisReference.cs
jaredthirsk/LionFire.Core
0
7036385
using System; using System.Collections.Generic; using System.Linq; using System.Text; using LionFire.MultiTyping; using LionFire.Ontology; using LionFire.Referencing; using LionFire.Serialization; using LionFire.Structures; namespace LionFire.ObjectBus.Redis { [LionSerializable(SerializeMethod.ByValue...
IndicatorsUI/DataAccess/NearestNeighbourReader.cs
publichealthengland/fingertips-open
2
7036386
using NHibernate; using NHibernate.Criterion; using IndicatorsUI.DomainObjects; using System.Collections.Generic; namespace IndicatorsUI.DataAccess { public class NearestNeighbourReader : BaseReader { internal NearestNeighbourReader(ISessionFactory sessionFactory) : base(sessionFactory) ...
src/DocumentFormat.OpenXml/SimpleTypes/OpenXmlComparableSimpleReference.cs
lifeng1983/Open-XML-SDK
2
7036387
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace DocumentFormat.OpenXml { /// <summary> /// Represents a comparable and equatable reference. /// </summary> /// <typeparam name...
Mercurial.Net/Mercurial.Net.Tests/Properties/AssemblyInfo.cs
atsushieno/monodevelop-mercurial
1
7036388
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Mercurial.Net.Tests")] [assembly: AssemblyDescription("Unit Tests for Mercurial.Net")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("<NAME>")] [assembly: AssemblyProduct("Mercuri...
Core/Extensions/ReflectionRelated/AssemblyExt.cs
capjan/CoreLib
10
7036389
using System; using System.IO; using System.IO.Pipes; using System.Reflection; using Core.Reflection; namespace Core.Extensions.ReflectionRelated { public static class AssemblyExt { public static bool TryGetAttribute<T>(this Assembly assembly, out T? attribute) where T : Attribute { ...
PropertyChanged.Fody/MethodInterceptorInjector.cs
DaleStan/PropertyChanged
1,489
7036390
using System.Linq; using Mono.Cecil; using Mono.Cecil.Cil; public partial class ModuleWeaver { MethodDefinition InjectInterceptedMethod(TypeDefinition targetType, MethodDefinition innerOnPropertyChanged) { var delegateHolderInjector = new DelegateHolderInjector { ...
RuilenLeenSysteem/View/UserControls/Products/ProductEdit.Designer.cs
marcoduister/RuilLeensysteem-Casus
0
7036391
 namespace RuilenLeenSysteem.View.UserControls.Products { partial class ProductEdit { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
Intersect.Editor/Networking/PacketSender.cs
RedBandana/Intersect-Engine
146
7036392
<gh_stars>100-1000 using System; using Intersect.Editor.General; using Intersect.Editor.Maps; using Intersect.Enums; using Intersect.GameObjects.Maps.MapList; using Intersect.Models; using Intersect.Network.Packets.Editor; using MapListUpdates = Intersect.Enums.MapListUpdates; namespace Intersect.Editor.Networking ...
CodeWars/7kyu/ReplaceEveryNth.cs
a-kozhanov/codewars_csharp
11
7036393
/* https://www.codewars.com/kata/57fcaed83206fb15fd00027a/csharp 7 kyu Replace every nth Task Write a method, that replaces every nth char oldValue with char newValue. Method: ReplaceNth(string text, int n, char oldValue, char newValue) Example: n: 2 oldValue: 'a' newValue: 'o' "Vader said: No, I am your f...
Backend/AnimalRescue/AnimalRescue.BusinessLogic/Configurations/MappingProfiles/StoryMappingProfile.cs
andriinezhyd/AnimalRescue
0
7036394
<filename>Backend/AnimalRescue/AnimalRescue.BusinessLogic/Configurations/MappingProfiles/StoryMappingProfile.cs using AnimalRescue.Contracts.BusinessLogic.Models.Blogs; using AnimalRescue.DataAccess.Mongodb.Exceptions; using AnimalRescue.DataAccess.Mongodb.Models; using AutoMapper; using System.Linq; using static A...
Timetabler.Data/Display/IndexedTrainLocationTimeModel.cs
caitlinsalt/simple-timetable-editor
0
7036395
using Timetabler.Data.Display.Interfaces; namespace Timetabler.Data.Display { /// <summary> /// Helper class used when processing train segments. Consists of an <see cref="ILocationEntry" /> object and its index within the segment. /// </summary> public class IndexedTrainLocationTimeModel { ...
src/Infobip.Api.SDK/MMS/Models/MmsDeliveryReport.cs
infobip-community/infobip-api-csharp-sdk
2
7036396
<reponame>infobip-community/infobip-api-csharp-sdk<filename>src/Infobip.Api.SDK/MMS/Models/MmsDeliveryReport.cs using System; using Newtonsoft.Json; namespace Infobip.Api.SDK.MMS.Models { /// <summary> /// MmsDeliveryReport /// </summary> public class MmsDeliveryReport { /// <summary> ...
BookViewerApp/Views/LibraryManagerControl.xaml.cs
esibruti/BookViewerApp3
38
7036397
<reponame>esibruti/BookViewerApp3<gh_stars>10-100 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows...
EmployeeManagementApplication/EmployeeManagement.Service/ViewModel/CommentViewModel.cs
VarrunSS/Immedis_Assignment
0
7036399
<gh_stars>0 using EmployeeManagement.Service.Common; using EmployeeManagement.Service.Contract; using EmployeeManagement.Service.ViewModel.Param; using System; using System.Collections.Generic; using System.Text; namespace EmployeeManagement.Service.ViewModel { public class CommentViewModel : CommentViewModelPara...
Python/Tests/PythonToolsMockTests/NavigableTests.cs
alepao821/PTVS
1
7036400
<gh_stars>1-10 // Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // 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...
sdk/dotnet/ElasticTranscoder/Inputs/PipelineThumbnailConfigPermissionArgs.cs
alexbowers/pulumi-aws
260
7036401
// *** 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; using Pulumi.Serialization; names...
src/Nest/Mapping/Types/Specialized/Ip/IpAttribute.cs
RossLieberman/NEST
0
7036402
<gh_stars>0 namespace Nest { public class IpAttribute : ElasticsearchPropertyAttributeBase, IIpProperty { IIpProperty Self => this; double? IIpProperty.Boost { get; set; } bool? IIpProperty.IncludeInAll { get; set; } NonStringIndexOption? IIpProperty.Index { get; set; } string IIpProperty.NullValue { get;...
TeamBuilder/Clients/TeamBuilder.Clients.Models/Team/TeamAddBindingModel.cs
Gesh4o/TeamBuilder
0
7036403
<reponame>Gesh4o/TeamBuilder namespace TeamBuilder.Clients.Models.Team { using System.ComponentModel; using System.Web; using FluentValidation.Attributes; using TeamBuilder.Clients.Common.Mappings; using TeamBuilder.Clients.Models.Team.Validation; using TeamBuilder.Data.Models; [Validato...
SimPaulOnbase.Infraestructure/Services/OnbaseSettings.cs
maikmb/sim-paul-onbase-integration
0
7036404
<gh_stars>0 namespace SimPaulOnbase.Infraestructure.Services { /// <summary> /// OnbaseSettings class /// </summary> public class OnbaseSettings { /// <summary> /// Form Template Id /// </summary> public int FormIntegrationID { get; set; } /// <summary> ...
Advanced/Workshops - CSharp Advanced/Data Structures/MyStack.cs
tonkatawe/SoftUni-Advanced
0
7036405
<filename>Advanced/Workshops - CSharp Advanced/Data Structures/MyStack.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using System.Threading.Channels; namespace Data_Structures { public class MyStack { private const int initialCapacity = 4; private int[] items...
src/Vortice.Direct2D1/DirectWrite/IDWriteTextFormat.cs
Ethereal77/Vortice.Windows
1
7036406
// Copyright (c) <NAME> and contributors. // Distributed under the MIT license. See the LICENSE file in the project root for more information. using System; using System.Numerics; using Vortice.Direct2D1; namespace Vortice.DirectWrite { public partial class IDWriteTextFormat { /// <summary> ...
src/TF2HUD.Editor/Classes/HUD/HUDPage.cs
tacokete/TF2HUD.Editor
1
7036407
using System; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; using System.Windows.Forms; using System.Windows.Media; using System.Windows.Media.Imaging; using HUDEditor.Models; using Xceed.Wpf.Toolkit; using Application = System.Windows.App...
test/PTV.Domain.Logic.Tests/TestClass.cs
MikkoVirenius/ptv-1.7
0
7036408
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rig...
php/wei/Wei/WeiBrowser/Frm_Main.Designer.cs
qiangvei/wei
0
7036409
<gh_stars>0 namespace WeiBrowser { partial class Frm_Main { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源...
spatial/TriangleBinsGrid2d.cs
gmpatel/geometry3Sharp
0
7036410
<filename>spatial/TriangleBinsGrid2d.cs using System; using System.Collections.Generic; using System.Threading; namespace g3 { /// <summary> /// This class is a spatial data structure for 2D triangles. It is intended /// for point-containment and box-overlap queries. It does not store the /// triang...
YourFood.Models/Recipe.cs
Telerik-Hackathon-2014/YourFood-WebAPI
2
7036411
namespace YourFood.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class Recipe { private ICollection<RecipeProduct> ingredients; public Recipe() { this.ingredients = new HashSet<RecipeProduct>(); ...
Assets/Scripts/Sound.cs
William-Gliz/Copia-do-Flappy-Bird-no-Unity
0
7036412
using UnityEngine; [System.Serializable] public class Sound { // Start is called before the first frame update public AudioManager.Sounds soundName; //public string name; public AudioClip clip; [Range(0f, 1f)] public float volume; [Range(0.1f, 3f)] public float pitch; public...
CustomCoreIdentity/Data/ApplicationDbContext.cs
aleksandargasevic/CustomCoreIdentity
1
7036413
<filename>CustomCoreIdentity/Data/ApplicationDbContext.cs using System; using System.Collections.Generic; using System.Text; using CustomCoreIdentity.Domain; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; namespace CustomCoreIdentity....
XSS/Visitor/DotVisualizer.cs
Kahdeg-15520487/XSS
0
7036414
<reponame>Kahdeg-15520487/XSS<filename>XSS/Visitor/DotVisualizer.cs //using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; //using System.Threading.Tasks; //namespace simple_interpreter //{ // class DotVisualizer : IVisitor // { // public string Output { get { retur...
VS2013_PROJECT/NexsoServices/v2/ChallengesController.cs
EL-BID/nexso
4
7036415
using System; using System.Data.Common; using System.Net; using System.Net.Http; using System.Web.Http; using DotNetNuke.Web.Api; using System.Text; using System.Web; using Newtonsoft.Json; using System.Linq; using Newtonsoft; using DotNetNuke.Entities.Portals; using DotNetNuke.Entities.Users; using DotNetNuke.Securit...
Library/Library.Test/TestBackgroundWriter.cs
git-thinh/CSharpTest.Net-source-v2.12.810.409
0
7036416
#region Copyright 2012 by <NAME>, Licensed under the Apache License, Version 2.0 /* 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 * * U...
Source/NEATAgents/HyperSharpNEAT 2.1/Experiments/SharpNeatExperiments/Skirmish/Prey.cs
sinairv/GridSoccerSimulator
12
7036417
using System; using System.Collections.Generic; using System.Text; using SharpNeatLib.NeuralNetwork; namespace SharpNeatLib.Experiments { public class Prey : Agent { public Predator closestPred = null; public float closestPredDist = float.MaxValue; public Prey() : base() { ...
Test/Translation.Client.Web.Unit.Tests/Models/ViewModels/Project/ProjectEditModelTests.cs
VAndriyV/translation
0
7036419
using System; using System.Collections; using NUnit.Framework; using Shouldly; using Translation.Client.Web.Models.Project; using Translation.Common.Helpers; using static Translation.Common.Tests.TestHelpers.FakeModelTestHelper; using static Translation.Common.Tests.TestHelpers.FakeConstantTestHelper; using static T...
src/System.ObjectModel/tests/System/ComponentModel/TypeConverterAttributeTests.cs
2E0PGS/corefx
0
7036420
<reponame>2E0PGS/corefx // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.ComponentModel.Tests { ...
2_Modelos_Examenes/PP_2019_Cantina/Cantina.Entidades/Classes/SubClasses/Cerveza.cs
caidevOficial/CSharp_UTN_LaboII
2
7036421
<reponame>caidevOficial/CSharp_UTN_LaboII /* * MIT License * * Copyright (c) 2021 [FacuFalcone] * * 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 with...
ValidCode/ReturnValue/C1.cs
GuOrg/Gu.Analyzers
19
7036422
<gh_stars>10-100 namespace ValidCode.ReturnValue { internal class C1 { internal void M1() { using var c1 = new C().M1(typeof(C)); using var c2 = new C(); c2.M1(typeof(C)); } internal void M2() { using var c1 = new C().M2(t...
HairbookWebApi/Repositories/IUsersRepository.cs
junimohano/hairbook-web-api
0
7036423
<filename>HairbookWebApi/Repositories/IUsersRepository.cs using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using HairbookWebApi.Models; namespace HairbookWebApi.Repositories { public interface IUsersRepository : IRepository<User> {...
TTCMS.Web/Views/Product/TimKiem.cshtml
thuongaptech/TTCMS
0
7036424
<reponame>thuongaptech/TTCMS<gh_stars>0 @model PagedList.IPagedList<TTCMS.Web.Models.Product.ProductHomeViewModel> @using PagedList.Mvc; @{ ViewBag.Title = "Tìm kiếm sản phẩm"; int icount = 1; Layout = "~/Views/Shared/_Layout_Content.cshtml"; } <link href="~/Content/PagedList.css" rel="stylesheet" /> <div ...
OttoMail/src/OttoMail/Views/Account/Login.cshtml
ottoetc/OttoMail
1
7036425
<gh_stars>1-10 @{ ViewData["Title"] = "Ottomail - Login"; Layout = "~/Views/Shared/_Layout.cshtml"; } @using OttoMail.ViewModels @model LoginViewModel <div class="container-fluid"> <h2>Login to OttoMail</h2> @using (Html.BeginForm()) { <div class="form-group"> @H...
experimental/generation/Microsoft.Form.Extensions/Microsoft.Form.Extensions/FormExtensionsBotComponent.cs
Aliacf21/BotBuilder-Samples
1,998
7036426
<filename>experimental/generation/Microsoft.Form.Extensions/Microsoft.Form.Extensions/FormExtensionsBotComponent.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using AdaptiveExpressions.Converters; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Dialogs.Decl...
WOWSharp.Community/Wow/Items/RewardItem.cs
Shogobg/wowsharp
6
7036427
<filename>WOWSharp.Community/Wow/Items/RewardItem.cs  using System.Collections.Generic; using System.Runtime.Serialization; namespace WOWSharp.Community.Wow { /// <summary> /// Represents an achievement reward item /// </summary> [DataContract] public class RewardItem { /// <summary>...
btng/Program.cs
bodzaital/btng
0
7036428
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; namespace btng { static class Program { static void Main(string[] args) { //args = new string[] { "--scene", "new", "entry-scene" }; if (args...
Source/Salix.Dapper.Cqrs.Abstractions.Tests/MsSqlCommandBaseTests.cs
salixzs/Dapper.Cqrs
1
7036430
using System; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using FluentAssertions; using Moq; using Xunit; namespace Salix.Dapper.Cqrs.Abstractions.Tests { [ExcludeFromCodeCoverage] public class MsSqlCommandBaseTests { private readonly Mock<IDatabaseSession> _dbSession; ...
src/SoftwarePioniere/Domain/SagaBase.cs
JTOne123/SoftwarePioniere.Fx
0
7036431
//using System; //using System.Threading; //using System.Threading.Tasks; //using Foundatio.Messaging; //using Microsoft.Extensions.Logging; //using SoftwarePioniere.Messaging; //using SoftwarePioniere.Messaging.Notifications; //// ReSharper disable MemberCanBePrivate.Global //namespace SoftwarePioniere.Domain //{ ...
MMC-Ideas/Turnier/Main.cs
oelsnerc/MMC-Ideas
0
7036432
//******************************************************************** // Main - <type description here> // (c) Mai 2010 MMC //******************************************************************** using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawin...
EasyCommands/Test/Commands/SubcommandTest5.cs
ZakFahey/easy-commands
0
7036433
<filename>EasyCommands/Test/Commands/SubcommandTest5.cs using System; using EasyCommands; using EasyCommands.Commands; using Example; namespace EasyCommands.Test.Commands { class SubcommandTest5 : CommandCallbacks<User> { // Registration should fail due to invalid command-subcommand structure ...
Code Challenges/8-Bit Number Generator/8BitNumberGen/8BitNumberGen/Program.cs
ChrisLNuckolls/CSharp
0
7036435
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /* Challenge: build a random number generator that creates an 8-bit value (0-255) the same way that values are stored in memory: by creating 8 character cells that can store a value of 0 or ...
Examples/CSharp/Articles/ManageDatabaseConnection/ModifyingExistingDataConnection.cs
Aspose/Aspose.Cells-for-.NET
4
7036436
<reponame>Aspose/Aspose.Cells-for-.NET using System; using System.Collections.Generic; using System.Linq; using System.Text; using Aspose.Cells.ExternalConnections; namespace Aspose.Cells.Examples.CSharp.Articles.ManageDatabaseConnection { public class ModifyingExistingDataConnection { public static v...
Source/Core.Parsers/AST/LangElement.cs
uQr/Phalanger
329
7036437
<reponame>uQr/Phalanger<gh_stars>100-1000 /* Copyright (c) 2007- DEVSENSE Copyright (c) 2004-2006 <NAME>, <NAME>, and <NAME>. The use and distribution terms for this software are contained in the file named License.txt, which can be found in the root of the Phalanger distribution. By using this software ...
server/PxStat/Entities/Build/Build_DTO.cs
PC-Axis/PxStat
23
7036438
<reponame>PC-Axis/PxStat<filename>server/PxStat/Entities/Build/Build_DTO.cs<gh_stars>10-100 using API; using Newtonsoft.Json; using PxStat.Data; using PxStat.Security; using PxStat.System.Settings; using System; using System.Collections.Generic; using System.Linq; namespace PxStat.Build { /// <summary> /// ...
src/ZKill.Discord/Program.cs
notepid/ZKill.Discord
0
7036439
using System; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using Newtonsoft.Json; using ZKill.Discord.Discord; using ZKill.Discord.EveData; using ZKill.Discord.Logging; using ZKill.Discord.Models; using ZKill.Discord.ZKill; namespace ZKill.Discord { class Program { ...
src/MarkPad.Services/ServicesModule.cs
jongalloway/DownmarkerWPF
1
7036440
using Autofac; using MarkPad.Services.Implementation; using MarkPad.Services.Interfaces; namespace MarkPad.Services { public class ServicesModule : Module { private const string DictionariesSettingsKey = "Dictionaries"; protected override void Load(ContainerBuilder builder) ...
03.OOP/89.OOP_Exam_Preparation/1. War Machines/WarMachines-v1-code-compiles/WarMachines/Machines/Fighter.cs
ykomitov/Homeworks-TA
0
7036441
<reponame>ykomitov/Homeworks-TA<gh_stars>0 namespace WarMachines.Machines { using System; using WarMachines.Interfaces; public class Fighter : Machine, IMachine, IFighter { private bool inStealthMode; private bool canBeAttackedByTanks; public Fighter(string machineName, double...
WDE.SmartScriptEditor.Test/Validation/Antlr/ValidatorContextlessIntTests.cs
Intemporel/WoWDatabaseEditor
137
7036442
<reponame>Intemporel/WoWDatabaseEditor using NUnit.Framework; using WDE.SmartScriptEditor.Validation.Antlr; namespace WDE.SmartScriptEditor.Test.Validation.Antlr { public class ValidatorContextlessIntTests { [Test] public void IntLiteral() { Assert.AreEqual(123, new SmartVa...
10-Debugging/ParallelDebugging/Program.cs
bitbonk/resharper-rider-samples
1
7036443
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Threading; namespace ParallelDebugging { internal static class Program { // Change Run Configuration to "Parallel Debugging" // Set breakpoint on Console.WriteLine // Start debugging // When breakpoint ...
NSeleneTests/Integration/SharedDriver/SeleneElement_SendKeys_Specs.cs
davespoon/NSelene
1
7036444
using NUnit.Framework; using static NSelene.Selene; namespace NSelene.Tests.Integration.SharedDriver.SeleneSpec { using System; using System.Linq; using System.Reflection; using Harness; using OpenQA.Selenium; [TestFixture] public class SeleneElement_SendKeys_Specs : BaseTest { ...
src/Orleans.Extensibility.IdentityServer/Grains/IPersistedGrantGrain.cs
OrleansContrib/Orleans.Extensibility.IdentityServer
11
7036445
<reponame>OrleansContrib/Orleans.Extensibility.IdentityServer<filename>src/Orleans.Extensibility.IdentityServer/Grains/IPersistedGrantGrain.cs using System.Collections.Generic; using System.Threading.Tasks; namespace Orleans.Extensibility.IdentityServer.Grains { //Key == Grant Key internal interface IPersisted...
SCC2/SCC2.cs
MicrosoftResearch/SHS
8
7036446
<reponame>MicrosoftResearch/SHS /* * SHS -- The Scalable Hyperlink Store * * Copyright (c) Microsoft Corporation * 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 Licens...
GameMatching/Comum/Repositories/RepositoryBase.cs
Ivo-loop/GameMatching
0
7036447
<filename>GameMatching/Comum/Repositories/RepositoryBase.cs using System.Collections.Generic; using System.IO; using System.Text.Json; namespace GameMatching.Comum.Repositories { public class RepositoryBase { private string pathFile { get; set; } public RepositoryBase(string path) { ...
src/Audit.EntityFramework/ConfigurationApi/EntityFrameworkConfiguratorExtensions.cs
teom10/Audit.NET
0
7036448
<reponame>teom10/Audit.NET<filename>src/Audit.EntityFramework/ConfigurationApi/EntityFrameworkConfiguratorExtensions.cs using System; using Audit.Core.ConfigurationApi; using Audit.EntityFramework.Providers; using Audit.EntityFramework; using Audit.EntityFramework.ConfigurationApi; namespace Audit.Core { public s...
Scripts/DeltaTimer.cs
Missingreference/Unity-Tools
0
7036449
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Elanetic.Tools { public class DeltaTimer { static private UnityRuntimeListener m_RuntimeListener = null; static private DeltaTimer[] m_Timers = new DeltaTimer[64]; static private int ...
src/FundAdministration.GlobalInvestor.Product/SecurityDescService.cs
ElevateData/OpenTemenos
0
7036450
<gh_stars>0 //---------------------- // <auto-generated> // Generated using the NSwag toolchain v13.14.5.0 (NJsonSchema v10.5.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) // </auto-generated> //---------------------- #nullable enable using Shared.Models; #pragma warning disable 108 // Disable "CS0108 '{de...