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
namespace TodoWCF { public static class Constants { // URL of WCF service public static string SoapUrl = "https://developer.xamarin.com:8081/TodoService.svc"; } }
19
86
0.725146
[ "Apache-2.0" ]
4qu3l3c4r4/xamarin-forms-samples
WebServices/TodoWCF/TodoWCF/Constants.cs
173
C#
using System.Windows.Automation.Peers; using System.Windows.Controls; using System.Windows.Input; using Microsoft.Web.LibraryManager.Vsix.UI.Models; namespace Microsoft.Web.LibraryManager.Vsix.UI.Controls { /// <summary> /// Interaction logic for PackageContentsTreeView.xaml /// </summary> public part...
30.08
117
0.55984
[ "Apache-2.0" ]
aidmsu/LibraryManager
src/LibraryManager.Vsix/UI/Controls/PackageContentsTreeView.xaml.cs
1,506
C#
using System.Diagnostics; using System.Threading.Tasks; using System.Collections.Generic; using GitLabSharp.Entities; using Version = GitLabSharp.Entities.Version; using mrHelper.Common.Interfaces; using mrHelper.Common.Constants; namespace mrHelper.GitLabClient.Operators { /// <summary> /// Implements DataCache...
36.920792
113
0.570394
[ "MIT" ]
BartWeyder/mrHelper
src/GitLabClient/src/Impl/Internal/Operators/DataCacheOperator.cs
3,729
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Web; using System.Web.Services; namespace DF.WebUI.jqext.tests { /// <summary> /// HttpUtility 的摘要说明 /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(...
26.9
81
0.631041
[ "Apache-2.0" ]
wolfchinaliu/gameCenter
jwx/src/main/webapp/easyui/tests/HttpUtility.asmx.cs
1,138
C#
using System; using BulletSharp.Math; using static BulletSharp.UnsafeNativeMethods; namespace BulletSharp { public enum BroadphaseNativeType { BoxShape, TriangleShape, TetrahedralShape, ConvexTriangleMeshShape, ConvexHullShape, CONVEX_POINT_CLOUD_SHAPE_PROXYTYPE, CUSTOM_POLYHEDRAL_SHAPE_TYPE, IMPLICI...
22.853982
108
0.750048
[ "Apache-2.0" ]
xtom0369/BulletPhysicsForUnity
BulletSharpPInvoke/BulletSharp/Collision/BroadphaseProxy.cs
5,165
C#
/* * Overture API * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collectio...
38.299342
357
0.548999
[ "MIT" ]
Yaksa-ca/eShopOnWeb
src/Yaksa.OrckestraCommerce.Client/Model/PaymentMethod.cs
11,643
C#
/* Copyright (c) 2006 Google 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 a...
32.20339
112
0.610526
[ "Apache-2.0" ]
michael-jia-sage/libgoogle
src/webmastertools/crawlissuesquery.cs
1,900
C#
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // namespace NS_TestClass_compunit_04_second { using nanoFramework.TestFramework; class NS_TestClass_compunit_04A ...
22.947368
70
0.688073
[ "MIT" ]
Eclo/lib-CoreLibrary
Tests/NFUnitTestNamespace/NS_compunit_04B.cs
436
C#
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace DotNetNuke.Services.Authentication { public enum AuthMode { Login = 0, Register = 1 } }
22.461538
101
0.667808
[ "MIT" ]
CMarius94/Dnn.Platform
DNN Platform/Library/Services/Authentication/AuthMode.cs
294
C#
using AutoMapper; using Outcompute.Trader.Data.Sql.Models; using Outcompute.Trader.Models; namespace Outcompute.Trader.Data.Sql; internal class SqlTradingRepositoryProfile : Profile { public SqlTradingRepositoryProfile() { CreateMap<OrderQueryResult, OrderEntity>() .ReverseMap(); ...
46.926829
209
0.7079
[ "MIT" ]
JorgeCandeias/Trader
Trader.Data.Sql/SqlTradingRepositoryProfile.cs
1,926
C#
using System; /*Problem 9. Forbidden words We are given a string containing a list of forbidden words and a text containing some of these words. Write a program that replaces the forbidden words with asterisks. Example text: Microsoft announced its next generation PHP compiler today. It is based on .NET Framework 4.0...
38.181818
122
0.652381
[ "MIT" ]
VelislavLeonov/Telerik-Akademy
Homework Strings and Text Processing/09. Forbidden words/Forbidden words.cs
1,262
C#
using System.ComponentModel.DataAnnotations; using Monolith.Core.Attributes; namespace Monolith.Foundation.Identity.Options { [Option("Foundation:Identity:JWT")] public class JwtOptions { [Required] public int ExpiresIn { get; set; } [Required] public string Audience { get;...
21.956522
46
0.623762
[ "MIT" ]
andrelom/monolith
src/Monolith.Foundation.Identity/Options/JwtOptions.cs
505
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using Jinget.Core.Tests._BaseData; namespace Jinget.Core.ExtensionMethods.Reflection.Tests { [TestClass()] public class AssemblyExtensionsTests { [TestMethod()] public void should_get_all_types_in_an_assembly() ...
38.236842
173
0.651755
[ "MIT" ]
VahidFarahmandian/Jinget
Jinget.Core.Tests/ExtensionMethods/Reflection/AssemblyExtensionsTests.cs
1,455
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir & xuri 2021 // // 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 limitatio...
35.888889
84
0.679567
[ "MIT" ]
xuri02/SharpVk
src/SharpVk/ProtectedSubmitInfo.gen.cs
1,938
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
39.142612
159
0.567315
[ "Apache-2.0" ]
kumacapitalllc/Lean
Common/Python/PandasData.cs
22,783
C#
#if UTC namespace Piksel.HockeyApp.Extensibility.Implementation.External { /// <summary> /// Partial class to add the EventData attribute and any additional customizations to the generated type. /// </summary> [System.Diagnostics.Tracing.EventData(Name = "PartB_ExceptionData")] internal partial cla...
29.75
109
0.722689
[ "MIT" ]
piksel/HockeySDK-Windows
Src/Kit.Core45/Extensibility/Implementation/External/ExceptionData.cs
359
C#
using Avalonia.Markup.Xaml; using CANShark.Desktop.Views.Core; namespace CANShark.Desktop.Views.Setup { public class SetupView : BaseControl { public SetupView() { InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader....
18.421053
42
0.591429
[ "MIT" ]
CANBusAutomotive/CANShark
Src/CANShark.Desktop/Views/Setup/SetupView.xaml.cs
352
C#
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using d60.Cirqus.Events; using d60.Cirqus.Extensions; namespace d60.Cirqus.Views.ViewManagers { /// <summary> /// Simple implementation of <see cref="IViewManagerProfiler"/> that s...
36.549618
162
0.600459
[ "MIT" ]
brettwinters/Cirqus
src/d60.Cirqus/Views/ViewManagers/StandardViewManagerProfiler.cs
4,790
C#
namespace MooVC.Architecture.Ddd.AggregateReferenceMismatchExceptionTests { using System; using Xunit; public sealed class WhenAggregateReferenceMismatchExceptionIsConstructed { [Fact] public void GivenAReferenceThenAnInstanceIsReturnedWithAllPropertiesSet() { var r...
34.607143
105
0.692466
[ "MIT" ]
MooVC/MooVC.Architecture
src/MooVC.Architecture.Tests/Ddd/AggregateReferenceMismatchExceptionTests/WhenAggregateReferenceMismatchExceptionIsConstructed.cs
971
C#
using Business.ConstructiveHeuristics; using Contracts.Interfaces.Business; using Contracts.Interfaces.Repository.Instances; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; ...
32.117647
106
0.668498
[ "MIT" ]
RichardSobreiro/RMCDP
RMCDP/RMCDP.Api/Startup.cs
1,640
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using Cake.Core.Configuration; using Cake.Core.I...
33.858974
92
0.542598
[ "MIT" ]
cpx86/cake
src/Cake.Core/Tooling/ToolResolutionStrategy.cs
5,284
C#
using Abp.Dependency; using Abp.Extensions; using Microsoft.Extensions.Configuration; using TakTikan.Tailor.Configuration; namespace TakTikan.Tailor.Net.Sms { public class TwilioSmsSenderConfiguration : ITransientDependency { private readonly IConfigurationRoot _appConfiguration; public strin...
30.125
92
0.748271
[ "MIT" ]
vahidsaberi/TakTikan-Tailor
aspnet-core/src/TakTikan.Tailor.Core/Net/Sms/TwilioSmsSenderConfiguration.cs
725
C#
using System.Runtime.InteropServices; namespace THNETII.WinApi.Native.WinNT { // C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\winnt.h, line 15344 /// <summary> /// Session RIT State /// </summary> [StructLayout(LayoutKind.Sequential)] public struct POWER_SESSION_RIT_STATE ...
27.892857
89
0.558259
[ "MIT" ]
couven92/thnetii-windows-api
src-native/THNETII.WinApi.Headers.WinNT/POWER_SESSION_RIT_STATE.cs
781
C#
using Cotorra.Core.Utils; using Cotorra.Core.Validator; using Cotorra.Schema; using Cotorra.Schema.Calculation; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Diagnostics; using System.Linq; using System.Threading.Tasks;...
45.196613
161
0.58051
[ "MIT" ]
CotorraProject/Cotorra
Cotorra.Core/Managers/Calculation/Calc/OverdraftCalculationManager.cs
48,051
C#
using System; using System.Linq; using SQLEngine.SqlServer; using Xunit; namespace SQLEngine.Tests.SqlServer { public partial class AllTests { private readonly IExpressionCompiler _compiler=new SqlExpressionCompiler(); #region Equals [Fact] public void Test_Expression_Compile...
39.701903
91
0.561851
[ "Apache-2.0" ]
raminrahimzada/SQLEngine
SQLEngine.Tests/SqlServer/ExpressionCompilerTests.cs
18,781
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 ...
22.10299
157
0.657598
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-dyvmsapi/Dyvmsapi/Model/V20170525/SubmitHotlineTransferRegisterRequest.cs
6,653
C#
namespace PnP.Core.Model.SharePoint { /// <summary> /// Site Logo aspect ratio /// </summary> internal enum SiteLogoAspect { /// <summary> /// Square logo /// </summary> Square = 0, /// <summary> /// Rectangular logo /// </summary> Re...
18
36
0.473684
[ "MIT" ]
MathijsVerbeeck/pnpcore
src/sdk/PnP.Core/Model/SharePoint/Branding/Internal/Enums/SiteLogoAspect.cs
344
C#
namespace PetClinic.Application.Common { public static class ApplicationConstants { public static class Roles { public const string Client = "Client"; public const string Doctor = "Doctor"; } public static class InvalidMessages { publ...
37.310345
112
0.62939
[ "MIT" ]
stefanMinch3v/DomainDrivenDesignArchitecture
src/PetClinic/PetClinic.Application/Common/ApplicationConstants.cs
1,084
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("MonthPrinter")] [assembly: AssemblyDescrip...
37.583333
84
0.744272
[ "MIT" ]
pirocorp/Programming-Basics
CsharpBasicProblems/MonthPrinter/Properties/AssemblyInfo.cs
1,356
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("De...
37.918919
84
0.744833
[ "Apache-2.0" ]
toddmeinershagen/Demo.DbTimeouts
src/Demo.DBTimeouts/Demo.DBTimeouts/Properties/AssemblyInfo.cs
1,406
C#
using Ryujinx.Common.Logging; using Ryujinx.Graphics.Gpu.Memory; using Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostAsGpu.Types; using Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostChannel; using Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvMap; using Ryujinx.Memory; using System; using System.Diagnostics; using S...
35.984925
131
0.524089
[ "MIT" ]
AcK77/Ryujinx
Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvHostAsGpu/NvHostAsGpuDeviceFile.cs
14,324
C#
/* * THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR */ using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Text.Json.Serialization; namespace Plotly.Blazor.Traces.HistogramLib { /// <summary> /// The Unselected class...
31.666667
94
0.531889
[ "MIT" ]
BenSzuszkiewicz/Plotly.Blazor
Plotly.Blazor/Traces/HistogramLib/Unselected.cs
3,230
C#
using AutoMapper; namespace ChallengeAccepted.Api.Mapping { public interface IHaveCustomMappings { void CreateMappings(IConfiguration configuration); } }
17.6
58
0.738636
[ "MIT" ]
NativeScriptHybrids/ChallengeAccepted
ChallengeAccepted.Service/ChallengeAccepted.Api/Mapping/IHaveCustomMappings.cs
178
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Cake.Common.Tests.Fixtures.Tools.TextTransform; using Cake.Common.Tools.TextTransform; using Cake.Core; using...
29.906977
114
0.650078
[ "MIT" ]
ecampidoglio/cake
src/Cake.Common.Tests/Unit/Tools/TextTransform/TextTemplateAliasTests.cs
1,288
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
35.12963
157
0.5767
[ "BSD-3-Clause" ]
dave-w-au/Krypton-NET-5.472
Source/Krypton Components/ComponentFactory.Krypton.Workspace/EventArgs/ActivePageChangedEventArgs.cs
1,900
C#
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Mail; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Options; using ModelService; using SendGrid; using SendGrid.Helpers.Mail; using Ser...
41.303318
242
0.559839
[ "MIT", "Unlicense" ]
bishoe/CMS_CORE_NG
FunctionalService/FunctionalSvc.cs
8,717
C#
using Microsoft.EntityFrameworkCore; namespace Capstone.Models { public class CapstoneContext : DbContext // these will become tables in the database { public DbSet<Actor> Actors { get; set; } public DbSet<Show> Shows { get; set; } public DbSet<Genre> Genres { get; set; } public DbSet<ActingCredit>...
35.205882
87
0.6533
[ "MIT" ]
ericamarroquin/capstone
Capstone/Models/CapstoneContext.cs
1,197
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using ...
47.857708
170
0.6333
[ "MIT" ]
Acidburn0zzz/roslyn
src/Workspaces/Core/Portable/Shared/Extensions/ITypeSymbolExtensions.cs
12,110
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine; namespace ConnectFour.AI.AI_Torgo { public class AI_Torgo : MonoBehaviour, IBrain { private BoardPosition[,] _currentBoard; private List<Target> _myTargets = new List<Target>();...
34.147679
120
0.512418
[ "MIT" ]
eamonn-keogh/CoderDojo2019-ConnectFour
Connect-Four-master/Connect-Four-master/Assets/Scripts/AI/AI_Torgo/AI_Torgo.cs
8,095
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Input { // Skipping already declared delegate Windows.UI.Xaml.Input.ManipulationStartingEventHandler }
32.857143
93
0.808696
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Input/ManipulationStartingEventHandler.cs
230
C#
namespace Caliburn.PresentationFramework.RoutedMessaging { using System; /// <summary> /// The outcome of processing a message. /// </summary> public class MessageProcessingOutcome { /// <summary> /// Initializes a new instance of the <see cref="MessageProcessingOutcom...
35
92
0.55331
[ "MIT" ]
CaliburnFx/Caliburn
src/Caliburn/PresentationFramework/RoutedMessaging/MessageProcessingOutcome.cs
1,435
C#
using System; using System.Drawing; using System.Windows.Forms; namespace MetroEXControls { public partial class ImagePanel : UserControl { private Brush mBackgroundBrush = null; private Image mImage = null; private Point mStartMousePos; private Point mStartScrollPosition; ...
32.657754
161
0.529393
[ "MIT" ]
D-AIRY/MetroEX
libs/MetroEXControls/src/ImagePanel.cs
6,109
C#
using System; using System.Collections.Generic; namespace MsSql.Context_For_Scaffolding.Models { public partial class UserEntities { public int UserId { get; set; } public int EntityId { get; set; } public bool IsOwner { get; set; } public DateTime CreateDate { get; set; } ...
25.058824
52
0.63615
[ "MIT" ]
Magicianred/base-webapi-accounts-network
MsSql.Context_For_Scaffolding/Models/UserEntities.cs
428
C#
using SimpleArchitecture.Application.Common.Interfaces; using SimpleArchitecture.Infrastructure.Identity; using SimpleArchitecture.Infrastructure.Persistence; using SimpleArchitecture.WebUI; using MediatR; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; usi...
29.954023
108
0.677475
[ "MIT" ]
mehdyHD/SimpleArchitecture
tests/Application.IntegrationTests/Testing.cs
5,214
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MFiles.VAF.Extensions.ExtensionMethods { public static class DictionaryExtensionMethods { /// <summary> /// Adds or updates an item in a dictionary. /// </summary> /// <...
32.454545
113
0.681606
[ "MIT" ]
M-Files/VAF.Extensions.Community
MFiles.VAF.Extensions/ExtensionMethods/DictionaryExtensionMethods.cs
1,073
C#
/* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ using Antlr4.Runtime; using Antlr4.Runtime.Atn; using Antlr4.Runtime.Misc; using Antlr4.Runtime.Sharpen; namespace Antlr4....
35.08642
120
0.561928
[ "BSD-3-Clause" ]
charwliu/antlr4
runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Atn/LexerCustomAction.cs
5,684
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("Ta...
35.827586
84
0.739172
[ "MIT" ]
samuelarbibe/Taki
Client/Client/TakiApp/TakiApp.UWP/Properties/AssemblyInfo.cs
1,042
C#
using System; using System.Diagnostics; namespace Handyman.Azure.Cosmos.Table.Internals { [DebuggerDisplay("{Build()}")] internal class RootTableQueryFilterNode : ITableQueryFilterNode { private ITableQueryFilterNode _child; public void Add(ITableQueryFilterNode node) { ...
23.75
76
0.608772
[ "MIT" ]
JonasSamuelsson/Handyman
src/Handyman.Azure.Cosmos.Table/src/Internals/RootTableQueryFilterNode.cs
572
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.Globalization; using System.Runtime.InteropServices; using Internal.Runtime.CompilerServices; namespace System { public partial class String { public bo...
41.960848
137
0.554273
[ "MIT" ]
belav/runtime
src/libraries/System.Private.CoreLib/src/System/String.Searching.cs
25,722
C#
using UnityEngine; using UnityEditor; namespace InspectorAttribute { [CustomPropertyDrawer(typeof(ConditionalHideAttribute))] public class ConditionalHideDrawer : PropertyDrawer { public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { ...
43.389831
148
0.554883
[ "CC0-1.0" ]
Slyp05/Unity-Inspector-Attributes-Collection
Inspector Attributes Collection/Editor/ConditionalHideDrawer.cs
5,122
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using OnlineBookStoreDemo.Data.Common.Models; namespace OnlineBookStoreDemo.Data.Models { public class Subscriber : BaseDeletableModel<int> { [Required(ErrorMessage = "Please enter your emai...
29
74
0.734914
[ "MIT" ]
Pivchev/OnlineBookStoreDemo
src/Data/OnlineBookStoreDemo.Data.Models/Subscriber.cs
466
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...
44.010309
178
0.657063
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/ElasticLoadBalancing/Generated/Model/AccessPointNotFoundException.cs
4,269
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DotNetCoreIdentity.Domain.Identity; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace DotNetCoreIdentity.We...
37.123288
153
0.638007
[ "MIT" ]
nyf16/Bootcamp-Repeat-
DotNetCoreIdentity/src/DotNetCoreIdentity.Web/Areas/Identity/Pages/Account/Manage/GenerateRecoveryCodes.cshtml.cs
2,712
C#
using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; namespace Dhgms.GripeWithRoslyn.Analyzer.CodeCracker.Extensions { public static class CSharpGeneratedCodeAnalysisExtensions { publ...
43.966667
184
0.639879
[ "MIT" ]
DHGMS-Solutions/gripewithroslyn
src/Dhgms.GripeWithRoslyn.Analyzer/CodeCracker/Extensions/CSharpGeneratedCodeAnalysisExtensions.cs
2,640
C#
namespace IonCLI.PackageManagement { public enum DependencySourceType { /// <summary> /// A project hosted on GitHub. /// </summary> GitHub, /// <summary> /// A project hosted on a Git URL. /// </summary> Git, /// <summary> /// A ...
20
56
0.519643
[ "MIT" ]
IonLanguage/CLI
IonCLI/PackageManagement/DependencySource.cs
560
C#
/* * Apteco API * * An API to allow access to Apteco Marketing Suite resources * * OpenAPI spec version: v2 * Contact: support@apteco.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using S...
38.559406
199
0.555142
[ "Apache-2.0" ]
Apteco/OrbitDashboardRefresher
Apteco.OrbitDashboardRefresher.APIClient/Model/PagedResultsFileSystemSummary.cs
7,789
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Question_07_06_Jigsaw { public class Piece { // Always ordered in Left, Top, Bottom, Right protected List<Edge> orderedEdges; int numberOfFlatEdges = 0; ...
20.23913
64
0.465091
[ "Apache-2.0" ]
qulia/CrackingTheCodingInterview
Question_07_06_Jigsaw/Piece.cs
1,864
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.894737
153
0.600095
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/model/DataSource.cs
2,103
C#
using System; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Ocelot.OrleansHttpGateway.Infrastructure { /// <summary> /// LateBoundMethod is a generic method signature that is passed an instance /// and an array of parameters and returns an object. It basically can b...
41.280488
112
0.647563
[ "Apache-2.0" ]
AClumsy/Ocelot.OrleansHttpGateway
src/Ocelot.OrleansHttpGateway/Infrastructure/DelegateFactory.cs
3,387
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class PanzerSmartWeaponTargetController : inkWidgetLogicController { [Ordinal(0)] [RED("distanceText")] public inkTextWidgetReference DistanceText { get; set; ...
33.294118
120
0.749117
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/PanzerSmartWeaponTargetController.cs
550
C#
// Copyright (C) 2012 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Denis Krjuchkov // Created: 2012.03.16 namespace Xtensive.Orm.Tests.Storage.Multimapping.CrossRenameModel.Version1.Namespace2 { [HierarchyRoot] public class Renamed2 : Ent...
24.444444
87
0.661364
[ "MIT" ]
SergeiPavlov/dataobjects-net
Orm/Xtensive.Orm.Tests/Storage/Multimapping/CrossRenameModel/Version1/Namespace2/Renamed2.cs
442
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...
39.567797
206
0.654316
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoT1ClickDevicesService/Generated/Model/Internal/MarshallTransformations/GetDeviceMethodsResponseUnmarshaller.cs
4,669
C#
#if UNITY_EDITOR && ODIN_INSPECTOR namespace UniTween.Editor { using Sirenix.OdinInspector.Editor; using Sirenix.Utilities; using Sirenix.Utilities.Editor; using System.Collections.Generic; using System.Linq; using UniTween.Core; using UnityEditor; using UnityEngine; using UnityEngi...
32.805556
113
0.491956
[ "MIT" ]
Funbites-Game-Studio/com.funbites.unitween
Editor/UniTweenSequenceExplorer.cs
4,726
C#
using System; namespace IPA.App.ThinControllerApp.Models { public class ErrorViewModel { public string RequestId { get; set; } = null!; public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.5
70
0.666667
[ "Apache-2.0" ]
IPA-CyberLab/IPA-DN-ThinController-Private
ThinControllerApp/Models/ErrorViewModel.cs
236
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.Threading; using System.Threading.Tasks; using Debug = System.Diagnostics.Debug; using IEnumerable = System.Collections.IEnumerable; u...
38.859094
191
0.454443
[ "MIT" ]
AUTOMATE-2001/runtime
src/libraries/System.Private.Xml.Linq/src/System/Xml/Linq/XContainer.cs
54,053
C#
// <auto-generated /> using System; using IdentityServer4.EntityFramework.DbContexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Metadata.Internal; using Microsoft.EntityFrameworkCore.Migrati...
33.534483
117
0.583033
[ "MIT" ]
Kosat/SimpleForumSPA
Api.Auth/Data/Migrations/IdentityServer/PersistedGrantDb/20180408112409_Grants.Designer.cs
1,947
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.Threading.Tasks; using Xunit.Abstractions; namespace Microsoft.EntityFrameworkCore.Query { public class ManyToManyNoTrackingQuerySqlSe...
51.866286
385
0.580536
[ "Apache-2.0" ]
0b01/efcore
test/EFCore.SqlServer.FunctionalTests/Query/ManyToManyNoTrackingQuerySqlServerTest.cs
81,845
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> //---...
41.72
179
0.594439
[ "MIT" ]
Chanyx666/Market-Application-
Market Application/obj/Debug/netstandard2.0/Views/GetStarted.xaml.g.cs
1,043
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; #if DEBUG using System.Reflection; using System.Diagnostics; #endif namespace JSLOL.Parser { /// <summary> /// Base class for evry parsing object that provides basic set of tools. ...
37.43083
226
0.59208
[ "BSD-2-Clause" ]
mrozo/jslol.PARSER
CodeElement.cs
9,472
C#
using System; using System.Collections.Generic; using System.Text; namespace CqsSample.Authorization.Permissions { public static class Permissions { public static class User { public const string Get = "caeef12b-7d29-42c1-b183-bf0b89d31a55"; public const string AddOrUpd...
24
85
0.671875
[ "MIT" ]
meinsiedler/cqs-sample
CqsSample/CqsSample.Authorization/Permissions/Permissions.cs
386
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _07_Bomb_Numbers_2 { class Program { static void Main(string[] args) { List<int> sequence = Console.ReadLine().Split().Select(int.Parse).ToList(); ...
24.175
87
0.490176
[ "MIT" ]
Bullsized/Assignments-Fundamentals-Normal
18 - 19 Lists/2017-06-12/07 Bomb Numbers 2/07 Bomb Numbers 2.cs
969
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2020 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file...
34.59
92
0.57878
[ "Apache-2.0" ]
AlbertoP57/YAFNET
yafsrc/YAF.Web/Editors/CKEditorBBCodeEditor.cs
3,361
C#
using Lombiq.TrainingDemo.Models; using Lombiq.TrainingDemo.ViewModels; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.DisplayManagement.ModelBinding; using OrchardCore.DisplayManagement.Views; using System.Threading.Tasks; namespace Lombiq.TrainingDemo.Drivers { // Drivers ...
64.831325
120
0.682401
[ "BSD-2-Clause" ]
Devqon/Orchard-Training-Demo-Module
Drivers/PersonPartDisplayDriver.cs
5,381
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 Xunit; namespace Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests { public class CommandLineDiagnosticFormatterTests { [Fact] ...
44.59375
161
0.641906
[ "Apache-2.0" ]
pottereric/roslyn
src/Compilers/CSharp/Test/CommandLine/CommandLineDiagnosticFormatterTests.cs
1,429
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> //--...
38.110236
201
0.566736
[ "MIT" ]
PeterSorokac/Sage300-SDK
resources/Sage300Resources/Sage.CA.SBS.ERP.Sage300.OE.Resources/Reports/QuotesResx.Designer.cs
4,844
C#
using System.ComponentModel.DataAnnotations; using Abp.Authorization.Users; using Abp.AutoMapper; using Abp.MultiTenancy; namespace ManageCloudDevices.MultiTenancy.Dto { [AutoMapTo(typeof(Tenant))] public class CreateTenantDto { [Required] [StringLength(AbpTenantBase.MaxTenancyNameLength)] ...
28.033333
63
0.694411
[ "MIT" ]
hasan-ak1996/ManagerClouddevices
aspnet-core/src/ManageCloudDevices.Application/MultiTenancy/Dto/CreateTenantDto.cs
841
C#
using System; using System.Buffers.Binary; using RfpProxyLib; using RfpProxyLib.Messages; namespace RfpProxy.Pcap { class DnmPcapClient : PcapClient { public DnmPcapClient(string socket, string filename) : base(socket, filename) { } protected override int PacketHeaderSize => 6...
27.95
154
0.569767
[ "MIT" ]
eventphone/rfpproxy
RfpProxy.Pcap/DnmPcapClient.cs
1,120
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110 { using Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="ProtectionContainerMappingCollection" /// /> /// </...
52.430556
245
0.593245
[ "MIT" ]
3quanfeng/azure-powershell
src/Migrate/generated/api/Models/Api20180110/ProtectionContainerMappingCollection.TypeConverter.cs
7,407
C#
using FeatureSwitcher.Configuration; using FeatureSwitcher.Specs.Domain; using Machine.Fakes; using System.Collections.Generic; namespace FeatureSwitcher.Specs.BehaviorConfigs { public class DatabaseBehaviorConfig { OnEstablish context = fakeAccessor => { var config1 = new FeatureC...
39.08
119
0.658137
[ "Apache-2.0" ]
mexx/FeatureSwitcher.Examples
Source/FeatureSwitcher.Specs/BehaviorConfigs/DatabaseBehaviorConfig.cs
979
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Models; using IdentityServer4.Services; using IdentityServer4.Stores; using Microsoft.Extensions.Logging; using System....
38.84456
182
0.567827
[ "MIT" ]
zbecknell/IdentityManagerDotNet
src/IdentityManagerDotNet/Services/ConsentService.cs
7,499
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SlackNameFixer.Persistence; #nul...
32.864407
84
0.570913
[ "MIT" ]
evman182/SlackNameFixer
src/SlackNameFixer/SlackNameFixer/Migrations/SqlServer/20220321202626_InitMigrationSqlServer.Designer.cs
1,941
C#
using System; using System.Text; using DigitalRune.Game; using DigitalRune.Geometry; using DigitalRune.Graphics; using DigitalRune.Graphics.Rendering; using DigitalRune.Graphics.SceneGraph; using DigitalRune.Mathematics.Algebra; using DigitalRune.Mathematics.Interpolation; using Microsoft.Xna.Framework; using Microsof...
35.395238
117
0.520248
[ "MIT" ]
IxxyXR/Sceelix
Source/Sceelix.Designer.Renderer3D/GameObjects/AxisCross.cs
7,435
C#
#region License //// The MIT License (MIT) //// //// Copyright (c) 2015 Tom van der Kleij //// //// 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 witho...
42.322581
85
0.721799
[ "MIT" ]
vanderkleij/Smocks
Source/Smocks/IL/VariableOperation.cs
1,314
C#
/* * File: 18FourSum.cs * Project: Array * Created Date: Monday, 5th October 2020 3:15:54 pm * Author: David Gu (macdavid313@gmail.com) * Runtime: 336 ms, faster than 33.95% of C# online submissions for 4Sum. * Memory Usage: 33.4 MB, less than 7.75% of C# online submissions for 4Sum. * ----- * Last Modified: Mo...
31.785714
80
0.440899
[ "MIT" ]
macdavid313/LeetCode-CSharp
src/Array/18FourSum.cs
2,225
C#
using Gandalan.IDAS.Client.Contracts.Contracts; using Gandalan.IDAS.Web; using Gandalan.IDAS.WebApi.DTO; using System; using System.Threading.Tasks; namespace Gandalan.IDAS.WebApi.Client.BusinessRoutinen { public class ProduktFamilienWebRoutinen : WebRoutinenBase { public ProduktFamilienWebRoutinen(IW...
40.590909
148
0.657895
[ "MIT" ]
Saibamen/idas-client-libs
Gandalan.IDAS.WebApi.Client/BusinessRoutinen/ProduktFamilienWebRoutinen.cs
1,788
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Sultanlar.WUI.Pages.Siparis { public class SilModel : PageModel { public void OnGet() { } } }
19.5
42
0.705128
[ "MIT" ]
dogukanalan/Sultanlar
Sultanlar/Sultanlar.WUI/Pages/Siparis/Sil.cshtml.cs
312
C#
using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using WalkingTec.Mvvm.Core; using WalkingTec.Mvvm.Core.Extensions; using WalkingTec.Mvvm.Mvc; using WalkingTec.Mvvm.Mvc.Admin.ViewModels.FrameworkUserVm...
29.180328
124
0.519288
[ "MIT" ]
HowardTao/WTM
src/WalkingTec.Mvvm.Mvc.Admin/FrameworkUserBaseController.cs
5,412
C#
 // 20,21,11,01,12,13,22,32 namespace Assets.Scripts.Levels { class Advanced27 : GameLevel { public Advanced27() : base("Advanced27") { Initialize(4, 8); MapButtons = new int[,] { {LIT, GRN, OFF, LIT}, {OFF, YLW, Y...
20.275862
43
0.387755
[ "MIT" ]
magius96/ShortCircuit_Android
Assets/Scripts/Levels/Advanced/2/Advanced27.cs
590
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ---------------------------------------...
28.28169
144
0.655378
[ "Apache-2.0" ]
JetBrains/space-dotnet-sdk
src/JetBrains.Space.Client/Generated/Dtos/KotlinPlatform.generated.cs
2,008
C#
using Domain.Post; using Domain.ValueObjects; using DotNetCore.Objects; using DotNetCoreArchitecture.Domain; using System; using System.Collections.Generic; using System.Text; namespace Domain.Point { public class PointEntity : Entity { public long TotalViews { get; set; } public Coordinate Co...
23.068966
66
0.648729
[ "MIT" ]
mark-denysenko/TagPoint
source/Domain/Point/PointEntity.cs
669
C#
using System; using System.Runtime.Serialization; namespace Dbo { [DataContract] public class User { #region variables private string _login; private string _pwd; private string _name; private string _firstname; private Byte[] _picture; private strin...
21.358696
49
0.440204
[ "MIT" ]
aparenton/mti-wpf
Wcf-Medical/Dbo/User.cs
1,969
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Graphics.Backgrounds; namespace osu.Game.Screens.Backgrounds { public class BackgroundScreenCustom : BackgroundScreen { private ...
30.62963
96
0.649335
[ "MIT" ]
02Naitsirk/osu
osu.Game/Screens/Backgrounds/BackgroundScreenCustom.cs
803
C#
#region License // Copyright (c) 2019 Teramine Ltd // // 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 rights to use, // copy, modi...
36.088889
68
0.721059
[ "MIT" ]
JamesFinney/Interconnect
Teramine.Interconnect/Models/ConnectionDescriptor.cs
1,626
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...
65.027397
226
0.675163
[ "MIT" ]
CHEEKATLAPRADEEP/azure-powershell
src/ResourceManager/KeyVault/Commands.KeyVault/Commands/ManagedStorageAccounts/SetAzureKeyVaultManagedStorageSasDefinition.cs
23,373
C#
//------------------------------------------------------------------------------ // <copyright file="SavedSearchProvider.cs" company="Aras Corporation"> // © 2017-2019 Aras Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ using Syst...
31.118421
123
0.652854
[ "MIT" ]
FilenkoAndriy/ArasVSMethodPlugin
Aras.VS.MethodPlugin/ItemSearch/SavedSearchProvider.cs
2,368
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using SPD.Exceptions; namespace SPD.GUI { /// <summary> /// Error Form /// </summary> public partial class ShowErrorForm : F...
29
82
0.618103
[ "CC0-1.0" ]
tgassner/SPDPatientDocumentation
SPDGUI/ShowErrorForm.cs
1,162
C#
#pragma checksum "C:\Users\djree\source\repos\RobofestOSS\RobofestOSSWeb\RobofestWTECore\Areas\Identity\Pages\Account\Manage\ResetAuthenticator.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "afadf5d0524b803de7a6820d86dc80c9ce6430fb" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNe...
66.037975
359
0.76174
[ "MIT" ]
HDLOfficial/RobofestOSSWeb
RobofestWTECore/obj/Release/netcoreapp2.1/Razor/Areas/Identity/Pages/Account/Manage/ResetAuthenticator.cshtml.g.cs
10,434
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; public class StateMachine { private Dictionary<int, IState> m_dictState; private IState m_curState; public class NextStateInfo { public IState.StateType stateType = IState.StateType.None; public object mPa...
24.506122
107
0.546302
[ "MIT" ]
164638896/ARPG
Assets/Scripts/GamePlay/State/StateMachine.cs
6,032
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. // ------------------------------------------------------------------------------ // Changes to this file must follow...
39.692308
81
0.503876
[ "MIT" ]
00mjk/wpf
src/Microsoft.DotNet.Wpf/cycle-breakers/ReachFramework/System.Printing.PrintTicketScope.cs
516
C#
using Antd2.cmds; using Antd2.Configuration; using System; using System.Collections.Generic; using System.Linq; namespace Antd2.Jobs { public class CheckNewDiskJob : Job { private int _repetitionIntervalTime = (int)TimeSpan.FromSeconds(5).TotalMilliseconds; #region [ Core Parameter ] ...
24.943662
104
0.492942
[ "BSD-3-Clause" ]
Anthilla/Antd
Antd2/Jobs/CheckNewDiskJob.cs
1,773
C#