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 .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers.Binary; using System.Device; using System.Device.I2c; using System.Device.Model; using System.IO; using System.Net.Http.Headers; using Sy...
40.769231
164
0.557976
[ "MIT" ]
gukoff/nanoFramework.IoT.Device
src/devices_generated/Mpu9250/Mpu9250.cs
11,660
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using TheGamesDBApiWrapper.Domain.ApiClasses; using TheGamesDBApiWrapper.Domain.Track; namespace TheGamesDBApiWrapper.Data.ApiClasses { /...
52.48855
216
0.672193
[ "MIT" ]
dionoid/TheGamesDBApiWrapper
src/Data/ApiClasses/Platform.cs
6,878
C#
/******************************************************************************* * Copyright 2012-2019 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...
46.008475
288
0.607294
[ "Apache-2.0" ]
JekzVadaria/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/AppMesh/Basic/New-AMSHVirtualRouter-Cmdlet.cs
16,287
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Xml.Xsl.XsltOld { using System.Collections; using System.Collections.Generic; using Sys...
31.771277
156
0.516044
[ "MIT" ]
2E0PGS/corefx
src/System.Private.Xml/src/System/Xml/Xsl/XsltOld/Processor.cs
35,838
C#
#region Copyright /////////////////////////////////////////////////////////////////////////////// // // Copyright (c) Phoenix Contact GmbH & Co KG // This software is licensed under Apache-2.0 // /////////////////////////////////////////////////////////////////////////////// #endregion using System; using...
29.583333
133
0.551174
[ "Apache-2.0" ]
PLCnext/PLCnext_CLI
src/PlcNext.CppParser/CppRipper/CodeModel/CppComment.cs
1,067
C#
using System.Collections.Generic; using Orchard.ContentManagement; using Orchard.ContentManagement.Utilities; namespace NGM.OpenAuthentication.Models { public interface IUserProviders : IContent { IList<UserProviderEntry> Providers { get; } } public class UserProvidersPart : ContentPart, IUserProv...
35.461538
122
0.699566
[ "BSD-3-Clause" ]
sebastienros/msc
src/Orchard.Web/Modules/NGM.OpenAuthentication/Models/UserProvidersPart.cs
922
C#
namespace Hes.Collections.Generic { using System.Linq; public interface IMutableGrouping<out TKey, TElement> : IGrouping<TKey, TElement> { /// <summary> /// Adds the given element to this grouping. /// </summary> /// <param name="element">Element to add.</param> void A...
33.740741
87
0.596048
[ "MIT" ]
emrahsungu/Hes.Collections.Generic
Hes.Collections/Generic/IMutableGrouping.cs
911
C#
using FluentAssertions; using Hilke.KineticConvolution.DoubleAlgebraicNumber; using NUnit.Framework; namespace Hilke.KineticConvolution.Tests { [TestFixture] public class DirectionHelpersTests { private const double EqualityTolerance = 1.0e-9; [Test] public void Direction_Determi...
26.806452
74
0.646209
[ "MIT" ]
Admir-H/KineticConvolution
tests/Hilke.KineticConvolution.Tests/DirectionHelpersTests.cs
831
C#
using SPICA.Formats.Common; using SPICA.Math3D; using SPICA.PICA; using SPICA.PICA.Commands; using SPICA.PICA.Shader; using System.Collections.Generic; using System.IO; using System.Numerics; namespace SPICA.Formats.GFL2.Shader { public class GFShader { public string Name; public readonly PI...
38.241176
127
0.506307
[ "Unlicense" ]
AkelaSnow/SPICA
SPICA/Formats/GFL2/Shader/GFShader.cs
13,004
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.126761
177
0.603312
[ "MIT" ]
mehmetacisuu/DesktopSchoolApplication
Properties/Resources.Designer.cs
2,780
C#
namespace ModernTlSharp.TLSharp.Tl.TL { public abstract class TLAbsPeer : TLObject { } }
14.428571
46
0.683168
[ "MIT" ]
immmdreza/ModernTLSharp
ModernTlSharp/TLSharp.Tl/TL/TLAbsPeer.cs
101
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace MicroBootstrap.HTTP { public interface IHttpClient { Task<HttpResponseMessage> GetAsync(string uri); Task<T> GetAsync<T>(string uri); Task<HttpRe...
53.292683
81
0.702059
[ "MIT" ]
GhalamborM/MicroBootstrap
src/MicroBootstrap/MicroBootstrap.HTTP/IHttpClient.cs
2,185
C#
using System; using NServiceBus; using NServiceBus.Transport.SQLServer; class ConfigurationSettings { ConfigurationSettings(EndpointConfiguration endpointConfiguration) { #region sqlserver-TimeToWaitBeforeTriggeringCircuitBreaker var transport = endpointConfiguration.UseTransport<Sq...
28.625
85
0.755459
[ "Apache-2.0" ]
Cogax/docs.particular.net
Snippets/SqlTransport/SqlTransportLegacySystemClient_4/ConfigurationSettings.cs
445
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using MicroModels.Description; #if SILVERLIGHT using PropertyDescriptor = MicroModels.Description.PropertyDescriptor; #else using PropertyDescriptor = System.ComponentModel.PropertyDescriptor; #endif namespace MicroModels...
32.459016
116
0.658586
[ "BSD-3-Clause" ]
ligaz/MicroModels
Source/MicroModels/MicroModelObject.cs
1,982
C#
using System; using System.ComponentModel.Composition; using System.ComponentModel.DataAnnotations; using NuPattern.ComponentModel.Design; using NuPattern.Diagnostics; using NuPattern.Library.Properties; using NuPattern.Runtime; namespace NuPattern.Library.ValueProviders { /// <summary> /// A custo...
36.513889
125
0.639787
[ "Apache-2.0" ]
dbremner/nupattern
Src/Library/Source/ValueProviders/ExpressionValueProvider.cs
2,631
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using EventSourcingCqrsSample.Events; using EventSourcingCqrsSample.Models.Requests; namespace EventSourcingCqrsSample.EventHandlers { /// <summary> /// This provides interfaces to the classes inheriting the <see cref="BaseEventHan...
40.396552
122
0.620999
[ "MIT" ]
devkimchi/EventSourcing-CQRS-Sample
src/EventSourcingCqrsSample.EventHandlers/IEventHandler.cs
2,345
C#
namespace MAPIInspector.Parsers { using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; using System.Xml; /// <summary> /// String encoding enum /// </summary> public enum St...
38.680494
206
0.392242
[ "MIT" ]
SmarterTools/Office-Inspectors-for-Fiddler
MAPIInspector/Source/Parsers/BaseStructure.cs
43,827
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LinqToDB.Mapping; namespace AddressbookWebTests { [Table(Name = "address_in_groups")] public class GroupContactRelation { [Column(Name = "group_id")] public string Grou...
21.15
45
0.666667
[ "Apache-2.0" ]
Vegard1666/Testcases
addressbook-web-tests/addressbook-web-tests/Model/GroupContactRelation.cs
425
C#
using System; using Abp; using Abp.Authorization; using Abp.Dependency; using Abp.UI; namespace Volo.SqliteDemo.Authorization { public class AbpLoginResultTypeHelper : AbpServiceBase, ITransientDependency { public AbpLoginResultTypeHelper() { LocalizationSourceName = SqliteDemoCons...
53.384615
143
0.645533
[ "MIT" ]
OzBob/aspnetboilerplate-samples
SqliteDemo/aspnet-core/src/Volo.SqliteDemo.Application/Authorization/AbpLoginResultTypeHelper.cs
3,472
C#
namespace MassTransit.StructureMapIntegration.ScopeProviders { using GreenPipes; using StructureMap; static class InternalScopeExtensions { public static void UpdatePayload(this PipeContext context, IContainer container) { context.AddOrUpdatePayload(() => container, existin...
23.666667
88
0.687324
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/Containers/MassTransit.StructureMapIntegration/ScopeProviders/InternalScopeExtensions.cs
355
C#
using J2N.Text; using System; using System.Runtime.CompilerServices; namespace YAF.Lucene.Net.Index { /* * 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 regard...
40.084337
156
0.629696
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/Lucene.Net/Lucene.Net/Index/NormsConsumerPerField.cs
3,245
C#
using System; namespace Smartling.Api.Exceptions { public class MaintenanceModeException : SmartlingApiException { public MaintenanceModeException(string message, Exception innerException) : base(message, innerException) { } } }
22.454545
109
0.765182
[ "Apache-2.0" ]
Smartling/api-sdk-net
Smartling.API/Exceptions/MaintenanceModeException.cs
247
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 4.0.2 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //-----...
35.342776
157
0.702148
[ "MIT" ]
sttp/dotnetcoreapi
src/lib/sttp.net/GuidCollection.cs
12,476
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WobbleEffect : MonoBehaviour { public IEnumerator wobble; private float targetScale; private float deltaScale; private float growFactor; private float maxScale; private float minScale; void SetValues() { targetSca...
24.280702
108
0.716763
[ "MIT" ]
surbhit21/Autism-Games
Assets/Scripts/FaceGame/WobbleEffect.cs
1,386
C#
using System.Linq; using System.Threading.Tasks; using eWAY.Rapid.Enums; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace eWAY.Rapid.Tests.IntegrationTests { [TestClass] public class CreateTransactionTests : SdkTestBase { [TestMethod] public async Task Transaction_CreateTransactio...
44.993902
115
0.65456
[ "MIT" ]
CareerHub/eway-rapid-net
eWAY.Rapid.Tests/IntegrationTests/CreateTransactionTests.cs
7,381
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
56.828829
255
0.695625
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IIosLobAppProvisioningConfigurationUserStatusesCollectionRequest.cs
6,308
C#
//************************************************************************************************ // Copyright © 2020 Steven M Cohn. All rights reserved. //************************************************************************************************ namespace River.OneMoreAddIn.Commands { using System.Diagnosti...
32.670886
99
0.635025
[ "MIT" ]
awesomedotnetcore/OneMore
OneMore/Commands/Tools/DiagnosticsCommand.cs
2,584
C#
namespace ILG.Codex.Codex2007 { partial class Configuration { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
65.287007
305
0.675415
[ "Unlicense" ]
IrakliLomidze/CodexDS13
CodexDS14/CodexProgram/Configuration.Designer.cs
125,287
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.Threading; #nullable enable namespace CommunityToolkit.Mvvm.DependencyInjection { /...
44.664671
142
0.630379
[ "MIT" ]
ehtick/Uno.WindowsCommunityToolkit
CommunityToolkit.Mvvm/DependencyInjection/Ioc.cs
7,459
C#
// // ReplicationTest.cs // // Author: // Zachary Gramana <zack@xamarin.com> // // Copyright (c) 2014 Xamarin Inc // Copyright (c) 2014 .NET Foundation // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to d...
42.714332
257
0.53828
[ "Apache-2.0" ]
brettharrisonzya/couchbase-lite-net
src/Couchbase.Lite.Tests.Shared/ReplicationTest.cs
132,628
C#
//Released under the MIT License. // //Copyright (c) 2018 Ntreev Soft co., 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 //rig...
42.095238
121
0.699095
[ "MIT" ]
NtreevSoft/Crema
common/Ntreev.Crema.Javascript.Sharing/Methods/TypeTemplate/BeginTypeCreateMethod.cs
2,654
C#
namespace MediaLibrary { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
59.295908
152
0.662514
[ "MIT" ]
GoddessArtemis/MediaLibrary
MediaLibrary/MainForm.Designer.cs
56,509
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CAIHarpyDefaults : CAIFlyingM...
32.173913
128
0.748649
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CAIHarpyDefaults.cs
740
C#
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2019, National Instruments Corp. // 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...
36.037975
82
0.643133
[ "MIT" ]
ni/vdm-dotnet
src/dotNet/Viewer/PictureBoxChildWindow.cs
2,847
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Text.Json; using System.Text.Json.Serialization; namespace Plotly.Models.Traces.Scatters { /// <summary> /// The Text...
41.974874
162
0.525919
[ "MIT" ]
trmcnealy/Plotly.WPF
Plotly/Models/Traces/Scatters/TextFont.cs
8,353
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.ServiceModel.Diagnostics; using System.Xml; namespace System.ServiceModel.Channels { /// <summary> /// Base class for non-SOAP messages /// </...
23.705882
101
0.514061
[ "MIT" ]
777Eternal777/wcf
src/System.Private.ServiceModel/src/System/ServiceModel/Channels/ContentOnlyMessage.cs
2,418
C#
using SIS.HTTP.Session.Contracts; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; namespace SIS.HTTP.Session { public class HttpSessionStorage { public const string SessionKey = "SIS_ID"; private static readonly ConcurrentDictionary<stri...
26.238095
133
0.705989
[ "MIT" ]
RosenBobchev/CSharp-Web
Web-Basic/IRunesWebApp/SIS.HTTP/Session/HttpSessionStorage.cs
553
C#
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microso...
49.733591
157
0.532334
[ "MIT" ]
cointoss1973/Prism4.1-WPF
PrismLibrary/Desktop/Prism/Modularity/DirectoryModuleCatalog.Desktop.cs
12,881
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 System.Linq; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Metadata.Internal; using Microsoft...
35
127
0.602414
[ "Apache-2.0" ]
PingmanTools/efcore
src/EFCore.Relational/Metadata/ITable.cs
2,485
C#
using System; using EIP.Common.Entities.Dtos; namespace EIP.System.Models.Dtos.Config { /// <summary> /// 根据父级查询 /// </summary> public class SystemDictionaryGetByParentIdInput : SearchDto { public Guid? Id { get; set; } } }
19.769231
63
0.634241
[ "MIT" ]
edwinhuish/eipcore2
Api/Service/System/EIP.System.Models/Dtos/Config/SystemDictionaryGetByParentIdInput.cs
271
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; namespace Zip.Database { public class DesignTimeSqlServerDbContextFactory : IDesignTimeDbContextFactory<ZipDbContext> { public ZipDbContext CreateDbContext(string[] args) { var builder = new D...
30.862069
97
0.658101
[ "MIT" ]
parameshg/tryzip
Zip.Database/DesignTimeDbContextFactory.cs
897
C#
namespace cloudscribe.SimpleContent.ContentTemplates.Configuration { public class GalleryOptions { /// <summary> /// must be a folder starting with /media /// </summary> public string NewImagePath { get; set; } = "/media/gallery"; /// <summary> /// thumbnails ar...
38.770492
134
0.605074
[ "Apache-2.0" ]
cloudscribe/cloudscribe.SimpleContent
src/cloudscribe.SimpleContent.ContentTemplates.Bootstrap4/Configuration/Gallery/GalleryOptions.cs
2,367
C#
using System; using System.Collections.Generic; using System.Text; namespace DemoApplication { public abstract class AbstractPerson : IPerson { protected AbstractPerson(string firstName, string lastName) { FirstName = firstName; LastName = lastName; } p...
20.55
67
0.627737
[ "MIT" ]
JohanSmarius/SimpleJavaToCSharpComparison
DemoApplication/DemoApplication/AbstractPerson.cs
413
C#
namespace Endurance.Web.Trial.Controllers.ResponseModels { public class VetGateAttemptResponseModel { public VetGateAttemptResponseModel( bool disqualified = false, bool passedStatus = false, string nextPerformanceStartsAt = null) { Disqualified...
27.227273
61
0.629382
[ "MIT" ]
HorseSport-achobanov/Endurance
Source/Web/Endurance.Web.Trial.Controllers/ResponseModels/VetGateAttemptResponseModel.cs
601
C#
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData // package to your project. ////#define Handle_PageResultOfT using System.Diagnostics.CodeAnalysis; using System.Net.Http.Headers; using System.Web; using System.Web.Http; #if Handle_PageResultOfT using Sy...
52.833333
145
0.745882
[ "MIT" ]
quanyincoder/GitPulseAnalytics
GitPulseAnalytics/Areas/HelpPage/App_Start/HelpPageConfig.cs
5,706
C#
namespace EveEchoesPlanetaryProductionApi.Data.Migrations { using Microsoft.EntityFrameworkCore.Migrations; public partial class StoredProceduresForQueryingGraph : Migration { protected override void Up(MigrationBuilder migrationBuilder) { // --EXECUTE [graph].[GetAllNeighbours...
44.212766
120
0.518527
[ "MIT" ]
pirocorp/Eve-Echoes-Industries
src/Data/EveEchoesPlanetaryProductionApi.Data/Migrations/20201126110820_StoredProceduresForQueryingGraph.cs
4,158
C#
using System; using Amazon.Common.DotNetCli.Tools.CLi; using Amazon.Common.DotNetCli.Tools.Commands; using System.Collections.Generic; using Amazon.ElasticBeanstalk.Tools.Commands; namespace Amazon.ElasticBeanstalk.Tools { class Program { static void Main(string[] args) { var appl...
42.9375
188
0.687045
[ "Apache-2.0" ]
bartoszsiekanski/aws-extensions-for-dotnet-cli
src/Amazon.ElasticBeanstalk.Tools/Program.cs
1,376
C#
using Jerrycurl.Mvc.Test.Project.Accessors; using Shouldly; namespace Jerrycurl.Mvc.Test { public class TemplateTests { public void Test_Procedure_Template() { var misc = new MiscAccessor(); var result = misc.TemplatedQuery(); result.ShouldBe(new[] { 1, 2, ...
21.96
47
0.54827
[ "MIT" ]
rhodosaur/jerrycurl
test/unit/src/Mvc/Jerrycurl.Mvc.Test/TemplateTests.cs
551
C#
// <copyright file="ContentPanelView.xaml.cs" company="Mike Rudnikov"> // Copyright (c) Mike Rudnikov. All rights reserved. // </copyright> namespace RmEncrypter_PublicVersion.Views { using System.Windows.Controls; /// <summary> /// Interaction logic for ContentPanelView.xaml. /// </summary> publ...
26.304348
83
0.628099
[ "MIT" ]
RudMike/RmEncrypter_PublicVersion
RmEncrypter_PublicVersion/Views/ContentPanelView.xaml.cs
607
C#
namespace Simplex.BVT { internal class BVTRoot { } }
10.833333
26
0.6
[ "MIT" ]
phinoox/simplex
Simplex/SimplexCore/BVT/BVTRoot.cs
67
C#
using System.Collections.Generic; using Microsoft.TeamFoundation.SourceControl.WebApi; using PrDash.View; namespace PrDash.DataSource { /// <summary> /// Interface for interacting with the pull request. /// </summary> public interface IPullRequestSource { /// <summary> ...
30.315789
78
0.65625
[ "MIT" ]
felixti/pr-dash
src/DataSource/IPullRequestSource.cs
578
C#
using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using EnvDTE; using EnvDTE80; using Microsoft.VisualStudio.Shell; using WebpToolkit.Dialogs; namespace WebpToolkit.Com...
42.555118
209
0.560459
[ "MIT" ]
kyleherzog/WebpToolkit
WebpToolkit/Commands/GenerateCommand.cs
10,811
C#
using System; using System.Collections; using System.Runtime.InteropServices; namespace NAudio.Wave.Compression { /// <summary> /// Interop definitions for Windows ACM (Audio Compression Manager) API /// </summary> class AcmInterop { // http://msdn.microsoft.com/en-us/library/dd742891%28VS....
46.934911
182
0.658094
[ "MIT" ]
cnsuhao/OtterUI-1
Tool/NAudio/NAudio/Wave/Compression/AcmInterop.cs
7,932
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("HTML Renderer")] [assembly: AssemblyDescr...
37.827586
84
0.771194
[ "BSD-3-Clause" ]
the-department-of-code/HTML-Renderer
Source/SharedAssemblyInfo.cs
1,100
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data.SqlClient; using System.Linq; using System.Web; using sgta.Models; namespace sgta.Repositorio { public class TarefaRepositorio { private SqlConnection _con; //Metodo para string de conexao pr...
33.130233
111
0.540643
[ "MIT" ]
karolinagb/sgta
aplicacao/sgta/sgta/Repositorio/TarefaRepositorio.cs
7,140
C#
namespace SharpSfv { public enum SfvLineType { Key = 0, Comment = 1 } }
11.222222
27
0.49505
[ "MIT" ]
jzebedee/sharpsfv
src/SharpSfv/SfvLineType.cs
103
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // Do not remove this, it is needed to retain calls to these conditional methods in release builds #define DEBUG using System.Diagnostics.CodeAnalysis; using System.Runtime.Compiler...
31.355212
98
0.559906
[ "MIT" ]
belav/runtime
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Debug.cs
8,121
C#
#if NET20 || NET30 || NET35 namespace System { public delegate TResult Func<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, in T13, in T14, in T15, in T16, out TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12...
47.75
323
0.662304
[ "MIT", "Unlicense" ]
qwertie/Theraot
Core/System/Func17.net35.cs
384
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...
30.65894
106
0.556972
[ "Apache-2.0" ]
HaiNguyenMediaStep/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/ReservedNode.cs
9,259
C#
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.CSharp.RowsColumns.Grouping { public class GroupingRowsAndColumns { public static void Run() { // ExStart:1 // The path to the documents directory. string dataDir = RunExamples.GetDataDir(S...
32.738095
115
0.613091
[ "MIT" ]
Aspose/Aspose.Cells-for-.NET
Examples/CSharp/RowsColumns/Grouping/GroupingRowsAndColumns.cs
1,375
C#
using SmartAccounting.EventBus; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace SmartAccounting.EventLog { public interface IEventLogService { Task SaveEventAsync(IntegrationEvent @event); Task MarkEventAsPubli...
32.855072
117
0.676224
[ "MIT" ]
Daniel-Krzyczkowski/Smart-Accounting
src/smart-accounting-backend-services/src/BuildingBlocks/SmartAccounting.EventLog/EventLogService.cs
2,269
C#
using System.Collections; using System.IO; using System.Text; using System.Text.RegularExpressions; using BenchmarkDotNet.Attributes; namespace Alice { [MemoryDiagnoser] [RPlotExporter, RankColumn, AsciiDocExporter, MarkdownExporter] public class AliceBenchTask { private static string AliceFil...
28.851852
114
0.528883
[ "MIT" ]
iwillspeak/IronRure
bench/Alice/AliceBenchTask.cs
3,118
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
65.969466
230
0.711872
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IAndroidGeneralDeviceConfigurationRequest.cs
8,642
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...
58.72619
914
0.672208
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Media/V20200501/Inputs/PngImageArgs.cs
4,933
C#
using System; using System.Collections; using NUnit.Framework; using OSDP.Net.Messages; using OSDP.Net.Model.CommandData; namespace OSDP.Net.Tests.Messages { [TestFixture] public class EncryptionKeySetTestCommand { [TestCaseSource(typeof(EncryptionKeySetCommandTestClass), nameof(EncryptionKeySetCom...
43.285714
118
0.589109
[ "Apache-2.0" ]
IDmachinesOrg/OSDP.Net
src/OSDP.Net.Tests/Messages/EncryptionKeySetCommandTest.cs
1,818
C#
using Lamedal_UIWinForms.UControl.button; namespace Lamedal_UIWinForms.UControl.UControlTest { partial class Form_TestWindowsUControls { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summar...
41.831461
107
0.608918
[ "MIT" ]
LouwrensP/Lamedal_WinForms
src/UControl/UControlTest/Form_TestWindowsUControls.Designer.cs
3,725
C#
using System; using System.Diagnostics; using UnityEngine; public class Gun : MonoBehaviour{ public float damage = 10f; public float range = 100f; public float fireRate = 15f; public float impactForce = 30f; public Camera fpscamera; public ParticleSystem muzzleflash; public GameObject im...
23.839286
108
0.575281
[ "MIT" ]
BurkeBlaine1999/Final-Year-Project
Assets/Scripts/Pistol/Gun.cs
1,335
C#
using System; namespace Wrido.Configuration { public interface IAppConfiguration { string HotKey { get; } string ConfigurationFilePath { get; } string InstallDirectory { get; } Uri ServerUrl { get; } } }
18.916667
41
0.682819
[ "MIT" ]
wrido/wrido
src/Wrido.Core/Configuration/IAppConfiguration.cs
229
C#
// commons-codec version compatibility level: 1.9 using System; namespace Lucene.Net.Analysis.Phonetic.Language { /* * 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 re...
42.709677
123
0.655211
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net.Analysis.Phonetic/Language/AbstractCaverphone .cs
2,650
C#
#region Apache License // // 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 // (...
39.437326
165
0.678133
[ "Apache-2.0" ]
BUTTER-Tools/log4net-2.0.8
tests/src/Layout/PatternLayoutTest.cs
14,158
C#
using System; using TotaMoviesRental.Core.Repositories; namespace TotaMoviesRental.Core { public interface IUnitOfWork : IDisposable { ICustomerRepository Customers { get; } IMovieRepository Movies { get; } IGenreRepository Genres { get; } IMembershipTypeRepository MembershipTy...
25.5625
58
0.677262
[ "MIT" ]
massina/Tota-Movies-Rental
TotaMoviesRental/TotaMoviesRental/Core/IUnitOfWork.cs
411
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("CrossingSequences")] [assembly: AssemblyDe...
37.861111
84
0.746148
[ "MIT" ]
pirocorp/Programming-Basics
ProblemsChampions/CrossingSequences/Properties/AssemblyInfo.cs
1,366
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Remoting; using Mono.Cecil; using Mono.Cecil.Mdb; using Mono.Cecil.Pdb; using Mono.Cecil.Rocks; using FieldAttributes = Mono.Cecil.FieldAttributes; using TypeAttrib...
34.79078
220
0.596575
[ "MIT" ]
LaudateCorpus1/Fody
FodyIsolated/InnerWeaver.cs
9,811
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3053 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
33.30814
242
0.726654
[ "MIT" ]
d3x0r/xperdex
games/PhysX.NET/NxCapsuleController.cs
11,458
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Media.Miracast { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public enum Miraca...
29.115385
63
0.719947
[ "Apache-2.0" ]
JTOne123/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Miracast/MiracastReceiverWiFiStatus.cs
757
C#
using UnityEngine; using System.Collections; using System; using UnityEngine.UI; namespace Crowd { //POpulation is Declared in Population manager public class FactoryWorld : MonoBehaviour { //--// // [SerializeField] //public bool isPopulationReadyToExport; //bool bPreviousStat...
36.939189
155
0.515091
[ "BSD-3-Clause" ]
vishrantgupta/Virtual-Reality-Oculus-Rift
Assets/EasyPopulation-Core/CrowdScripts/FactoryWorld.cs
5,470
C#
using System; using Umbraco.Core.Configuration; using Umbraco.Core.Logging; using Umbraco.Core.Persistence.SqlSyntax; namespace Umbraco.Core.Persistence.Migrations.Upgrades.TargetVersionSix { [Migration("6.0.0", 9, Constants.System.UmbracoMigrationName)] public class EnsureAppsTreesUpdated : Migration...
27.354839
110
0.630896
[ "MIT" ]
Abhith/Umbraco-CMS
src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSix/EnsureAppsTreesUpdated.cs
850
C#
// <copyright file="INumeric.cs" company="Shkyrockett" > // Copyright © 2020 - 2021 Shkyrockett. All rights reserved. // </copyright> // <author id="shkyrockett">Shkyrockett</author> // <license> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </license>...
24.921053
124
0.605069
[ "MIT" ]
Shkyrockett/Primer
Source/MathematicsNotationLibrary/Syntax/Interfaces/Attributes/Factors/INumeric.cs
950
C#
namespace HouseManager.Services.Data.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using HouseManager.Data.Models; using Microsoft.AspNetCore.Mvc.Rendering; public class CreatePropertyServiceModel { [Required] [MinLength(2)] [Ma...
25.09375
70
0.62391
[ "MIT" ]
JDzhambazov/HouseManager
Services/HouseManager.Services.Data/Models/CreatePropertyServiceModel.cs
817
C#
using System; using System.Collections.Generic; using UnityEngine; namespace WritersFlock { public enum MessageType { Connect, Entry, Vote, Restart, Quit, Ready, Wait } public class Message { public string messageTitle; publi...
25.05814
118
0.606032
[ "MIT" ]
TheConBot/GGJ2018
WF-Root/WF-Server/Assets/Scripts/Message.cs
2,157
C#
// 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 writing, software distributed under the ...
57.953603
190
0.622044
[ "Apache-2.0" ]
Alexisblues/google-api-dotnet-client
Src/Generated/Google.Apis.CloudTalentSolution.v4/Google.Apis.CloudTalentSolution.v4.cs
212,343
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StringManipulationLecture { class Program { static void Main(string[] args) { Console.WriteLine("Yoda said \"Do or do not, there is no try\""); C...
25.190476
89
0.637051
[ "Unlicense" ]
agurokeendavid/learn-how-to-code-using-csharp
StringManipulationLecture/Program.cs
529
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.383838
95
0.658421
[ "MIT" ]
xdegtyarev/bsuir
5/1/IGI/pr1/pr1/Record.aspx.designer.cs
3,800
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.Text; namespace System.Xml { // Provides text-manipulation methods that are used by several classe...
30.937173
125
0.5099
[ "MIT" ]
OceanYan/corefx
src/System.Xml.XmlDocument/src/System/Xml/Dom/XmlCharacterData.cs
5,909
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.Security.Permissions; namespace System.Diagnostics { #if NETCOREAPP [Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId = Obsoletions.CodeAccessSecurityDi...
47.05
147
0.793836
[ "MIT" ]
AUTOMATE-2001/runtime
src/libraries/System.Security.Permissions/src/System/Diagnostics/PerformanceCounterPermission.cs
941
C#
using System; using System.Threading; using System.Threading.Tasks; using Avalonia.Platform; namespace Avalonia.Threading { /// <summary> /// Provides services for managing work items on a thread. /// </summary> /// <remarks> /// In Avalonia, there is usually only a single <see cref="Dispatcher"/> ...
36.725
136
0.603302
[ "MIT" ]
AbdalaMask/Avalonia
src/Avalonia.Base/Threading/Dispatcher.cs
5,876
C#
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using Kraken.Api.Sensor.Models; using Kraken.Api.Sensor.Services; namespace Kraken.Api.Sensor.Controllers { /// <summary> /// The pipe measurement controller. /// </summary> [ApiController] [Route("api/measurements/[controller]")] ...
31.791667
105
0.571101
[ "MIT" ]
nedroden/Kraken-Backend
Sensor/Controllers/PipeController.cs
3,052
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. #if !NO_REMOTING && !XUNIT using System; using System.Collections.Generic; using System.IO; using System.Re...
29.045133
161
0.506566
[ "Apache-2.0" ]
ryanwersal/reactive
Rx.NET/Source/tests/Tests.System.Reactive/Tests/SystemClockTest.cs
32,823
C#
using Autofac; using UrbanSketchers.Interfaces; using Xamarin.Forms.Xaml; namespace UrbanSketchers.Pages { /// <summary> /// Sketch comments page /// </summary> [XamlCompilation(XamlCompilationOptions.Compile)] public partial class SketchCommentsPage : ISketchCommentsPage { private...
28.387755
108
0.574407
[ "MIT" ]
mscherotter/UrbanSketchers
UrbanSketchers/UrbanSketchers/Pages/SketchCommentsPage.xaml.cs
1,393
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LiveToLift.Data; using LiveToLift.Web.Infrastructure.Models; using AutoMapper.QueryableExtensions; using LiveToLift.Models; using AutoMapper; namespace LiveToLift.Services { public class Progr...
32.298969
150
0.61347
[ "MIT" ]
ivansto01/LiveToFit
LiveToLift.Services/ProgressSheetService.cs
3,135
C#
namespace Microsoft.Protocols.TestSuites.MS_OXNSPI { using System; /// <summary> /// A class indicates the response body of GetSpecialTable request /// </summary> public class GetSpecialTableResponseBody : AddressBookResponseBodyBase { /// <summary> /// Gets or sets a...
40.622449
136
0.569706
[ "MIT" ]
ChangDu2021/Interop-TestSuites
ExchangeMAPI/Source/MS-OXNSPI/Adapter/Helper/Structure/ResponseBody/GetSpecialTableResponseBody.cs
3,981
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayMarketingToolFengdieTemplateSendModel Data Structure. /// </summary> [Serializable] public class AlipayMarketingToolFengdieTemplateSendModel : Alipa...
27
75
0.606481
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayMarketingToolFengdieTemplateSendModel.cs
968
C#
using System; using System.Collections.Generic; using OpenTK; namespace HalfEdgeConverter.HEStructure { /// <summary> /// 頂点情報 /// </summary> public class Vertex { /// <summary> /// 閾値 /// </summary> private static float THRESHOLD05 = 0.00001f; /// <summary>...
24.80137
70
0.42364
[ "MIT" ]
slothgreed/HalfEdgeConverter
HEStructure/Vertex.cs
3,781
C#
using System; namespace PBug.Data { public abstract partial class KBActivity { public uint Id { get; set; } public DateTime? DateOfOccurance { get; set; } public uint InfopageId { get; set; } public uint? AuthorId { get; set; } public string Type { get; set; } p...
30.415094
60
0.60732
[ "MIT" ]
BasiqueEvangelist/PBugDotNet
PBug/Data/KBActivity.cs
1,612
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("03...
37.648649
84
0.741565
[ "MIT" ]
petyakostova/Telerik-Academy
C#/C# 1 Contests/3/Sheets/03. Sheets/Properties/AssemblyInfo.cs
1,396
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace ImageDL.Classes.ImageDownloading.Vsco.Models { /// <summary> /// Json model for the request of a Vsco user's information. /// </summary> public class VscoUserResults { /// <summary> /// The gathered users. /// </summary> [JsonProperty("s...
21.611111
61
0.694087
[ "MIT" ]
advorange/ImageDL
src/ImageDL.Core/Classes/ImageDownloading/Vsco/Models/VscoUserResults.cs
391
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Planet : MonoBehaviour { [Header("Spawns")] public List<GameObject> BasicSpawns; public List<GameObject> EliteSpawns; public List<GameObject> BossSpawns; [Header("Spawn Preferences")] public int BasicSpawnCount = 0; ...
34.816667
160
0.635711
[ "MIT" ]
SodaCookie/FriendlyGameJam4
FriendlyGameJam4/Assets/FriendlyGameJam4/Scripts/Planet.cs
2,091
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
33.517241
85
0.54321
[ "MIT" ]
mahmoodghanbary/EshopASP.Net-MVC
DataLayer/OrderDetails.cs
972
C#
using System.Net; using Server.Client; using Server.Command.Command.Base; using Server.Command.Common; using Server.Log; using Server.Server; namespace Server.Command.Command { public class BanIpCommand : HandledCommand { protected override string FileName => "LMPIPBans.txt"; protected overrid...
32.75
106
0.600509
[ "MIT" ]
Badca52/LunaMultiplayer
Server/Command/Command/BanIpCommand.cs
1,181
C#
using System; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Owin; using CarRentalSystem.Models; using CarRentalSystem.Data; namespace CarRentalSystem { public partial class...
51.347826
161
0.646627
[ "MIT" ]
Gandjurov/Car-Rental-System
CarRentalSystem/App_Start/Startup.Auth.cs
3,545
C#