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
//----------------------------------------------------------------------- // <copyright file="PinchGesture.cs" company="Google"> // // Copyright 2018 Google Inc. 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...
36.232323
109
0.572623
[ "Apache-2.0" ]
BSAA0203/AR_duino_GUN
AR_Shot_Bluetooth/Assets/GoogleARCore/Examples/ObjectManipulation/Scripts/Gestures/PinchGesture.cs
7,176
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleAppAdo.Domain { public class PedidoHandler { public PedidoHandler() { } public Pedido AdicionarPedido() { ...
12.272727
72
0.592593
[ "MIT" ]
lincolnzocateli/ADO.NET
Domain/PedidoHandler.cs
407
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; using Xunit; namespace System.Threading.Tasks.Dataflow.Tests { public class TransformBlockTests { [Fact] ...
39.444109
158
0.502451
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Threading.Tasks.Dataflow/tests/Dataflow/TransformBlockTests.cs
26,112
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using Umbraco.Core.Composing; using Umbraco.Core.Logging; namespace Umbraco.Core.Models { /// <summary> /// Represents a Member object /// </summary> [Serializable] [DataContract(IsReference = true)] public cla...
40.674419
213
0.559573
[ "MIT" ]
Adamanderss/Umbraco-CMS
src/Umbraco.Core/Models/Member.cs
22,739
C#
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alex Yakunin // Created: 2009.03.16 using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using...
33.090323
135
0.586534
[ "MIT" ]
SergeiPavlov/dataobjects-net
DataObjects/Modelling/Node.cs
30,774
C#
/* ==================================================================== 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 ...
30.704734
121
0.497023
[ "Apache-2.0" ]
sunshinele/npoi
scratchpad/HWPF/Model/Types/PAPAbstractType.cs
51,891
C#
// This file is auto generated, do not edit. using System; namespace Gwi.OpenGL.GLCompat { #pragma warning disable IDE1006 // Naming Styles unsafe partial class GL { private SGIXExtension? _SGIX; public SGIXExtension SGIX => _SGIX ??= new SGIXExtension(this); public sealed unsafe part...
147.256757
486
0.756997
[ "MIT" ]
odalet/Gwi
src/Gwi.OpenGL/Gwi.OpenGL.V1/generated/GLCompat/SGIX/GL.SGIX.cs
10,897
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.Linq; using System.Reflection; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Hosting.Intern...
36.175439
168
0.661979
[ "Apache-2.0" ]
CBaud/AspNetCore
src/Hosting/Hosting/src/Internal/ConfigureServicesBuilder.cs
2,062
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ExportadorContatosGoogle { public partial class FormGerenciadorContatosVCardV3 : Form { private string DirAr...
47.333333
704
0.497829
[ "MIT" ]
MarquesFonseca/ExportadorContatosGoogle
ExportadorContatosGoogle/FormGerenciadorContatosVCardV3.cs
56,767
C#
using System; using System.Collections.Generic; #nullable disable namespace DbFirst.Models { public partial class CustomerAndSuppliersByCity { public string City { get; set; } public string CompanyName { get; set; } public string ContactName { get; set; } public st...
22.6875
52
0.636364
[ "MIT" ]
firatalcin/CSharp-.NetCore-Works
FullStackDotNetCore-Lessons/DbFirst/DbFirst/Models/CustomerAndSuppliersByCity.cs
365
C#
using System.Linq; using System.Xml.Linq; using AD.Xml; using JetBrains.Annotations; namespace AD.OpenXml.Elements { /// <summary> /// Extension methods to removes &lt;rPr [...] /&gt; nodes from &lt;pPr [...] /&gt; nodes. /// </summary> [PublicAPI] public static class RemoveRunPropertiesFromParagr...
39.424242
133
0.619523
[ "MIT" ]
meryemdemirkaya/AD.OpenXml
src/AD.OpenXml/Elements/RemoveRunPropertiesFromParagraphProperties.cs
1,303
C#
// Decompiled with JetBrains decompiler // Type: MoneyWadScript // Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9 // Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Assembly-CSharp.dll using UnityEngine; public class...
31.666667
91
0.734211
[ "Unlicense" ]
JaydenB14/YandereSimulatorDecompiled
Assembly-CSharp/MoneyWadScript.cs
762
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Base.IO { public interface ITextReadable { TextReader OpenTextReader(); } }
16.066667
36
0.726141
[ "MIT" ]
dotnet-toolset/Base
Base.IO/ITextReadable.cs
243
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using LibrarySystem.Services.Common.Contracts; using Microsoft.AspNet.Identity; namespace LibrarySystem.Services.Common { public class IdentityService : IIdentityService { ...
23.53125
74
0.673307
[ "MIT" ]
ArnaudovSt/LibrarySystem
LibrarySystem/LibrarySystem.Services/Common/IdentityService.cs
755
C#
using PaZword.Api; using PaZword.Api.Security; using PaZword.Api.Settings; using PaZword.Core; using PaZword.Core.Threading; using PaZword.Core.UI; using PaZword.Localization; using System; using System.Composition; using System.Text.RegularExpressions; using Windows.System; using Windows.UI.Xaml; using Windows.UI.Xam...
33.336493
250
0.610321
[ "MIT" ]
Christophe-Ch/PaZword
Windows/Impl/PaZword/ViewModels/Dialog/SetupTwoFactorAuthenticationDialogViewModel.cs
7,036
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using AccessibilityInsights.SetupLibrary; using AccessibilityInsights.SharedUx.Enums; using AccessibilityInsights.SharedUx.Settings; using Axe.Windows.Core.Enums; ...
50.934272
243
0.658863
[ "MIT" ]
QPC-database/accessibility-insights-windows
src/AccessibilityInsights.SharedUxTests/Settings/ConfigurationModelTests.cs
10,637
C#
using System; using System.Text.RegularExpressions; namespace Padi.Vies.Validators { /// <summary> /// /// </summary> public sealed class SEVatValidator : VatValidatorAbstract { private const string RegexPattern =@"^\d{10}01$"; private static readonly int[] Multipliers = {2, 1, 2, ...
28.930233
82
0.502412
[ "Apache-2.0" ]
LXBdev/vies-dotnet
src/vies/Validators/SEVatValidator.cs
1,244
C#
using System; using System.Collections.Generic; namespace HerosDB.Entities { public partial class Superpeople { public Superpeople() { EnemiesHero = new HashSet<Enemies>(); EnemiesVillain = new HashSet<Enemies>(); Powers = new HashSet<Powers>(); } ...
30.296296
72
0.610024
[ "MIT" ]
201019-UiPath/JenningsJacob-code
2-SQL/HerosApp-DBFirst/HerosDB/Entities/Superpeople.cs
820
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. /****************************************************************************** * This file is auto-generated from ...
41.736347
182
0.581581
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/AddPairwise.Vector64.Byte.cs
22,162
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using Orchard.Core.Contents.Controllers; using Orchard.Localization; using Orchard.Logging; using Orchard.Mvc.Extensions; using Orchard.Roles.Models; using Orchard.Roles.Services; using Orchard.Roles.ViewModels; using O...
40.546961
116
0.57719
[ "BSD-3-Clause" ]
akovsh/Orchard
build/MsDeploy/Orchard/Modules/Orchard.Roles/Controllers/AdminController.cs
7,341
C#
using System; using System.Collections.Generic; using System.Linq; using Common; namespace Common.Extensions { public static class EnumerableExtensions { /// <summary> /// Select a random element from a collection /// </summary> /// <typeparam name="T"></typeparam> /// <param name="enumerable"></param> ...
26.705882
101
0.673458
[ "Apache-2.0" ]
cowtrix/supportbot
Common/Extensions/EnumerableExtensions.cs
1,818
C#
using System; using System.IO; using System.IO.Pipes; using System.Linq; namespace IpcAnonymousPipes { /// <summary> /// IPC client /// </summary> public class PipeClient : PipeCommon { #region Fields private readonly AnonymousPipeClientStream _inPipe; private readonly Ano...
29.641791
130
0.565458
[ "MIT" ]
geloczigeri/ipc-anonymouspipes
IpcAnonymousPipes/PipeClient.cs
3,974
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...
32.866667
114
0.657201
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/XRay/Generated/Model/GetSamplingStatisticSummariesResponse.cs
2,465
C#
namespace Demo.ConsoleAppNorthwind.Models2 { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Customer and Suppliers by City")] public partial class Cust...
25.551724
55
0.630229
[ "MIT" ]
carlos94colina/Ejercicios-Curso-HTML
Demo.ConsoleAppNorthwind/Models2/Customer_and_Suppliers_by_City.cs
741
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...
35.131148
108
0.671955
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Comprehend/Generated/Model/DetectDominantLanguageResponse.cs
2,143
C#
using GoSport.Core.Constants; using System.ComponentModel.DataAnnotations; namespace GoSport.Core.ViewModel.Town { public class TownViewModel { public int Id { get; set; } [Required] [MinLength(ConstViewModel.MinTownNameLength, ErrorMessage = ConstViewModel.TownNameMinErrorMessage)] ...
34.857143
108
0.734973
[ "MIT" ]
ErsanYashar/GoSport
Src/GoSport.Core/ViewModel/Town/TownViewModel.cs
734
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; using System.Collections.Generic; using System.IO; namespace Roslynator.CommandLine { internal static class ConsoleHelpers { pu...
30.407407
160
0.587089
[ "Apache-2.0" ]
JosefPihrt/Roslynator
src/CommandLine/ConsoleHelpers.cs
823
C#
using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace OmniSharp.Extensions.JsonRpc.Generators.Contexts { record ExtensionMethodContext( AttributeData AttributeData, TypeDeclarationSyntax TypeDeclaration, INamedTypeSymbol Type...
26.842105
58
0.715686
[ "MIT" ]
Devils-Knight/csharp-language-server-protocol
src/JsonRpc.Generators/Contexts/ExtensionMethodContext.cs
510
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.SharpDevelop.Gui; namespace ICSharpCode.CodeCoverage { /// <summary> /// Represents an asse...
28.537037
155
0.741077
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/Analysis/CodeCoverage/Project/Src/CodeCoverageModuleTreeNode.cs
1,543
C#
namespace WhereToFly.Geo { /// <summary> /// Geospatial constants /// </summary> public static class Constants { /// <summary> /// Earth radius, in meter (accepted by WGS84 standard) /// </summary> public static readonly double EarthRadiusInMeter = 6378137; ...
28.689655
83
0.58774
[ "BSD-2-Clause" ]
vividos/WhereToFly
src/Geo/Constants.cs
834
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
55.988889
175
0.671859
[ "MIT" ]
AlanFlorance/azure-powershell
src/KubernetesConfiguration/generated/api/Models/Api20220301/BucketPatchDefinition.cs
9,899
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace NeoModules.RPC.DTOs { public class Asset { [JsonProperty("type")] public string Type { get; set; } [JsonProperty("name")] public List<Name> Name { get; set; } [JsonProperty("amount")] public str...
21.592593
44
0.574614
[ "MIT" ]
CityOfZion/Neo-RPC-SharpClient
src/NeoModules.RPC/DTOs/Asset.cs
583
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace CodeCompendium.BinarySerialization { /// <summary> /// Converts objects to/from byte arrays. /// </summary> internal class Converter { #region Fields private const string _typeN...
28.112
131
0.485107
[ "MIT" ]
rthomasv3/BinarySerializer
BinarySerializer/Converter.cs
10,544
C#
namespace StyleChecker.Test.Size.LongLine { using Microsoft.VisualStudio.TestTools.UnitTesting; using StyleChecker.Size.LongLine; using StyleChecker.Test.Framework; [TestClass] public sealed class AnalyzerTest : DiagnosticVerifier { public AnalyzerTest() : base(new Analyzer(...
27.721311
70
0.560024
[ "BSD-2-Clause" ]
MatthewL246/StyleChecker
StyleChecker/StyleChecker.Test/Size/LongLine/AnalyzerTest.cs
1,691
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
40.122302
1,358
0.56464
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/PORX_MT122003UK30ActRef.cs
11,154
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Project.GUI.Widgets.ChartHeideable { public class Factory_ChartHideable : IFactory_ChartHideable { public IChartHideable Get_IChartHide...
21.818182
64
0.645833
[ "MIT" ]
govorukhin/Union_AppCtrlr_MVP
Union/Union/Project/GUI/Widgets/ChartHeideable/Factory/Factory_ChartHideable.cs
482
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.142857
98
0.708051
[ "MIT" ]
manupstairs/Notepad
Notepad/Panels/Properties/AssemblyInfo.cs
2,363
C#
using System; using System.Collections.Generic; using System.Text; using Infrastructure.Commands; namespace eShop.Marketing.Campaign.Events { public interface Defined : IStampedEvent { Guid CampaignId { get; set; } string Name { get; set; } string Description { get; set; } } }
19.8125
44
0.671924
[ "MIT" ]
charlessolar/eShopOnContainersDDD
src/Contexts/Marketing/Language/Campaign/Events/Defined.cs
319
C#
/* Copyright 2019 Dicky Suryadi 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 to in writing, software dis...
35.69697
130
0.741935
[ "Apache-2.0" ]
dsuryd/dotNetify-Pulse
DotNetifyLib.Pulse/PulseConfiguration.cs
1,180
C#
using AntShares.Cryptography; namespace AntShares.Core.Scripts { public static class Helper { /// <summary> /// 计算脚本的散列值,先使用sha256,然后再计算一次ripemd160 /// </summary> /// <param name="script">要计算散列值的脚本</param> /// <returns>返回脚本的散列值</returns> public static UInt160 To...
24.444444
62
0.586364
[ "MIT" ]
DavidthePangwaer/AntShares
AntSharesCore/Core/Scripts/Helper.cs
516
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PlatHak.FlowCode.FlowItems; namespace PlatHak.FlowCode { public class FlowCodeBuilder { public List<FlowItem> FlowItems { get; set; } public FlowCodeBuilder() { ...
25.117647
77
0.583138
[ "CC0-1.0" ]
coman3/PlatHak
PlatHak.Tests/PlatHak.FlowCode/FlowCodeBuilder.cs
856
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; using System.Col...
28.991228
100
0.465053
[ "MIT" ]
AndreyTretyak/service-fabric
src/prod/test/IDLValidation/Structs.cs
3,305
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; using System.Collections; using System.Collections.Generic; using System.Linq; using DotNetNuke.Co...
38.041379
139
0.593546
[ "MIT" ]
MaiklT/Dnn.Platform
DNN Platform/Library/Entities/Tabs/TabModulesController.cs
5,518
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ManagementAgent { public partial class MainForm : Form { UInt32 last_rec = 0; ...
29.811321
130
0.497943
[ "Unlicense" ]
ahmed-eg/Cloud-port-forward
ManagementAgent/MainForm.cs
6,322
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 09.04.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
26.825243
143
0.533478
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_002__AS_STR/Divide/Complete/Double/NullableDouble/TestSet_6VN00__param.cs
2,765
C#
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; namespace ServiceStack.Text.Common { internal class JsReader<TSerializer> where TSerializer : ITypeSerializer { private static readonly ITypeSerializer Serializer = JsWriter.GetTypeSerializer<TSerializer>...
31.587156
98
0.708103
[ "BSD-3-Clause" ]
scopely/ServiceStack.Text
src/ServiceStack.Text/Common/JsReader.cs
3,443
C#
using DanpheEMR.Core.Parameters; using DanpheEMR.ServerModel; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DanpheEMR.DalLayer { public class MaternityDbContext : DbContext { public DbSet<PatientM...
43.207547
93
0.703493
[ "MIT" ]
MenkaChaugule/hospital-management-emr
Code/Components/DanpheEMR.DalLayer/MaternityDbContext.cs
2,292
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.CompilerServices; using Tesseract.Core.Native; using Tesseract.OpenGL.Native; namespace Tesseract.OpenGL { public class GL15 : GL14 { public GL15Functions FunctionsGL15 { get; ...
33.518382
162
0.729955
[ "Apache-2.0" ]
Zekrom64/TesseractEngine
TesseractEngine-GL/OpenGL/GL15.cs
9,119
C#
using Autofac; using ExchangeRates.Domain.Services; using ExchangeRates.Services.Factories; using ExchangeRates.Services.Services; namespace ExchangeRates.Binder.Modules { public class ServicesModule : Module { protected override void Load(ContainerBuilder builder) { builder.Regist...
24.666667
75
0.709459
[ "MIT" ]
zbigniewmarszolik/ExchangeRates
ExchangeRates/ExchangeRates.Binder/Modules/ServicesModule.cs
446
C#
using System; using System.Collections.Generic; namespace ManualDi.Main.Disposing { public class BindingDisposer : IBindingDisposer { private readonly List<Action> disposeActions = new List<Action>(); private bool disposing = false; public void QueueDispose(Action disposeA...
23.153846
75
0.509413
[ "MIT" ]
GabLeRoux/ManualDi.Main
ManualDi.Main/Disposing/BindingDisposer.cs
905
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.IO; using System.Linq; using System....
48.167442
206
0.59954
[ "Apache-2.0" ]
OctopusDeploy/NuGet.Client
src/NuGet.Core/NuGet.PackageManagement/NuGetPackageManager.cs
124,274
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Photon.Realtime; using Photon.Pun; using TMPro; using UnityEngine.SceneManagement; using UnityEngine.UI; public class PhotonManager : MonoBehaviourPunCallbacks { public static PhotonManager instance { get; private set; } public Room...
20.468468
106
0.705546
[ "MIT" ]
Gabe-B/AGGP225_GabeBlack_Final
AGGP225_GabeBlack_FinalProj/Assets/Scripts/PhotonManager.cs
4,544
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...
26.2625
108
0.589243
[ "Apache-2.0" ]
brainmurphy/aws-sdk-net
sdk/src/Services/CodeCommit/Generated/AmazonCodeCommitConfig.cs
2,101
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Testing; using Test.Utilities; using Xunit; using VerifyCS = Test.Utilities.CSharpCod...
30.273312
170
0.65077
[ "MIT" ]
AndreasVolkmann/roslyn-analyzers
src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/TypeNamesShouldNotMatchNamespacesTests.cs
9,415
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("Aer...
38.583333
84
0.75522
[ "MIT" ]
Jac21/aerospike-client-csharp
Framework/AerospikeTest/Properties/AssemblyInfo.cs
1,390
C#
using LiveChartsCore.SkiaSharpView.WinForms; using System.Windows.Forms; using ViewModelsSamples.Axes.DateTimeScaled; namespace WinFormsSample.Axes.DateTimeScaled { public partial class View : UserControl { private readonly CartesianChart cartesianChart; public View() { In...
28.30303
104
0.592077
[ "MIT" ]
Diademics-Pty-Ltd/LiveCharts2
samples/WinFormsSample/Axes/DateTimeScaled/View.cs
936
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
72.677966
437
0.796875
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/ElasticInference/Properties/AssemblyInfo.cs
4,288
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Data; using System.Windows.Media.Imaging; namespace cs4rsa.Converters.DialogConverters { class Base64ImageConverter: IValu...
29.666667
124
0.647004
[ "MIT" ]
toky0s/cs4rsa
cs4rsa/Converters/DialogConverters/Base64ImageConverter.cs
1,070
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BAFactory.Fx.Security.Areas.Membership.Extensions { public static class FormsFieldsNames { /// <summary> /// Las propiedades de esta clase deben contener valores acordes a la la estructura ...
26.478873
106
0.467553
[ "Apache-2.0" ]
carlos-takeapps/bafactoryfx
Membership Managed Website/Membership Managed Website/Areas/Membership/Extensions/FormsFieldsNames.cs
1,882
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace _03.Nether_Realms { class Program { static void Main(string[] args) { var demons = Console.ReadLine() ...
30.625
93
0.441983
[ "MIT" ]
AneliaDoychinova/Programming-Fundamentals
13. Exam Preparation/Exam Preparation 2/03. Nether Realms/03. Nether Realms.cs
1,717
C#
using System.Threading.Tasks; using AElf.OS.Network.Application; using AElf.OS.Network.Infrastructure; using Shouldly; using Xunit; namespace AElf.OS.Network { public class PeerInvalidTransactionProviderTests: NetworkInfrastructureTestBase { private readonly IPeerInvalidTransactionProvider _peerInvalid...
35.015625
100
0.622936
[ "MIT" ]
ezaruba/AElf
test/AElf.OS.Core.Tests/Network/Infrastructure/PeerInvalidTransactionProviderTests.cs
2,241
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("Ope...
38.594595
84
0.751401
[ "MIT" ]
Martin-Stamenkov/Csharp-SoftUni
Programmig Basics/Nested Conditional Statements/OperationBetweenNumbers/Properties/AssemblyInfo.cs
1,431
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...
32.752896
110
0.586585
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Imagebuilder/Generated/Model/CreateImagePipelineRequest.cs
8,483
C#
namespace Spritesheet { using System.Linq; public class AnimationDefinition { public AnimationDefinition(string name, Frame[] frames) { this.Name = name; } public string Name { get; } } }
12.9375
57
0.68599
[ "MIT" ]
aloisdeniel/Spritesheet
Sources/Spritesheet/AnimationDefinition.cs
209
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2020 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
37.043478
84
0.68838
[ "MIT" ]
blackwork/dotnetrdf
Libraries/dotNetRDF.Query.Spin/Constraints/ObjectPropertyPath.cs
1,704
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x18_dd10-f569078c")] public void Method_0018_dd10() { ii(0x18_dd10, 2); mov(di, ss); /...
57
101
0.415393
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-0018-dd10.cs
1,767
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("FSL...
38.222222
84
0.75436
[ "MIT" ]
fabiosilvalima/FSL.CyclomaticComplexity
FSL.CyclomaticComplexity/Properties/AssemblyInfo.cs
1,379
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
47.262626
171
0.629408
[ "MIT" ]
3quanfeng/azure-powershell
src/Functions/generated/api/Support/FlowType.cs
4,581
C#
namespace Symbolica.Implementation.System; public interface IFile { long LastAccessTime { get; } long LastModifiedTime { get; } long Size { get; } int Read(byte[] bytes, long offset, int count); }
19.636364
51
0.680556
[ "MIT" ]
Symbolica/Symbolica
src/Implementation/System/IFile.cs
218
C#
using Kros.Utils; using System; namespace Kros.Data.Schema { /// <summary> /// Schema of a column of an index. /// </summary> public class IndexColumnSchema { #region Constructors /// <summary> /// Creates an instance of an index column with <paramref name="name"/>. Column...
34.129032
123
0.579395
[ "MIT" ]
Abd-Elrazek/Kros.Libs
Kros.Utils/src/Kros.Utils/Data/Schema/IndexColumnSchema.cs
2,118
C#
using System; using System.Linq; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using FluentMigrator; namespace SoftwareManager.DbMigrations.Migrations { [Migration(4, TransactionBehavior.Default, "Create table ApplicationApplicationManager")] public class CreateApplication...
43.325
125
0.679746
[ "MIT" ]
t0ms3n/SoftwareManager
SoftwareManager.DbMigrations/Migrations/004_CreateApplicationApplicationManagerTable.cs
1,733
C#
namespace Decorator.Components { using System; using System.Linq; public class ReverseBehavior : IModifyBehavior { public string Apply(string input) { var charArray = input .Reverse() .ToArray(); return new string(charArray); ...
19.647059
50
0.532934
[ "MIT" ]
IanEscober/DesignPattern
src/Decorator/Components/ReverseBehavior.cs
336
C#
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Pekka.ClashRoyaleApi.Client.Models.ClanModels { [JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))] public class ClanLocation { public int Id { get; set; } public string Name { get; set; } public...
23.8
70
0.686275
[ "MIT" ]
Blind-Striker/clash-royale-client-dotnet
src/Pekka.ClashRoyaleApi.Client/Models/ClanModels/ClanLocation.cs
359
C#
using UnityEngine; using System.Collections; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(LoadLevelAction))] public class LoadLevelActionInspector : InspectorBase { private string explanation = "Use this script to restart the level, or load another one (load another Unity scene)."; priv...
28.935065
150
0.682226
[ "MIT" ]
etcadinfinitum/games
playground/Assets/_INTERNAL_/Scripts/Editor/Conditions/Actions/LoadLevelActionInspector.cs
2,230
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; namespace Azure.Search.Documents.Models { /// <summary> A token filter that only keeps tokens with text contained in a specified list of words....
47.230769
226
0.67481
[ "MIT" ]
dadihe/azure-sdk-for-net
sdk/search/Azure.Search.Documents/src/Generated/Models/KeepTokenFilter.cs
1,842
C#
/* 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...
37.570952
167
0.510909
[ "BSD-2-Clause" ]
CraigOrendi/xenadmin
XenAdmin/Controls/CustomTreeView.cs
22,507
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace DotNetCoreApplication.Entities { public class Employee { [Key] public int EmployeeId { get; set; } public string EmployeeName { get; ...
21.24
48
0.659134
[ "MIT" ]
vijaykumarvicky/DotNetCoreApplication
DotNetCoreApplication/DotNetCoreApplication/Entities/Employee.cs
533
C#
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System; using System.Col...
29.964286
138
0.675805
[ "MIT" ]
benchabot2/ReactiveUI
src/ReactiveUI.Tests/Platforms/windows-xaml/Mocks/PropertyBindView.cs
1,680
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.Text; using System.Xml; using System.Xml.Linq; using Microsoft.CodeA...
38.292254
192
0.528322
[ "MIT" ]
BertanAygun/roslyn
src/Features/Core/Portable/DocumentationComments/AbstractDocumentationCommentFormattingService.cs
21,756
C#
using Exadel.CrazyPrice.Common.Extentions; using Exadel.CrazyPrice.Common.Models.Promocode; using System; using System.Collections.Generic; using FluentAssertions; using Xunit; namespace Exadel.CrazyPrice.Tests.Common.Models.Promocode { public class UserPromocodesTests { [Fact] pub...
32.666667
86
0.532313
[ "BSD-3-Clause" ]
ssivazhalezau/exadel_discounts_be
src/Exadel.CrazyPrice/Exadel.CrazyPrice.Tests/Common/Models/Promocode/UserPromocodesTests.cs
1,178
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...
48.438131
165
0.64385
[ "Apache-2.0" ]
Murcho/aws-sdk-net
sdk/test/UnitTests/Generated/Marshalling/SageMakerMarshallingTests.cs
38,363
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("Baz...
37.837838
84
0.749286
[ "MIT" ]
adrianB3/mtp_lab
other_things/BazaDateMarinari/BazaDateMarinari/Properties/AssemblyInfo.cs
1,403
C#
using System; using System.Runtime.InteropServices; namespace com.openrest.v1_1 { [ComVisible(true)] [InterfaceType(ComInterfaceType.InterfaceIsDual)] public interface IVariations { int GetCount(); IVariation Get(int i); } }
19.714286
54
0.652174
[ "Apache-2.0" ]
wix-incubator/openrest4net
openrest4com/com/openrest/v1_1/IVariations.cs
278
C#
#region License /* * Copyright 2009- Marko Lahma * * 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 ...
31.979592
93
0.658583
[ "Apache-2.0" ]
1508553303/quartznet
src/Quartz/Impl/AdoJobStore/PostgreSQLDelegate.cs
1,569
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using DgcReader.BlacklistProviders.Italy; namespace DgcReader.BlacklistProviders.Italy.Migrations { [DbContext(typeof...
31.616667
98
0.562467
[ "Apache-2.0" ]
DevTrevi/DgcReader
BlacklistProviders/DgcReader.BlacklistProviders.Italy/Migrations/ItalianDrlBlacklistDbContextModelSnapshot.cs
1,899
C#
using Xunit; using System.Collections.Generic; using System; using Papabytes.Cronofy.NetCore; namespace Papabytes.Cronofy.NetCore.Test.CronofyAccountClientTests { public class GetFreeBusy : Base { const string BasicResponseBody = @"{ ""pages"": { ""current"": 1, ""total"": 1 }, ""free_bus...
31.01087
108
0.513845
[ "MIT" ]
Toky0/cronofy-csharp
test/Papabytes.Cronofy.NetCore.Test/CronofyAccountClientTests/GetFreeBusy.cs
5,706
C#
using Igtampe.BasicRender; using System; namespace Igtampe.BasicWindows { /// <summary>Creates a window that can "Tick". A tick subroutine is called every 250 ms.</summary> public class TickableWindow:Window { /// <summary>Creates an Animated, Shadowed, and centered tickable window with a centered h...
50.628319
304
0.615627
[ "CC0-1.0" ]
igtampe/BasicRender
Igtampe.BasicWindows/TickableWindow.cs
5,723
C#
/* 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...
39.423077
133
0.619707
[ "BSD-2-Clause" ]
CitrixChris/xenadmin
XenAdmin/Commands/MigrateVirtualDiskCommand.cs
5,127
C#
using System; using System.Net; using System.Collections.Generic; using BackpackTfApi.UserToken.Classifieds.Users.Models; namespace BackpackTfApi.UserToken.Classifieds.Utilities { public static class UsersDataHandler { /// <summary> /// Downloads the users' data JSON and converts it to a .NET...
36.977778
100
0.61899
[ "MIT" ]
jackofdiamond5/BackpackTfApi
src/BackpackTfApi/UserToken/Classifieds/Utilities/UsersDataHandler.cs
1,666
C#
using ElmSharp; using Tizen.UIExtensions.ElmSharp; namespace Microsoft.Maui { public static class SwitchExtensions { public static void UpdateIsOn(this Check nativeCheck, ISwitch view) { nativeCheck.IsChecked = view.IsOn; } public static void UpdateTrackColor(this Check nativeCheck, ISwitch view) { ...
20.060606
75
0.703927
[ "MIT" ]
JoonghyunCho/TestBed
src/Core/src/Platform/Tizen/SwitchExtensions.cs
664
C#
using System; using System.Diagnostics; #if WINDOWS_UWP using Windows.ApplicationModel; #endif using Xamarin.Forms; using Xamarin.Forms.Xaml; [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace ConferenceKiosk { public partial class App : Application { public App() { ...
22.232558
93
0.632845
[ "MIT" ]
Bhaskers-Blu-Org2/ConferenceKiosk
ConferenceKiosk/ConferenceKiosk/App.xaml.cs
958
C#
using System.Windows.Forms; namespace JWLibrary.Winform.DataViewControls { public class DataGridViewDobleLineColumn : DataGridViewColumn { public DataGridViewDobleLineColumn() { this.CellTemplate = new DataGridViewDobleLineCell(); this.ReadOnly = true; } } }...
22.928571
65
0.663551
[ "Unlicense" ]
GuyFawkesFromKorea/JWLibrary
JWLibrary.Winform/DataViewControls/DataGridViewDobleLineColumn.cs
323
C#
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Desi...
40.105263
75
0.755906
[ "Apache-2.0" ]
JeevanJames/JustCompose
src/Core/GlobalSuppressions.cs
764
C#
using System; using System.Threading; using EventStore.ClientAPI; using EventStore.ClientAPI.Exceptions; using EventStore.Core.Tests.Helpers; using NUnit.Framework; namespace EventStore.Core.Tests.ClientAPI { [TestFixture, Category("ClientAPI"), Category("LongRunning")] public class deleting_existing_persiste...
35.814815
142
0.597725
[ "Apache-2.0" ]
shaan1337/EventStore
src/EventStore.Core.Tests/ClientAPI/deleting_persistent_subscription.cs
6,771
C#
/* * LUSID API * * # Introduction This page documents the [LUSID APIs](https://www.lusid.com/api/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages : * [C#](https://github.com/finbourne/...
150.386973
28,764
0.659372
[ "MIT" ]
sgiulians/lusid-sdk-csharp
sdk/Lusid.Sdk/Model/ExpandedGroup.cs
39,251
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; namespace FileBackupper.Db { class PathInfo { public int Id { get; set; } public Target Target { get; set; } [Index] public string Name { get; set; } pu...
22.452381
60
0.538706
[ "MIT" ]
ShTair/FileBackupper
FileBackupper/Db/PathInfo.cs
963
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.846154
161
0.627574
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/PostMultiValueExtendedPropertiesCollectionRequestBuilder.cs
2,720
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
40.748201
1,358
0.571593
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/UKCT_MT142101UK01OrganizationSDS.cs
11,328
C#
using System.ComponentModel.DataAnnotations; using Abp.Auditing; using Abp.Authorization.Users; namespace mcbc.Models.TokenAuth { public class AuthenticateModel { [Required] [StringLength(AbpUserBase.MaxEmailAddressLength)] public string UserNameOrEmailAddress { get; set; } [R...
24.619048
58
0.68472
[ "MIT" ]
jtechsharp/mcbc
src/mcbc.Web.Core/Models/TokenAuth/AuthenticateModel.cs
519
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
75.89011
495
0.68329
[ "MIT" ]
Agazoth/azure-powershell
src/ConnectedMachine/generated/cmdlets/NewAzConnectedPrivateLinkScope_Create.cs
34,076
C#