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 Amazon; using Amazon.S3; using Amazon.S3.Model; using DataProcessor; using DataProcessor.Contracts; using DataProcessor.DataSource.InStream; using DataProcessor.InputDefinitionFile; using DataProcessor.InputDefinitionFile.Models; using DataProcessor.Models; using DataProcessor.ProcessorDefinition; using DataProc...
37.412766
129
0.61101
[ "MIT" ]
dbsafe/intaker-demo
IntakerDemos/IntakerAWSLambda/FileProcessor.cs
8,794
C#
using AdventOfCode.Tools.TopologicalOrder; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdventOfCode.Days.Tools.Day7 { class Bag: TopoItem { public override string Name { get; set; } public Dictionary<string, int>...
27.045455
116
0.670588
[ "MIT" ]
Crazymine-hub/AdventOfCode
AoC2020/Days/Tools/Day7/Bag.cs
597
C#
namespace KompasPlugin { public enum Parameters { BoltBodyHeight, InnerRingDiameter, OuterRingDiameter, ThreadDiameter, HeadDiameter, BoltHeadHeight, } }
14.083333
23
0.763314
[ "MIT" ]
Cherries-beep/SAPR
KompasPlugin/KompasPlugin/Parameters.cs
171
C#
using System; using System.Globalization; namespace TimeApprox.PRC { public sealed class ApproxTime { public static Tier DefaultTier { get { return Tier.DayTime; } } private string language; public ApproxTime() { this.language = "cs"; } pub...
30.765152
105
0.415907
[ "MIT" ]
PaulosV/pribliznycas-windows
TimeApprox.PRC/ApproxTime.cs
4,070
C#
// mksysnum_openbsd.pl // Code generated by the command above; DO NOT EDIT. // +build arm,openbsd // package syscall -- go2cs converted at 2020 October 09 05:04:21 UTC // import "syscall" ==> using syscall = go.syscall_package // Original source: C:\Go\src\syscall\zsysnum_openbsd_arm.go using static go.builtin; nam...
100.608108
125
0.678845
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/syscall/zsysnum_openbsd_arm.cs
22,335
C#
// Copyright 2019 Google LLC // // 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 w...
40.421488
99
0.598242
[ "Apache-2.0" ]
googleads/googleads-dotnet-lib
examples/AdManager/CSharp/v202105/PublisherQueryLanguageService/FetchMatchTables.cs
4,891
C#
/* Copyright 2010-present MongoDB 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 applicable law or agreed to in wri...
51.606481
271
0.64089
[ "MIT" ]
13294029724/ET
Server/ThirdParty/MongoDBDriver/MongoDB.Driver/IMongoDatabase.cs
22,294
C#
using Home.Neeo.Device.Validation; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Threading.Tasks; namespace Home.Neeo.Models { public class NEEORecipe { public class DetailData { [JsonProperty("deviceName")] public string ...
39.451613
71
0.479967
[ "MIT" ]
MilanOTy/NeeoApi
NeeoApiLib/Models/NEEORecipe.cs
2,448
C#
using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.Options; using Newtonsoft.Json; using OrchardCore.ContentManagement.Metadata.Records; using OrchardCore.Environment.Shell; namespace OrchardCore.ContentManagement { public class FileContentDefinitionStore : IContentDefinitionStore { ...
33.373494
120
0.594224
[ "BSD-3-Clause" ]
DariuS231/OrchardCore
src/OrchardCore/OrchardCore.ContentManagement/FileContentDefinitionStore.cs
2,770
C#
// CS0507: `DerivedClass.Message': cannot change access modifiers when overriding `public' inherited member `BaseClass.Message' // Line: 12 class BaseClass { public virtual string Message { set { } } } class DerivedClass : BaseClass { protected override string Message { set { } } }
16.555556
127
0.708054
[ "Apache-2.0" ]
121468615/mono
mcs/errors/cs0507-6.cs
298
C#
namespace Filesy { /// <summary> /// Base class for Filesy directory entries. /// </summary> public abstract class FileSyDirectoryInfo : FileSyInfo { /// <summary> /// Initializes a new instance of the <see cref="FileSyDirectoryInfo"/> class. /// </summary> /// <para...
32.277778
139
0.619621
[ "MIT" ]
Locate64/Filesy
src/Filesy/FileSyDirectoryInfo.cs
583
C#
using Northwind.Domain; using System.Linq; namespace Northwind.Persistance { public class NorthwindInitializer { public static void Initialize(NorthwindContext context) { context.Database.EnsureCreated(); if (context.Customers.Any()) { retur...
25.540541
63
0.498413
[ "MIT" ]
JasonGT/NDCSydney2017Demo
SimplifiedApproachDemo/Northwind/Persistance/NorthwindInitializer.cs
947
C#
using FatecMauaJobNewsletter.Domains.Models; using FatecMauaJobNewsletter.Domains.Models.Response; using Mapster; namespace FatecMauaJobNewsletter.Domains.Utils { public static class ConfigMapster { public static TypeAdapterConfig Configs() { var config = new TypeAdapterConfig(); ...
22.157895
54
0.674584
[ "MIT" ]
lucasvieiravicente/FatecMauaJobNewsletterBlazor
Domains/Utils/ConfigMapster.cs
423
C#
using System; namespace Minsk.CodeAnalysis { public sealed class VariableSymbol { internal VariableSymbol(string name, bool isReadOnly, Type type) { Name = name; IsReadOnly = isReadOnly; Type = type; } public string Name { get; } publ...
22.05
72
0.564626
[ "MIT" ]
shbfeng/minsk
src/Minsk/CodeAnalysis/VariableSymbol.cs
441
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
32.940959
128
0.525036
[ "MIT" ]
ThmsRynr/azure-powershell
tools/StaticAnalysis/SignatureVerifier/CmdletSignatureMetadata.cs
8,659
C#
namespace Apex.ConnectApi { using ApexSharp; using ApexSharp.ApexAttributes; using ApexSharp.Implementation; using global::Apex.System; /// <summary> /// /// </summary> public class BinaryInput { // infrastructure public BinaryInput(dynamic self) { ...
20.196721
80
0.508929
[ "MIT" ]
apexsharp/apexsharp
Apex/ConnectApi/BinaryInput.cs
1,232
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; using System.Linq; namespace CodeCracker.CSharp.Style { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class AlwaysUse...
44.4
113
0.68994
[ "Apache-2.0" ]
f14n/code-cracker
src/CSharp/CodeCracker/Style/AlwaysUseVarAnalyzer.cs
2,666
C#
using UnityEngine.UI; namespace _Scripts.Level.Interactable.Talents { class Talent : Interactable { public Talents TargetTalent; public Image Image; } }
16.636364
45
0.672131
[ "MIT" ]
ofeerist/PeonRogue-2
peon/Assets/_Scripts/Level/Interactable/Talents/Talent.cs
185
C#
using Raylib; using static Raylib.Raylib; using MathClasses; // ---------------------------------- // // used to centeralize input handling // // ---------------------------------- // static class Input { //primary movement public static KeyboardKey KEY_RIGHT_1 = KeyboardKey.KEY_D; public static KeyboardKey KEY_U...
27.509804
63
0.665716
[ "MIT" ]
MallocStudio/Uni_YR1_Tank-Game
RaylibStarter2/Project2D/Global/Input.cs
1,405
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using AzureGuidance.Domain; using AzureGuidance.Common; using System.Threading.Tasks; using AzureGuidance.API.Models; using System.Configuration; namespace AzureGuidance.API.Controllers { ...
31.84
112
0.680276
[ "MIT" ]
AccelNA/azure-guidance
CloudServices/AzureGuidance/AzureGuidance.API/Controllers/OrdersController.cs
1,594
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...
28.57265
102
0.537541
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IVS/Generated/Model/PlaybackKeyPair.cs
3,343
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.Xml.XPath; namespace MS.Internal.Xml.XPath { internal sealed class Group : AstNode { private readonly AstNode _groupNode; public Group(AstNode ...
22.21875
71
0.586498
[ "MIT" ]
belav/runtime
src/libraries/System.Private.Xml/src/System/Xml/XPath/Internal/Group.cs
711
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
40.708333
285
0.64304
[ "ECL-2.0", "Apache-2.0" ]
EladGabay/pulumi-oci
sdk/dotnet/Ons/Outputs/GetSubscriptionsSubscriptionResult.cs
3,908
C#
using System; using System.Text.RegularExpressions; using System.Threading.Tasks; using Arcus.Observability.Correlation; using Arcus.WebApi.Logging.Core.Correlation; using GuardNet; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Ext...
53.417582
238
0.640918
[ "MIT" ]
arcus-azure/arcus.webapi
src/Arcus.WebApi.Logging.Core/Correlation/HttpCorrelation.cs
19,446
C#
using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; namespace Xamarin.Forms { public class SwipeItems : Element, IList<ISwipeItem>, INotifyCollectionChanged { readonly ObservableCollection<ISwipeItem> _internal; public SwipeIte...
24.4
212
0.745902
[ "MIT" ]
1iveowl/Xamarin.Forms
Xamarin.Forms.Core/SwipeItems.cs
2,930
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Xamarin.Forms.Platform.Android; namespace Cookies.Tests.Droid { [Activity(Label = "Cookies.Tests", MainLauncher = true, ConfigurationChanges = ConfigChanges.Screen...
25.111111
137
0.705015
[ "MIT" ]
MedElba/CookieXamarinExample
Cookies.Tests/Cookies.Tests.Android/MainActivity.cs
680
C#
using UnityEngine; namespace PF { /** Integer Rectangle. * Works almost like UnityEngine.Rect but with integer coordinates */ [System.Serializable] public struct IntRect { public int xmin, ymin, xmax, ymax; public IntRect (int xmin, int ymin, int xmax, int ymax) { this.xmin = xmin; this.xm...
27.842105
92
0.604348
[ "MIT" ]
naivetang/2019MiniGame22
Unity/Assets/Model/Module/Pathfinding/Recast/IntRect.cs
5,290
C#
using CSPlang.Any2; namespace CSPlang { class PoisonableAny2AnyChannelIntImpl : Any2AnyIntImpl { internal PoisonableAny2AnyChannelIntImpl(int _immunity) : base(new PoisonableOne2OneChannelIntImpl(_immunity)) { } } }
19.538462
118
0.708661
[ "MIT" ]
PasierbKarol/CSPsharp
CSPlang/Poisonable/PoisonableAny2AnyChannelIntImpl.cs
254
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.Threading.Tasks; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Diagnostics.AddUsing { p...
55.506098
422
0.614852
[ "Apache-2.0" ]
Unknown6656/roslyn
src/EditorFeatures/CSharpTest/Diagnostics/AddUsing/AddUsingTests_ExtensionMethods.cs
18,206
C#
using UnityEngine; public class PlataformPoint : MonoBehaviour { [SerializeField] private PlataformPoint targetPoint; private bool isReached = false; public bool WaitForTargetReached() { return targetPoint.GetIsReached(); } public bool GetIsReached() { return isReach...
18.783784
95
0.617266
[ "MIT" ]
atletist/platformgame
Assets/Scripts/Lab/PlataformPoint.cs
695
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { public class GetIndex { public DateTime CreateDate { get; set; } public string Account { get; set; } public string Body { get; set; } public int ...
20.809524
48
0.627002
[ "MIT" ]
dearme61002/MsgBoard
MsgBoardSystem/Model/GetIndex.cs
439
C#
namespace Clase7v2.Authorization { public static class PermissionNames { public const string Pages_Tenants = "Pages.Tenants"; public const string Pages_Users = "Pages.Users"; public const string Pages_Users_Activation = "Pages.Users.Activation"; public const string Pages_Roles...
26.615385
78
0.690751
[ "MIT" ]
REL1980/Clase7v2
aspnet-core/src/Clase7v2.Core/Authorization/PermissionNames.cs
348
C#
using System.Threading.Tasks; namespace DragonSpark.Model.Operations; public class AppendedOperate : IOperation { readonly Operate _previous, _current; public AppendedOperate(Operate previous, Operate current) { _previous = previous; _current = current; } public async ValueTask Get() { await _previous...
17.4
58
0.747126
[ "MIT" ]
DragonSpark/Framework
DragonSpark/Model/Operations/AppendedOperate.cs
350
C#
using Newtonsoft.Json; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using UnityEngine; using UnityEngine.SceneManagement; namespace CommonCore { /// <summary> /// Core Utilities class: Contains functions for loading resources, saving/loading JS...
32.506849
154
0.562158
[ "MIT" ]
XCVG/heavymetalslug
Assets/CommonCore/Core/CoreUtils.cs
4,748
C#
namespace Endscript { /// <summary> /// Represents executable caller version that is being checked when parsing endscript files. /// </summary> public static class Version { /// <summary> /// Major version value of executable caller. /// </summary> public static System.Version Value { get; set; } } }
22.642857
93
0.684543
[ "MIT" ]
SpeedReflect/Endscript
Endscript/Version.cs
319
C#
using System; namespace AMKsGear.Architecture { public static class ConstantTable { public const AttributeTargets AllMembers = AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property; public const AttributeTargets AllValueMembers = AttributeTargets....
36.2
153
0.779006
[ "Unlicense", "MIT" ]
amkherad/AMKs-Gear.net
00-Core/Architecture/ConstantTable.cs
362
C#
using System; using Aquarius.Weixin.Entity.Enums; using Aquarius.Weixin.Entity.WeixinMessage; namespace Aquarius.Weixin.Core.Message.Handler.DefaultHandler { public class DefaultLocationMessageHandler : ILocationMessageHandler { public string Handle(LocationMessage message) { retur...
23.733333
72
0.719101
[ "MIT" ]
Weidaicheng/Aquarius.Weixin
src/Aquarius.Weixin/Aquarius.Weixin/Core/Message/Handler/DefaultHandler/DefaultLocationMessageHandler.cs
358
C#
using System.Collections.Generic; using Pugzor.Core.Helpers; using Xunit; namespace Pugzor.Test { [Trait("Category", "Helper")] public class PathHelperTests { public static IEnumerable<object[]> Paths = new List<object[]> { new object[]{ "/this/is/absolute.p...
29.352941
107
0.606212
[ "MIT" ]
AspNetMonsters/pugzor
Pugzor.Test/PathHelperTests.cs
1,000
C#
/** * Copyright 2013 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...
44.822222
259
0.732276
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-sk-v01_r04_3/Main/Ca/Infoway/Messagebuilder/Model/Sk_cerx_v01_r04_2/Interaction/UpdateImmunizationRequestRefused.cs
2,017
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SQLServerSearcher")] [assembly: As...
43.051282
158
0.742108
[ "MIT" ]
CoderAllan/SqlServerSearcher
src/Properties/AssemblyInfo.cs
1,682
C#
// Copyright (c) Xenko contributors (https://xenko.com) 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. using Xenko.Core.Mathematics; using Xenko.Engine; using Xenko.Graphics; using Xenko.Rendering.Lights...
38.294118
184
0.710445
[ "MIT" ]
Aminator/xenko
sources/editor/Xenko.Assets.Presentation/AssetEditors/Gizmos/LightGizmo.cs
1,302
C#
/* * Copyright (c) 2020, Firely (info@fire.ly) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE */ namespace Hl7.Fhir.ElementModel.Types { public enum...
20.884615
90
0.604052
[ "BSD-3-Clause" ]
FirelyTeam/fhir-net-common
src/Hl7.Fhir.ElementModel/Types/DateTimePrecision.cs
545
C#
using System; using System.IO; using System.Collections.Generic; using System.Text; using LumiSoft.Net.IMAP.Client; namespace LumiSoft.Net.IMAP { /// <summary> /// This class represents IMAP SEARCH <b>UNFLAGGED</b> key. Defined in RFC 3501 6.4.4. /// </summary> /// <remarks>Messages that do not have t...
30.439024
109
0.590144
[ "MIT" ]
garakutanokiseki/Join.NET
LumiSoftNet/Net/IMAP/IMAP_Search_Key_Unflagged.cs
2,498
C#
/*---------------------------------------------------------------- Copyright (C) 2022 Senparc 文件名:SetMuteData.cs 文件功能描述:成员新消息免打扰参数 创建标识:Senparc - 20150728 ----------------------------------------------------------------*/ namespace Senparc.Weixin.Work.AdvancedAPIs.Chat { /// <summar...
22.962963
67
0.404839
[ "Apache-2.0" ]
AaronWu666/WeiXinMPSDK
src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Chat/ChatJson/SetMuteData.cs
708
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Common.CommandTrees { using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Utilities; /// <summary>Represents the projectio...
44.647059
164
0.638735
[ "Apache-2.0" ]
CZEMacLeod/EntityFramework6
src/EntityFramework/Core/Common/CommandTrees/DbProjectExpression.cs
3,795
C#
using UnityEngine; using UnityEngine.UI; public class LoaderProgress : MonoBehaviour { private Slider loadingProgress; private void Awake() { loadingProgress = GetComponent<Slider>(); } private void Update() { loadingProgress.value = Loader.GetLoadingProgress(); } }
17.5
60
0.666667
[ "Apache-2.0" ]
aeyonblack/tanya-masvita-software-development-projects
Reborn - Mobile Game Codebase (C#)/Reborn/Assets/Scripts/Utilities/LoaderProgress.cs
317
C#
namespace Test { public sealed class CPOD2 { public string Aa { get; set; } public bool IsAa { get; set; } } }
11.214286
29
0.477707
[ "CC0-1.0" ]
CardanoSharp/CBOR
CBORTest/CPOD2.cs
159
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 m...
27.55814
126
0.56315
[ "MIT" ]
oldmine/cassandra-thrift-client
Cassandra.ThriftClient/Internal/Thrift/Transport/TStreamTransport.cs
3,555
C#
#pragma warning disable CS1591 #region License /* ************************************************************** * Author: Rick Strahl * © West Wind Technologies, 2010-2011 * http://www.west-wind.com/ * * Created: 1/4/2010 * * Permission is hereby granted, free of charge, to any ...
37.140351
69
0.619273
[ "MIT", "Unlicense" ]
RickStrahl/Westwind.RazorHosting
Westwind.RazorHosting/TemplateBase/RazorRequest.cs
2,120
C#
// <auto-generated> // 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 // re...
49.31614
344
0.578444
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/WebSites/Management.Websites/Generated/AppServiceCertificateOrdersOperationsExtensions.cs
59,278
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 ...
18.847059
63
0.649189
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-companyreg/Companyreg/Model/V20200306/RejectUserSolutionResponse.cs
1,602
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本: 4.0.30319.42000 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace Bib...
33.611111
170
0.572314
[ "MIT" ]
W-angler/Biba
Biba/Properties/Resources.Designer.cs
2,750
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing.Processors; using SixLabors.Primitives; namespace SixLabors.ImageSharp.Processing.Processors.Transforms { /// <summary> /// The base ...
42.857143
133
0.742222
[ "Apache-2.0" ]
HighEndGuy/ImageSharp
src/ImageSharp/Processing/Processors/Transforms/TransformProcessorBase.cs
902
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security; using System.Text; using System.Web; using System.Xml; using System.Xml.Linq; using Inedo.BuildMaster; using Inedo.BuildMaster.Data; using Inedo.BuildMaster.Extensibility.Gadgets; using Inedo.BuildMas...
49.566757
237
0.59436
[ "Unlicense" ]
Inedo/bmx-dotnetrecipes
ExampleAspNetRecipe.cs
18,193
C#
namespace BorderControl { public interface IBirthable { //---------------------------Properties--------------------------- string Birthdate { get; } } }
20.222222
74
0.412088
[ "MIT" ]
Vanrektus/Software-University
C# Web Development/04. C# OOP/03. Interfaces and Abstraction/Exercise/BirthdayCelebrations/Interfaces/IBirthable.cs
184
C#
using Dfc.CourseDirectory.Services.Models; namespace Dfc.CourseDirectory.Web.ViewModels.Apprenticeships { public class WhatWouldYouLikeToDoViewModel { public ApprenticeshipWhatWouldYouLikeToDo ApprenticeshipWhatWouldYouLikeToDo { get; set; } } }
26.8
98
0.791045
[ "MIT" ]
SkillsFundingAgency/dfc-coursedirectory
src/Dfc.CourseDirectory.Web/ViewModels/Apprenticeships/WhatWouldYouLikeToDoViewModel.cs
270
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using NCrontab; namespace WarelogManager.Model.BackgroundServices { public class GoogleTrendsDataHostedService : BackgroundService { ...
29.652174
88
0.601173
[ "MIT" ]
propil5/Warelog
src/Model/BackgroundServices/GoogleTrendsDataHostedService.cs
1,366
C#
using MarcoGazzola.Base; using MarcoGazzola.Base.Interfaces; using MarcoGazzola.MongoDB.Interfaces; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace MarcoGazzola.MongoDB { public class BaseRepository<T> : IBaseRepository<T> where T : IEntity ...
33.023529
126
0.554328
[ "Apache-2.0" ]
marcogazzola/MarcoGazzola.Core
MarcoGazzola.MongoDB/BaseRepository.cs
2,809
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.354839
151
0.581221
[ "MIT" ]
datsukai/owatc
Ch5/Population/Population/Properties/Settings.Designer.cs
1,067
C#
using System; using System.Threading; namespace Fibrous { internal sealed class TimerAction : IDisposable { private readonly Action _action; private readonly TimeSpan _interval; private bool _cancelled; private Timer _timer; public TimerAction(IFiber fiber, Action actio...
24.859375
92
0.512256
[ "MIT" ]
chrisa23/Fibrous
Fibrous/Internal/Scheduling/TimerAction.cs
1,591
C#
 namespace Web_BTL_Backend.Models.ClientSendForm { public class ReportForm { public int idPost { set; get; } public string content { set; get; } public int reportType { set; get; } } }
18.583333
47
0.609865
[ "MIT" ]
FCBTruong/Web-BTL-Backend
Web-BTL-Backend/Models/ClientSendForm/ReportForm.cs
225
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...
34.318519
209
0.619685
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/ContainerInstance/V20171001Preview/GetContainerGroup.cs
4,633
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace CleanWebApi.WebApi.Controllers.V1 { [ApiVersion("1.0")] [Route("api/v1/[controller]")] [ApiExplorerSettings(GroupName = "v1")] [Authorize] public abstract class BaseV1Controller : BaseController { } }
24.076923
59
0.71246
[ "MIT" ]
pyrox18/Pyrox.CleanArchitectureTemplates
templates/webapi-clean/src/CleanWebApi.WebApi/Controllers/V1/BaseV1Controller.cs
313
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using NuGet.Services.Status; namespace StatusAggregator.Tests { public class TestComponent : Component { ...
28.678571
111
0.655044
[ "Apache-2.0" ]
CyberAndrii/NuGet.Jobs
tests/StatusAggregator.Tests/TestComponent.cs
805
C#
using Alachisoft.NCache.Client; using Alachisoft.NCache.Runtime.Caching; using Alachisoft.NCache.Runtime.Dependencies; using Alachisoft.NCache.Samples.Dapper.ConsoleUI.Repository; using Alachisoft.NCache.Samples.Dapper.ConsoleUI.SeedData; using Alachisoft.NCache.Samples.Dapper.Models; using System; using System.Collec...
41.125313
89
0.31757
[ "Apache-2.0" ]
Alachisoft/NCache-Solutions
BackingSourceWithDapperUsingNCache/ConsoleUI/DapperDemo.cs
16,411
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...
27.1875
126
0.602759
[ "Apache-2.0" ]
raz2017/aws-sdk-net
sdk/src/Services/KinesisVideoArchivedMedia/Generated/AmazonKinesisVideoArchivedMediaConfig.cs
2,175
C#
using System; namespace AirPlaneDDD.WebAPI.Models { public class AirPlaneModelAddModel { public Guid Id { get; set; } } }
14.4
38
0.645833
[ "MIT" ]
pedrovasconcellos/AirPlane-Angular6-And-NETCoreInDDD
AirPlaneDDD/AirPlaneDDD.WebAPI/Models/AirPlaneModelAddModel.cs
146
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.Runtime.CompilerServices; public class BringUpTest { const int Pass = 100; const int Fail = -1; [MethodImplAttribute(MethodImplOptions.No...
26.075
71
0.534995
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/CodeGenBringUpTests/JTrueGeFP.cs
1,043
C#
using System.Collections.Generic; using System.Dynamic; namespace Fundigent.Blog.API.Helpers { public static class ObjectExtensions { public static ExpandoObject Expand<TSource>(this TSource source) { var propertyInfoList = typeof(TSource).GetProperties(System.Reflection.BindingFlag...
31.130435
146
0.649441
[ "MIT" ]
greggsjh/fundigent-blog
Fundigent.Blog.API/Helpers/ObjectExtensions.cs
716
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.PillPressRegistry.Interfaces { using Microsoft.Rest; using Models; using System.Collections; usi...
43.666667
499
0.600705
[ "Apache-2.0" ]
WadeBarnes/jag-pill-press-registry
pill-press-interfaces/Dynamics-Autorest/IAccounts.cs
6,812
C#
using System.ComponentModel.DataAnnotations; namespace SmartValley.WebApi.Subscriptions.Requests { public class CreateSubscriptionRequest { [Required, MaxLength(100)] public string Name { get; set; } [Required, EmailAddress] public string Email { get; set; } [Required...
22.65
51
0.624724
[ "MIT" ]
SmartValleyEcosystem/smartvalley
SmartValley.WebApi/Subscriptions/Requests/CreateSubscriptionRequest.cs
455
C#
using Microsoft.Win32; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Me...
19.8
54
0.7114
[ "MIT" ]
A-Fitz/Group-Generator
MainWindow.xaml.cs
695
C#
using MaterialDesignThemes.Wpf; using System; using System.Data; using System.Data.SqlClient; using System.Globalization; using System.Reflection; using System.Resources; using System.Windows; using System.Windows.Input; namespace VisualUNITY.DiameterLast { /// <summary> /// Interaction logic for AdminConfirm...
40.679612
161
0.586754
[ "MIT" ]
SymCors/VisualModbus
VisualUNITY/DiameterLaser/AdminConfirmation.xaml.cs
8,382
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; namespace Microsoft.EntityFrameworkCore.Scaffolding { /// <summary> /// Specifies which metadata to read from the da...
38.583333
115
0.62851
[ "MIT" ]
FelicePollano/efcore
src/EFCore.Relational/Scaffolding/DatabaseModelFactoryOptions.cs
1,389
C#
using System; using System.Collections.Generic; using System.Linq; using RimWorld; using Verse; using HarmonyLib; using System.Reflection; using System.Globalization; using UnityEngine; namespace HumanResources { public static class Extension_Research { public static SkillDef Bias = new SkillDef(); ...
46.150538
337
0.540657
[ "MIT" ]
MinerSebas/HumanResources
Source/Extensions/Extension_Research.cs
25,754
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("Ex...
37.918919
84
0.746258
[ "MIT" ]
DiogoBarbosaSilvaSousa/visual-csharp-2013-passo-a-passo
Exemplos/Chapter 12/Windows 7/ExtensionMethod - Complete/ExtensionMethod/Properties/AssemblyInfo.cs
1,406
C#
using UnityEngine; public class AutoLODMeshUtility { public static void Smooth2FlatShading(Mesh mesh) { Vector3[] oldVerts = mesh.vertices; int[] triangles = mesh.triangles; Vector3[] vertices = new Vector3[triangles.Length]; Vector2[] oldUv = mesh.uv; bool has...
34.507463
73
0.524654
[ "MIT" ]
TastSong/CrazyCar
CrazyCar/Assets/Plugins/AutoLOD/Scripts/Tools/MeshUtility.cs
2,312
C#
using System.Security.Claims; using System.Web; using System.Web.Mvc; namespace Psy.Owin.Security.Keycloak.Samples.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } [Authorize] public ActionResult About(...
21.333333
67
0.5625
[ "MIT" ]
pasay/Psy.Owin.Security.Keycloak
samples/Psy.Owin.Security.Keycloak.Samples/Controllers/HomeController.cs
770
C#
using System; using System.Collections.Generic; using BattleTech; using Harmony; using Localize; namespace MechEngineer.Features.ArmorStructureRatio.Patches { [HarmonyPatch(typeof(MechValidationRules), nameof(MechValidationRules.ValidateMechStructure))] public static class MechValidationRules_ValidateMechStru...
29.28
113
0.670765
[ "Unlicense" ]
17783/MechEngineer
source/Features/ArmorStructureRatio/Patches/MechValidationRules_ValidateMechStructure_Patch.cs
734
C#
using System; using NetOffice; namespace NetOffice.ExcelApi.Enums { /// <summary> /// SupportByVersion Excel 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff196124.aspx </remarks> [SupportByVersionAttribute("Excel", 14,15,16)] [EntityTyp...
27.925926
119
0.676393
[ "MIT" ]
Engineerumair/NetOffice
Source/Excel/Enums/XlDataBarFillType.cs
754
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. #nullable enable using System.ComponentModel; namespace Microsoft.CodeAnalysis.CSharp.Syntax { public sealed ...
33.5625
118
0.665736
[ "MIT" ]
06needhamt/roslyn
src/Compilers/CSharp/Portable/Syntax/ArgumentSyntax.cs
1,076
C#
// QuickGraph Library // // Copyright (c) 2004 Jonathan de Halleux // // This software is provided 'as-is', without any express or implied warranty. // // In no event will the authors be held liable for any damages arising from // the use of this software. // Permission is granted to anyone to use this sof...
28.4
94
0.662852
[ "ECL-2.0", "Apache-2.0" ]
Gallio/mbunit-v2
src/quickgraph/QuickGraph.Algorithms/TopologicalSortAlgorithm.cs
4,544
C#
// Copyright (c) 2017 Jan Pluskal, Vit Janecek // //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 ...
39.579439
189
0.626919
[ "Apache-2.0" ]
pokornysimon/NetfoxDetective
NetfoxCore/Framework/Snoopers/SnooperMAFF/Models/Objects/ParentObject.cs
4,237
C#
using BibliotecaAPI.Data.Mapeamentos; using BibliotecaAPI.Models; using Microsoft.EntityFrameworkCore; namespace BibliotecaAPI.Data { public class BibliotecaContexto : DbContext { public BibliotecaContexto(DbContextOptions<BibliotecaContexto> options) : base(options) { } publi...
26.5
95
0.68239
[ "MIT" ]
DeivideSilva/Asp.NetCore
ApiBiblioteca/BibliotecaAPI/Data/BibliotecaContexto.cs
638
C#
using EnvDTE; using Microsoft.VisualStudio.Shell; using System; using System.IO; using System.Runtime.CompilerServices; namespace ActivityWatchVS.Listeners { internal sealed class DTE2EventListener : IDisposable { #region Fields private BuildEvents _buildEv; private DocumentEvents _...
33.450237
114
0.579201
[ "MPL-2.0" ]
DarkOoze/ActivityWatchVS
ActivityWatchVS/Listeners/DTE2EventListener.cs
7,060
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// koubei.shop.mall.audit.query /// </summary> public class KoubeiShopMallAuditQueryRequest : IAlipayRequest<KoubeiShopMallAuditQueryResponse> { /// <summa...
23.413043
99
0.536985
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/KoubeiShopMallAuditQueryRequest.cs
3,265
C#
using Microsoft.Extensions.Options; using Senparc.CO2NET; using Senparc.CO2NET.Extensions; using Senparc.Core.Cache; using Senparc.Core.Models.WeixinTemplate; using Senparc.Log; using Senparc.Utility; using Senparc.Weixin; using Senparc.Weixin.Entities; using Senparc.Weixin.MP.AdvancedAPIs; using Senparc.Weixin.MP.Adv...
36.930636
134
0.532791
[ "Apache-2.0" ]
xiaohai-xie-baal/SCF
src/Senparc.Service/Weixin/WeixinService.cs
6,643
C#
using System.Reflection; 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: AssemblyTitle("DockSample")] [assembly: AssemblyDe...
41.152542
84
0.705519
[ "MIT" ]
cliftonm/intertexti
DockPanelSuite/DockSample/AssemblyInfo.cs
2,428
C#
namespace ArmyOfCreatures.Tests.Logic.Battles.BattleManagerTests { using System; using ArmyOfCreatures.Logic; using ArmyOfCreatures.Logic.Battles; using ArmyOfCreatures.Logic.Creatures; using ArmyOfCreatures.Tests.MockedClasses; using Moq; using NUnit.Framework; [TestFixture] publ...
32.6
95
0.654601
[ "MIT" ]
Valsinev/ComponentTestingWithC
WritedTestsForExams/OOP - 06 April 2015 - Evening/2/ArmyOfCreatures.Tests/Logic/Battles/BattleManagerTests/BattleManager_SkipShould.cs
1,632
C#
using BlazorBoilerplate.Server.Data; using BlazorBoilerplate.Server.Helpers; using BlazorBoilerplate.Server.Middleware.Wrappers; using BlazorBoilerplate.Server.Models; using BlazorBoilerplate.Server.Services; using BlazorBoilerplate.Shared; using BlazorBoilerplate.Shared.AuthorizationDefinitions; using BlazorBoilerpla...
40.025487
231
0.536502
[ "MIT" ]
mobinseven/blazorboilerplate.customized
src/BlazorBoilerplate.Server/Controllers/AccountController.cs
26,699
C#
using Fo76ini.Profiles; using Fo76ini.Utilities; using Syroot.Windows.IO; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.AccessControl; using System.Security.Principal; namespace Fo76ini { public static class IniFiles { public static IniFile F...
37.5
207
0.519263
[ "MIT" ]
FelisDiligens/Fallout76-QuickConfiguration
Fo76ini/Ini/IniFiles.cs
14,927
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Linq; namespace Iyzipay { class RestHttpClientV2 { static RestHttpClientV2() { ServicePointManager.SecurityProtocol = Security...
28.921053
116
0.649682
[ "MIT" ]
erhmutlu/iyzipay-dotnet
Iyzipay/RestHttpClientV2.cs
1,101
C#
using Newtonsoft.Json; namespace HomeAPI.Backend.Models.Lighting.Hue { public class HueLightState { [JsonProperty("on")] public bool On { get; set; } [JsonProperty("bri")] public int Bri { get; set; } [JsonProperty("sat")] public int Sat { get; set; } [JsonProperty("hue")] public int Hue { get; se...
18.08
45
0.643805
[ "MIT" ]
chwun/HomeAPI.Backend
HomeAPI.Backend/Models/Lighting/Hue/HueLightState.cs
452
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")...
42.052632
84
0.777222
[ "Apache-2.0" ]
DataExperts/dexih.transforms
src/dexih.connections.flatfile/Properties/AssemblyInfo.cs
801
C#
using System; using System.Collections; using System.Collections.Generic; namespace DataStructuresLib.Collections { public sealed class SingleItemReadOnlyList<T> : IReadOnlyList<T> { public T ItemValue { get; } public int ItemIndex { get; } public int Count { get; } ...
23.625
76
0.517763
[ "MIT" ]
ga-explorer/GMac
DataStructuresLib/DataStructuresLib/Collections/SingleItemReadOnlyList.cs
1,325
C#
using Amazon.Lambda.Core; using Amazon.Lambda.SQSEvents; using Amazon.Lambda.TestUtilities; using AutoFixture; using FinancialTransactionListener.Boundary; using FinancialTransactionListener.Infrastructure; using Moq; using System; using System.Collections.Generic; using System.Text.Json; using System.Threading.Tasks; ...
35.508197
114
0.588181
[ "MIT" ]
LBHackney-IT/financial-transaction-listener
FinancialTransactionListener.Tests/E2ETests/Steps/BaseSteps.cs
2,166
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 Xunit; namespace System.ComponentModel.Primitives.Tests { public class RefreshPropertiesAttributeTests { [Theory] [In...
46.783333
190
0.697898
[ "MIT" ]
2m0nd/runtime
src/libraries/System.ComponentModel.Primitives/tests/System/ComponentModel/RefreshPropertiesAttributeTests.cs
2,807
C#
namespace io.nem1.sdk.Model.Nis { /// <summary> /// Class NisStatus. /// </summary> public class NisStatus { /// <summary> /// Initializes a new instance of the <see cref="NisStatus"/> class. /// </summary> /// <param name="code">The code.</param> /// <param ...
26.684211
76
0.469428
[ "Apache-2.0" ]
LykkeCity/nem1-sdk-csharp
src/nem1-sdk/src/Model/Nis/NisStatus.cs
1,016
C#
/* * MailSlurp API * * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) -...
37.290909
472
0.574516
[ "MIT" ]
mailslurp/mailslurp-client-csharp-netstandard-2x
src/mailslurp_netstandard_2x/Model/BounceProjection.cs
6,153
C#
// /* // Copyright (c) 2017-12 // // moljac // Test.cs // // 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...
41.742915
143
0.433733
[ "MIT" ]
HolisticWare/HolisticWare.Core.Math.Statistics.Descriptive.Sequential
tests/Tests.CommonShared/01-DarkVaderTests/Tests20180119Dataset03/Tests011MeasuresDistribution.SkewnessType1.cs
20,623
C#