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 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("Im...
38.361111
84
0.750181
[ "Apache-2.0" ]
Imaginet-Resources/AzureQueuesAndWebJobs
Imaginet.Samples.AzureQueuesAndWebJobs/Imaginet.Samples.WebJobs/Properties/AssemblyInfo.cs
1,384
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // namespace Microsoft.VisualStudio.Text.Editor.DragDrop { /// <summary> /// Specifies the effects of a drag/drop operation. /// </summary> ...
39.531915
165
0.61141
[ "MIT" ]
AmadeusW/vs-editor-api
src/Editor/Text/Def/TextUICocoa/DragDrop/DragDropPointerEffects.cs
1,860
C#
using System.Runtime.Serialization; namespace SocialApis.Twitter { [DataContract] public class TwitterError { [DataMember(Name = "code")] public int Code { get; private set; } [DataMember(Name = "message")] public string Message { get; private set; } } }
20.4
51
0.617647
[ "MIT" ]
atst1996/Liberfy.SocialApis
SocialApis/Twitter/TwitterError.cs
308
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...
43.526042
210
0.586933
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Compute/V20191201/Image.cs
8,357
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("Op...
37.916667
84
0.748718
[ "MIT" ]
304NotModified/opencover
main/OpenCover.UITest/Properties/AssemblyInfo.cs
1,368
C#
using System; using System.Linq; using System.Collections.Generic; using RoslynTestKit; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis; using System.Collections.ObjectModel; using UniverseLib.Analyzers.Unity; using NUnit.Framework; namespace UniverseLib.Analyzers.Test.Unity { public class ...
26.833333
100
0.71118
[ "MIT" ]
sinai-dev/UniverseLib.Analyzers
UniverseLib.Analyzers.Test/Unity/InputFieldOnEndEditTest.cs
968
C#
// modified ver of the default lyrics script // edits by thunderbird2678 // you can contact me on twitter @thunderbird2678 or on discord (thunderbird#2678) // feel free to use any or all parts of this storyboard code however you wish using System; using System.Collections.Generic; using System.Drawing; using System.IO...
36.276836
181
0.516898
[ "MIT" ]
k74huang/Kawaige-Nai-Na-Storyboard
Lyrics.cs
6,421
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
37.258065
77
0.774026
[ "MIT" ]
IvanDmitriev1/SteamDesktopAuthenticatorCore
Mobile/SteamMobileAuthenticatorCore.Android/Properties/AssemblyInfo.cs
1,158
C#
using System; using System.Globalization; using System.Threading; /* Problem 9. Trapezoids Write an expression that calculates trapezoid's area by given sides a and b and height h. */ public class Trapezoids { public static void Main() { Thread.CurrentThread.CurrentCulture = CultureInfo.Invarian...
31.038462
93
0.634449
[ "MIT" ]
EmilMitev/Telerik-Academy
CSharp - part 1/3.OperatorsAndExpressions/09.Trapezoids/Trapezoids.cs
809
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...
29.034483
110
0.653207
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/AuditManager/Generated/Model/UpdateControlResponse.cs
1,684
C#
namespace AntBlazor { public abstract class ClassBuilderRule<T> { public abstract string GetClass(T data); } }
18.714286
48
0.664122
[ "MIT" ]
1002527441/ant-design-blazor
components/core/Helpers/ClassBuilderRule.cs
133
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Fido2NetLib; using Fido2NetLib.Development; using Fido2NetLib.Objects; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Mvc; using Microsoft.Exte...
40.340708
341
0.621367
[ "MIT" ]
nicksteele/fido2-net-lib
Fido2Demo/TestController.cs
9,119
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 ...
38.75
81
0.756774
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-csb/CSB/Transform/V20171118/UpdateOrderResponseUnmarshaller.cs
1,550
C#
using System; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Security.Principal; namespace CreateImpersonateTokenVariant { class CreateImpersonateTokenVariant { // Windows Definition // Windows Enum [Flags] enum ...
38.312912
114
0.587132
[ "BSD-3-Clause" ]
wisdark/PrivFu
KernelWritePoCs/CreateImpersonateTokenVariant/CreateImpersonateTokenVariant.cs
58,161
C#
/** * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.IO; using Thrift; using Thrift.Collections; using System.Runtim...
25.33913
77
0.531743
[ "Apache-2.0" ]
s2shape/ImpalaSharp
ImpalaSharp/thrift/gen-csharp/ImpalaSharp/Thrift/TGetColumnsReq.cs
5,828
C#
using System; using System.Collections.Generic; using System.Data.Entity.Infrastructure; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LearnSeo.Data { public interface IDbContext : IDisposable, IObjectContextAdapter { int SaveChanges(); DbContextConfiguration Co...
20.529412
68
0.744986
[ "MIT" ]
QuinntyneBrown/learn-seo
LearnSeo/Data/IDbContext.cs
349
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web; namespace Trifolia.Web.Formatters { public class JavaScriptFormatter : MediaTypeFormatter { ...
30.142857
164
0.618822
[ "Apache-2.0" ]
BOBO41/trifolia
Trifolia.Web/Formatters/JavaScriptFormatter.cs
1,479
C#
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef using Newtonsoft.Json; using System; using System.Collections.Specialized; using System.ComponentModel; namespace Beef.Entities { /// <summary> /// Represents the base <b>Entity</b> class. /// </summary> [Sy...
40.695
212
0.589999
[ "MIT" ]
Avanade/Beef
src/Beef.Abstractions/Entities/EntityBase.cs
8,141
C#
using System.Collections.ObjectModel; using OpenQA.Selenium; namespace Banquo.Extensions { public partial class User : IWebDriver { private readonly IWebDriver driver; public string Url { get => driver.Url; set => driver.Url = value; } public string Title { get => driver.Title; } ...
28.415094
94
0.61421
[ "MIT" ]
flafond/Banquo
Banquo/src/Extensions/User.cs
1,508
C#
using System; using System.Threading; using Windows.ApplicationModel.Background; namespace Shiny.Jobs { public class JobBackgroundTaskProcessor : IBackgroundTaskProcessor { readonly IJobManager jobManager; public JobBackgroundTaskProcessor(IJobManager jobManager) { this....
25.193548
78
0.62484
[ "MIT" ]
AlexAba/shiny
src/Shiny.Core/Jobs/Platforms/Uwp/JobBackgroundTaskProcessor.cs
783
C#
using System; using System.Globalization; using System.ComponentModel.DataAnnotations; namespace PI.Utilities.Attributes { /// <summary> /// TimeZoneId validation attribute /// </summary> public class TimeZoneIdAttribute : ValidationAttribute { protected override ValidationResult ...
29.03125
120
0.558665
[ "MIT" ]
piandmash/PI.Utilities
PI.Utilities/PI.Utilities/Attributes/TimeZoneIdAttribute.cs
931
C#
using Discord; using Discord.Commands; using Kotocorn.Common; using Kotocorn.Common.Attributes; using System; using System.Threading.Tasks; namespace Kotocorn.Modules.Utility { public partial class Utility { public class BotConfigCommands : KotocornSubmodule { [KotocornCommand, Usa...
34.589744
160
0.60341
[ "MIT" ]
Erencorn/Kotocorn
NadekoBot.Core/Modules/Utility/BotConfigCommands.cs
1,351
C#
#if UNITY_EDITOR using System; using System.Collections.Generic; using UnityEngine; namespace GraphExt.Editor { public class PrefabNodeCreationMenuEntry<TNode, TNodeComponent> : NodeCreationMenuEntry<TNode> where TNode : INode<GraphRuntime<TNode>> where TNodeComponent: MonoBehaviour, INodeComponen...
28.46875
98
0.669594
[ "MIT" ]
quabug/GraphExt
Packages/com.quabug.graph-ext/Backend/Prefab/PrefabNodeCreationMenuEntry.cs
911
C#
namespace CodeGenHero.DataService { public interface IHttpCallResultCGHT<T> : IHttpCallResultCGH { T Data { get; set; } } }
18.428571
61
0.736434
[ "MIT" ]
MSCTek/CodeGenHero
src/CodeGenHero.DataService/Interfaces/IHttpCallResultCGHT.cs
131
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...
47.137097
178
0.68024
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/AutoScaling/Generated/Model/InvalidNextTokenException.cs
5,845
C#
using Framework.WebDriver; using OpenQA.Selenium; namespace Framework.PageObjects { /// <summary> /// Properties needed to exist for a prent (Driver or othe PageObject) /// </summary> public interface IParent { ISearchContext SearchContext { get; } Driver WebDriver { get; } ...
20.277778
74
0.638356
[ "MIT" ]
OxygeneIV/Vaulting
framework/PageObjects/IParent.cs
367
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.125
118
0.685714
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/ElasticLoadBalancing/Generated/Model/EnableAvailabilityZonesForLoadBalancerResponse.cs
1,855
C#
using System; using System.Threading; using NUnit.Framework; namespace ServiceModel.Cancellation.Internal { [TestFixture] public class CancellableOperationDescriptionTest { private static object[] GetTokenCases => new object[] { new object[] { null, null }, new obje...
39.6
164
0.66532
[ "MIT" ]
max-ieremenko/ServiceModel.Cancellation
Sources/ServiceModel.Cancellation.Test/Internal/CancellableOperationDescriptionTest.cs
2,972
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("SQL...
37.513514
84
0.745677
[ "Apache-2.0" ]
anatoliy-savchak/SQLFormat
SQL Format/Properties/AssemblyInfo.cs
1,391
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-generated> //--...
42.997361
332
0.590697
[ "MIT" ]
ChadNedzlek/vstest
src/Microsoft.TestPlatform.Common/Resources/Resources.Designer.cs
16,298
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CustomLight : MonoBehaviour { float range = 0.025f; Vector2 startingScale; void Start() { startingScale = transform.localScale; transform.localPosition = Vector2.zero; } // Update is ca...
22.318182
117
0.674134
[ "MIT" ]
SynysterRev/ProjetNoob
ProjetNoob/Assets/Scripts/CustomLight.cs
493
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using FluentAssertions.Common; using FluentAssertions.Equivalency; using FluentAssertions.Execution; using FluentAssertions.Primitives; namespace FluentAssertions.Collections { /// <summary> /// Contains a number of me...
50.985159
237
0.589189
[ "Apache-2.0" ]
MaksimSimkin/fluentassertions
Src/FluentAssertions/Collections/CollectionAssertions.cs
99,625
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class gameprojectileHitEvent : redEvent { [Ordinal(0)] [RED("hitInstances")] public CArray<gameprojectileHitInstance> HitInstances { get; set; } public ga...
26.625
109
0.730047
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/gameprojectileHitEvent.cs
411
C#
using System; namespace DesignPattern.Structural.Bridge.Conceptual { // The Abstraction defines the interface for the "control" part of the two // class hierarchies. It maintains a reference to an object of the // Implementation hierarchy and delegates all of the real work to this // object. class ...
33.55102
89
0.644161
[ "MIT" ]
abhinav2127/DesignPattern_CSharp
Structural-Patterns/Bridge/cs-program.cs
3,288
C#
using System; namespace _09_DayOfWeek { public class dayOfWeek { public static void Main(string[] args) { var day = int.Parse(Console.ReadLine()); switch (day) { case 1: Console.WriteLine("Monday"); br...
25.97561
52
0.362441
[ "MIT" ]
Brankovanov/SoftUniCourses
1.ProgrammingBasics/complexConditions/09_DayOfWeek/dayOfWeek.cs
1,067
C#
using Godot; using System.Collections.Generic; using Oubliette.Stats; using Oubliette.Spells; namespace Oubliette { public class Player : Character, ICastsSpells { private float jumpPower = 175f; private float scrollScale = 1.0f; private BaseSpell primarySpell; private BaseSpell...
36.312315
325
0.547169
[ "MIT" ]
ConnorRowe/Oubliette-Godot
scripts/Player.cs
36,857
C#
using System; using System.IO; using System.Collections; namespace WiremockUI { public class TextLine : IComparable { public string Line; public int _hash; public TextLine(string str) { Line = str.Replace("\t"," "); _hash = str.GetHashCode(); } #region IComparable Members public int CompareT...
24.959596
96
0.504249
[ "MIT" ]
juniorgasparotto/WiremockUI
src/WiremockUI/DiffEngine/TextFile.cs
2,471
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using PossumLabs.Specflow.Core.Variables; using FluentAssertions; using System; using System.Collections.Generic; using System.Text; namespace PossumLabs.Specflow.Core.UnitTests.Variables { [TestClass] public class InterperterConvertTest { privat...
32.311111
85
0.549175
[ "MIT" ]
BasHamer/PossumLabs.Specflow.Core
PossumLabs.Specflow.Core.UnitTests/Variables/InterperterConvertTest.cs
2,910
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...
57.037736
288
0.781674
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/src/Services/ConfigService/Properties/AssemblyInfo.cs
3,023
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace App5.Droid { [Activity(Label = "App5", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize...
28
181
0.683673
[ "MIT" ]
kluy19/App5
App5/App5.Android/MainActivity.cs
786
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation; /// <summary> /// Used to associate validators with <see cref="ValidatorMetadata"/> instances /// as part of <see cref="M...
33.244444
109
0.658422
[ "MIT" ]
3ejki/aspnetcore
src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidatorItem.cs
1,496
C#
using System; using System.Collections.Generic; using YAXLib; namespace YAXLibTests.SampleClasses { [ShowInDemoApplication] [YAXComment(@"This example shows a multi-level class, which helps to test the null references identity problem. Thanks go to Anton Levshunov for proposing this example, ...
26.588235
78
0.602507
[ "MIT" ]
MhpSoftware/YAXLib.Redux
YAXLibTests/SampleClasses/MultilevelClass.cs
1,358
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace sample_cdn_api.Models { public class ValueModel { public ValueModel() { Time = DateTime.Now; } public DateTime Time { get; set; } public bool Cached { get; set; }...
18.222222
42
0.597561
[ "MIT" ]
andywahr/sample-cdn-api
Models/ValueModel.cs
330
C#
using Newtonsoft.Json; using PAYNLSDK.Converters; using PAYNLSDK.Exceptions; using PAYNLSDK.Utilities; using System; using System.Collections.Specialized; namespace PAYNLSDK.API.Validate.SOFI { public class Request : RequestBase { [JsonProperty("sofi")] public string SOFI { get; set; } ...
22.733333
90
0.503142
[ "MIT" ]
jeremyvanlier/csharp-sdk
PAYNLSDK/API/Validate/SOFI/Request.cs
2,389
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; namespace PostSharp_Conveyor_Example_Timesheet.Models { public class ClockInModel { [DisplayName("Employee Name")] public string EmployeeName { get; set; } ...
24.090909
54
0.632075
[ "MIT" ]
keyoti/Conveyor-Examples
PostSharp-Conveyor-Example-Timesheet/Models/ClockInModel.cs
532
C#
// *********************************************************************** // Assembly : TSharp.Core // Author : tangjingbo // Created : 10-10-2013 // // Last Modified By : tangjingbo // Last Modified On : 10-10-2013 // *********************************************************************** ...
34.772727
201
0.493246
[ "MIT" ]
niubilityappbox/TSharp
src/TSharp/Exceptions/MultiCoreException.cs
2,307
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("01...
38.081081
84
0.745919
[ "MIT" ]
PAFICH/cSHARP
06.Loops/01.NumbersFrom1ToN/Properties/AssemblyInfo.cs
1,412
C#
using System; using System.Collections.Generic; using JsonApiDotNetCore.Models; using JsonApiDotNetCore.Models.Annotation; namespace JsonApiDotNetCore.Serialization.Server { /// <summary> /// Responsible for getting the set of fields that are to be included for a /// given type in the serialization result....
43.233333
119
0.70239
[ "MIT" ]
bjornharrtell/JsonApiDotNetCore
src/JsonApiDotNetCore/Serialization/Server/Contracts/IFieldsToSerialize.cs
1,297
C#
namespace ClickView.Extensions.HealthCheck { using System; using System.Diagnostics; public class CheckTimer { private readonly Stopwatch _stopwatch; private CheckTimer() { _stopwatch = Stopwatch.StartNew(); } public static CheckTimer Start() ...
18.592593
46
0.541833
[ "MIT" ]
Shalelol/Extensions
src/HealthCheck/HealthCheck/src/CheckTimer.cs
504
C#
using System.Linq; namespace Microsoft.Maui.Graphics.Controls { public class CheckBoxHandler : GraphicsControlHandler<ICheckBoxDrawable, ICheckBox> { public static PropertyMapper<ICheckBox> PropertyMapper = new PropertyMapper<ICheckBox>(ViewHandler.Mapper) { Actions = { [nameof(ICheckBox.IsChecked)] =...
30.701754
138
0.754857
[ "MIT" ]
jsuarezruiz/Microsoft.Maui.Graphics.Controls
src/GraphicsControls/Handlers/CheckBox/CheckBoxHandler.cs
1,752
C#
#region License // Copyright (c) 2009, ClearCanvas 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 not...
45.673469
101
0.739053
[ "Apache-2.0" ]
econmed/ImageServer20
Ris/Application/Common/ProtocollingWorkflow/GetSuspendRejectReasonChoicesResponse.cs
2,240
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace Microsoft.Recognizers.Text { internal class ModelFactory<TModelOptions> : Dictionary<(string culture, Type modelType), Func<TModelOptions, IModel>> { private const string Fallback...
35.978947
134
0.570802
[ "MIT" ]
7i77an/Recognizers-Text
.NET/Microsoft.Recognizers.Text/ModelFactory.cs
3,420
C#
// <auto-generated /> using EmployeeManagement.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace EmployeeM...
35.986842
125
0.461426
[ "MIT" ]
Silverbrain/EmployeeManagement
EmployeeManagement/Migrations/20220206152123_newDataBase.Designer.cs
2,737
C#
using Newtonsoft.Json.Linq; using System; using System.Collections; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using System.Threading; namespace N_m3u8DL_CLI.NetCore { /// <summary> ...
38.152
220
0.472174
[ "MIT" ]
0x30B56/N_m3u8DL-CLI
N_m3u8DL-CLI/Program.cs
28,093
C#
using AutoMapper; using BunBlog.API.Models.Tags; using BunBlog.Core.Domain.Posts; using BunBlog.Core.Domain.Tags; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BunBlog.API.MappingProfiles { public class TagProfile : Profile { public TagProfi...
22.769231
71
0.613176
[ "MIT" ]
huhubun/BunBlog.API
src/BunBlog.API/MappingProfiles/TagProfile.cs
594
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace KFC.SIT.WebAPI.Utility { public static class WebAPIConstants { public const string FRONT_END_LOCAL = "http://localhost:8080"; public const string FRONT_END_PRODUCTION = "https://myacademicpyramid.com...
25.384615
83
0.727273
[ "MIT" ]
CECS-491A/my-academic-pyramid
BackEnd/KFC.SIT.WebAPI/Utility/WebAPIConstants.cs
332
C#
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 ...
46.210526
120
0.643508
[ "Apache-2.0" ]
benchabot/Core
src/Castle.Core/DynamicProxy/Contributors/InterfaceProxyInstanceContributor.cs
2,634
C#
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Newtonsoft.Json.Converters { internal class SeparatedByVBarInt32ListConverter : JsonConverter<List<int>?> { private readonly JsonConverter<int[]?> _converter = new Sepa...
30.705882
155
0.668582
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Work/Converters/Newtonsoft.Json/SeparatedByVBarInt32ListConverter.cs
1,046
C#
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using AspNetCoreHero.Application.Features.ProductCategories.Queries.GetAll; using AspNetCoreHero.Application.Interfaces.Repositories; using AspNetCoreHero.Application.Wrappers; using AspNetCoreHero.Domain.Entitie...
44.119048
138
0.751214
[ "MIT" ]
OsamahGhadheb/AspNetCoreHero-Boilerplate
AspNetCoreHero.Application/Features/Products/Queries/GetAll/GetAllProductsQuery.cs
1,855
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DGCodeGen.Engine { /// <summary> /// An interface for object representations of code e.g. Function/DataClass /// </summary> public interface ICodeItem { CodeDocumen...
21.166667
79
0.674541
[ "MIT" ]
NickN-Eng/DynamoGrasshopperCodeGen
DGCodeGen/DGCodeGen.Engine/ICodeItem.cs
383
C#
using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Arbor.Build.Core.BuildVariables; using Arbor.Build.Core.IO; using Arbor.Build.Core.ProcessUtils; using Arbor.Build.Core.Tools.MSBuild; using Arbor.FS; using Arbor.Processing; using JetBrain...
34.77451
152
0.600226
[ "MIT" ]
niklaslundberg/Arbor.Build
src/Arbor.Build.Core/Tools/NuGet/NuGetRestorer.cs
3,549
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL { [TLObject(1855224129)] public class TLUpdateChatAdmins : TLAbsUpdate { public override int Constructor { ...
21.530612
61
0.56019
[ "MIT" ]
slctr/Men.Telegram.ClientApi
Men.Telegram.ClientApi/TL/TL/TLUpdateChatAdmins.cs
1,055
C#
namespace Zinnia.Haptics { using UnityEngine; using System.Collections; using Malimbe.PropertySerializationAttribute; using Malimbe.XmlDocumentationAttribute; /// <summary> /// Creates a haptic pattern based on the waveform of an <see cref="UnityEngine.AudioClip"/> and utilizes a <see ...
37.619048
169
0.554852
[ "MIT" ]
Yun5141/VRTKtest
Library/PackageCache/io.extendreality.zinnia.unity@1.9.0/Runtime/Haptics/AudioClipHapticPulser.cs
2,372
C#
using System; using FluentAssertions; using NUnit.Framework; using UIA.Extensions.InternalExtensions; namespace UIA.Extensions.Extensions { internal class ObjectExtensionsTest { [TestFixture] public class Comparisons { [Test] public void NullComparisonsAreFalse(...
27.358974
97
0.473758
[ "MIT" ]
northwoodspd/UIA.Extensions
src/UIA.Extensions.Units/Extensions/ObjectExtensionsTest.cs
2,136
C#
using DevAdventCalendarCompetition.Repository.Models; using System.Collections.Generic; namespace DevAdventCalendarCompetition.Repository.Interfaces { public interface IHomeRepository { Test GetCurrentTest(); TestAnswer GetTestAnswerByUserId(string userId, int testId); List<Test> Get...
25.071429
68
0.757835
[ "MIT" ]
Loji/DevAdventCalendar
src/DevAdventCalendarCompetition/DevAdventCalendarCompetition.Repository/Interfaces/IHomeRepository.cs
353
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 ...
25.352273
104
0.688032
[ "Apache-2.0" ]
mycjzlove/aliyun-openapi-net-sdk
aliyun-net-sdk-vod/Vod/Model/V20170321/BatchStartVodDomainRequest.cs
2,231
C#
using AjaxPro; using EIS.AppBase; using EIS.DataAccess; using EIS.Permission.Access; using EIS.Permission.Model; using EIS.Permission.Service; using System; using System.Collections; using System.Data; using System.Text; using System.Web.UI.HtmlControls; using System.Xml; namespace EIS.Web.Doc.Limit { public partial...
42.616034
599
0.623069
[ "MIT" ]
chen1993nian/CPMPlatform
PM/Doc/Limit/FunLimitExclude.aspx.cs
10,106
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. #nullable enable using System; using System.Diagnostics; namespace Roslyn.Utilities { internal static class ExceptionUtilities { /// <summa...
38.8125
161
0.650564
[ "Apache-2.0" ]
20chan/roslyn
src/Compilers/Core/Portable/InternalUtilities/ExceptionUtilities.cs
1,244
C#
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 using System; using System.Linq; using System.Messaging; namespace DotNet_Msmq_Shared { public static class MessageQueueUtil { /// <summary> /// Creates a instance of an MSMQ queue - this can only be...
35.35
123
0.61669
[ "Apache-2.0" ]
nr-ahemsath/newrelic-dotnet-agent
tests/Agent/IntegrationTests/IntegrationTestHelpers/MessageQueueUtil.cs
1,414
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-generated> //--...
34.451613
151
0.582397
[ "Apache-2.0" ]
kapuusagi/SimpleDesktopMascot
DesktopMascot/DesktopMascot/Properties/Settings.Designer.cs
1,070
C#
using AnalyzerProject; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using Syst...
28.753086
144
0.668527
[ "MIT" ]
ymassad/RoslynExamples
Creating a CodeFix/TestProject/CodeFixProviderTests.cs
2,331
C#
/***************************************************************************** * * ReoGrid - .NET Spreadsheet Control * * https://reogrid.net/ * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES O...
28.26503
113
0.681316
[ "MIT" ]
burstray/ReoGrid
!ReoGrid-3.0.0/ReoGrid/EventArgs.cs
33,383
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. namespace System.IO.IsolatedStorage { public partial interface INormalizeForIsolatedStorage { object...
87.46
315
0.743426
[ "MIT" ]
AzureMentor/standard
src/netstandard/ref/System.IO.IsolatedStorage.cs
13,119
C#
// ========================================================== // FreeImage 3 .NET wrapper // Original FreeImage 3 functions and .NET compatible derived functions // // Design and implementation by // - Jean-Philippe Goerke (jpgoerke@users.sourceforge.net) // - Carsten Klein (cklein05@users.sourceforge.net) // // Contri...
41.867647
124
0.575869
[ "MIT" ]
nhh-softwarehuset/resizer
Plugins/Libs/FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIRGBF.cs
11,388
C#
namespace JanHafner.Restify.Caching { using System; using JetBrains.Annotations; /// <summary> /// Signals that the implementor provides an e-tag. /// </summary> public interface IReRequestable { /// <summary> /// The E-Tag of the resource. /// </summary> [C...
21.823529
55
0.563342
[ "MIT" ]
icedt89/Restify
Source/Restify.Caching/IReRequestable.cs
373
C#
using System.Runtime.InteropServices; namespace EarTrumpet.Interop.MMDeviceAPI { [Guid("C3B284D4-6D39-4359-B3CF-B56DDB3BB39C")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] interface IAudioVolumeDuckNotification { void OnVolumeDuckNotification([MarshalAs(UnmanagedType.LPWStr)]...
39.5
123
0.770042
[ "MIT" ]
ADeltaX/EarTrumpet
EarTrumpet/Interop/MMDeviceAPI/IAudioVolumeDuckNotification.cs
465
C#
namespace Time_Buddy { partial class frmTimeBuddy { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
44.183333
144
0.578744
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
sfeek/timebuddy
frmTimeBuddy.Designer.cs
10,606
C#
using CSharpForMarkup; using CSharpForMarkupExample.ViewModels; using CSharpForMarkupExample.Views.Controls; using Xamarin.Forms; using static CSharpForMarkup.EnumsForGridRowsAndColumns; using static CSharpForMarkupExample.Styles; namespace CSharpForMarkupExample.Views.Pages { public class MainPage : BaseContentP...
39.533333
96
0.51054
[ "MIT" ]
VincentH-Net/CSharpForMarkup
Example/CSharpForMarkupExample/Views/Pages/MainPage.cs
2,374
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-generated> //--...
39.740741
151
0.584343
[ "MIT" ]
DynamicsValue/PowerPlatform-DataverseServiceClient
src/GeneralTools/DataverseClient/Testers/LoginControlTester/Properties/Settings.Designer.cs
1,075
C#
using OpenBullet.Pages.Main.Settings; using RuriLib; using System; using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Markup; namespace OpenBullet { /// <summary> /// Logica di interazione per OBSettings.xaml ...
27.935484
90
0.607968
[ "MIT" ]
541n7215/KickOff
OpenBullet/Pages/Main/Settings.xaml.cs
1,734
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace Aspen.DailyUpdates.Web.Application.Areas.HelpPage.ModelDescriptions { public class EnumTypeModelDescription : ModelDescription { public EnumTypeModelDescription() { Values = new Collection<EnumValueDes...
28.533333
77
0.71729
[ "MIT" ]
thundernet8/DailyUpdates
DailyUpdates/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs
428
C#
using System; using System.Runtime.InteropServices; namespace WinMan.Windows { public class Win32VirtualDesktop : IVirtualDesktop { private readonly Win32Workspace m_workspace; private readonly IWin32VirtualDesktopService m_vds; private readonly object m_desktop; private readon...
25.477941
111
0.472439
[ "MIT" ]
FancyWM/winman-windows
src/WinMan.Windows/Windows/Win32VirtualDesktop.cs
3,467
C#
using System.Collections.Generic; using System.Linq; namespace Saplin.CPDT.UICore.ViewModels { public static class ViewModelContainer { private static readonly List<object> singletons = new List<object>(); public static T GetSingletonInstance<T>() where T : BaseViewModel, new() { ...
29.473684
92
0.603125
[ "MIT" ]
84PleXon3/CrossPlatformDiskTest
Saplin.CPDT.UICore/ViewModels/ViewModelContainer.cs
2,242
C#
using System; using NUnit.Framework; namespace Xamarin.iOS.Tasks { [TestFixture ("iPhone")] [TestFixture ("iPhoneSimulator")] public class DocumentPickerTests : ExtensionTestBase { public DocumentPickerTests (string platform) : base(platform) { } [Test] public void BasicTest () { this.BuildExtens...
20.045455
88
0.721088
[ "BSD-3-Clause" ]
1975781737/xamarin-macios
msbuild/tests/Xamarin.iOS.Tasks.Tests/ProjectsTests/Extensions/DocumentPicker.cs
443
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; using Interfaces; using System.Collections.Generic; using System.Runtime.Serialization;...
29.5
101
0.700897
[ "MIT" ]
lbussell/vstest
src/Microsoft.TestPlatform.ObjectModel/Client/StartTestSessionCriteria.cs
1,005
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace BuildXL.Native.IO.Windows { /// <summary> /// Status indication of <c>FSCTL_QUERY_USN_JOURNAL</c>. /// </summary> public enum QueryUsnJournalStatus { /// <summary> /// Querying the journa...
28.404762
125
0.561609
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/Utilities/Native/IO/Windows/Journaling/QueryUsnJournalStatus.cs
1,193
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Google.Analytics.SDK.UnitTests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Google.Analytics.SDK.Un...
31.428571
61
0.759091
[ "Apache-2.0" ]
LindaLawton/google-analytics-dotnet-sdk
tests/Google.Analytics.SDK.UnitTests/Properties/AssemblyInfo.cs
661
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. // // Trivial console logger. // // BD - September 2014 // using System; namespace Pearls.Reaqtor.CSE { /// <...
27.658537
131
0.585538
[ "MIT" ]
Botcoin-com/reaqtor
Reaqtor/Pearls/CSE/Misc/ConsoleLogger.cs
1,136
C#
using Sandbox; using Sandbox.Joints; using System; using System.Linq; [Library( "physgun" )] public partial class PhysGun : Carriable { public override string ViewModelPath => "weapons/rust_pistol/v_rust_pistol.vmdl"; protected PhysicsBody holdBody; protected WeldJoint holdJoint; protected PhysicsBody heldBody; ...
21.843915
103
0.677122
[ "MIT" ]
KitKatt-Mars/sandbox
code/tools/PhysGun.cs
8,257
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Direct_Response.UsersDb { public abstract class Operation { public abstract OperationResult execute(Direct_Response_UsersDbEntities entities); } public class OperationR...
23.352941
90
0.605793
[ "MIT" ]
dushan95/Direct_Response
Direct Response/UsersDb/Operation.cs
796
C#
using Machine.Specifications; using TA.DigitalDomeworks.DeviceInterface; using TA.DigitalDomeworks.SharedTypes; using TA.DigitalDomeworks.Specifications.Contexts; namespace TA.DigitalDomeworks.Specifications.DeviceInterface.Behaviours { [Behaviors] internal class a_stopped_dome : device_controller_behavio...
51.789474
126
0.762195
[ "MIT" ]
Tigra-Astronomy/TA.DigitalDomeworks
TA.DigitalDomeworks.Specifications/DeviceInterface/Behaviours/a_stopped_dome.cs
986
C#
using System; using System.Collections.Generic; using System.Text; namespace LibraryManager.DTO.Models { public class UserDTO { //public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string UserName { get; set; } ...
26.529412
48
0.59867
[ "MIT" ]
lnupmi11/LibraryManager
LibraryManager.DTO/Models/UserDTO.cs
453
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 System.Net.Http; using System.ServiceModel.Channels; using System.Text; using System.Threading.Tasks; using ClientContract; using CoreWCF; using CoreWCF.Configur...
39.486486
192
0.643167
[ "MIT" ]
JonathanHopeDMRC/CoreWCF
src/CoreWCF.Http/tests/ServiceWithSSMXmlSerializerFormatTest.cs
4,385
C#
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.Common; using Bam.Net.Data; namespace Bam.Net.Services.DataReplication.Consensus.Data.Dao { public class RaftVoteCollection: DaoCollection<RaftVoteColumns, RaftVote> { public RaftVoteCollection(){} publ...
48.263158
135
0.737186
[ "MIT" ]
BryanApellanes/bam.net.shared
Services/DataReplication/Consensus/Data/Generated_Dao/RaftVoteCollection.cs
917
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace AspNetMvc_MultiTemplateDemo { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{r...
24.791667
99
0.598319
[ "MIT" ]
yiyungent/demos
AspNetMvc_MultiTemplateDemo/AspNetMvc_MultiTemplateDemo/App_Start/RouteConfig.cs
597
C#
using System; using System.Collections.Generic; using System.Text; using ICSharpCode.AvalonEdit; namespace JTranEdit { /*************************************************************************/ /*************************************************************************/ public interface ICodeEditor {...
30.130435
79
0.428571
[ "MIT" ]
JTranOrg/JTranEd
JTranEdit/Classes/ICodeEditor.cs
695
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.Contracts; using System.Linq; using System.Threading.Tasks; using Rikrop.Core.Framework.Services; using Rikrop.Core.Wpf.Async; namespace Rikrop.Core.Wpf.Collections { public class SequentialCollectionMan...
43.320158
179
0.677737
[ "Apache-2.0" ]
rikrop/Rikrop.Core.Wpf
Rikrop.Core.Wpf.40/Collections/SequentialCollectionManagerBuilder.cs
10,962
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. namespace Microsoft.Toolkit.Services.OneDrive { /// <summary> /// Class of the OneDrive Constants /// <...
31.607143
81
0.633898
[ "MIT" ]
14632791/WindowsCommunityToolkit
Microsoft.Toolkit.Services/Services/OneDrive/OneDriveUploadConstants.cs
885
C#
using System; using System.IO; using ApprovalTests.Core; namespace ApprovalTests.Utilities; public static class StringReporting { public static void DiffWith(this string expected, string actual) { AssertEqual(expected, actual, Approvals.GetReporter()); } public static void Asser...
30.933333
102
0.644397
[ "Apache-2.0" ]
skalinets/ApprovalTests.Net
src/ApprovalTests/Utilities/StringReporting.cs
901
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using payme.Application.Commands; using payme.Application.Models; using payme.Application.Queries; using payme.Core.DTOs.APIR...
37.569444
104
0.671719
[ "MIT" ]
amoweolubusayo/payme
payme.WebAPI/Controllers/MerchantController.cs
2,705
C#