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 Gw2Sharp.WebApi.V2.Models; namespace Gw2Sharp.WebApi.V2.Clients { /// <summary> /// A client of the Guild Wars 2 API v2 tokeninfo endpoint. /// </summary> public interface ITokenInfoClient : IAuthenticatedClient, IBlobClient<TokenInfo> { } }
21.923077
63
0.659649
[ "MIT" ]
Archomeda/Gw2Sharp
Gw2Sharp/WebApi/V2/Clients/TokenInfo/ITokeninfoClient.cs
285
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. namespace Stride.Rendering.Materials { /// <sum...
43.461538
163
0.755752
[ "MIT" ]
Alan-love/xenko
sources/engine/Stride.Rendering/Rendering/Materials/IMaterialSpecularMicrofacetNormalDistributionFunction.cs
565
C#
#region netDxf library licensed under the MIT License // // netDxf library // Copyright (c) 2019-2021 Daniel Carvajal (haplokuon@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), ...
38.620408
151
0.576094
[ "MIT" ]
Atlant3D/netDxf
netDxf/Entities/MTextParagraphOptions.cs
9,462
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.Linq; using System.Reflection; using System.Text; using JetBrains...
51.606488
139
0.652901
[ "Apache-2.0" ]
filipnavara/efcore
src/EFCore.Relational/Metadata/Internal/DbFunction.cs
36,589
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assembl...
41
102
0.757416
[ "MIT" ]
sbully/TP_ABC_Dev
Space Invaders/SpaceInvadersWF1/Properties/AssemblyInfo.cs
1,542
C#
//------------------------------------------------------------------------------ // <auto-generated> // Gerado pela classe WriteCodeFragment do MSBuild. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Re...
46.705882
80
0.641058
[ "MIT" ]
GikaRodrigues/C-Sharp
MVC/ExReciclagem/obj/Debug/netcoreapp2.1/ExReciclagem.AssemblyInfo.cs
794
C#
using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; using System.Windows.Data; // mine - IValueConverter using System.Globalization; // mine - IValueConverter > CultureInfo using System.Windows.Controls; using System.Windows.Documents; using System.Windows; using Riva.Input; us...
38.251852
127
0.601665
[ "MIT" ]
Riva3000/Riva.Input
GenericControllersTest/XBoxIdentify/GUI/DIDeviceInfo_To_RichText_Converter.cs
5,166
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
44.609375
212
0.620665
[ "Apache-2.0" ]
jam40jeff/CsJs
src/Tools/VSIXExtension/MarkupGeneratorPackage/Resources.Designer.cs
2,857
C#
using NewsSystem.Data.Infrastructure.Mapping; using NewsSystem.Data.Models; using System; using AutoMapper; using System.Linq; using System.Web; namespace NewsSystem.Data.ViewModels.Comments { public class CommentBasicViewModel : IMapFrom<Comment>, IHaveCustomMappings { public long Id { get; set; } ...
32.602564
133
0.501376
[ "MIT" ]
yasenm/NewsSystem
NewsSystem/NewsSystem.Data.ViewModels/Comments/CommentBasicViewModel.cs
2,545
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace bfcs { class bfcs { private static char[] cells = new char[Int16.MaxValue]; private static int cellLocation = 0; public static int bfParse(char[] commands, bool isLoop) { redo: ...
34.492308
77
0.349688
[ "MIT" ]
Zeinok/bfcs
bfcs/bfcs.cs
2,244
C#
namespace BK.IoC.Tests { public class Security { } }
9.166667
22
0.690909
[ "MIT" ]
BK-Projects-Net/BK.Plugins
Tests/BK.IoC.Tests/Security.cs
55
C#
using System; using System.Collections.Generic; using System.Linq; using FluentAssertions; using JacksonVeroneze.NET.Commons.Exceptions; using JacksonVeroneze.StockService.Common.Fakers; using JacksonVeroneze.StockService.Domain.Entities; using JacksonVeroneze.StockService.Domain.Enums; using JacksonVeroneze.StockServi...
34.267241
113
0.705157
[ "MIT" ]
jacksonveroneze/StockService
tests/JacksonVeroneze.StockService.Domain.Tests/Entities/AdjustmentTest.cs
7,952
C#
 using System; namespace Stump.Core.Extensions { public static class TypeExtensions { public static bool IsSubclassOfGeneric(this Type type, Type genericType) { var t = type.BaseType; while (t != null && !t.IsValueType) { if (t.IsGenericType...
21.434783
83
0.513185
[ "Apache-2.0" ]
Daymortel/Stump
src/Stump.Core/Extensions/TypeExtensions.cs
495
C#
using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Windows.Controls; using System.Windows.Data; namespace WpfUI.ViewModels { public class MainMenu { private ObservableCollection<MenuItem> _menuItems; public ObservableCollection<MenuItem> MenuItems { get...
30.481818
161
0.659409
[ "MIT" ]
angtianqiang/csla
Samples/ProjectTracker/ProjectTracker.Ui.WPF/ViewModels/MainMenu.cs
3,355
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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 Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft...
37.973783
184
0.594141
[ "ECL-2.0", "Apache-2.0" ]
binsys/roslyn_java
Src/Workspaces/CSharp/Formatting/FormattingHelpers.cs
20,280
C#
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Text; namespace ZLogger.Providers { [ProviderAlias("ZLoggerConsole")] public class ZLoggerConsoleLoggerProvider : ILoggerProvider { internal const string DefaultOptionName = "ZLoggerConsole.Default"; ...
29.857143
138
0.664274
[ "MIT" ]
HappyFacade/ZLogger
src/ZLogger.Unity/Assets/Scripts/ZLogger/Providers/ZLoggerConsoleLoggerProvider.cs
1,254
C#
using System; using System.Windows.Threading; using Prism.Events; using Prism.Logging; using Prism.Mvvm; using Unity; namespace Accelerider.Windows.Infrastructure.Mvvm { public abstract class ViewModelBase : BindableBase { private IAcceleriderUser _acceleriderUser; protected ViewModelBase(IUn...
28.382353
130
0.696373
[ "MIT" ]
Jovan-Cheng/Accelerider.Windows
Source/Accelerider.Windows.Infrastructure.UI/Mvvm/ViewModelBase.cs
967
C#
//============================================================== // Copyright (C) 2020 Inc. All rights reserved. // //============================================================== // Create by 种道洋 at 2020/8/6 11:33:53. // Version 1.0 // 种道洋 //============================================================== using ...
34.536471
191
0.410172
[ "Apache-2.0" ]
cdy816/Spider
Common/Cdy.Spider.Common/Device/DeviceRuner.cs
29,388
C#
using Bb.Oracle.Contracts; using Bb.Oracle.Structures.Models; namespace Bb.Oracle.Models { /// <summary> /// /// </summary> public partial class ForeignKeyConstraintModel : ItemBase { /// <summary> /// Constraint Name /// </summary> public string ConstraintName { ...
21.707317
76
0.541573
[ "BSD-3-Clause" ]
Black-Beard-Sdk/Oracle.Parser
Src/Black.Beard.Oracle.Model/Models/ForeignKeyConstraintModel.cs
892
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under MIT X11 license (for details please see \doc\license.txt) using System.ComponentModel.Composition; using System.Reflection.Metadata; using System.Windows.Controls; using ICSharpCod...
34.716418
116
0.737317
[ "MIT" ]
AraHaan/ILSpy
TestPlugin/CustomLanguage.cs
2,328
C#
namespace PdfMergingToolUi { partial class AboutPdfMergingTool { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
55.936275
159
0.645342
[ "MIT" ]
dyslexicanaboko/pdf-tools
PdfMergingTool/PdfMergingToolUi/AboutPdfMergingTool.Designer.cs
11,413
C#
using System.Text; using VRage; using VRageMath; using GlyphFormatMembers = VRage.MyTuple<byte, float, VRageMath.Vector2I, VRageMath.Color>; namespace RichHudFramework { namespace UI { using Rendering.Client; using Rendering.Server; using Rendering; /// <summary> /// U...
37.036364
167
0.526591
[ "MIT" ]
ZachHembree/RichHudFramework.Client
Shared/UI/HUD/RichText/GlyphFormat.cs
6,113
C#
using System; using EventStore.Core.Messaging; namespace EventStore.Core.Bus { public class AdHocHandler<T>: IHandle<T> where T: Message { private readonly Action<T> _handle; public AdHocHandler(Action<T> handle) { if (handle is null) { ThrowHelper.ThrowArgumentNullExcepti...
23.238095
101
0.604508
[ "Apache-2.0", "CC0-1.0" ]
cuteant/EventStore-DotNetty-Fork
src/EventStore.Core/Bus/AdHocHandler.cs
490
C#
using Rhino.Geometry; using Grasshopper.Kernel.Types; namespace Robots.Grasshopper; public class GH_Frame : GH_Goo<Frame> { public GH_Frame() { Value = Frame.Default; } public GH_Frame(GH_Frame goo) { Value = goo.Value; } public GH_Frame(Frame native) { Value = native; } public override IGH_Goo Dupli...
31.111111
90
0.597321
[ "MIT" ]
visose/Robots
src/Robots.Grasshopper/Goos/GH_Frame.cs
1,122
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 "li...
33.921875
107
0.645325
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Glue/Generated/Model/DeleteSchemaRequest.cs
2,171
C#
using System; using System.IO; using SharpCompress.IO; namespace SharpCompress.Common.Rar.Headers { internal class FileHeader : RarHeader { private const byte SALT_SIZE = 8; private const byte NEWLHD_SIZE = 32; protected override void ReadFromReader(MarkingBinaryReader rea...
35.648069
129
0.447989
[ "MIT" ]
KOLANICH/sharpcompress
SharpCompress/Common/Rar/Headers/FileHeader.cs
8,306
C#
using CopperSharp.Item; namespace CopperSharp.Utils; /// <summary> /// Attribute for enum to store string data inside /// </summary> [AttributeUsage(AttributeTargets.Field)] public sealed class EnumDataAttribute : Attribute { /// <summary> /// Creates a new enum data attribute /// </summary> /...
31.267442
126
0.630718
[ "MIT" ]
Maxuss/CopperSharp
CopperSharp/Utils/AnnotationUtils.cs
2,689
C#
using System; using System.Collections; using System.Collections.Generic; using Permutations; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using System.Linq; namespace PermutationsTests { [TestClass] public class PermutationClassTest { [TestMethod] public vo...
33.473214
116
0.514537
[ "MIT" ]
vaultah/permutations
PermutationsTests/PermutationClassTests.cs
3,751
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace SchoolAPI { public class Program ...
22.035714
64
0.76013
[ "MIT" ]
francinelucca/SchoolAPI
SchoolAPI/Program.cs
617
C#
using Domain.Models.Access; namespace Application.Services.Access { public interface IAccessService { IAccessParameters FromLink(string link); } }
18.555556
48
0.724551
[ "MIT" ]
DipCoy/NotesFE
Application/Services/Access/IAccessService.cs
167
C#
/*************************************************************************************************************************************** * Copyright (C) 2001-2012 LearnLift USA * * Contact: Learnlift USA, 12 Greenway Plaza, Suite 1510, Houston, Texas 77046, support@memorylifter.com * * ...
67.873016
149
0.70198
[ "MIT" ]
hmehr/OSS
MemoryLifter/Development/Current/MLifter.Controls/LearningWindow/ButtonsPanel.Designer.cs
12,828
C#
namespace LostTech.Torch.NN { using System; using System.Collections.Generic; using System.Linq; using NAudio.Wave; class AudioTools { public static float[] Read(string filePath, out int sampleRate) { ISampleProvider sampler = new AudioFileReader(filePath); if (samp...
38.147059
118
0.600617
[ "MIT" ]
losttech/Torch.Siren
asiren/AudioTools.cs
1,299
C#
using System; using System.Collections.Generic; using System.Linq; namespace EntityFrameworkCore.Procedure { /// <summary> /// Abstract Class for Poco having Multi Result /// </summary> public abstract class MultiResult { private Dictionary<int, MultiResultProp> prop = null; privat...
27.098039
147
0.516643
[ "MIT" ]
lucy-i/EntityFrameworkCore.Procedure
EntityFrameworkCore.Procedure/MultiResult.cs
1,384
C#
using Shop.Module.Core.Abstractions.Data; namespace Shop.Module.Reviews.Abstractions.Data { public class ReviewKeys : ShopKeys { public static string Module = System + ":review"; /// <summary> /// 启用评论自动审核功能 /// </summary> public const string IsReviewAutoApproved = "Is...
24.55
74
0.615071
[ "MIT" ]
cn-cam/module-shop
src/server/src/Modules/Shop.Module.Reviews.Abstractions/Data/ReviewKeys.cs
533
C#
// *********************************************************************** // Copyright (c) 2015 Charlie Poole, Rob Prouse // // 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 restri...
30.397849
86
0.60099
[ "MIT" ]
Dreamescaper/nunit
src/NUnitFramework/testdata/RepeatingTestsFixtureBase.cs
2,827
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.AI.Translation.Document { /// <summary> List of possible statuses for job or document. </summary> public readonly ...
53.031746
144
0.703382
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/translation/Azure.AI.Translation.Document/src/Generated/Models/DocumentTranslationStatus.cs
3,341
C#
using FluentValidation; using MediatR; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using ValidationException = Ordering.Application.Exceptions.ValidationException; namespace Ordering.Application.Behaviours { public class ValidationBehaviour<TRequest, ...
39.424242
138
0.675634
[ "MIT" ]
apoorv-neosofttech/AspnetMicroservices
src/Services/Ordering/Ordering.Application/Behaviours/ValidationBehaviour.cs
1,303
C#
// // Copyright (c) 2008-2011, Kenneth Bell // Copyright (c) 2017, Quamotion // // 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...
30
78
0.635714
[ "MIT" ]
AssafTzurEl/DiscUtils
Library/DiscUtils.Nfs/RpcMismatchInfo.cs
2,100
C#
namespace UnityEngine.Experimental.Input { public interface IInputActionCallbackReceiver { void OnActionTriggered(ref InputAction.CallbackContext context); } }
22.5
72
0.761111
[ "Apache-2.0" ]
KnightlessLabs/Unity-Platform-Fighter-Framework
Packages/com.unity.inputsystem/InputSystem/Actions/IActionCallbackReceiver.cs
180
C#
using Robust.Shared.Maths; using Robust.Shared.Serialization; using System; using System.Collections.Generic; namespace OpenDreamShared.Dream { [Serializable, NetSerializable] public class IconAppearance : IEquatable<IconAppearance> { public string Icon; public string IconState; public...
36.271845
106
0.552195
[ "MIT" ]
DamianX/OpenDream
OpenDreamShared/Dream/IconAppearance.cs
3,738
C#
// CASSYS - Grid connected PV system modelling software // (c) Canadian Solar Solutions Inc. /////////////////////////////////////////////////////////////////////////////// // // Title: Splitter Class // // Revision History: // DJT - 2014-11-10: Version 0.9 // // Description: // This class calculates beam and diffuse...
43.184834
165
0.479258
[ "BSD-3-Clause" ]
CanadianSolar/CASSYS
CASSYS Engine/Splitter.cs
9,116
C#
namespace PayrollGUI { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param n...
41.203704
107
0.566891
[ "MIT" ]
ac132998/Chapter-3
PayrollGUI/PayrollGUI/Form1.Designer.cs
6,677
C#
namespace _04.RemoveOddOccurences { using System; using System.Collections.Generic; using System.Linq; public class Startup { public static void Main() { var nums = Console.ReadLine().Split().Select(int.Parse).ToList(); var numsOccurences = new Dictionary<i...
25.225
77
0.435084
[ "MIT" ]
mdamyanova/C-Sharp-Web-Development
00.Open Courses/Data Structures/03.Algorithm Complexity and Linear Data Structures - Exercise/04.RemoveOddOccurences/Startup.cs
1,011
C#
using PyrotechnicShop.Domain.Abstract; using PyrotechnicShop.Domain.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using PyrotechnicShop.WebUI.Models; namespace PyrotechnicShop.WebUI.Controllers { public class CartController : Controller { ...
31.294872
100
0.581319
[ "MIT" ]
oldgunner/PyrotechnicShop
PyrotechnicShop.WebUI/Controllers/CartController.cs
2,467
C#
namespace OnlineDoctorSystem.Data.Migrations { using System; using Microsoft.EntityFrameworkCore.Migrations; public partial class AddContactSubmissionsToDb : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
35.513514
73
0.535008
[ "MIT" ]
Boyan-Apostolov/OnlineDoctorSystem
Data/OnlineDoctorSystem.Data/Migrations/20201123155655_AddContactSubmissionsToDb.cs
1,316
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; using Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.Core.Win32Extras { [NativeName("Name", "_FILE_INFO_BY_HANDLE_CLASS")] public ...
38.73913
71
0.652825
[ "MIT" ]
Ar37-rs/Silk.NET
src/Core/Silk.NET.Core.Win32Extras/Enums/FileInfoByHandleClass.gen.cs
2,673
C#
using MSFSTouchPortalPlugin.Attributes; using MSFSTouchPortalPlugin.Enums; namespace MSFSTouchPortalPlugin.Objects.InstrumentsSystems { [TouchPortalCategory(Groups.Electrical)] internal static class ElectricalMapping { #region Avionics [TouchPortalAction("AvionicsMasterSwitch", "Avionics Master", "MSFS",...
49.291139
165
0.734206
[ "MIT" ]
mpaperno/MSFSTouchPortalPlugin
MSFSTouchPortalPlugin/Objects/InstrumentsSystems/Electrical.cs
3,896
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. namespace TerraFX.Graphics; /// <summary>Defines a graphics surface kind.</summary> public enum GraphicsSurfaceKind { /// <summary>Defines an unknown graphics surface k...
30.307692
145
0.714467
[ "MIT" ]
tannergooding/terrafx
sources/Graphics/Core/Graphics/GraphicsSurfaceKind.cs
789
C#
using System; using System.Collections.Generic; using System.Text; using FastReport.Table; using FastReport.Utils; namespace FastReport.Matrix { /// <summary> /// Specifies the aggregate function used in the <see cref="MatrixObject"/>. /// </summary> public enum MatrixAggregateFunction { /// <summary> ...
27.812834
133
0.625649
[ "MIT" ]
EasyLOB/FastReport
FastReport.Base/Matrix/MatrixCellDescriptor.cs
5,201
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Linq; using JetBrains.Annotations; using SolutionInspector.Api.Configuration.Infrastructure; using SolutionInspector.Api.Extensions; using SolutionInspector.Api.ObjectModel; using SolutionInspector.Api....
42.340426
153
0.728141
[ "MIT" ]
chrischu/SolutionChecker
src/SolutionInspector.DefaultRules/RequiredCompilationSymbolsProjectRule.cs
3,980
C#
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using Microsoft.WindowsAzure.MobileServices.Sync; using Newtonsoft.Json.Linq; using System; using...
34.227273
104
0.568393
[ "Apache-2.0" ]
Atlas-LiftTech/azure-mobile-apps-net-client
unittests/MobileClient.Tests/Helpers/Mocks/MobileServiceSyncHandlerMock.cs
1,508
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading; using System.Threadin...
32.283237
237
0.553984
[ "Apache-2.0" ]
NewCasino/521266750_qq_com
CSharpServer/Qipai4Core/Qipai4Core/SocketBase/AppServer.cs
11,172
C#
using System; using Elasticsearch.Net; using FluentAssertions; using NUnit.Framework; using Nest.Tests.MockData.Domain; namespace Nest.Tests.Unit.Core.Bulk { [TestFixture] public class BulkUrlTests : BaseJsonTests { [Test] public void BulkNonFixed() { var result = this._client.Bulk(b => b .Index<Elast...
35.057971
85
0.693675
[ "Apache-2.0" ]
NickCraver/NEST
src/Tests/Nest.Tests.Unit/Core/Bulk/BulkUrlTests.cs
2,421
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("Up...
37.972973
84
0.746619
[ "MIT" ]
buzzfrog/annero-demo
win/UpdateAsaRefData/UpdateAsaRefData/Properties/AssemblyInfo.cs
1,408
C#
using System; namespace TestForStagingAndBranches { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
14.846154
46
0.554404
[ "MIT" ]
alexpeev9/.Net-Exercises-Computer-Science-3rd-Course
CarYoutubeProject/TestForStagingAndBranches/Program.cs
195
C#
namespace Ordering.Application.Models { public class EmailSettings { public string ApiKey { get; set; } public string FromAddress { get; set; } //public string ToAddress { get; set; } public string FromName { get; set; } } }
24.545455
47
0.607407
[ "MIT" ]
RAxzon/MicroservicesApp
src/Services/Ordering/Ordering.Application/Models/EmailSettings.cs
272
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
45.979167
274
0.731309
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-v01_r04_3/Main/Ca/Infoway/Messagebuilder/Model/Pcs_cerx_v01_r04_3/Interaction/UnfilledPrescriptionsQuery.cs
2,207
C#
using PandaPlayer.Core.Models; namespace PandaPlayer.Events.DiscEvents { public class NavigateLibraryExplorerToDiscEventArgs : BaseDiscEventArgs { public NavigateLibraryExplorerToDiscEventArgs(DiscModel disc) : base(disc) { } } }
19.692308
73
0.753906
[ "MIT" ]
CodeFuller/music-library
src/PandaPlayer/Events/DiscEvents/NavigateLibraryExplorerToDiscEventArgs.cs
258
C#
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Application.Common.AppSettingHelpers.Main; using Application.Common.Interfaces; using MediatR; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; namespace Application.Posts.Commands....
35.940299
87
0.602575
[ "MIT" ]
Nachyn/blog-api
src/Application/Posts/Commands/DeletePosts/DeletePostsCommand.cs
2,410
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using ConfigurationSample.Models; namespace ConfigurationSample.EFConfigurationProvider { public class EFConfigurationProvider : ConfigurationProvider { Acti...
33.877551
144
0.614458
[ "Apache-2.0" ]
bbigcd/codestore
src/netcore/official document/Configuration/ConfigurationSample/EFConfigurationProvider/EFConfigurationProvider .cs
1,660
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Domain { /// <summary> /// MenuAnalysisData Data Structure. /// </summary> [Serializable] public class MenuAnalysisData : AopObject { /// <summary> /// 人均点击次数 /// </summary> [XmlElement("avg_cl...
23.181818
51
0.498039
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Domain/MenuAnalysisData.cs
1,379
C#
using Discord.Commands; using System; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Assistant.Modules.CodeExec { public class CodeSnippet { public string Language { get; } public string Code { get; } public CodeSnippet(string language, string code) ...
35.90625
191
0.666667
[ "MIT" ]
Future-Gadget-Lab/DiscordAssistant
src/Modules/CodeExec/CodeSnippet.cs
1,151
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tweety.Models.Twitter { public class WebhookDMResult { [JsonProperty("direct_message_events")] public List<DMEvent> Events { get; set; } [JsonProperty("users")] ...
32.364583
139
0.633087
[ "MIT" ]
mmgrt/Tweety
Tweety/Models/Twitter/WebhookDMResult.cs
3,109
C#
#region License /* Copyright © 2014-2022 European Support Limited 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 a...
36.407692
122
0.53708
[ "Apache-2.0" ]
FOSSAware/Ginger
Ginger/GingerPluginCore/Drivers/PluginDriverBase.cs
4,734
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
59.247253
160
0.701938
[ "Apache-2.0" ]
niku-live/TOP-2018
Practice-10/Practice-10/Connected Services/LB/Reference.cs
10,785
C#
namespace CarShop.ViewModels.Users { public class UserLoginModel { public string Username { get; set; } public string Password { get; set; } } }
16
44
0.613636
[ "MIT" ]
yanchev93/CSharp-Web
CSharp-Web/CarShopExam/CarShop/CarShop/ViewModels/Users/UserLoginModel.cs
178
C#
using Newtonsoft.Json; namespace SitecoreCognitiveServices.Foundation.IBMSDK.VisualRecognition.Models { public class ErrorInfoNoCode { public string error_id { get; set; } public string description { get; set; } } }
22.272727
78
0.706122
[ "MIT" ]
markstiles/SitecoreCognitiveServices.Core
src/Foundation/IBMSDK/code/VisualRecognition/Models/ErrorInfoNoCode.cs
245
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Media3D; namespace RobotArm { // Hold points that make up a polygon. public class Polygon { public List<Point3D> Points = null; // Copy the point...
29.636364
84
0.518405
[ "MIT" ]
Macrotitech/WPF-3d-source
Ch35/RobotArm/Polygon.cs
1,958
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
33.134615
116
0.652351
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Apigateway/V20180808/Models/CreateUsagePlanResponse.cs
1,723
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using System.Collections; using NetOffice; namespace NetOffice.WordApi { ///<summary> /// DispatchInterfa...
35.132203
190
0.707835
[ "MIT" ]
brunobola/NetOffice
Source/Word/DispatchInterfaces/HangulHanjaConversionDictionaries.cs
10,366
C#
using System.Net; using System.Net.Http; using System.Threading.Tasks; using API.Tests.Helpers; using API.Tests.Helpers.Actions; using FluentAssertions; using Xunit; namespace API.Tests.Controllers { public class CustomerControllerTests : IClassFixture<ApiWebApplicationFactory> { private readonly HttpC...
30.857143
101
0.605903
[ "MIT" ]
ismail-klc/movie-store
Tests/API.Tests/Controllers/CustomerControllerTests.cs
1,728
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NDceRpc.Native { public class NativeClient:Client { public NativeClient(EndpointBindingInfo info) : base(info) { //string szStringBinding = Client.StringBindingCompose(clientInfo, null);...
26.8
86
0.621891
[ "CC0-1.0" ]
Staatsgeheim/NDceRpc
src/NDceRpc.Microsoft/Hosting/NativeClient.cs
806
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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; namespace Pulumi.Azur...
44.395349
171
0.631744
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ProviderHub/V20201120/SkusNestedResourceTypeThird.cs
5,727
C#
using System.Collections.Generic; using Ocelot.Configuration; using Ocelot.Values; namespace Ocelot.ServiceDiscovery { public class ServiceDiscoveryProviderFactory : IServiceDiscoveryProviderFactory { public IServiceDiscoveryProvider Get(ServiceProviderConfiguration serviceConfig) { ...
40.235294
188
0.693713
[ "MIT" ]
MykhailoKyrychenko/Ocelot
src/Ocelot/ServiceDiscovery/ServiceDiscoveryProviderFactory.cs
1,368
C#
namespace SimpleDash.Core.Helpers; public interface IPathHelper { bool IsWindows { get; } char DirSeparator { get; } string RootDirectory { get; } string FormatPath(string path, bool appendSeparator = true); string FormatFilePath(string path); IPathHelper RegisterPlaceholder(string placeholder, string val...
25.928571
68
0.76584
[ "MIT" ]
rniemand/simple-dash
src/SimpleDash.Core/Helpers/Interfaces/IPathHelper.cs
363
C#
#nullable enable using System; using System.Diagnostics; using System.Linq.Expressions; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Pchp.CodeAnalysis.Semantics; using Pchp.Core.Dynamic; namespace Pchp.Core.Reflection { /// <summary> /// Provides runtime information ab...
38.652932
159
0.548298
[ "Apache-2.0" ]
dlob/peachpie
src/Peachpie.Runtime/Reflection/PhpPropertyInfo.cs
24,392
C#
using System; using System.Data; using System.Text; using System.Net; using System.Linq; using Newtonsoft.Json.Linq; using Ayehu.Sdk.ActivityCreation.Interfaces; using Ayehu.Sdk.ActivityCreation.Extension; namespace Ayehu.Sdk.ActivityCreation { public class BambooGetEmployees : IActivity { /// <summary...
34
116
0.517515
[ "MIT" ]
Ayehu/custom-activities
BambooHR/BambooGetEmployees/BambooGetEmployees.cs
3,026
C#
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // 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 restrict...
44.793103
116
0.752887
[ "MIT" ]
LaudateCorpus1/Dnn.EVS
evsservices/EVSWorker/Properties/AssemblyInfo.cs
2,602
C#
using HalKit.Json; using HalKit.Models.Response; namespace GogoKit.Models.Response { /// <summary> /// The root of the viagogo API service. Applications can use the links provided /// by this resource to find all other resources in the API. /// </summary> public class Root : Resource { ...
39.094118
95
0.581101
[ "MIT" ]
JTOne123/gogokit.net
src/GogoKit/Models/Response/Root.cs
3,333
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy_2_AI_Script : MonoBehaviour { public AudioSource Source; public AudioClip ShotSFX; public AudioClip DamageSFX; public AudioClip DeathSFX; public AudioClip ShieldSFX; bool shotTrigger = false; ...
32.137566
204
0.561574
[ "MIT" ]
RootRice/UltimaVotaGame
Assets/Scripts/EnemyScripts/Enemy_2_AI_Script.cs
6,076
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Bir bütünleştirilmiş koda ilişkin Genel Bilgiler aşağıdaki öznitelikler kümesiyle // denetlenir. Bütünleştirilmiş kod ile ilişkili bilgileri değiştirmek için // bu öznitelik değerlerini değiştirin. [assembly: Asse...
39.567568
93
0.776639
[ "MIT" ]
salefurkan/katmanliMimariCSharp
Rezervasyon.BLL/Properties/AssemblyInfo.cs
1,551
C#
/* This file was generated and should not be modified directly (handlebars template) */ // Model is Table using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Threading.Tasks; using Bam.Net; using Bam.Net.Data; using Bam.Net.Data.Qi; namespace Ba...
37.853012
320
0.736711
[ "MIT" ]
BryanApellanes/bam.net.shared
CoreServices/AssemblyManagement/Data/Generated_Dao/AssemblyDescriptorProcessRuntimeDescriptor.cs
31,418
C#
using System; using System.Collections.Generic; using System.Text; namespace DelegatesPractise { public class PhotoFilters { public void ApplyBrightness(Photo photo) { Console.WriteLine("Applying brightness.."); } public void ApplyContrast(Photo photo) { ...
21.782609
55
0.582834
[ "MIT" ]
Amphibian007/DotNetSelfPractise_Home
source/CompletingCSharp/MoshAdvanced/DelegatesPractise/PhotoFilters.cs
503
C#
// Copyright (C) 2014-2020 Xtensive LLC. // This code is distributed under MIT license terms. // See the License.txt file in the project root for more information. // Created by: Alena Mikshina // Created: 2014.05.06; using Xtensive.Core; using Xtensive.Sql.Dml; namespace Xtensive.Orm.Providers.PostgreSql { /// ...
45.263682
144
0.712464
[ "MIT" ]
DataObjects-NET/dataobjects-net
Orm/Xtensive.Orm.PostgreSql/Orm.Providers.PostgreSql/PostgresqlSqlDml.cs
9,098
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 * to you under the Apache License, Version 2.0 (the * "License"); you ...
51.597701
96
0.584317
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-dds/Dds/Endpoint.cs
4,489
C#
namespace RxBim.Command.Autocad.Example { using Abstractions; using Di; using Logs.Autocad; using Services; using Views; /// <inheritdoc /> public class Config : ICommandConfiguration { /// <inheritdoc /> public void Configure(IContainer container) { ...
23.5
60
0.597872
[ "MIT" ]
ReactiveBIM/RxBim.Examples
src/RxBim.Command.Autocad.Example/Config.cs
472
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.10 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
32.882353
114
0.702147
[ "MIT" ]
WaveEngine/Extensions
WaveEngine.NoesisGUI/Shared/Proxies/SplineSizeKeyFrame.cs
2,236
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenCV.Net; using System.Reactive.Linq; using System.Reactive.Disposables; using System.ComponentModel; namespace Bonsai.Vision { [Description("Applies advanced morphological operators to the input image.")] ...
33.81203
117
0.500111
[ "MIT" ]
aalmada/bonsai
Bonsai.Vision/MorphologicalOperator.cs
4,499
C#
// Copyright (c) Microsoft. 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.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using Test.Utilities; using Xunit; using VerifyCS = Test.Utilities.CSharpCod...
25.582865
160
0.606313
[ "Apache-2.0" ]
Atrejoe/roslyn-analyzers
src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/NestedTypesShouldNotBeVisibleTests.cs
18,215
C#
using Test.Domain.Guards; namespace Test.Domain.Models; public class SearchPattern { public bool? IsActive { get; private set; } public string? Name { get; private set; } public int? PageSize { get; private set; } private SearchPattern(bool? isActive, string? name, int? pageSize) { IsA...
29.976744
115
0.625291
[ "MIT" ]
RoCore/BestOfRoCore
src/Test.Domain/Models/SearchPattern.cs
1,291
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...
44.814433
198
0.702553
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/_bcl45+netstandard/DescribeTransitGatewayMulticastDomainsPaginator.cs
4,347
C#
using AutoMapper.Configuration; using Trakx.Data.Common.Core; namespace Trakx.Data.Persistence.DAO { public class InterfaceToDaoMappingProfile : MapperConfigurationExpression { /// <summary> /// Create automap mapping profiles /// </summary> public InterfaceToDaoMappingProfile(...
41.588235
77
0.618105
[ "MIT" ]
codacy-badger/trakx-tools
src/Trakx.Data.Persistence/DAO/MappingProfile.cs
1,416
C#
namespace BaGet.Core.Configuration { public class StorageOptions { public StorageType Type { get; set; } } public enum StorageType { FileSystem = 0, AzureBlobStorage = 1, AwsS3 = 2 } }
16.2
45
0.567901
[ "MIT" ]
DillonHuang/BaGet
src/BaGet.Core/Configuration/StorageOptions.cs
245
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Security.Permissions; namespace Singularity.Exceptions { /// <summary> /// Thrown when a circular dependency has been found. /// </summary> [Serializable] public sealed class Circula...
35.45283
129
0.618414
[ "MIT" ]
TETYYS/Singularity
src/Singularity/Exceptions/CircularDependencyException.cs
1,881
C#
using System.ComponentModel.DataAnnotations; namespace WebApiDemo.Models { public class User { public int Id { get; set; } [Required(ErrorMessage = "Укажите имя пользователя")] public string Name { get; set; } [Range(1, 119, ErrorMessage = "Возвраст должен быть в промежутке о...
26.176471
87
0.635955
[ "MIT" ]
Revolt27/AspDotNetCoreDemo
WebApiDemo/Models/User.cs
528
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WorkflowCore.Interface; using WorkflowCore.Services; namespace WorkflowCore.Sample02 { public class Program { publ...
28.488889
77
0.641186
[ "MIT" ]
MCKanpolat/workflow-core
src/samples/WorkflowCore.Sample02/Program.cs
1,284
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Abp.Application.Services; using Abp.Dependency; using Abp.Runtime.Validation; using Abp.Timing; using Shouldly; using Xunit; namespace Abp.TestBase.Tests.Application.Services { public class Validation_Tests : AbpInt...
30.625378
165
0.531913
[ "MIT" ]
berdank/aspnetboilerplate
test/Abp.TestBase.Tests/Application/Services/Validation_Tests.cs
10,139
C#
namespace TiledResources { static class Program { [System.STAThread] static void Main() { using (var game = new SampleGame()) game.Run(); } } }
16.692308
47
0.470046
[ "MIT" ]
PlehXP/SharpDX-Samples
Toolkit/WindowsDesktop/TiledResources/Program.cs
219
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...
87.336134
605
0.724863
[ "MIT" ]
Agazoth/azure-powershell
src/DataBox/generated/api/Models/Api20210301/DataBoxDiskJobSecrets.PowerShell.cs
20,549
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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; namespace Pulumi.Azur...
37.612903
149
0.725557
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ProviderHub/Latest/Inputs/ResourceProviderManifestPropertiesTemplateDeploymentOptionsArgs.cs
1,166
C#