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
/* * 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 ...
26.790698
63
0.719618
[ "Apache-2.0" ]
pengweiqhca/aliyun-openapi-net-sdk
aliyun-net-sdk-gpdb/Gpdb/Model/V20160503/TagResourcesResponse.cs
1,152
C#
// ----------------------------------------------------------------------- // <copyright file="ModuleUserBase.cs" company="OSharp开源团队"> // Copyright (c) 2014-2018 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-date>2018-05-11 1:28...
29.674419
92
0.528213
[ "Apache-2.0" ]
1051324354/osharp
src/OSharp.Authorization.Functions/Entities/ModuleUserBase.cs
1,534
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. ////////////////////////////////////////////////////////// // L-1-3-1.cs - Beta1 Layout Test - RDawson // // Tests layout of classes using 1-deep nesting in // the same assembly and ...
27.832714
169
0.451583
[ "MIT" ]
belav/runtime
src/tests/Loader/classloader/v1/Beta1/Layout/Matrix/cs/L-2-3-1.cs
7,487
C#
/* MIT LICENSE Copyright 2017 Digital Ruby, LLC - http://www.digitalruby.com 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, ...
45.167969
460
0.620341
[ "MIT" ]
abdullahkaracabey/ExchangeSharp
ExchangeSharpTests/CryptoUtilityTests.cs
11,565
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.ServiceModel; using System.ServiceModel.Activation; using System.ServiceModel.Web; using Nucleo.Presentation; using Nucleo.Web.Services; using Nucleo.Views; using Nucleo.Web.Views; using Nucleo...
21.690141
103
0.755195
[ "MIT" ]
brianmains/Nucleo.NET
src/Backup/Nucleo.OnlineMVPTests/WebServices/MvpSampleWcfService.svc.cs
1,542
C#
// https://supportcenter.devexpress.com/ticket/details/t239143/auto-select-first-row-on-load // a datagrid service which enable focusing the first row , even when rows get ordered /* <dxg:GridControl SelectionMode="Row" EnableSmartColumnsGeneration="True" ItemsSource="{Binding CompositionHistories}" ItemsSourceChange...
30.756757
249
0.746924
[ "MIT" ]
yacper/DevexpressLearning
Devexpress/Controls/DataGrid/DataGrid_AutoFocusFirstRow/DataGridService.cs
1,138
C#
// Copyright 2021 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
37.909091
109
0.661871
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/tasks/v2beta3/google-cloud-tasks-v2beta3-csharp/Google.Cloud.Tasks.V2Beta3.StandaloneSnippets/CloudTasksClient.CreateTaskRequestObjectSnippet.g.cs
1,668
C#
namespace nuPickers.PropertyEditors.DotNetLabels { using nuPickers.EmbeddedResource; using Umbraco.Core.PropertyEditors; internal class DotNetLabelsPreValueEditor : PreValueEditor { [PreValueField("dataSource", "", EmbeddedResource.ROOT_URL + "DotNetDataSource/DotNetDataSourceConfig.html", Hid...
44.391304
136
0.694417
[ "MIT" ]
OxygenAS/nuPickers
source/nuPickers/PropertyEditors/DotNetLabels/DotNetLabelsPreValueEditor.cs
1,023
C#
[assembly: SuppressMessage("Design", "CA1062:Validate arguments of public methods", Justification = "<Pending>", Scope = "member", Target = "~M:Test.InformationManager.Infrastructure.Modules.Applications.InfrastructureTest.OnCatalogInitialize(System.ComponentModel.Composition.Hosting.AggregateCatalog)")] [assembly: Su...
186.6
314
0.814577
[ "MIT" ]
orangesocks/waf
src/System.Waf/Samples/InformationManager/Infrastructure.Modules.Applications.Test/GlobalSuppressions.cs
935
C#
namespace IGExtensions.Common.Controls { /// <summary> /// Represents common <see cref="System.Windows.Controls.Expander"/> control wrapper for SL and WPF /// </summary> public class Expander : System.Windows.Controls.Expander { } }
24.181818
103
0.654135
[ "MIT" ]
Infragistics/wpf-samples
Applications/IGExtensions/IGExtensions.Common/Controls/Toolkit/Expander.cs
266
C#
using DynamicData; using MonikDesktop.Common.Enums; using MonikDesktop.Common.Interfaces; using MonikDesktop.Common.ModelsApi; using MonikDesktop.Common.ModelsApp; using MonikDesktop.ViewModels.ShowModels; using ReactiveUI; using System; using System.Collections.Generic; using System.Collections.ObjectModel; ...
37.064356
120
0.501937
[ "MIT" ]
Totopolis/monik.desktop
MonikDesktopSolution/MonikDesktop/ViewModels/LogsViewModel.cs
7,489
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Web; using Enterspeed.Source.Sdk.Api.Models.Properties; using Enterspeed.Source.SitecoreCms.V9.Extensions; using Enterspeed.Source.SitecoreCms.V9.Models.Configuration; using Enterspeed.Source.SitecoreC...
40.076667
154
0.596939
[ "MIT" ]
enterspeedhq/enterspeed-source-sitecore-cms
src/Enterspeed.Source.SitecoreCms.V9/Services/EnterspeedPropertyService.cs
12,025
C#
namespace AppCore.Enums { public enum Status { ToDo, Doing, Done } }
18.25
44
0.684932
[ "MIT" ]
javier-de-lamo/Example_Kanban
AppCore/Enums/Status.cs
75
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using InmobiliariaLogicLayer.Persistence; using InmobiliariaDataLayer.Connection; using InmobiliariaViewModels.Cuotas; namespace InmobiliariaDataLayer.Pagos { public class DBCalcMora: ISelectForId, ...
36.780952
108
0.474107
[ "MIT" ]
djosuhe/cake
InmobiliariaDataLayer/Pagos/DBCalcMora.cs
3,864
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.Immutable; using System.Linq; using Microsoft.CodeAnalysis.CodeQuality; using Microsoft.Co...
46.161017
219
0.630255
[ "MIT" ]
douglasg14b/roslyn
src/Features/CSharp/Portable/MakeStructFieldsWritable/CSharpMakeStructFieldsWritableDiagnosticAnalyzer.cs
5,449
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.Networking; public class NetworkTransmitter : NetworkBehaviour { private static readonly string LOG_PREFIX = "[" + typeof(NetworkTransmitter).Name + "]: "; private const int ...
44.737705
148
0.67369
[ "MIT" ]
oliverellmers/SharedSpheres
Assets/CaptainsMess/Example/NetworkTransmitter.cs
5,460
C#
using MBBSEmu.Extensions; using System; using Xunit; namespace MBBSEmu.Tests.Extensions { public class Ushort_Tests { [Theory] [InlineData(2020, 01, 01, 20513)] [InlineData(1980, 01, 01, 33)] [InlineData(2022, 06, 04, 21700)] [InlineData(2010, 12, 31, 15775)] [I...
30.605263
101
0.588994
[ "MIT" ]
enusbaum/MBBSEmu
MBBSEmu.Tests/Extensions/Ushort_Tests.cs
1,165
C#
using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.WindowsAzure.Storage.Table; namespace Microsoft.UnifiedPlatform.Service.Common.Storage { public interface ITableReader<TEntity> where TEntity: ITableEntity { Task<TEntity> Get(string partitionKey, string rowKey, string tra...
35.846154
106
0.781116
[ "MIT" ]
microsoft/UnifiedRedisPlatform.Core
src/service/Microsoft.UnifiedRedisPlatform.Service/SharedKernel/Common/Storage/ITableReader.cs
468
C#
using System; using System.Collections.Generic; using System.Text; namespace ShapeUp.Model.Models { public class MProizvodi { public int Id { get; set; } public string Naziv { get; set; } public string Opis { get; set; } public decimal? ProsjecnaOcjena { get; set; } pub...
25.5
55
0.6122
[ "MIT" ]
neiraomerika/Seminarski-ShapeUp
ShapeUp/ShapeUp.Model/Models/MProizvodi.cs
461
C#
// <copyright file="WLANConfiguration.cs" company="ContextQuickie"> // MIT License // // Copyright (c) 2018 // // 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, includin...
48.17381
222
0.733208
[ "MIT" ]
ContextQuickie/HomeAutomation
Source/FritzControl/Soap/LANDevice/WLANConfiguration.cs
20,233
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SchemaForge.Crucible.Extensions { /// <summary> /// Contains extensions to the <see cref="Array"/> class for ease-of-use in SchemaForge. /// </summary> public static class ArrayExtensi...
32.790698
90
0.639007
[ "MIT" ]
schema-forge/crucible-dotnet
Crucible/Extensions/ArrayExtensions.cs
1,412
C#
using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using Microsoft.Boogie; using Microsoft.Basetypes; using Bpl = Microsoft.Boogie; using System; using System.Diagnostics.Contracts; namespace Microsoft.Boogie { public class Parser { public const i...
29.879901
359
0.572038
[ "MIT" ]
alexanderjsummers/boogie
Source/Core/Parser.cs
69,977
C#
using System; using System.Threading.Tasks; using Microsoft.Identity.Core.Cache; namespace Microsoft.Identity.Core { /// <summary> /// Common operations for extracting platform / operating system specifics /// </summary> internal interface IPlatformProxy { /// <summary> /// Gets th...
29.666667
97
0.60764
[ "MIT" ]
AaronPatterson/azure-activedirectory-library-for-dotnet
src/Microsoft.IdentityModel.Clients.ActiveDirectory/Core/IPlatformProxy.cs
2,227
C#
using System.IO; using System.Runtime.CompilerServices; namespace Mirror.SimpleWeb { public static class MessageProcessor { [MethodImpl(MethodImplOptions.AggressiveInlining)] static byte FirstLengthByte(byte[] buffer) => (byte)(buffer[1] & 0b0111_1111); public static bool NeedToReadSho...
35.829787
162
0.569279
[ "MIT" ]
28raining/Mirror
Assets/Mirror/Runtime/Transport/SimpleWebTransport/Common/MessageProcessor.cs
5,052
C#
using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WebVella.Erp.Exceptions; using WebVella.Erp.Web.Models; using WebVella.Erp.Web.Services; using WebVella.Erp.Web.Utils; using WebVella.TagHelpers.Models; namespa...
32.873418
166
0.70145
[ "Apache-2.0" ]
628426/WebVella-ERP
WebVella.Erp.Web/Components/PcFieldDataCsv/PcFieldDataCsv.cs
7,793
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GoogleAnalytics { /// <summary> /// Dimensions in pixels. /// </summary> public struct Dimensions { /// <summary> /// Creates a new object to store dimensio...
24.111111
62
0.543779
[ "MIT" ]
Lyoware/wpf-windows-sdk-for-google-analytics
GoogleAnalytics.SDK/Dimensions.cs
870
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ModuleInitializer.cs" company="WildGums"> // Copyright (c) 2008 - 2019 WildGums. All rights reserved. // </copyright> // --------------------------------------------------------...
44.969697
135
0.626011
[ "MIT" ]
WildGums/Orc.DataAccess
src/Orc.DataAccess.Xaml/ModuleInitializer.cs
1,486
C#
namespace Jeelu.SimplusD.Client.Win { partial class Department { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果...
44.340081
112
0.578159
[ "Apache-2.0" ]
xknife-erian/nknife.jeelusrc
NKnife.App.WebsiteBuilder/SimplusD/Client/Win/Common/CustomControls/PageEditControl/Department.Designer.cs
11,160
C#
// *********************************************************************** // <copyright file="IDataProviderWithCategories.cs" company="Alchiweb.fr"> // Copyright MIT License / 2015 Alchiweb.fr // </copyright> // <summary> // Added by CategoriesForAppStudio // Created by Hervé PHILIPPE // alchiweb@live....
28.058824
100
0.554507
[ "MIT" ]
alchiweb/CategoriesForAppStudio
Install_CategoriesForAppStudio/[WAS_APP_NAME].W10/AppStudio.DataProviders/IDataProviderWithCategories.cs
955
C#
using System; using System.Threading.Tasks; using Autofac; using MiningCore.Blockchain.Bitcoin; using MiningCore.Blockchain.Bitcoin.DaemonResponses; using MiningCore.Blockchain.ZCash.DaemonResponses; using MiningCore.Contracts; using MiningCore.DaemonInterface; using MiningCore.Time; namespace MiningCore.Bl...
34.888889
122
0.616924
[ "MIT" ]
SolarPool/miningcore_ella
src/MiningCore/Blockchain/ZCash/ZCashJobManager.cs
2,200
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.296296
151
0.579642
[ "BSD-3-Clause" ]
Jamaika1/charls
samples/viewer/Properties/Settings.Designer.cs
1,063
C#
/* Copyright 2007-2017 The NGenerics Team (https://github.com/ngenerics/ngenerics/wiki/Team) This program is licensed under the MIT License. You should have received a copy of the license along with the source code. If not, an online copy of the license can be found at https://opensource.org/licenses/MIT. *...
24.71875
88
0.647282
[ "MIT" ]
ngenerics/ngenerics
src/NGenerics.Tests/DataStructures/Mathematical/Vector3DTests/Negate.cs
791
C#
using System; namespace Ultraviolet.SDL2 { /// <summary> /// Represents the configuration information for SDL2 windows. /// </summary> public sealed class SDL2PlatformConfiguration { /// <summary> /// Gets or sets the rendering API which will be used by the application. ///...
32.25
99
0.616279
[ "Apache-2.0", "MIT" ]
Spool5520/ultraviolet
Source/Ultraviolet.SDL2/Shared/SDL2PlatformConfiguration.cs
1,034
C#
using Microsoft.EntityFrameworkCore; namespace NChista.StoredProcedureCore.Extensions { /// <summary> /// Stored procedure extension method for <see cref="DbContext"/> that allows executing a specific stored procedure. /// </summary> public static class DbContextExtensions { /// <summary> ...
39.636364
120
0.665138
[ "MIT" ]
MohsenNouriG/NChista.StoredProcedureCore
NChista.StoredProcedureCore/Extensions/DbContextExtensions.cs
874
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> //--...
37.503937
150
0.562041
[ "MIT" ]
Scarjit/PUBGSDK
PUBGSDK/URL.Designer.cs
4,765
C#
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; namespace SmartHouse.Domain.Core { public class MongoBase { [BsonId] [Required] [JsonProperty(Required = Required.Always)] public string Id { get...
24.736842
50
0.67234
[ "MIT" ]
JeanRasin/SmartHouse
SmartHouse.Domain.Core/MongoBase.cs
472
C#
public class BoosterInfo { public string id {get;} public int index {get;} public float barSize1 {get;} public float barSize2 {get;} public float barSize3 {get;} public float spd1 {get;} public float spd2 {get;} public float spd3 {get;} public BoosterInfo(BoosterTa...
24.692308
47
0.580997
[ "MIT" ]
HEE-SUK/Country_Road
Assets/GameResources/Scripts/InfoTable/BoosterInfo.cs
644
C#
using Etsy.Resources; namespace Etsy.Services { public class Listing : RestBase { public Listing(SessionInfo session) { base.info = session; } // listings public Resources.Listing createListing(int quantity, string title, string description, decimal price, ...
45.898438
138
0.625532
[ "Apache-2.0" ]
seanlinmt/tradelr
Etsy/Services/Listing.cs
5,877
C#
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using DotNetNuke.UI.Skins; #endregion namespace DotNetNuke.Services.Installer.Installers { /// -------------------------------------...
32.462366
101
0.319311
[ "MIT" ]
CMarius94/Dnn.Platform
DNN Platform/Library/Services/Installer/Installers/ContainerInstaller.cs
3,021
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Input; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Examples.Demos { /// <summary> /// Example script to test toggling the gaze provider source from platform-specific overri...
37.034483
184
0.679702
[ "MIT" ]
Argylebuild/aad-hololens
Assets/MRTK/Examples/Demos/HandTracking/Scripts/ToggleGazeSource.cs
1,076
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Win.Pizzeria { public partial class FormPerecederos : Form { pub...
19.571429
48
0.664234
[ "MIT" ]
AdanTorres21/Pizza-Ordenes
FormPerecederos.cs
413
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Bakery.Models; namespace BakeryTests { [TestClass] public class PastryTests { [TestMethod] public void Constructor_BuildPastryOrder_True() { Pastry testPastry = new Pastry(17); Assert.AreEqual(17, testPastry.Count); ...
22.958333
60
0.667877
[ "MIT" ]
TJEverett/Pierre_Bakery
BakeryTests/ModelsTests/PastryTests.cs
551
C#
using ReturnTrue.QueryBuilder.Enums; using ReturnTrue.QueryBuilder.Modifiers; using ReturnTrue.QueryBuilder.Renderers; using ReturnTrue.QueryBuilder.Select; using ReturnTrue.QueryBuilder.Select.OrderBy; using System; using System.Collections.Generic; namespace ReturnTrue.QueryBuilder.Elements { public class Colum...
39.846591
140
0.690289
[ "MIT" ]
aleripe/QueryBuilder
QueryBuilder/Elements/Column.cs
14,028
C#
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.CSharp.SmartMarkers { public class UsingHTMLProperty { public static void Run() { // ExStart:1 // The path to the documents directory. string dataDir = RunExamples.GetDataDir(...
33.615385
128
0.606407
[ "MIT" ]
Aspose/Aspose.Cells-for-.NET
Examples/CSharp/SmartMarkers/UsingHTMLProperty.cs
874
C#
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using Blumind.Configuration; using Blumind.Controls; using Blumind.Core; using Blumind.Globalization; using Blumind.Model; using Blumind.Model.Widgets; namespace Blumind.Dialogs { class RemarkDialog : BaseDialog, IWidgetE...
27.177474
107
0.483235
[ "MIT" ]
Darkxiete/Blumind
Code/Blumind/Dialogs/RemarkDialog.cs
7,965
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("02...
37.972973
84
0.745196
[ "MIT" ]
SHAMMY1/Telerik-Academy
Homeworks/CSharpPartTwo/01.Arrays/Arrays-Homework/02.CompareArrays/Properties/AssemblyInfo.cs
1,408
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...
35.164557
111
0.643269
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AuditManager/Generated/Model/BatchCreateDelegationByAssessmentRequest.cs
2,778
C#
using System; using System.Runtime.CompilerServices; namespace NetFabric.Hyperlinq { public static partial class ArrayExtensions { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static int Count<TSource>(this Memory<TSource> source) => source.Length; } }
22
69
0.707792
[ "MIT" ]
manofstick/NetFabric.Hyperlinq
NetFabric.Hyperlinq/Aggregation/Count/Count.Memory.cs
308
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Reflection; namespace AppManagementTool { public partial class CreatePackageForm : Form { ...
32.666667
101
0.579232
[ "MIT" ]
LigangSun/AppCenter
source/Tools/AppManagementTool/CreatePackageForm.cs
3,334
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace TreinaWeb.CSharpAvancado.CadastroPessoas.WPF { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial ...
19.888889
54
0.723464
[ "MIT" ]
ariele-fatima/C_Sharp_Avancado_2
TreinaWeb.CSharpAvancado.CadastroPessoas/TreinaWeb.CSharpAvancado.CadastroPessoas.WPF/App.xaml.cs
360
C#
/* * Accounting API * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.0 * Contact: api@xero.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using Xunit; using System; using ...
27.41875
109
0.547299
[ "MIT" ]
AlbertGromek/Xero-NetStandard
Xero.NetStandard.OAuth2.Test/Model/Accounting/TaxRateTests.cs
4,387
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...
24.434783
81
0.585409
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/SecurityInsights/Outputs/GetInsightsErrorResponse.cs
1,124
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace Northwind.EF.Persistence.MSSQL.Migrations { public partial class InitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrati...
47.546419
122
0.501199
[ "Apache-2.0" ]
DavidSilwal/Northwind-EFCore3
Northwind.EF.Persistence.MSSQL/Migrations/20190729151924_InitialCreate.cs
17,927
C#
 using Moralis.Platform.Objects; namespace Moralis.Platform.Abstractions { /// <summary> /// A unit that can generate a relative path to a persistent storage file. /// </summary> public interface IRelativeCacheLocationGenerator { /// <summary> /// The corresponding relat...
31.470588
109
0.66729
[ "MIT" ]
rahul0tripathi/MetaNox
Assets/MoralisWeb3ApiSdk/Moralis/MoralisDotNet/Platform/Abstractions/IRelativeCacheLocationGenerator.cs
537
C#
using System; using HanumanInstitute.OntraportApi.Models; using HanumanInstitute.OntraportApi.IdentityCore; using System.Threading.Tasks; using Xunit; using HanumanInstitute.Validators; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Identity; using System.Net.Http; using Xunit.Abstractions; n...
35.454545
112
0.628698
[ "BSD-2-Clause" ]
mysteryx93/OntraportApi.NET
OntraportApi.IntegrationTests/IdentityCore/UserManagerTests.cs
10,142
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("Ca...
35.896552
84
0.739673
[ "Apache-2.0" ]
15217711253/xamarin-forms-samples
CatClock/CatClock/CatClock.UWP/Properties/AssemblyInfo.cs
1,044
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Agent.Sdk; using Microsoft.TeamFoundation.DistributedTask.WebApi; using Microsoft.VisualStudio.Services.Agent.Worker; using Moq; using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Ru...
41.667797
158
0.480421
[ "MIT" ]
AzureMentor/azure-pipelines-agent
src/Test/L0/Worker/TaskManagerL0.cs
36,876
C#
using System.Collections.Generic; using Microsoft.AspNet.Identity; namespace Luma.SmartHub.Web.ViewModels.Manage { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { get; set; } public string PhoneNumber { get; set; } pub...
21.789474
56
0.657005
[ "Apache-2.0" ]
czesiu/Luma.SmartHub.Web
src/Luma.SmartHub.Web/ViewModels/Manage/IndexViewModel.cs
416
C#
using BusinessLogicLayer; using Entities; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace OnlineAssessmentSystem.Controllers { public class HomeController : Controller { IBLLService bllService; public HomeController() ...
19.702703
51
0.589849
[ "MIT" ]
virtualghostmck/OAS
BackEnd/OnlineAssessmentSystem/OnlineAssessmentSystem/Controllers/HomeController.cs
731
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// AlipayMarketingCampaignPrizepoolPrizeDeleteModel Data Structure. /// </summary> [Serializable] public class AlipayMarketingCampaignPrizepoolPrizeDeleteModel : AopObject { /// <summary> ...
26.697674
99
0.560105
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/AlipayMarketingCampaignPrizepoolPrizeDeleteModel.cs
1,334
C#
#pragma checksum "C:\Users\Batuhan\source\repos\CoreProject_MVC\CoreProject_MVC\Views\Home\Privacy.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d8ddb6bffa5a9b264bf8f89038bf03c234083fd3" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribut...
46.5
190
0.763125
[ "MIT" ]
batuhansariikaya/MVC_CoreBlogProject
CoreProject_MVC/CoreProject_MVC/obj/Debug/net5.0/Razor/Views/Home/Privacy.cshtml.g.cs
3,162
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace _03._Word_Count { class Program { static void Main(string[] args) { Dictionary<string, int> wordCount = new Dictionary<string, int>(); Lis...
30.981818
96
0.475939
[ "MIT" ]
Javorov1103/SoftUni-Course
C# Advanced/03. Streams and Files Exercises/03. Word Count/Program.cs
1,706
C#
namespace Farm { public class StartUp { public static void Main() { Dog dog = new Dog(); dog.Bark(); dog.Eat(); } } }
14.692308
33
0.397906
[ "MIT" ]
A-Manev/SoftUni-CSharp-Advanced-january-2020
CSharp OOP/Inheritance - Lab/01. Single Inheritance/StartUp.cs
193
C#
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. See LICENSE in the project root for license information. using static TorchSharp.torch; namespace TorchSharp { public partial class torchaudio { public interface ITransform { Tensor forward(Tensor input); ...
22.333333
130
0.668657
[ "MIT" ]
dayo05/TorchSharp
src/TorchSharp/TorchAudio/ITransform.cs
335
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Xml.Linq; namespace Microsoft.AspNetCore.DataProtection { /// <summary> /// Contains XLinq constants. /// </summ...
36.847826
111
0.655457
[ "Apache-2.0" ]
belav/aspnetcore
src/DataProtection/DataProtection/src/XmlConstants.cs
1,695
C#
namespace UnKnownName.Patches { using HarmonyLib; [HarmonyPatch(typeof(KnownTech), nameof(KnownTech.Analyze))] public class KnownTech_Analyze { [HarmonyPrefix] public static bool Prefix(TechType techType, bool verbose) { if(Main.Config.Hardcore) { ...
26.761905
122
0.588968
[ "MIT" ]
MrPurple6411/Subnautica-Mods
UnkownName/Patches/KnownTech_Analyze.cs
564
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.Collections.Generic; namespace System.Globalization.Tests { public enum IdnaTestResultType { ToUnicode, ToAscii } public ...
31.594828
117
0.533697
[ "MIT" ]
belav/runtime
src/libraries/System.Globalization.Extensions/tests/IdnMapping/Data/ConformanceIdnaTestResult.cs
3,665
C#
using System.IO; using System.Threading.Tasks; namespace MS2Lib { public interface IMS2FileInfoCrypto { Task<IMS2FileInfo> ReadAsync(TextReader textReader); Task WriteAsync(TextWriter textWriter, IMS2FileInfo fileInfo); } }
21.166667
70
0.728346
[ "MIT" ]
Miyuyami/MS2Lib
MS2Lib/CryptoRepository/Contracts/IMS2FileInfoCrypto.cs
256
C#
// // Mono.Cairo.LinearGradient.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this soft...
32.131148
91
0.716327
[ "MIT" ]
jpbruyere/Crow
Backends/CairoBackend/src/LinearGradient.cs
1,960
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 NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.Input.Events...
33.587571
120
0.537258
[ "MIT" ]
ATiltedTree/osu-framework
osu.Framework.Tests/Visual/UserInterface/TestSceneFocusedOverlayContainer.cs
5,769
C#
using System; using System.Windows; using Messaging.RabbitMq; namespace Messaging.Publisher { public partial class MainWindow : Window { private RabbitMqPublisher _publisher; public MainWindow() { InitializeComponent(); _publisher = new RabbitMqPublisher(); } private void ButtonClick(object sende...
18.16
66
0.726872
[ "MIT" ]
asa-hmb/MessagingTalk
Messaging.Publisher/MainWindow.xaml.cs
456
C#
using System.Web.Mvc; namespace GroupDocsConversionMVCDemoWithProgress { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
23.583333
81
0.657244
[ "MIT" ]
atirtahirgroupdocs/GroupDocs.Conversion-for-.NET
Showcases/GroupDocsConversionMVCDemoWithProgress/App_Start/FilterConfig.cs
285
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using ComposeTestEnvironment.xUnit.Infrastructure; using Xunit; using Xunit.Abstractions; using Xunit.Sdk; // ReSharper disable StaticMemberInGenericType ...
36.35
153
0.562201
[ "MIT" ]
MaxShoshin/TestCompose
ComposeTestEnvironment.xUnit/DockerComposeEnvironmentFixture.cs
18,177
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-gen...
41.430233
144
0.612405
[ "MIT" ]
et9930/ECS-Game
Assets/Script/Generated/Game/Components/GameActiveListenerComponent.cs
3,563
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901 { using static Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Extensions; /// <summary> /// Information about a service principal identity for the cluster to use for manipulating Azure APIs. /// </summary> public partial cla...
48.6
117
0.679329
[ "MIT" ]
Amrinder-Singh29/azure-powershell
src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.cs
3,095
C#
using System; namespace EnvironmentBusinessLayer { public interface IEnvironment { string MachineName(); } }
14
35
0.628571
[ "MIT" ]
Vitalii-Misechko/dot-net-dependency-injection
ModulesFeature/EnvironmentBusinessLayer/IEnvironment.cs
142
C#
using System.Collections.Generic; using System.Linq; using DRMFSS.BLL.Interfaces; using DRMFSS.BLL.MetaModels; using System.ComponentModel.DataAnnotations; using System; using DRMFSS.Web.Models; namespace DRMFSS.BLL.Repository { /// <summary> /// /// </summary> public partial class DispatchDetailRepo...
33.048077
122
0.581903
[ "MIT" ]
aliostad/deep-learning-lang-detection
data/train/csharp/49e42d3621b87b038703665f7f956b6311fb98d7DispatchDetailRepository.cs
3,437
C#
using System.Xml; using System.Text; using BepInEx.Logging; using HarmonyLib; using Hacknet; using Pathfinder.Util; using Pathfinder.Util.XML; namespace Pathfinder.Administrator { public abstract class BaseAdministrator : Hacknet.Administrator { protected Computer computer; protected OS opSyste...
21.826087
73
0.679283
[ "MIT" ]
4310V343k/Hacknet-Pathfinder
PathfinderAPI/Administrator/BaseAdministrator.cs
502
C#
namespace Febraban240 { public class HeaderLote040 { public GrupoControle Controle = new GrupoControle(); public class GrupoControle { public Campo Banco = new CampoNumerico(1, 3, 0, "G001"); public Campo Lote = new CampoNumerico(4, 7, 0, "G002"); pub...
47.984848
83
0.581939
[ "MIT" ]
rafaelsolli/Febraban240
Geral/HeaderLote040.cs
3,169
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using InSituVisualization.Model; using InSituVisualization.Predictions; using InSituVisualization.TelemetryCollector; using Microsoft.CodeAnalysis; namespace InSituVisualization.TelemetryMapper { // ReSharper disable once ClassNeverIns...
43.16
167
0.73494
[ "Apache-2.0" ]
sealuzh/visual-studio-perfviz
InSituVisualization/TelemetryMapper/TelemetryDataMapper.cs
2,160
C#
using System; using Newtonsoft.Json; using SeafClient.Converters; namespace SeafClient.Types { /// <summary> /// Represents a shared library /// </summary> public class SeafSharedLibrary : SeafLibrary { [JsonProperty("repo_id")] public override string Id { get; set; } ...
26.321429
57
0.626866
[ "MIT" ]
AKrasheninnikov/SeafClient
SeafClient/Types/SeafSharedLibrary.cs
739
C#
using Newtonsoft.Json; namespace SendPulse.SDK.Models { public class EmailData : EmailBase { [JsonProperty("html")] public string HTML { get; set; } [JsonProperty("text")] public string Text { get; set; } } }
18.285714
40
0.589844
[ "MIT" ]
iodes/SendPulse
SendPulse.SDK/Models/EmailData.cs
258
C#
namespace CodingMilitia.PlayBall.GroupManagement.Data.Entities { public class GroupEntity { public long Id { get; set; } public string Name { get; set; } public uint RowVersion { get; set; } } }
25.555556
62
0.630435
[ "MIT" ]
romanolester/GroupManagement
src/CodingMilitia.PlayBall.GroupManagement.Data/Entities/GroupEntity.cs
230
C#
/* * Created by SharpDevelop. * User: lextm * Date: 2008/8/8 * Time: 19:32 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Collections.Generic; using Lextm.SharpSnmpLib.Security; using Xunit; #pragma warning disable 1591, 0618 namespace Lextm.Sha...
112.9447
24,601
0.622832
[ "MIT" ]
AwsomeCode/sharpsnmplib
Tests/Messaging/Tests/MessageFactoryTestFixture.cs
49,018
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("202...
37.891892
84
0.749643
[ "MIT" ]
AungWinnHtut/POL
C#/2020052101CS_7zip/Properties/AssemblyInfo.cs
1,405
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> //------------------------------------------...
26.527778
90
0.504712
[ "Apache-2.0" ]
LightosLimited/RailML
v3.1/Models/XsdConvert/genericRailML/IAEpsgCode.cs
955
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Threading; using System.Threading.Tasks; using AdaptiveCards; using Luis; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Dialogs.Choices; using Microsoft....
41.926829
187
0.567374
[ "MIT" ]
garypretty/AI
solutions/Virtual-Assistant/src/csharp/skills/todoskill/todoskill/Dialogs/Shared/ToDoSkillDialog.cs
32,663
C#
using UnityEngine; using System.Collections; [AddComponentMenu("Interactivity-Controls/Input Orbit")] public class InputOrbit : MonoBehaviour { public Transform target; public float distance = 50.0f; public float xSpeed = 120.0f; public float ySpeed = 120.0f; public float ScrollSpeed = 20.0f; p...
26.457627
116
0.639974
[ "MIT" ]
communityus-branch/thechase-demo-2013
Assets/Scripts/Interactivity/InputOrbit.cs
1,561
C#
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/) // // 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.apa...
45.432099
135
0.62663
[ "Apache-2.0" ]
AhmerRaza/Google-Dotnet-Samples
Samples/Google Cloud Resource Manager API/v2beta1/APIKey.cs
3,682
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; using Sportradar.OddsFeed.SDK.Entities.REST.Enums; using Sportradar.OddsFeed.SDK.Entities.REST.Internal.Caching.CI; using Sportradar.OddsFeed...
42
117
0.663751
[ "Apache-2.0" ]
Furti87/UnifiedOddsSdkNet
src/Sportradar.OddsFeed.SDK.Entities.REST/Internal/Caching/Events/IDrawCI.cs
2,060
C#
using System; namespace Org.BouncyCastle.Asn1.Pkcs { public class CertBag : Asn1Encodable { public static CertBag GetInstance(object obj) { if (obj is CertBag) return (CertBag)obj; if (obj == null) return null; ...
25.127273
80
0.571635
[ "MIT" ]
straight-coding/EmbedTools
crypto/src/asn1/pkcs/CertBag.cs
1,382
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("LinqExam2")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
29.054054
57
0.743256
[ "Apache-2.0" ]
kekyo-workshops/LinqExam2
LinqExam2/Properties/AssemblyInfo.cs
1,644
C#
using System; using RazorCart.Core.ActionPipeline; namespace MyCompany.RazorCart.Integration { public class MyPipeline : PipelineManager { /// <summary> /// Register the Pipeline Action List to be executed once an item(s) requested to be added to the cart /// </summary> /// <re...
35.977778
110
0.600988
[ "MIT" ]
SmithConsulting/MyCompany.RazorCart.Integration
Pipeline/MyPipeline.cs
1,621
C#
using System; using System.IO; using System.Text; using System.Net.Http; using System.IO.Compression; using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.NodeServices; using Microsoft.Extensions.Localizatio...
33.927786
140
0.548168
[ "Apache-2.0" ]
wanglong/IdentityServer4.MicroService
IdentityServer4.MicroService/Apis/CodeGenController.cs
22,188
C#
// // DO NOT MODIFY. THIS IS AUTOMATICALLY GENERATED FILE. // #nullable enable #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. using System; using System.Collections.Generic; namespace CefNet.DevTools.Protocol.Page { /// <...
29.914286
140
0.617956
[ "MIT" ]
CefNet/CefNet.DevTools.Protocol
CefNet.DevTools.Protocol/Generated/Page/LayoutViewport.g.cs
1,047
C#
// Copyright (c) Aspose 2002-2016. All Rights Reserved. using System; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Runtime.InteropServices; using System.ComponentModel.Design; using Microsoft.Win32; using Microsoft.VisualStudio; using System.Collections.Generic; using System.T...
33.879195
223
0.598455
[ "MIT" ]
groupdocs/GroupDocs.Signature-for-.NET
Plugins/GroupDocsSignatureVSPlugin/GroupDocs.Signature.VisualStudioPlugin/GroupDocsVisualStudioPlugin/GUI/ComponentWizardPage.cs
15,146
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlimCanvas.View.Controls.EventTypes { /// <summary> /// to be added /// </summary> public delegate void DrawUpdateEventHandler(object sender, DrawUpdateEventArgs e); /// <...
21.24
86
0.623352
[ "MIT" ]
twytec/SlimCanvas
Shared/SharedPCL/View/Controls/EventTypes/DrawUpdateEvent.cs
533
C#
using EPiServer.Reference.Commerce.Site.Features.Warehouse.Services; using EPiServer.Reference.Commerce.Site.Features.Warehouse.ViewModels; using System.Collections.Generic; using System.Linq; namespace EPiServer.Reference.Commerce.Site.Features.Warehouse.ViewModelFactories { public class WarehouseViewModelFactor...
33.8
108
0.642751
[ "Apache-2.0" ]
Cauldrath/Quicksilver
Sources/EPiServer.Reference.Commerce.Site/Features/Warehouse/ViewModelFactories/WarehouseViewModelFactory.cs
1,354
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data.Entity; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Web; using System.Web.Http; using AutoMapper; using AutoMapper.Query...
37.477273
112
0.550273
[ "Apache-2.0" ]
HaloImageEngine/EmpowerClaim-hotfix-1.25.1
EmpowerWeb/Controllers/Api/NotesController.cs
8,245
C#
#pragma checksum "E:\projetos\IdentityCourse\WebAppIdentity\WebAppIdentity\Views\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7091c65830b0329e613be026ede8a57552863778" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeo...
47.152542
183
0.773185
[ "MIT" ]
karolinagb/CourseIdentity
WebAppIdentity/WebAppIdentity/obj/Debug/netcoreapp3.1/Razor/Views/_ViewStart.cshtml.g.cs
2,782
C#