content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using Godot; namespace Osls.Plants.MassTestChamber { public class EmitterParticles : Particles { #region ==================== Fields / Properties ==================== private ParticlesMaterial _processMaterial; /// <summary> /// true if the process is valid and mass is...
33.278195
95
0.488251
[ "MIT" ]
Kersoph/open-sequential-logic-sandbox
data/plant_models/mass_test_chamber/spatial_elements/EmitterParticles.cs
4,426
C#
using System; using System.Collections.Generic; using System.Text; using Xunit; using JT809.Protocol; using JT809.Protocol.Extensions; using JT809.Protocol.MessageBody; using JT809.Protocol.Exceptions; using JT809.Protocol.SubMessageBody; using JT809.Protocol.Enums; using JT809.Protocol.Internal; namespace JT809.Prot...
86.7625
1,160
0.757384
[ "MIT" ]
AchaInChina/JT809
src/JT809.Protocol.Test/JT809SubMessageBody/JT809_0x1200_0x120ATest.cs
6,943
C#
using System; using EasyNetQ.DI; namespace EasyNetQ.Interception { public static class InterceptionExtensions { public static IServiceRegister EnableInterception(this IServiceRegister serviceRegister, Action<IInterceptorRegistrator> configure) { var registrator = new InterceptorReg...
36.222222
147
0.706544
[ "MIT" ]
Eu-JinOoi/EasyNetQ
Source/EasyNetQ/Interception/InterceptionExtensions.cs
980
C#
using AutoMapper; using Microsoft.Extensions.DependencyInjection; using Ridics.Authentication.Service.MapperProfiles; using Ridics.Authentication.Service.MapperProfiles.Contracts; using Ridics.Authentication.Service.MapperProfiles.Converters; using Ridics.Authentication.Service.MapperProfiles.Resolvers.UserContacts; u...
52.752577
112
0.716045
[ "BSD-3-Clause" ]
RIDICS/Authentication
Solution/Ridics.Authentication.Service/IoC/IocAutomapperRegistrationExtensions.cs
5,119
C#
using System; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; namespace EasyTcp3.ClientUtils.Async { /// <summary> /// Class with all ConnectAsync functions /// </summary> public static class ConnectAsyncUtil { /// <summary> /// Establishes connection with ...
44.578947
119
0.61098
[ "MIT" ]
Maarten-Baert/EasyTcp
EasyTcp3/EasyTcp3/ClientUtils/Async/ConnectAsyncUtil.cs
3,388
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using ICSharpCode.NRefactory; using ICSharpCode.PythonBinding; using NUnit.Framework; namespace PythonBinding.T...
29.515337
103
0.687383
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/BackendBindings/Python/PythonBinding/Test/Converter/AssignmentOperatorConversionTestFixture.cs
4,813
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
53.144444
219
0.646874
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/PrintDocumentContentRequest.cs
4,783
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using System.ComponentModel; using MeetingDataExchange.Model; using System.Collections....
36.633987
137
0.522212
[ "MIT" ]
nokia-wroclaw/innovativeproject-meetingdataexchange
MeetingDataExchangeWinPhone/MeetingDataExchange/Pages/MeetingsPage.xaml.cs
5,607
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.ML; using Microsoft.ML.Data; using ImageClassification.IO; namespace ImageClassification { public static class Classifier { /// <summary> /// Returns the result of predicting what the image file...
49.957447
195
0.675256
[ "MIT" ]
teonsen/ImageClassification
ImageClassification/Classifier.cs
5,054
C#
using System; namespace Ultraviolet.Presentation.Animations { /// <summary> /// Represents a clock which tracks the timing state of a simple animations. /// </summary> public sealed class SimpleClock : Clock { /// <summary> /// Initializes a new instance of the <see cref="SimpleClo...
28.736111
109
0.550507
[ "Apache-2.0", "MIT" ]
MicroWorldwide/ultraviolet
Source/Ultraviolet.Presentation/Shared/Animations/SimpleClock.cs
2,071
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using ZigBeeNet; using ZigBeeNet.App.Discovery; using ZigBeeNet.ZCL; using ZigBeeNet.ZDO; using ZigBeeNet.ZDO.Command; using Serilog; namespace ZigBeeNet.App.Discovery { /// <summary> /// <...
41.317125
184
0.56107
[ "EPL-1.0" ]
DavidKarlas/ZigbeeNet
libraries/ZigBeeNet/App/Discovery/ZigBeeNetworkDiscoverer.cs
19,545
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Identity.Web.Resource; namespace IdentityApi.Controllers { [Authorize] [ApiController] [Route("[controller]")] [RequiredScope(RequiredScopesConfigurationKey = "AzureAd:Scopes")] public class WeatherF...
32.891892
107
0.603944
[ "MIT" ]
ddgroleau/identity-api
IdentityApi/Controllers/WeatherForecastController.cs
1,217
C#
 namespace TabletFriend.Data { public enum StretchData { /// <summary> /// The content preserves its original size. /// </summary> None = 0, /// <summary> /// The content is resized to fill the destination dimensions. /// The aspect ratio is not preserved. /// </summary> Fill = 1, /// <summar...
20.26087
109
0.641631
[ "MIT" ]
Martenfur/TabletFriend
TabletFriend/TabletFriend/Data/StretchData.cs
468
C#
using BlazorProducts.Client.HttpRepository; using Entities.Models; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazorProducts.Client.Pages { public partial class Products : IDisposable { public List<Product> Prod...
22.935484
71
0.758087
[ "MIT" ]
CodeMazeBlog/blazor-wasm-error-handling
End/Http Error Handling/BlazorProducts.Client/BlazorProducts.Client/Pages/Products.razor.cs
713
C#
using MediatR; namespace handlers.Queries { public class GetTotalGameCount : IRequest<int> { } }
13.75
50
0.681818
[ "MIT" ]
tbd-friends/trackr
handlers/Query/Queries/GetTotalGameCount.cs
112
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Bi...
37.756757
84
0.745168
[ "MIT" ]
Vyara/Telerik-C-1-Homeworks
03. Operators and Expressions/BitsExchange/Properties/AssemblyInfo.cs
1,400
C#
using SlimDX.Direct2D; namespace MO.Direct2d.Draw { //============================================================ // <T>固定色刷。</T> // // @history MAOCY 120223 //============================================================ public class FDxBitmapBrush : FDxBrush { // 位图 protected FDxBit...
32.654762
86
0.333212
[ "Apache-2.0" ]
favedit/MoCross
Tools/1 - Common/MoDirect2d/Draw/FDxBitmapBrush.cs
2,877
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
48.042553
153
0.666076
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IDeviceManagementResourceAccessProfilesCollectionRequestBuilder.cs
2,258
C#
using System.Runtime.Serialization; namespace Iviz.Msgs.Rosapi { [DataContract (Name = "rosapi/ServiceRequestDetails")] public sealed class ServiceRequestDetails : IService { /// <summary> Request message. </summary> [DataMember] public ServiceRequestDetailsRequest Request { get; set; } ...
31.222222
164
0.557194
[ "MIT" ]
KIT-ISAS/iviz
iviz_msgs/rosapi/srv/ServiceRequestDetails.cs
5,901
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnerVolume : MonoBehaviour { BoxCollider boxCollider; // Start is called before the first frame update void Start() { } private void Awake() { boxCollider = GetComponent<BoxCollider>(); ...
22.153846
145
0.685764
[ "MIT" ]
danhccc/GAME3033_ZombieProject_HancongZ
Assets/Scripts/ManagerScripts/SpawnerVolume.cs
576
C#
// 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 System.Net.Test.Common; using System.Threading; using System.Threading.Tasks...
47.575862
268
0.610857
[ "MIT" ]
Neos-Metaverse/corefx
src/System.Net.WebSockets.Client/tests/ConnectTest.cs
13,797
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class BTSaveNamedTargetOnEvent : IBehTreeTask ...
34.655172
136
0.731343
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/BTSaveNamedTargetOnEvent.cs
1,005
C#
// <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <author name="Daniel Grunwald"/> // <version>$Revision$</version> // </file> using ICSharpCode.AvalonEdit.Utils; using System; using System.Collections.Generic; using System.Collections.ObjectModel; u...
28.983784
133
0.718389
[ "MIT" ]
ishani/Oddity
Badge/toolchain2/ICSharpCode.AvalonEdit/Gui/TextAreaInputHandler.cs
5,362
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace ImageQuantization { public struct Edge : IComparable<Edge> { public int from, to; public double cost; public Edge(double cost, int f, int t) { ...
25.956522
64
0.416248
[ "MIT" ]
Abdullah-AlAttar/Image-Quantization-Project-
ImageQuantization/ImageQuantization/MstPrimEager.cs
2,390
C#
#region Copyright (C) 2003-2016 Stimulsoft /* {*******************************************************************} { } { Stimulsoft Reports } { } { Copyright (C) 2003-2016 Stimulsoft } { ALL RIGHTS RESERVED } { } { The entire contents of ...
39.233333
136
0.548343
[ "MIT" ]
stimulsoft/Stimulsoft.Controls.Net
Stimulsoft.Base/Localization/StiPointFConverter.cs
5,885
C#
/* * Copyright 2007 ZXing authors * * 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 ...
27.386792
122
0.591457
[ "Apache-2.0" ]
LeonidRulit/zxing1
csharp/client/result/URIResultParser.cs
2,903
C#
// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.Collections.Generic; public class UnrealMapboxPluginTarget : TargetRules { public UnrealMapboxPluginTarget( TargetInfo Target) : base(Target) { Type = TargetType.Game; DefaultBuildSettings = BuildSettingsVersion.V2; ExtraMo...
25.733333
69
0.777202
[ "MIT" ]
delebash/UnrealMapboxPlugin
Source/UnrealMapboxPlugin.Target.cs
386
C#
using System; using System.Collections.Generic; using Melanchall.DryWetMidi.Common; using Melanchall.DryWetMidi.Core; using Melanchall.DryWetMidi.Interaction; namespace Melanchall.DryWetMidi.Tools { /// <summary> /// Provides methods to randomize chords time. /// </summary> [Obsolete("OBS10")] pub...
43.155172
162
0.601079
[ "MIT" ]
melanchall/drymidi
DryWetMidi/Tools/Randomizer/Utilities/ChordsRandomizerUtilities.cs
5,008
C#
using UnityEngine; /// <summary> /// Author: Josh H. /// Support: assetstore.joshh@gmail.com /// </summary> namespace JoshH.Extensions { public static class Vector2Extension { public static Vector2 Rotate(this Vector2 v, float degrees) { float sin = Mathf.Sin(degrees * Mathf.Deg2R...
23.625
67
0.522046
[ "MIT" ]
Julius-Bendt/flyer
Assets/UIGradient/Scripts/Vector2Extension.cs
569
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using DoVuiHaiNao.Areas.WebManager.Data; using DoVuiHaiNao.Models; using DoVuiHaiNao.Areas.WebManager.ViewModels...
32.1375
433
0.540257
[ "Apache-2.0" ]
nguyendev/DVMN
Code/DVMN/DoVuiHaiNao/Areas/WebManager/Controllers/MembersController.cs
5,142
C#
using System.Collections.Generic; using System.Linq; using Orchard.DynamicForms.Models; namespace Orchard.DynamicForms.ViewModels { public class FormsIndexViewModel { public IList<IGrouping<string, Submission>> Forms { get; set; } } }
28
71
0.75
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard.Web/Modules/Orchard.DynamicForms/ViewModels/FormsIndexViewModel.cs
254
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using NICE.Identity.Authorisation.WebAP...
38.876972
125
0.46876
[ "MIT" ]
nhsevidence/identity
NICE.Identity.Authorisation.WebAPI/Migrations/20191202084355_RefactorIDAM121.Designer.cs
12,326
C#
using Character.Attributes; using Character.Display; using Character.Physical; namespace Character.Races { public class HighElf : Elf { public HighElf() : base(new TextObj("High Elf")) { } public override IAttributeScore RacialAttributeAdjustment(ICharacterAttribute attribute) => (AttributeSco...
45.533333
197
0.770132
[ "MIT" ]
MyTurnyet/CharacterBuilder
Character/Races/HighElf.cs
685
C#
// // 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.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Azure.Storage; using Azure.Sto...
50.051383
174
0.609729
[ "MIT" ]
KevinRansom/sqltoolsservice
test/Microsoft.SqlTools.ServiceLayer.IntegrationTests/DisasterRecovery/BackupRestoreUrlTests.cs
12,665
C#
//---------------------- // <auto-generated> // Generated using the NSwag toolchain v13.1.5.0 (NJsonSchema v10.0.27.0 (Newtonsoft.Json v10.0.0.0)) (http://NSwag.org) // </auto-generated> //---------------------- #pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase...
61.150838
16,499
0.723659
[ "MIT" ]
mccj/AlibabaSDKFor1688
src/sdk/AlibabaSDKFor1688/AlibabaWebSocketClientModelsGeneration.cs
194,050
C#
namespace Microsoft.NodejsTools.Options { partial class NodejsNpmOptionsControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
57.661905
174
0.637129
[ "Apache-2.0" ]
Weflac/nodejstools
Nodejs/Product/Nodejs/Options/NodejsNpmOptionsControl.Designer.cs
11,904
C#
using System; namespace lab_16_access_modifiers { class Program { static void Main(string[] args) { var p = new Parent(); var c = new Child(); // p._hidden ... p.Exposed = "Yes we can see this"; c.Exposed = "Yes also visible"; ...
26.491803
105
0.530322
[ "MIT" ]
philanderson888/2020-01-c-sharp-labs
labs/lab_16_access_modifiers/Program.cs
1,618
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CN_Model { public class CNMemo : IEquatable<CNMemo>,ICloneable { public int MemoId { get; set; } private string _content; public string Content { get { if (_content == null) { _content = "m...
34.087719
153
0.538857
[ "MIT" ]
engimaxp/CoffeeNewspaper
CoffeeNewspaper/CN_Model/CNMemo.cs
1,945
C#
using System; using System.IO; using System.Collections.Generic; using System.Text; using static ATL.AudioData.AudioDataManager; using Commons; using static ATL.ChannelsArrangements; namespace ATL.AudioData.IO { /// <summary> /// Class for ScreamTracker Module files manipulation (extensions : .S3M) /// ...
34.647287
160
0.477235
[ "MIT" ]
Piorosen/atldotnet
ATL/AudioData/IO/S3M.cs
17,878
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Diagnostics.ContractsLight; using System.Linq; using BuildXL.FrontEnd.Ninja.Serialization; using BuildXL.Pips; us...
35.097826
137
0.606999
[ "MIT" ]
AzureMentor/BuildXL
Public/Src/FrontEnd/UnitTests/Ninja/Infrastructure/NinjaSchedulingResult.cs
3,229
C#
using AutoMapper; using Entidades; using Entidades.Dto; using Microsoft.AspNetCore.Mvc; using Persistencia.Interfaces; using System; namespace Api.Controllers { [ApiController] [Route("api/[controller]")] public class TagController : ControllerBase { private readonly ITagService tagService; ...
24.297297
68
0.551724
[ "MIT" ]
lgmagalhaes88/Achei
backend/Api/Controllers/TagController.cs
901
C#
using System; namespace Jbpc.Common.ExtensionMethods { public static class TempSqlVariableNameGenerator { public static string Generate(int nth) { if (nth < 1) throw new ApplicationException($@"{nth} nth parameter cannot be less than 1"); if (nth > 256) throw new Applic...
28.692308
103
0.536193
[ "MIT" ]
JaniceBPC/Common
Jbpc.Common/ExtensionMethods/SQL/TempSqlVariableNameGenerator.cs
748
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using SixLabors.ImageSharp.PixelFormats; namespace SixLabors.ImageSharp.Benchmarks.General.PixelConversion { [Struct...
26.604167
65
0.533673
[ "Apache-2.0" ]
asmodat/ImageSharp
tests/ImageSharp.Benchmarks/General/PixelConversion/TestArgb.cs
2,554
C#
using System; using System.Collections.Generic; using System.Linq; using AutoSharp.Utils; using EloBuddy; using EloBuddy.SDK; using EloBuddy.SDK.Events; namespace AutoSharp.Auto.HowlingAbyss.ARAMShopAI { internal static class BuyItemEvent { public delegate void OnBoughtItem(InventorySlot item); ...
27.840426
94
0.537256
[ "MIT" ]
Tingur/AGORAVAI
ARAMShopAI/BuyItemEvent.cs
2,619
C#
// <auto-generated /> using System; using ERP_Logistics.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace ...
37.05765
125
0.461018
[ "MIT" ]
Of3lia/OfiStore_ERP_Logistics
ERP_Logistics/Migrations/20201021200109_orderProducts2.Designer.cs
16,715
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Xml.Linq; namespace Snippetica.Xml { public static class XAttributeExtensions { public static string LocalName(this XAttribute a...
26.866667
160
0.694789
[ "Apache-2.0" ]
JosefPihrt/Snippetica
src/Snippetica.Common/Xml/XAttributeExtensions.cs
405
C#
namespace Microsoft.Azure.Management.StorSimple8000Series.Models { using Azure; using Management; using StorSimple8000Series; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; using System.Runtime.Serialization; /// <summary> /// Defines values for Devi...
24.4
75
0.685246
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/storsimple8000series/Microsoft.Azure.Management.StorSimple8000Series/src/Generated/Models/DeviceConfigurationStatus.cs
610
C#
using System; using Csla; namespace ParentLoadROSoftDelete.Business.ERLevel { public partial class E09_CityColl { #region OnDeserialized actions /*/// <summary> /// This method is called on a newly deserialized object /// after deserialization is complete. ...
23.051282
65
0.562848
[ "MIT" ]
CslaGenFork/CslaGenFork
trunk/Samples/DeepLoad/ParentLoadROSoftDelete.Business/ERLevel/E09_CityColl.cs
899
C#
namespace ClothingStore.Server.Data.Configurations { using Data.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using static Infrastructure.EntityConfigConstants; public class PictureConfig : IEntityTypeConfiguration<Picture> { publ...
25.333333
66
0.626645
[ "MIT" ]
deyanstoyanov10/Clothes-Store
ClothingStore.Server/ClothingStore.Server/Data/Configurations/PictureConfig.cs
610
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.Support.UI; using NUnit.Framework; namespace WEbAddressbookTests { public class GroupHelper:HelperBase { publ...
29.632258
102
0.49619
[ "Apache-2.0" ]
violettasmirnov/csharp_training
addressbook-web-tests/addressbook-web-tests/appmanager/GroupHelper.cs
4,595
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ using System.Reflectio...
38.909091
100
0.668224
[ "MIT" ]
kbulte/service-fabric-dotnet-getting-started
Services/WordCount/WordCount.WebService/Properties/AssemblyInfo.cs
1,715
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace Reddit.Things { [Serializable] public class ImageUploadResult { [JsonProperty("errors")] public List<string> Errors; [JsonProperty("img_src")] public string ImgSrc; [JsonProperty("err...
19.2
41
0.651042
[ "MIT" ]
EmielD/Reddit.NET
src/Reddit.NET/Things/ImageUploadResult.cs
386
C#
// <auto-generated/> #pragma warning disable 1591 namespace Test { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase ...
29.491228
143
0.681737
[ "Apache-2.0" ]
baulig/AspNetCore-Tooling
src/Razor/test/RazorLanguage.Test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/BindToComponent_WithStringAttribute_DoesNotUseStringSyntax/TestComponent.codegen.cs
1,681
C#
// // Author: // Aaron Bockover <abock@xamarin.com> // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Xamarin.Interactive.CodeAnalysis; using Xamarin.Interactive.Events; namespace Xamarin.Interactive.Editor.Events { sealed class ChangeEvent : EditorEvent, I...
23.32
63
0.650086
[ "MIT" ]
Bhaskers-Blu-Org2/workbooks
Clients/Xamarin.Interactive.Client/Editor/Events/ChangeEvent.cs
583
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using PutProduct.Data; #nullable disab...
35.761499
103
0.433927
[ "Apache-2.0" ]
mohamedabotir/PutProduct
PutProduct/Data/Migrations/20220426232954_AddBalanceToUser1.Designer.cs
20,994
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
29.25
81
0.429487
[ "MPL-2.0" ]
asine/mixerp
src/FrontEnd/Modules/Finance/Setup/PaymentCards.ascx.designer.cs
470
C#
using Codeable.Foundation.Core; using System; using System.Collections.Generic; using System.Text; namespace Stencil.Domain { public partial class PaymentDetail : DomainModel { public PaymentDetail() { } public Guid paymentdetail_id { get; set; } public Guid ...
28.636364
55
0.619048
[ "MIT" ]
DanMasterson1/stencil
Source/Stencil.Server/Stencil.Domain/Domain/PaymentDetail.cs
945
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Reflection; using ...
44.481436
119
0.584875
[ "Apache-2.0" ]
corefan/Mvc
src/Microsoft.AspNet.Mvc.Core/Controllers/ControllerActionDescriptorBuilder.cs
35,941
C#
// The MIT License (MIT) // // Copyright (c) 2015-2018 Rasmus Mikkelsen // Copyright (c) 2015-2018 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Softwar...
42.932432
110
0.712622
[ "MIT" ]
AntonSmolkov/EventFlow
Source/EventFlow/EventStores/IEventStore.cs
3,179
C#
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
28.64375
95
0.554222
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.EC2/Model/NetworkInterfaceAttachment.cs
4,583
C#
// -------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // -------------------------------------------------------------------------------------------- using System; using Syst...
41.476744
113
0.511915
[ "MIT" ]
cormacpayne/Oryx
tests/Oryx.Integration.Tests/Database/SqlServerIntegrationTests.cs
6,965
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("citPOINT.OfferApp.Data.Web")] [assembly: ...
38.5
84
0.742424
[ "MIT" ]
ivconsult/eNeg-OfferApp
citPOINT.OfferApp.Data.Web/Properties/AssemblyInfo.cs
1,389
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using JetBrains.Annotations; ...
46.26049
203
0.575866
[ "MIT" ]
AbstractQbit/osu
osu.Game/Beatmaps/Formats/LegacyBeatmapEncoder.cs
25,890
C#
using System; using System.Collections.Generic; using System.Text; using FileHelpers.DataLink; using NPOI.HSSF.UserModel; using System.Reflection; using System.IO; using NPOI.SS.UserModel; using NPOI.SS.Util; using NPOI.HSSF.Util; using NPOI.SS.Util.CellWalk; using System.Threading; using FileHelpers.Event...
34.720388
139
0.50014
[ "MIT" ]
aim00ver/FileHelpers
FileHelpers.ExcelNPOIStorage/ExcelNPOIStorage.cs
17,883
C#
/* SoundCloud.NET Library For Sound Cloud Api Management. Copyright (C) 2011 Haythem Tlili This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
34
109
0.577426
[ "MIT" ]
hamstercat/MediaBrowser.Channels
MediaBrowser.Plugins.SoundCloud/API/Utils.cs
3,980
C#
namespace Water2D { using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; using DynamicLight2D; public struct microSpawn{ public Vector3 pos; public int amount; public Vector2 initVel; public microSpawn(Vector3 pos, int amount, Vector2 initVel) { this...
25.088312
132
0.600166
[ "CC0-1.0" ]
RoachA/SDF_TESTS
SDF_TEST/Assets/Water2D/Core/Water2D_Spawner.cs
9,661
C#
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using watchtower.Code.ExtensionMethods; using watchtower.Models.Census; namespace watchtower.Services.Census.Readers { public class CensusDirectiveReader : ICensusReader<PsDirective> { ...
36.533333
132
0.663321
[ "MIT" ]
Simacrus/honu
Services/Census/Readers/CensusDirectiveReader.cs
1,096
C#
using System; using System.Linq; using System.Linq.Expressions; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.Query; namespace EntityFramework.ExtensionUtilities.Extensions { public static class ExpressionUtilities { int...
42.489362
110
0.674011
[ "MIT" ]
direncancatalkaya/ExtendedMultitenancy
DRN.EntityFramework.ExtendedMultiTenancy/Extensions/ExpressionExtensions.cs
1,999
C#
using System; using System.Collections.Generic; using System.Numerics; using System.Linq; using System.Runtime.InteropServices; using Yuzu; using System.Runtime.CompilerServices; namespace Lime { internal static class MeshBufferPools { public static readonly BufferPool Vertex = new BufferPool(BufferType.Vertex, tr...
28.926045
100
0.679413
[ "MIT" ]
game-forest/Citrus
Lime/Source/Graphics/Mesh.cs
8,996
C#
using System.Collections.Generic; using Kari.GeneratorCore; using Kari.GeneratorCore.Workflow; using Kari.Utils; namespace Kari.Plugins.Terminal { public partial class ParsersAnalyzer : ICollectSymbols, IGenerateCode { public string DefinitionsNamespace => TerminalAdministrator.TerminalProject.Generate...
41.079096
196
0.59084
[ "MIT" ]
AntonC9018/Kari
source/Kari.Plugins/Terminal/Parsers/ParsersAnalyzer.cs
7,271
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq.Expressions; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Quer...
38.986667
122
0.655267
[ "Apache-2.0" ]
skalpin/EntityFrameworkCore
src/EFCore.SqlServer/Query/Internal/SqlServerSqlTranslatingExpressionVisitor.cs
2,926
C#
using Authorize.Model; using AutoMapper; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace authorize.service.Helper { public class AutoMapperProfile : Profile { public AutoMapperProfile() { CreateMap<CustomerModel, Customer>(...
20.578947
49
0.672634
[ "MIT" ]
AJEETX/dotnet2-microservices-docker-swagger
AuthorizeService/Helper/AutoMapperProfile.cs
393
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Umbraco.Core.Auditing; using Umbraco.Core.Events; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Core.Models; using Umbraco.Core.Persistence; using Umbraco.Core.Persistence.Querying...
39.549296
163
0.584639
[ "MIT" ]
ClaytonWang/Umbraco-CMS
src/Umbraco.Core/Services/MacroService.cs
8,424
C#
using System.Dynamic; using DigitalSkynet.DotnetCore.Helpers.Razor; using DigitalSkynet.DotnetCore.Tests.Infrastructure; using Microsoft.Extensions.DependencyInjection; using Xunit; namespace DigitalSkynet.DotnetCore.Tests.Razor { public class RazorTests : BaseTest { private readonly IRazorHelper _raz...
32.957447
110
0.668819
[ "MIT" ]
DigitalSkynet/DigitalSkynet.DotnetCore.Api
src/DigitalSkynet.DotnetCore.Tests/Razor/RazorTests.cs
1,549
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace System.Web.Http.ApiExplorer { public class AmbiguousActionController : ApiController { // The actions GetItem and Get and pot...
25.541667
111
0.616639
[ "Apache-2.0" ]
1508553303/AspNetWebStack
test/System.Web.Http.Integration.Test/ApiExplorer/Controllers/AmbiguousActionController.cs
615
C#
using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using IRunes.Data; using IRunes.Models; using Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal; using SIS.HTTP.Requests; using SIS.HTTP.Responses; namespace IRunes.App.Controllers { public cla...
33.263736
120
0.539478
[ "MIT" ]
MrPIvanov/SoftUni
16-C# Web Basics/10_WORKSHOP - WEB APPLICATION. ADVANCED CSS - BOOTSTRAP/Solution/Apps/IRunes/IRunes.App/Controllers/UsersController.cs
3,029
C#
/* This is a .NET port of the Douglas Crockford's JSMin 'C' project. * * In addition to original functionality was added support of Angular * binding expressions minification. * * The author's copyright message is reproduced below. */ /* jsmin.c 2019-10-30 Copyright (C) 2002 Douglas Crockford (www.crockford...
22.39596
109
0.550063
[ "Apache-2.0" ]
alan-strickland/WebMarkupMin
src/WebMarkupMin.Core/DouglasCrockford/JsMinifier.cs
11,088
C#
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
36.155172
153
0.624225
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CognitoIdentityProvider/Generated/Model/Internal/MarshallTransformations/ListResourceServersRequestMarshaller.cs
4,194
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using System.Fabric; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Diagnostics.HealthChecks; using Microsoft.Extensions.Logging; using Microsoft.Omex....
33.15625
128
0.764373
[ "MIT" ]
ling1726/Omex
src/Extensions/Diagnostics.HealthChecks/Internal/HttpEndpointHealthCheck.cs
3,185
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.775
153
0.60864
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/CertificateConnectorDetailsGetHealthMetricTimeSeriesCollectionResponse.cs
1,551
C#
using AutoMapper; namespace Quantumart.QP8.BLL.Services.DTO { public class DTOMapper { public static void CreateAllMappings(IMapperConfigurationExpression cfg) { cfg.CreateMap<Folder, EntityTreeItem>(MemberList.Destination) .ForMember(data => data.Alias, opt => opt....
25.866667
89
0.621134
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
QuantumArt/QP
bll/Services/DTO/DTOMapper.cs
390
C#
/******************************************************************************* * 命名空间: SF.Data.Repository * * 功 能: N/A * 类 名: IRoleRepository * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2016/11/11 15:18:03 疯狂蚂蚁 初版 * * Copyright (c) 2016 SF 版权所有 * Description: SF快速开发平台 * Website:http://www.may...
25.472222
112
0.520174
[ "Apache-2.0" ]
blueskybcl/SF-Boilerplate
SF.Data/Repository/Implementation/PermissionRepository.cs
1,065
C#
/******************************************************************************* * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License...
46.299035
282
0.604834
[ "Apache-2.0" ]
QPC-database/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/ServiceCatalog/Basic/Get-SCPortfolioAccessList-Cmdlet.cs
14,399
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
33.04375
117
0.53641
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/KinesisVideoMedia/Generated/Model/GetMediaResponse.cs
5,287
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
46.463918
192
0.675172
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/CodeDeploy/Generated/Model/InvalidIgnoreApplicationStopFailuresValueException.cs
4,507
C#
#if ENABLE_INPUT_SYSTEM using UnityEngine.InputSystem; #endif using UnityEngine; namespace UnityTemplateProjects { public class SimpleCameraController : MonoBehaviour { class CameraState { public float yaw; public float pitch; public float roll; ...
34.922535
137
0.564832
[ "MIT" ]
Avatarchik/advanced-level-editor
Assets/Scripts/SimpleCameraController.cs
9,920
C#
using System; using System.Collections.Generic; namespace Lockethot.Collections.Generic { public class CloneableStack<T> : Stack<T>, ICloneableCollection { #region Constructors public CloneableStack() : base () { } public CloneableStack(Stack<T> raw = null) : base() { ...
23.946429
86
0.446682
[ "MIT" ]
Lockethot/LockeCS
Collections/Generic/CloneableStack.cs
1,343
C#
using Microsoft.Maui.Graphics; namespace InputKit.Shared.Helpers; public static class ColorExtensions { /// <summary> /// Defines a surface color will be black or white. /// </summary> /// <param name="color">Background color</param> /// <returns>Surface color on background color</returns> pu...
26.05
60
0.635317
[ "MIT" ]
enisn/Xamarin.Forms.InputK
src/InputKit/Shared/Helpers/ColorExtensions.cs
523
C#
using Cfg.StartServer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ET { public class StartServerComponent : Entity { public static StartServerComponent Instance; public MultiMap<int, StartSceneData> Gates = new ...
34.142857
146
0.719665
[ "MIT" ]
kteong1012/Arthas
Robot/Hotfix/Module/StartServer/StartServerComponent.cs
958
C#
#region BSD License /* * * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) * © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved. * * New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE) * ...
37.784091
162
0.57193
[ "BSD-3-Clause" ]
Krypton-Suite/Standard-Toolk
Source/Krypton Components/Krypton.Toolkit/Designers/Action Lists/KryptonCheckedListBoxActionList.cs
9,978
C#
/* * Copyright(c) 2018 Samsung Electronics Co., Ltd. * * 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 ...
37.054111
171
0.59475
[ "Apache-2.0", "MIT" ]
hjhun/TizenFX
src/Tizen.NUI/src/internal/Application.cs
52,728
C#
using System.Net.Http; using System.Threading.Tasks; using BizzebeeSharp.Entities; using BizzebeeSharp.Extensions; using BizzebeeSharp.Filters; using BizzebeeSharp.Infrastructure; namespace BizzebeeSharp.Services.ProductBundled { public class ProductBundledService : BizzebeeService { /// <summary> ...
46.911765
126
0.642215
[ "MIT" ]
PrimePenguin/BizzebeeSharp
BizzebeeSharp/Services/ProductBundled/ProductBundledService.cs
4,787
C#
using System; using System.Reactive.Concurrency; using NBitcoin; using ReactiveUI; using System.Reactive.Linq; using Avalonia.Controls; using WalletWasabi.Fluent.ViewModels.AddWallet; using WalletWasabi.Fluent.ViewModels.Dialogs.Base; using WalletWasabi.Fluent.ViewModels.NavBar; using WalletWasabi.Fluent.ViewModels.Nav...
30.942584
118
0.751044
[ "MIT" ]
0racl3z/WalletWasabi
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
6,467
C#
using System; namespace SysCommand.Mapping { /// <summary> /// Map of argument /// </summary> public class ArgumentMap { /// <summary> /// Represent the member name /// </summary> public string MapName { get; private set; } /// <summary> /// Argumen...
36.317757
240
0.574627
[ "MIT" ]
juniorgasparotto/SysCommand
src/SysCommand/Core/Model/Mapping/Argument/ArgumentMap.cs
3,888
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 20.01.2021. // // (short)integer_column==smallint_column // using System; using System.ComponentModel.DataAnnotation...
30.013245
143
0.577449
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/CastAs/SET_001/NullableSingle/Double/TestSet__N010__const_with_null__as_object.cs
4,534
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using ICSharpCode.WixBinding; using NUnit.Framework; using System; using System.ComponentModel; using System.Drawing.Design; u...
28.404255
105
0.792509
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/BackendBindings/WixBinding/Test/PropertyGrid/FileNamePropertyDescriptorTestFixture.cs
1,337
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18034 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.208333
178
0.693463
[ "MIT" ]
bpe78/WpfExamples
src/WpfPulsatingCircleAnimation/WpfPulsatingCircleAnimation/Properties/Resources.Designer.cs
2,465
C#
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sheng.SailingEase.Core.Devel...
33.253012
102
0.510145
[ "MIT" ]
ckalvin-hub/Sheng.Winform.IDE
SourceCode/Source/Core.Development/Event/Events/DeleteData/DeleteDataDevEditorAdapter.cs
2,808
C#
using System; using FluentAssertions; using Xunit; namespace Networking.Tests.OctetsTests { public class Octets_Method_GetUInt32_Test { [Fact] public void GetUInt32() { var octets = new Octets { Bytes = new Byte[] { 0x01, 0x23...
23.266667
56
0.514327
[ "MIT" ]
heshang233/networking
test/networking.core.tests/OctetsTests/Octets_Method_GetUInt32_Test.cs
698
C#
using System; using System.Linq; namespace _07.Tuple { class Program { static void Main(string[] args) { string[] personName = Console .ReadLine() .Split() .ToArray(); string[] nameAndAmoun...
33.138889
118
0.468567
[ "MIT" ]
Anzzhhela98/CSharp-Advanced
C# Advanced/07.Generics/Exercise Generics/07.Tuple/Program.cs
1,195
C#