content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associadas a um assembly. [assembly: AssemblyTitle("SistemaMe...
38.459459
95
0.754743
[ "MIT" ]
miguelhp373/Desenvolvimento_De_Sistemas_Modulo02
Lista de Exercicios 26-02/03 - SistemaMediaAluno/Properties/AssemblyInfo.cs
1,448
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 ...
37.886667
119
0.577864
[ "Apache-2.0" ]
fossabot/aliyun-openapi-net-sdk
aliyun-net-sdk-core/Regions/InternalEndpointsParser.cs
5,683
C#
#region copyright // Copyright 2015 Habart Thierry // // 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 applic...
46.214286
229
0.666011
[ "Apache-2.0" ]
appkins/SimpleIdentityServer
SimpleIdentityServer/src/Apis/SimpleIdServer/SimpleIdentityServer.Core/Authenticate/AuthenticateClient.cs
7,119
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 Interface.SCM; using Application.Common; using Application.Presentation; using System.Globalization; using System.Collections; us...
42.108209
274
0.544262
[ "MIT" ]
uon-coehm/IQCare
SourceBase/IQCare Management/IQCare.SCM/frmHolisticBudgetView.cs
11,287
C#
using System; using FluentAssertions.Specs.Primitives; using Xunit; using Xunit.Sdk; namespace FluentAssertions.Specs.Types { /// <content> /// The [Not]BeAssignableTo specs. /// </content> public partial class TypeAssertionSpecs { #region BeAssignableTo [Fact] public void...
34.725146
130
0.571236
[ "Apache-2.0" ]
ABergBN/fluentassertions
Tests/FluentAssertions.Specs/Types/TypeAssertionSpecs.BeAssignableTo.cs
11,878
C#
using System; using NHapi.Base.Model; using NHapi.Base; using NHapi.Base.Model.Primitive; namespace NHapi.Model.V28.Datatype { ///<summary> ///Represents the HL7 NM (Numeric) datatype. A NM contains a single String value. ///</summary> [Serializable] public class NM : AbstractPrimitive { ///<summary> ///Constructs...
24.857143
82
0.695402
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V28/Datatype/NM.cs
870
C#
using System; using System.Collections.Generic; using UnityEngine; using Object = System.Object; namespace UniMediator.Internal { /// <summary> /// Lazily allocates a List only when more than 1 item is added. Beware this /// is a Value Type and will behave in unexpected ways if you use it as you /// wo...
27.487805
86
0.4685
[ "MIT" ]
tharinga/UniMediator
Runtime/Internal/LazySingleItemList.cs
2,254
C#
using System; namespace Feedz.Client.Resources { public class PackageVersionResponse : IResource { public Guid Id { get; set; } public string PackageId { get; set; } public string Version { get; set; } public int DownloadCount { get; set; } public bool Listed { get; set...
30.294118
55
0.601942
[ "Apache-2.0" ]
feedz-io/Client
src/Client/Resources/PackageVersionResponse.cs
517
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"); y...
34.76087
159
0.690432
[ "Apache-2.0" ]
Anomalous-Software/Lucene.NET
src/contrib/Regex/CSharpRegexCapabilities.cs
3,200
C#
namespace NerdCats.Owin { using System.Collections.Generic; using Microsoft.Owin; /// <summary> /// Generic interface to define a http forwarded header wrapper /// </summary> public interface IForwardedHeaders { /// <summary> /// Forwarded port value defined X-Forwarded-Por...
37
105
0.634096
[ "MIT" ]
thehoneymad/OwinForwardedHeaderMiddleware
NerdCats.Owin.ForwardedHeaders/NerdCats.Owin.ForwardedHeaders/IForwardedHeaders.cs
964
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { publ...
31.352941
145
0.722326
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/d3d12/D3D12_WRITEBUFFERIMMEDIATE_PARAMETER.cs
535
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...
47.282258
178
0.68088
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ElasticBeanstalk/Generated/Model/TooManyBucketsException.cs
5,863
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using Mods; using ExtraOptions; public static class Options { private static OptionsUI optionsUI; public static string Playmat; public static string BackgroundImage; public static string CheckVers...
32.018405
151
0.640353
[ "MIT" ]
DavinFelth23/FlyCasual
Assets/Scripts/MainMenu/Model/Options.cs
5,221
C#
// /* // Copyright (c) 2017-12 // // moljac // Test.cs // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitatio...
37.692308
95
0.762585
[ "MIT" ]
HolisticWare/HolisticWare.Core.Math.Statistics.Descriptive.Sequential
tests/Tests.CommonShared/01-DarkVaderTests/Tests20180119Dataset02/Tests09MeasuresDispersion.StandardDeviation.cs
2,942
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace WebApplication.Entities { public class Persons { [Key] public int IdPerson { get; set; } public string FirstName { get; set; } public str...
21
45
0.656642
[ "MIT" ]
gitekamerica/MAGc
WebApplication/Entities/Persons.cs
401
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 ReactiveUI; using Xamarin.Forms; namespace ReactiveUI.XamForms { /// <summary> /// This is an <see c...
32.842105
111
0.616453
[ "MIT" ]
Nilox/ReactiveUI
src/ReactiveUI.XamForms/ReactiveViewCell.cs
1,874
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...
27.826087
112
0.63125
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.StorageGateway/Model/CreateCachediSCSIVolumeResult.cs
1,920
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Raven.Client; using Raven.Database.Config; using Raven.Server; namespace Mileage.Tests.RavenDBConcurrency { public class Data { public string Id { get; set; } public string...
26.508475
85
0.516624
[ "MIT" ]
haefele/Mileage
src/05 Tests/Mileage.Tests.RavenDBConcurrency/Program.cs
1,567
C#
// SPDX-License-Identifier: BSD-3-Clause // // Copyright 2020 Raritan Inc. All rights reserved. // // This file was generated by IdlC from PeripheralDeviceManager.idl. using System; using System.Linq; using LightJson; using Com.Raritan.Idl; using Com.Raritan.JsonRpc; using Com.Raritan.Util; #pragma warning disable 01...
34.463415
149
0.753008
[ "BSD-3-Clause" ]
gregoa/raritan-pdu-json-rpc-sdk
pdu-dotnet-api/_idlc_gen/dotnet/Com/Raritan/JsonRpc/peripheral/DeviceManager_2_0_1/PackageAddedEvent_ValObjCodec.cs
1,413
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2020 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
32.525424
116
0.549766
[ "MIT" ]
blackwork/dotnetrdf
Libraries/dotNetRDF/Query/Patterns/FixedBlankNodePattern.cs
3,838
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace ExpenseMgr.API { public class Progra...
24.192308
62
0.63593
[ "MIT" ]
simonbassey/ExpenseManagerAPI
src/ExpenseMgr.API/Program.cs
631
C#
using System; using System.Text; namespace Castaway.Assets { [Loads("txt")] public class TextAssetType : IAssetType { public T To<T>(Asset a) { if (typeof(T) == typeof(string)) return (T) (dynamic) Encoding.UTF8.GetString(a.GetBytes()); throw new Inva...
26.0625
105
0.594724
[ "MIT" ]
LiamCoal/castaway
Castaway.Assets/TextAssetType.cs
417
C#
using System; using System.Collections.Generic; using System.Text; namespace Polly.Contrib.BlankTemplate // Choose a namespace indicating the theme of your contrib. { /// <summary> /// Rename this class and build your contribution. /// </summary> public class MyContrib { } }
21.642857
98
0.689769
[ "BSD-3-Clause" ]
Polly-Contrib/Polly.Contrib.BlankTemplate
src/Polly.Contrib.BlankTemplate/MyContrib.cs
305
C#
using System; using System.Diagnostics; namespace org.apache.utils { internal class ZooKeeperLogger { internal static readonly ZooKeeperLogger Instance = new ZooKeeperLogger(); internal ILogConsumer CustomLogConsumer; internal TraceLevel LogLevel = TraceLevel.Warning; private re...
31.745098
136
0.562075
[ "Apache-2.0" ]
jabellard/zookeeper
src/csharp/src/ZooKeeperNetEx/utils/log/ZooKeeperLogger.cs
1,619
C#
using System; using System.Globalization; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; using Microsoft.OpenApi.Readers; using Xunit; using ReDocApp = ReDoc; namespace Swashbuckle.AspNetCore.IntegrationTests { ...
42.450331
118
0.64571
[ "MIT" ]
aelij/Swashbuckle.AspNetCore
test/Swashbuckle.AspNetCore.IntegrationTests/SwaggerGenIntegrationTests.cs
6,412
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace UILab ...
26.206897
71
0.628947
[ "MIT" ]
CodingWithDavid/NewANImprovedSearchGrid
UILab/Program.cs
760
C#
using System; using System.IO; using System.Threading.Tasks; using Dissonance.Engine.Graphics; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Formats.Png; using SixLabors.ImageSharp.PixelFormats; namespace Dissonance.Engine.IO { public class PngReader : IAssetReader<Texture> { public string[] Extensions { ...
29.159091
142
0.736555
[ "MIT" ]
ExterminatorX99/DissonanceEngine
Src/IO/Readers/Textures/PngReader.cs
1,283
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.Buffers; using System.Collections.Generic; using System.Diagnostics; using System.Formats.Asn1; using System.Security.Cryptography.Apple; using System.Text; using System...
39.349282
115
0.588278
[ "MIT" ]
AUTOMATE-2001/runtime
src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/AppleCertificatePal.Keys.macOS.cs
8,224
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using PizzaWorld.Storing; namespace PizzaWorld.Storing.Migrations { [DbContext(typ...
33.302703
79
0.42834
[ "MIT" ]
mlaba49/project-p0
PizzaWorld.Storing/Migrations/PizzaWorldContextModelSnapshot.cs
6,163
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Taknet.Textc.Core.Processors { public class HttpCommandProcessor : ICommandProcessor { private readonly string _uriTemplate; private readonly string _method; private readonly...
35.916667
122
0.676721
[ "Apache-2.0" ]
PiotrFerenc/textc-csharp
src/Taknet.Textc.Core/Processors/HttpCommandProcessor.cs
1,295
C#
#region Copyright //======================================================================================= // Microsoft Azure Customer Advisory Team // // This sample is supplemental to the technical guidance published on my personal // blog at http://blogs.msdn.com/b/paolos/. // // Author: Paolo Salvatori //=====...
38.338798
140
0.576112
[ "Apache-2.0" ]
Estormann/ServiceBusExplorer
src/ServiceBusExplorer/Helpers/CustomObject.cs
7,018
C#
/* * Copyright 2001-2010 Terracotta, 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 ag...
42.535747
175
0.518935
[ "Apache-2.0" ]
jvilalta/quartznet
src/Quartz/Xml/XMLSchedulingDataProcessor.cs
47,002
C#
using System; using System.Linq; using Microsoft.Extensions.DependencyInjection; using Tenu.Core.Models; using Tenu.FrontEnd.PropertyConverters; namespace Tenu.FrontEnd { public class PropertyConverterService { private readonly IServiceProvider _services; public PropertyConverterService(IServ...
33.259259
148
0.679844
[ "MIT" ]
leddt/tenu
Tenu.FrontEnd/PropertyConverterService.cs
1,798
C#
namespace FoxOffice.Controllers { using System; using System.Linq; using System.Threading.Tasks; using FluentAssertions; using FoxOffice.ReadModel; using FoxOffice.ReadModel.DataAccess; using Microsoft.AspNetCore.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] ...
36.03629
102
0.620902
[ "MIT" ]
Reacture/FoxOffice
source/FoxOffice.Tests/Controllers/QueriesController_specs.cs
8,939
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; namespace Quasardb.Tests.Cluster { [TestClass] public class PerformanceTrace { private readonly QdbCluster _cluster = QdbTestCluster.Instance; [TestMethod] public void DisabledByDefault() { ...
31.411765
75
0.471375
[ "BSD-3-Clause" ]
bureau14/qdb-api-dotnet
Quasardb.Tests/Cluster/PerformanceTrace.cs
3,740
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("Re...
38.405405
84
0.746657
[ "MIT" ]
stephenbreen/React-ory
React-ory/React-ory.Tests/Properties/AssemblyInfo.cs
1,424
C#
using Enkata.Core.Interfaces; using Enkata.Core.ProjectAggregate; using Enkata.Core.ProjectAggregate.Events; using Enkata.Core.ProjectAggregate.Handlers; using Moq; using Xunit; namespace Enkata.UnitTests.Core.Handlers; public class ItemCompletedEmailNotificationHandlerHandle { private ItemCompletedEmai...
31.72973
154
0.762351
[ "MIT" ]
muliswilliam/SampleAuth
tests/Enkata.UnitTests/Core/Handlers/ItemCompletedEmailNotificationHandlerHandle.cs
1,176
C#
namespace FreediverApp.Utils { class AuthenticationHelper { public static string RECOVERY_SERVICE_EMAIL = "recoveryservice.freediverteam@gmx.net"; public static string RECOVERY_SERVICE_PASSWORD = "JJ$8fUo(8n3%2Gb/7fc"; public static string RECOVERY_SERVICE_MAILSERVER = "mail.gmx...
37.111111
100
0.712575
[ "MIT" ]
ArrOwHe4D/FreediverApp
Utils/AuthenticationHelper.cs
336
C#
namespace ZENBEAR.Services.Data { using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; using ZENBEAR.Data.Common.Repositories; using ZENBEAR.Data.Models; using ZENBEAR.Data.Models.Enums; using ...
35.144044
111
0.501537
[ "Unlicense" ]
gready000/ZENBEAR-Digital
Services/ZENBEAR.Services.Data/TicketsService.cs
12,689
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace Plasticine { public class MeshBuilder { // // Link between a position in space and the triangles that use this position // See 'Build()' method // private class Pos...
34.298643
130
0.491425
[ "MIT" ]
dondi3go/Plasticine
Core/MeshBuilder.cs
7,582
C#
using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.SharePoint.Client; using Provisioning.Common.Authentication; using Provisioning.Common.Configuration; using Provisioning.Common.Configuration.Application; using System; using System.Collections.Generic; using System.Linq; using System.Text; using ...
50.437768
467
0.574229
[ "MIT" ]
nikhildere/PnP
Solutions/Provisioning.UX.App/Provisioning.Common/Data/SiteRequests/Impl/SPSiteRequestManager.cs
35,258
C#
using System; namespace Metaheuristics { public class DiscreteSS2OptFirst4QAP : DiscreteSS { public QAPInstance Instance { get; protected set; } protected int generatedSolutions; public DiscreteSS2OptFirst4QAP(QAPInstance instance, int poolSize, int refSetSize, double ...
21.4
74
0.674596
[ "MIT" ]
yasserglez/metaheuristics
Common/QAP/DiscreteSS2OptFirst4QAP.cs
1,177
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...
58.599281
3,568
0.635551
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/DynamoDBv2/Generated/_netstandard/IAmazonDynamoDB.cs
309,598
C#
using System; namespace Algorithms { public class GcdClass { public GcdClass() { } /// <summary> /// 最大公約数を返す /// </summary> /// <param name="a">整数1</param> /// <param name="b">整数2</param> /// <returns>最大公約数</returns> public stati...
20.419355
43
0.371248
[ "MIT" ]
riko-yyy/Algorithms
Algorithms/GcdClass.cs
697
C#
using Newtonsoft.Json; namespace PddOpenSdk.Models.Request.DdkTools { public partial class DetailDdkOauthGoodsRequestModel : PddRequestModel { /// <summary> /// 自定义参数,为链接打上自定义标签;自定义参数最长限制64个字节;格式为: {"uid":"11111","sid":"22222"} ,其中 uid 用户唯一标识,可自行加密后传入,每个用户仅且对应一个标识,必填; sid 上下文信息标识,例如sessionId等,非...
36.675
202
0.603272
[ "Apache-2.0" ]
niltor/open-pdd-net-sdk
PddOpenSdk/PddOpenSdk/Models/Request/DdkTools/DetailDdkOauthGoodsRequestModel.cs
1,861
C#
namespace _05._BarrackWars_Return_of_the_Dependencies.Models.Units { public class Archer : Unit { private const int DefaultHealth = 25; private const int DefaultDamage = 7; public Archer() : base(DefaultHealth, DefaultDamage) { } } }
23
67
0.615385
[ "MIT" ]
thelad43/CSharp-OOP-Advanced-SoftUni
08. Reflection and Attributes - Exercise/05. BarrackWars - Return of the Dependencies/Models/Units/Archer.cs
301
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SharpDX; using Fusion; using Fusion.Mathematics; using Fusion.Graphics; namespace Fusion.Graphics { public struct VertexColorTextureTBN { [Vertex("POSITION")] public Vector3 Position; [Verte...
26.731707
77
0.729015
[ "MIT" ]
demiurghg/FusionFramework
Fusion/Graphics/Scene/VertexColorTextureTBN.cs
1,098
C#
using System; using System.Threading.Tasks; using Server.Core.Common.Repositories.Lists; namespace Server.Core.Common.Workflow.CheckUserListExists { /// <summary> /// Проверка на существование пользовательского списка. /// </summary> public class CheckUserListExistsStep:StepBase<CheckUserListExistsPar...
29.157895
88
0.600181
[ "MIT" ]
alexs0ff/spisker
Server.Core/Server.Core.Common/Workflow/CheckUserListExists/CheckUserListExistsStep.cs
1,210
C#
using System; using System.Configuration; using System.Configuration.Provider; using System.Linq; using System.Web.Configuration; using System.Web.Security; using Microsoft.VisualStudio.TestTools.UnitTesting; using BirdBrain; using Raven.Client.Linq; using Role = BirdBrain.Role; namespace BirdBrainTest { [TestCla...
41.859649
160
0.609975
[ "BSD-3-Clause" ]
ThoughtWorksZA/birdbrain
BirdBrainTest/RoleProviderTest.cs
11,932
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. namespace Stride.Input { /// <summary> /// ...
33.155172
207
0.513261
[ "MIT" ]
Alan-love/xenko
sources/engine/Stride.Input/GameControllerDirectionEvent.cs
1,923
C#
 /* c Siemens AG, 2017-2018 Author: Dr. Martin Bischoff (martin.bischoff@siemens.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.apache.org/licenses/LICENSE-2.0>. Unless req...
42.634146
97
0.65532
[ "Apache-2.0" ]
EmergentSystemLabStudent/HSR-ros-sharp
RosBridgeClient/Shared/MessageTypes.cs
3,498
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
37.553571
131
0.638612
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Cognito/Inputs/UserPoolVerificationMessageTemplateGetArgs.cs
2,103
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 may not ...
41.73444
154
0.602605
[ "Apache-2.0" ]
BearerPipelineTest/thrift
lib/netstd/Tests/Thrift.Tests/Collections/TCollectionsTests.cs
10,058
C#
namespace SharedTrip { using Microsoft.EntityFrameworkCore; using SharedTrip.Models; public class ApplicationDbContext : DbContext { public DbSet<User> Users { get; set; } public DbSet<Trip> Trips { get; set; } public DbSet<UserTrip> UsersTrips { get; set; } protecte...
26.21875
85
0.617402
[ "MIT" ]
ilkerBuguner/CSharp-Web
Pratical Exam - 16.02.2020/SharedTrip/Data/ApplicationDbContext.cs
841
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Dynamic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Z.Dapper.Plus; namespace Z.Test { public parti...
41.475728
155
0.602294
[ "MIT" ]
VagrantKm/Dapper-Plus
src/test/Z.Test/Bulk_BulkAction/BulkInsert_SingleMixedSelector/0035.cs
4,272
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly...
37.171429
84
0.758647
[ "MIT" ]
1iveowl/CosmosResourceTokenBroker
src/sample/client/XamarinForms.Client/XamarinForms.Client.Android/Properties/AssemblyInfo.cs
1,304
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.LanguageServices; namespace Microsoft.CodeAnalysis.MoveT...
37.117647
161
0.771791
[ "Apache-2.0" ]
20chan/roslyn
src/Features/Core/Portable/MoveToNamespace/IMoveToNamespaceOptionsService.cs
633
C#
using System; using System.Collections.Specialized; using System.Globalization; using System.IO; using System.Text; using ServiceStack.Host; using ServiceStack.Text; using ServiceStack.Web; namespace ServiceStack.Testing { public class MockHttpResponse : IHttpResponse { public MockHttpResp...
27.447059
103
0.560223
[ "Apache-2.0" ]
PPPInc/ServiceStack
src/ServiceStack/Testing/MockHttpResponse.cs
2,249
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace RaptorDB { #region [ KeyStoreString ] public class RaptorDBString : IDisposable { public RaptorDBString(string filename, bool caseSensitve) { _db = ...
30.886726
126
0.462782
[ "MIT" ]
rasberry/HugeStructures
src/RaptorDB/KeyStore.cs
17,453
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.IO; using System.Linq; using Microsoft.Templat...
37.589641
123
0.567886
[ "MIT" ]
Microsoft/CoreTemplateStudio
code/test/CoreTemplateStudio.Core.Test/Naming/NamingTests.cs
9,195
C#
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; using ZakupowoMobile.Services; using ZakupowoMobile.ViewModels; namespace ZakupowoMobile.Views ...
37.760563
278
0.561731
[ "MIT" ]
kamreo/Zakupowo-mobile
ZakupowoMobile/ZakupowoMobile/Views/BeforeAuth/RegistrationPage.xaml.cs
2,689
C#
using System; using System.Collections.Generic; using System.Text; namespace EscolaDeIdiomas.Domain { public class Aluno { public int Id { get; set; } public string Cpf { get; set; } public string Nome { get; set; } public DateTime DataNascimento { get; set; } ...
17.966667
52
0.575139
[ "Apache-2.0" ]
alineBsoares/SheSharp
EscolaDeIdiomas/EscolaDeIdiomas.Domain/Aluno.cs
541
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Services; namespace Volo.Abp.AuditLogging { public interface IAuditLogAppService : IReadOnlyAppService<AuditLogDto, Guid, GetAuditLogDto>, IDeleteAppService<...
25.933333
122
0.773779
[ "Apache-2.0" ]
AllenHongjun/tiger_admin
aspnet-core/src/Tiger.Application.Contracts/Volo/Abp/AuditLogging/IAuditLogAppService.cs
391
C#
using Csla; using System; namespace Csla.Analyzers.Tests.Targets.IsOperationMethodPublicMakeNonPublicCodeFixTests { [Serializable] public class VerifyGetFixesWhenClassIsNotSealed : BusinessBase<VerifyGetFixesWhenClassIsNotSealed> { public void DataPortal_Fetch() { } } }
24
87
0.802083
[ "MIT" ]
angtianqiang/csla
Source/Csla.Analyzers/Csla.Analyzers.Tests/Targets/IsOperationMethodPublicMakeNonPublicCodeFixTests/VerifyGetFixesWhenClassIsNotSealed.cs
290
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MoveCharacter : MonoBehaviour { public PathCreator3D pathObject; public float speed = 1f; public float rotation = 1f; public float spacing = 0.1f; public float resolution = 1; public bool in...
39.16
115
0.637045
[ "MIT" ]
Adrixop95/deathly_balloons_vr
src/smiertelne_balony_unity/Assets/Scripts/MoveCharacter.cs
2,954
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.DependencyInjection; using ModernSlavery.Core.Extensions; using ModernSlavery.WebUI.Shared.Interfaces; namespace ModernSlavery.WebUI.Shared.Classes.Attributes { [AttributeUsage(AttributeTargets.Class | A...
35.707317
119
0.703552
[ "MIT" ]
UKHomeOffice/Modern-Slavery-Alpha
ModernSlavery.WebUI.Shared/Classes/Attributes/PreventDuplicatePost.cs
1,466
C#
using System; using System.Linq; using System.Xml.Linq; using UnityEditor; using UnityEngine; using UnityEngine.Tilemaps; #if UNITY_2020_2_OR_NEWER using AssetImportContext = UnityEditor.AssetImporters.AssetImportContext; #else using AssetImportContext = UnityEditor.Experimental.AssetImporters.AssetImportContext; #en...
35.545455
165
0.604859
[ "MIT" ]
AtriusHomelandInvasion/SuperTiled2Unity
SuperTiled2Unity/Assets/SuperTiled2Unity/Scripts/Editor/Importers/TiledAssetImporter.cs
7,040
C#
using System; using System.Diagnostics; using System.Threading; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Ray.BiliBiliTool.Console; using Ray.BiliBiliTool.Infrastructure; using Ray.Serilog.Sinks.CoolPushBatched; using Ray.Serilog.Sinks.MicrosoftTeamsBatched; using Ray.Se...
27.809524
88
0.690068
[ "MIT" ]
1040302/BiliBiliToolPro
test/LogTest/TestMicrosoftTeams.cs
1,170
C#
using Citron.Collections; using Pretune; using System.Collections.Generic; using M = Citron.CompileTime; namespace Citron.Analysis { public class FuncDict { public static FuncDict<TFuncDeclSymbol> Build<TFuncDeclSymbol>(ImmutableArray<TFuncDeclSymbol> funcDecls) where TFuncDeclSy...
36.027778
131
0.585197
[ "MIT" ]
ioklo/citron
Src/Analysis.Symbol/Misc/FuncDict.cs
2,632
C#
using System; namespace DesignPatterns.BridgePattern.Example2 { public class Pearl : IMaterial { public void Activate() { Console.WriteLine("添加珍珠"); } public void Deactivate() { Console.WriteLine("去除珍珠"); } } }
17.411765
47
0.533784
[ "MIT" ]
xiangxingxing/C-Sharp-Algorithms-xx
DesignPatterns/BridgePattern/Example2/Pearl.cs
312
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Remotion.Linq.Clauses; using RomanticWeb.Entities; using RomanticWeb.Linq.Expressions; using RomanticWeb.Linq.Model; using RomanticWeb.Mapping; using RomanticWeb.Mapping.Model; using RomanticWeb.Vocabularies; namespace R...
46.713004
195
0.573486
[ "BSD-3-Clause" ]
alien-mcl/RomanticWeb
RomanticWeb/Linq/QueryVisitorExtensions.cs
10,419
C#
namespace DesignPatterns.DDD.ValueObject { /// <summary> /// A class that pretends to create a value object for name. /// </summary> public sealed class Name { public Name(string firstName, string lastName) { FirstName = firstName; LastName = lastName; ...
28.0625
76
0.538419
[ "MIT" ]
mika-s/Misc
CSharp/DesignPatterns/DDD/ValueObject/Name.cs
1,798
C#
using UnityEngine; using System.Collections; public class PlayButton : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void OnClick() { Debug.Log("clicked"); } }
13.142857
41
0.626812
[ "Apache-2.0" ]
Vrixyz/AffinityQuiz
Client/Assets/Scripts/PlayButton.cs
278
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Bicep.Core.Parsing; namespace Bicep.Core.Syntax { public class NullLiteralSyntax : ExpressionSyntax { public NullLiteralSyntax(Token nullKeyword) { AssertTokenType(nullKeyword, nameof(nullKeyword), Toke...
26.652174
100
0.686786
[ "MIT" ]
Agazoth/bicep
src/Bicep.Core/Syntax/NullLiteralSyntax.cs
613
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Orneholm.RadioText.Core.Storage; namespace Orneholm.RadioText.Web.Controllers { public class EpisodeLister : IEpisodeLister { private readonly ISummaryStorage _summaryStorage; public EpisodeLister(ISummary...
40.179487
199
0.624761
[ "MIT" ]
PeterOrneholm/RadioText.net
src/Orneholm.RadioText.Web/Controllers/EpisodeLister.cs
3,134
C#
using System; using NServiceBus; using NServiceBus.Persistence; using Raven.Client.Document; class Program { static void Main() { Console.Title = "Samples.RavenDB.Server"; #region Config var busConfiguration = new BusConfiguration(); busConfiguration.EndpointNam...
29.511628
85
0.594169
[ "Apache-2.0" ]
foz1284/docs.particular.net
samples/ravendb/simple/Raven_3/Server/Program.cs
1,229
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 Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Microsoft.EntityFrameworkCore.Mode...
39.102041
119
0.640397
[ "Apache-2.0" ]
0b01/efcore
test/EFCore.SqlServer.Tests/ModelBuilding/SqlServerTestModelBuilderExtensions.cs
1,916
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Lab3.ViewModels { public class StudentCourseViewModel { public StudentViewModel StudentViewModel { get; set; } public CourseViewModel CourseViewModel { get; set; } public string SortKey { get...
24
62
0.702381
[ "MIT" ]
egnsh93/CST8256
Lab3/Lab3/ViewModels/StudentCourseViewModel.cs
338
C#
using System.ComponentModel.DataAnnotations; namespace GlobalLib.Models.V_IrpDB { public class tblCountyTW { [Key] public int ID { get; set; } public string County { get; set; } public string CountyEN { get; set; } public int List { get; set; } } }
21.642857
45
0.60066
[ "MIT" ]
LiuLyndon/ERPAPI
GlobalLib/Models/V_IrpDB/tblCountyTW.cs
305
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
34.160131
145
0.571319
[ "MIT" ]
alastairtree/squidex
backend/tests/Squidex.Domain.Apps.Entities.Tests/Schemas/Indexes/SchemasIndexTests.cs
10,455
C#
using System.Linq; using FluentValidation; using SmartStore.Admin.Models.DataExchange; using SmartStore.Services.DataExchange.Csv; using SmartStore.Services.Localization; namespace SmartStore.Admin.Validators.DataExchange { public partial class CsvConfigurationValidator : AbstractValidator<CsvConfigurationModel> { ...
37.714286
96
0.757576
[ "MIT" ]
jenmcquade/csharp-snippets
SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Administration/Validators/DataExchange/CsvConfigurationValidator.cs
1,322
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace FibaroDotNetSDK.VirtualDevices.Model { public partial class VirtualDevice { [JsonProperty("id")] public long Id { get; set; } [JsonProperty("name")] public string Name { get; set; } [JsonProperty("room...
25.298246
56
0.57975
[ "MIT" ]
zhouji0212/FibaroDotNET
src/FibaroDotNetSDK/VirtualDevices/Model/VirtualDevice.cs
1,444
C#
// UiSon, by Cameron Gale 2021 using System; using System.Reflection; namespace UiSon.Extension { public static partial class ExtendMemberInfo { /// <summary> /// Gets the type of the member /// </summary> public static Type GetUnderlyingType(this MemberInfo member) { ...
28.193548
68
0.530892
[ "MIT" ]
knackname/UiSon
UiSon.Extension/MemberInfo/GetUnderlyingType.cs
876
C#
// Copyright (c) 2011 Morten Bakkedal // This code is published under the MIT License. using System; using System.Collections.Generic; using FuncLib.Functions.Compilation; namespace FuncLib.Functions { /// <summary> /// Represents a mathematical function. Any function must derive from this class. Also includes a ...
28.493213
144
0.707956
[ "MIT" ]
lionpeloux/FuncLib
src/FuncLib/Functions/Function.cs
6,299
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysis.CSharp.Completion.Providers; using Microsoft.CodeAnalysis...
27.683461
229
0.579822
[ "Apache-2.0" ]
JieCarolHu/roslyn
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/XmlDocumentationCommentCompletionProviderTests.cs
25,277
C#
using Melville.Pdf.LowLevel.Model.ContentStreams; using Melville.Pdf.LowLevel.Writers.ContentStreams; using Melville.Pdf.ReferenceDocuments.Graphics; namespace Melville.Pdf.ReferenceDocuments.Text; public abstract class TextAttributeTest : Card3x5 { protected TextAttributeTest(string helpText) : base (helpText) ...
27.10559
115
0.705775
[ "MIT" ]
DrJohnMelville/Pdf
Src/Melville.Pdf.ReferenceDocuments/Text/TextAttributeTest.cs
4,366
C#
namespace EstateSocialSystem.Web.Infrastructure.Mapping { public interface IMapTo<T> where T : class { } }
16
56
0.65625
[ "MIT" ]
Georgegig/EstateSocialSystem
Source/EstateSocialSystem/EstateSocialSystem.Web.Infrastructure/Mapping/IMapTo.cs
130
C#
/************************************************************************************** Toolkit for WPF Copyright (C) 2007-2019 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/mas...
28.552632
102
0.623041
[ "MIT" ]
O-Debegnach/Supervisor-de-Comercio
wpftoolkit-master/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Chart/Views/ChartStylingLineSeriesView.xaml.cs
1,087
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("AWSSDK.MQ")] [assembly: AssemblyDescriptio...
48.0625
273
0.749675
[ "Apache-2.0" ]
Murcho/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/MQ/Properties/AssemblyInfo.cs
1,538
C#
// ----------------------------------------------------------------------- // <copyright file="RemoteProcess.cs" company="Asynkron HB"> // Copyright (C) 2015-2018 Asynkron HB All rights reserved // </copyright> // ----------------------------------------------------------------------- namespace Proto.R...
30.5
91
0.446721
[ "Apache-2.0" ]
Impetus-Global-Research/protoactor-dotnet
src/Proto.Remote/RemoteProcess.cs
1,220
C#
#region Copyright (c) 2014 Orcomp development team. // ------------------------------------------------------------------------------------------------------------------- // <copyright file="PrivateFieldRenameRewriter.cs" company="Orcomp development team"> // Copyright (c) 2014 Orcomp development team. All rights r...
30.545455
119
0.695437
[ "MIT" ]
Orcomp/SolutionValidator
src/SolutionValidator.Core/Validator/CodeInspection/Refactoring/Visitors/RenamePrivateFieldsRewriter.cs
3,026
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.IO; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Newtonsoft.Json; using NuGet.Common; namespace NuGet.Build.Ta...
29.595745
111
0.609633
[ "Apache-2.0" ]
BdDsl/NuGet.Client
src/NuGet.Core/NuGet.Build.Tasks/GetRestoreProjectJsonPathTask.cs
1,393
C#
/******************************************************************** * * PROPRIETARY and CONFIDENTIAL * * This file is licensed from, and is a trade secret of: * * AvePoint, Inc. * Harborside Financial Center * 9th Fl. Plaza Ten * Je...
34.8
95
0.48241
[ "MIT" ]
AvePoint/FLY-Migration
WebAPI/CSharp/FLY 4.5/FLY/Exchange/AddExchangePlan.cs
5,746
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 Clinic_Full { public partial class frmDelPat : DevComponents.DotNetBar.OfficeForm { ...
36.915254
153
0.551653
[ "MIT" ]
realQu1ck/Clinic
src/Clinic_Full/Clinic_Full/frmDelPat.cs
4,477
C#
// *********************************************************************** // Assembly : MPT.CSI.API // Author : Mark Thomas // Created : 06-13-2017 // // Last Modified By : Mark Thomas // Last Modified On : 10-08-2017 // **********************************************************************...
36.03125
81
0.496097
[ "MIT" ]
MarkPThomas/MPT.Net
MPT/CSI/API/MPT.CSI.API/Core/Program/ModelBehavior/IChangeableCableModifiers.cs
1,156
C#
#if !DISABLE_REACTIVE_UI using ReactiveUI; #endif using System; using System.Collections.Generic; using System.Linq; using GitHub.Collections; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Threading; using NUnit.Framework; using System.Reactive; using System.Threading.Tasks; using System.Re...
30.515192
166
0.536951
[ "MIT" ]
ptoninato/VisualStudio
test/TrackingCollectionTests/TrackingCollectionTests.cs
68,295
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 15.06.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
31.846154
361
0.563147
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/Equal/Complete/NullableByte/NullableByte/TestSet_001__fields__04__NN.cs
5,798
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. // // Generated on 2020 October 09 04:46:29 UTC // </auto-generated> //--------------...
43.792683
449
0.612364
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/runtime/mcache_mcacheStruct.cs
3,591
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Test { using System; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Devices.Edge.Test.Common; using Microsoft.Azure.Devices.Edge.Test.Comm...
38.793388
139
0.517363
[ "MIT" ]
hiroyha1/iotedge
test/Microsoft.Azure.Devices.Edge.Test/Device.cs
9,388
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameOverManager : MonoBehaviour { private void Awake() { Messenger.AddListener (GameEvent.DOOR_MOVED, OnDoorMoved); } private void OnDestroy() { Messenger.RemoveListener (GameEvent.D...
23.130435
68
0.759398
[ "MIT" ]
milkdoes/solitudeApp
Assets/main/scripts/GameOverManager.cs
534
C#