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
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.Diagnostics.Tracing; namespace Microsoft.Practices.EnterpriseLibrary.SemanticLogging.OutProc.Tests.TestObjects { public sealed class TestEventSource : EventSource { p...
41.209302
122
0.694695
[ "Apache-2.0" ]
Meetsch/semantic-logging
BVT/SLAB.Tests/SemanticLogging.OutProc.Tests/TestObjects/TestEventSource.cs
1,774
C#
using System; using System.Collections.Generic; using ESFA.DC.ILR.Model.Interface; using ESFA.DC.ILR.Tests.Model; using ESFA.DC.ILR.ValidationService.Interface; using ESFA.DC.ILR.ValidationService.Rules.LearningDelivery.CompStatus; using ESFA.DC.ILR.ValidationService.Rules.Tests.Abstract; using FluentAssertions; using...
36.49115
143
0.587608
[ "MIT" ]
SkillsFundingAgency/DC-ILR-2021-ValidationService
src/ESFA.DC.ILR.ValidationService.Rules.Tests/LearningDelivery/CompStatus/CompStatus_07RuleTests.cs
8,249
C#
/* ============================================================================ Namespace Name: WizardWrx.DLLServices2 Class Name: SysDateFormatters File Name: SysDateFormatters.cs Synopsis: This class implements my stalwart ReformatSysDate_P6C ...
46.792732
242
0.557109
[ "BSD-3-Clause" ]
txwizard/DLLServices2
DLLServices2/SysDateFormatters.cs
34,769
C#
namespace PatniListi.Services.Data { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using PatniListi.Data.Common.Repositories; using PatniListi.Data.Models; ...
34.380165
258
0.505649
[ "MIT" ]
deedeedextor/PatniListi
Services/PatniListi.Services.Data/CarsService.cs
8,350
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { ...
43.935691
367
0.47885
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SapOpenHubLinkedService.Serialization.cs
13,664
C#
/* * Copyright 2018 JDCLOUD.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 required by applicable law or agreed to in...
24.916667
76
0.68311
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Live/Apis/CloseLiveRestartRequest.cs
1,226
C#
using System.Collections.Generic; using System.Windows.Media; namespace HandyControl.Tools.Extension; /// <summary> /// Color extension class /// </summary> public static class ColorExtension { /// <summary> /// Convert color to decimal representation (rgb order is reversed) /// </summary> /...
26.636364
97
0.608646
[ "MIT" ]
Muzsor/HandyControls
src/Shared/HandyControl_Shared/Tools/Extension/ColorExtension.cs
881
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 n...
39.414634
111
0.731436
[ "Apache-2.0" ]
sriksun/ExpressionEvaluator
ExpressionEvaluator/Transformer/CastExpressionTransformer.cs
1,618
C#
namespace System.Net.Http { public sealed class HttpListenerResponseHeaders : HttpListenerHeaders { private HttpListenerHeaderValueCollection<string> contentEncoding; private Uri location; public HttpListenerResponseHeaders(HttpListenerResponse response) { Response ...
28.479167
187
0.498903
[ "Unlicense" ]
sassembla/LocalHttpFileServer
HttpListener/System.Net.Http.HttpListener/HttpListenerResponseHeaders.cs
1,369
C#
namespace Dadata { public class ProfileClient : ProfileClientSync { public ProfileClient(string token, string secret, string baseUrl = BASE_URL) : base(token, secret, baseUrl) { } } }
25.625
119
0.687805
[ "MIT" ]
AristarkhLetskin/dadata-csharp
Dadata/ProfileClient.cs
207
C#
using System; using Thuria.Helium.Core; namespace Thuria.Helium.Akka.Messages { /// <summary> /// Helium Execute SQL Query Message /// </summary> public class HeliumExecuteSqlQueryMessage : HeliumStatefulMessage { /// <summary> /// Helium Execute SQL Query Message Constructor /// </summary> ...
30.069767
111
0.662026
[ "Apache-2.0" ]
DracoRSA/Thuria.Helium
src/Thuria.Helium.Akka/Messages/HeliumExecuteSqlQueryMessage.cs
1,295
C#
/* * eZmax API Definition (Full) * * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.7 * Contact: support-api@ezmax.ca * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.IO; using Syste...
38.083333
160
0.690494
[ "MIT" ]
ezmaxinc/eZmax-SDK-csharp-netcore
src/eZmaxApi.Test/Api/ObjectEzsigntemplatepackagesignerApiTests.cs
4,113
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using VRTK; public class ControllerHaptics : MonoBehaviour { public GameObject LeftController; public GameObject RightController; public float strength = 0.5f; public float duration = 1f; public float pulseInterval = ...
28
155
0.715633
[ "MIT" ]
Vytek/EveryDayIsHalloween
Assets/Scripts/ControllerHaptics.cs
1,486
C#
// !! FChecksum: 0C4A49E6DAF084B90DB86D1713572953E54EA612726E9C57035FC4A86045F6F292AC41474D7D19E9DCEA5C5CCCE0223FDF65F95BCBA3D646DDC42CDE4DA77ED7 //Official Location: https://github.com/andreboe/PubCode/blob/main/PubCode.Robocopy_v1.cs //DO NOT MODIFY. THIS FILE IS FROZEN. IF NEED BE, A NEW STANDALONE VERSION WIL...
46.712121
322
0.500649
[ "Unlicense" ]
andreboe/PubCode
PubCode.Robocopy_v1.cs
18,498
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 13.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
31.225166
151
0.57667
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/LessThan/Complete/NullableTimeOnly/NullableTimeOnly/TestSet_001__fields__01__VV.cs
4,717
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RoadCollider : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
14.411765
43
0.702041
[ "MIT" ]
Benny93/TestRun
Assets/Scripts/Environment/RoadCollider.cs
247
C#
namespace Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific { using FormsElement = Maui.Controls.Application; public enum WindowSoftInputModeAdjust { Pan, Resize, Unspecified } public static class Application { public static readonly BindableProperty WindowSoftInputModeAdjustProperty = Bi...
33.05
196
0.83056
[ "MIT" ]
3DSX/maui
src/Controls/src/Core/PlatformConfiguration/AndroidSpecific/Application.cs
1,322
C#
using System; using System.Collections.Generic; using System.Text; using Jeelu.SimplusD; namespace Jeelu.SimplusPagePreviewer { static public class ActiveTmpltAndSnip { static Dictionary<string, TmpltXmlDocument> _activeTmpltDictionary; static Dictionary<string, SnipXmlElement> _activeSnipDictio...
28.595745
83
0.55506
[ "Apache-2.0" ]
xknife-erian/nknife.jeelusrc
NKnife.App.WebsiteBuilder/Simplus.AppTools/Simplus.PagePreviewer/Service/ActiveTmpltAndSnip.cs
2,870
C#
using System; using System.Dynamic; namespace NConstrictor { public class PyDynamic : DynamicObject { private PyObject _pyObject; public PyDynamic(PyObject pyObject) { _pyObject = pyObject; } // メンバ呼び出し public override bool TryInvokeMember(InvokeMe...
30.284404
105
0.485005
[ "Apache-2.0" ]
harujoh/NConstrictor
NConstrictor/PyDynamic.cs
3,411
C#
using System; using System.Threading.Tasks; using Coravel.Events.Interfaces; namespace UnitTests.Events.EventsAndListeners { public class TestListener2ForEvent1 : IListener<TestEvent1> { private Action _a; public TestListener2ForEvent1(Action a){ this._a = a; } publ...
22.8
63
0.633772
[ "MIT" ]
Blinke/coravel
Src/UnitTests/CoravelUnitTests/Events/EventsAndListeners/TestListener2ForEvent1.cs
456
C#
using CleanArchitecture.Application.UnitTests.Common; using CleanArchitecture.Application.Families.Commands.UpdateFamily; using Shouldly; using Xunit; namespace CleanArchitecture.Application.UnitTests.Families.Commands.UpdateFamily { public class UpdateFamilyCommandValidatorTests : CommandTestBase { [...
29.755556
80
0.608663
[ "MIT" ]
dkm8923/WeddingAppCore
tests/Application.UnitTests/Families/Commands/UpdateFamily/UpdateFamilyCommandValidatorTests.cs
1,341
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...
32.462264
111
0.611741
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20190901/Outputs/P2SVpnGatewayResponse.cs
3,441
C#
#region Header // --------------------------------------------------------------------------------- // <copyright file="PurchaseOKMessageComposer.cs" company="https://github.com/sant0ro/Yupi"> // Copyright (c) 2016 Claudio Santoro, TheDoctor // </copyright> // <license> // Permission is hereby granted, free of ch...
39.301887
92
0.652424
[ "MIT" ]
TheDoct0r11/Yupi
Yupi.Messages/Composer/Catalog/PurchaseOKMessageComposer.cs
2,085
C#
namespace Admin.Core.Service { public abstract class IBaseService { } }
13.285714
38
0.602151
[ "MIT" ]
Twtcer/Admin.Core
Admin.Core.Service/Base/IBaseService.cs
95
C#
using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Service.Core.Client.Services; using Service.UserTokenAccount.Domain.Models; using Service.UserTokenAccount.Grpc; using Service.UserTokenAccount.Grpc.Models; using Service.UserTokenAccount.Mappers; using S...
34.040816
179
0.78717
[ "MIT" ]
MyJetEducation/Service.UserTokenAccount
src/Service.UserTokenAccount/Services/UserTokenAccountService.cs
3,338
C#
using System.Data; using Microsoft.SqlServer.TransactSql.ScriptDom; namespace Dibix.Sdk.CodeGeneration { public sealed class ExecStoredProcedureSqlStatementFormatter : SqlStatementFormatter, ISqlStatementFormatter { protected override FormattedSqlStatement Format(SqlStatementDescriptor statemen...
46.5
223
0.821505
[ "Apache-2.0" ]
Serviceware/Dibix
src/Dibix.Sdk/CodeGeneration/Formatter/ExecStoredProcedureSqlStatementFormatter.cs
467
C#
using System; using System.Reflection; namespace VBScriptTranslator.RuntimeSupport.Implementations { public static class MissingMemberException_Extensions { public static bool RelatesTo(this MissingMemberException source, Type type, string memberNameIfAny) { if (source == ...
58
172
0.608621
[ "MIT" ]
Magicianred/vbscripttranslator
RuntimeSupport/Implementations/MissingMemberException_Extensions.cs
2,322
C#
namespace Nibbles.Utils { internal enum TerminalFormatting { None = 0, BoldBright = 1, Underline = 4, Negative = 7, NoUnderline = 24, NoNegative = 27, ForegroundBlack = 30, ForegroundRed = 31, ForegroundGreen = 32, Foregro...
16.023256
38
0.575472
[ "MIT" ]
kpreisser/Nibbles
Nibbles/Utils/TerminalFormatting.cs
1,380
C#
namespace Swashbuckle.AspNetCore.SwaggerGen.Test { public class FakeControllers { public class NotAnnotated {} [SwaggerOperationFilter(typeof(VendorExtensionsOperationFilter))] public class AnnotatedWithSwaggerOperationFilter {} /// <summary> /// summar...
23.444444
73
0.627962
[ "MIT" ]
devbrsa/Swashbuckle.AspNetCore
test/Swashbuckle.AspNetCore.SwaggerGen.Test/TestFixtures/Fakes/FakeControllers.cs
424
C#
using System; namespace PoshCode.Pansies.ColorSpaces.Comparisons { /// <summary> /// Implements the Cie94 method of delta-e: http://en.wikipedia.org/wiki/Color_difference#CIE94 /// </summary> public class Cie94Comparison : IColorSpaceComparison { /// <summary> /// Application type ...
32.929293
110
0.50184
[ "MIT" ]
Jaykul/Pansies
Source/Assembly/ColorSpaces/Comparisons/Cie94Comparison.cs
3,262
C#
using CommandLine; namespace SeedCacheFromListOfUkprns { public class CommandLineOptions { [Option('p', "path", Required = true, HelpText = "Path to file with list of UKPRNs")] public string Path { get; set; } [Option('u', "ukrlp-url", Required = true, HelpText = "Url of UKRLP ...
39.666667
109
0.606909
[ "MIT" ]
DFE-Digital/spi-ukrlp-adapter
src/SeedCacheFromListOfUkprns/CommandLineOptions.cs
1,071
C#
namespace Nancy.Core.Http { using System; using System.Diagnostics; [DebuggerDisplay("{ToString(), nq}")] public partial struct MediaType : IEquatable<MediaType> { private MediaType(string value) { this.Value = value; } public string Value { get; } ...
24.8125
94
0.559194
[ "Apache-2.0" ]
khellang/nancy-bootstrapper-prototype
src/Nancy.Core/Http/MediaType.cs
1,590
C#
namespace MyProject.Authorization { public static class PermissionNames { public const string Pages_Tenants = "Pages.Tenants"; public const string Pages_Users = "Pages.Users"; public const string Pages_Roles = "Pages.Roles"; public const string Pages_PhoneBook = "Pages.PhoneB...
30.3
90
0.719472
[ "MIT" ]
mangelsr/ASP.NET-Boilerplate-template
aspnet-core/src/MyProject.Core/Authorization/PermissionNames.cs
608
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("2....
38.72973
84
0.745987
[ "MIT" ]
shopOFF/Telerik-Academy-Courses
CSharp-Part-2/C#2 Homeworks & Exams/TelerikExamCSharp2/2.DancingMoves(Batman returns)/Properties/AssemblyInfo.cs
1,436
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. // Sourced from https://github.com/dotnet/core-setup/tree/be8d8e3486b2bf598ed69d39b1629a24caaba45e/tools-local/tasks, needs to be kept in sync using Sy...
38.015504
150
0.593597
[ "Apache-2.0" ]
akrisiun/AspNetCore
build/tasks/ProcessSharedFrameworkDeps.cs
4,904
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
46.675916
344
0.575009
[ "MIT" ]
Bhaskers-Blu-Org2/Partner-Center-PowerShell
src/Billing/BillingProfilesOperations.cs
42,055
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Microsoft.Azure.Graph.RBAC { using System; using System.Collections.Generic; using System.Linq; internal stati...
52.021277
297
0.675665
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/Graph.RBAC/Graph.RBAC/Generated/SdkInfo_GraphRbacManagementClient.cs
2,445
C#
namespace BookShop.Server.Common.Models.Books { using System.ComponentModel.DataAnnotations; using AutoMapper; using Data.Models; using Data.Models.Enums; using Mappings.Contracts; public class AddBookRequestModel : IMapFrom<Book>, IHaveCustomMappings { [StringLength(50, MinimumLen...
28.222222
80
0.617126
[ "MIT" ]
IvayloKodov/My-Projects
BookShop/Server/BookShop.Server.Common/Models/Books/AddBookRequestModel.cs
1,018
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml; namespace ProjectManager.Projects { public class ProjectReader : XmlTextReader { protected int version; public ProjectReader(string filename, Project project) : base(new FileStream...
34.920354
161
0.486569
[ "MIT" ]
YellowAfterlife/flashdevelop
External/Plugins/ProjectManager/Projects/ProjectReader.cs
7,667
C#
/* Copyright 2018 Nils Kopal <Nils.Kopal<AT>Uni-Kassel.de> 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 appl...
35.736677
123
0.579912
[ "Apache-2.0" ]
CrypToolProject/CrypTool-2
LibSource/VoluntLib2/Tools/CertificateService.cs
11,402
C#
using Microsoft.Azure.Functions.Extensions.DependencyInjection; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Hosting; using Microsoft.Extensions.DependencyInjection; using SampleFunctions._02_InputBindings.Binding; using SampleFunctions.Di; [assembly: FunctionsStartup(typeof(SampleFunctions.Startup))]...
27.774194
69
0.703833
[ "MIT" ]
ckittel/Azure-Functions-Samples
SampleFunctions/Startup.cs
863
C#
namespace Mallet.Shell.Forms { partial class SettingsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
47.336449
163
0.611056
[ "BSD-3-Clause" ]
jspicer-code/mallet
Mallet.Shell/Forms/SettingsForm.Designer.cs
5,067
C#
using PipServices3.Commons.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PipServices.Templates.Facade.Clients.Version1 { public class SessionsMemoryClientV1 : ISessionsClientV1 { public List<SessionV1> _sessions = new List<Sessi...
26.469136
160
0.722015
[ "MIT" ]
pip-templates/pip-templates-facada-dotnet
src/Client/Clients/Version1/SessionsMemoryClientV1.cs
2,146
C#
// Project: Aguafrommars/TheIdServer // Copyright (c) 2022 @Olivier Lefebvre using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using System; using System.Globalization; using IO = System.IO; namespace Aguacongas.IdentityServer.Admin { /// <summary> /// Welcome fragment controller /// </s...
36.163934
140
0.598821
[ "Apache-2.0" ]
LibertyEngineeringMovement/TheIdServer
src/IdentityServer/Aguacongas.IdentityServer.Admin/WelcomeFragmentController.cs
2,208
C#
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using Newtonsoft.Json; using WubbyCorp.Extensions; using WubbyCorp.GameData; namespace WubbyCorp.CustomControls { [JsonObject(MemberSerialization.OptIn)] public partial class Company : UserControl { public C...
41.163934
234
0.566866
[ "Unlicense" ]
Xathz/WubbyCorp
WubbyCorp/CustomControls/Company.cs
12,557
C#
using System; using System.Collections.Generic; using UnityEngine.Assertions; namespace EZAddresser.Editor.Foundation.Observable { /// <summary> /// Subject. /// </summary> /// <typeparam name="T"></typeparam> internal class Subject<T> : IObserver<T>, IObservable<T> { private reado...
25.825243
103
0.502632
[ "MIT" ]
Haruma-K/EZAddresser
Packages/com.harumak.ezaddresser/Editor/Foundation/Observable/Subject.cs
2,662
C#
using System.Collections.Generic; namespace Pims.Tools.Core.Keycloak.Models { /// <summary> /// ProtocolMapperModel class, provides a model to represent a keycloak protocol mapper. /// </summary> public class ProtocolMapperModel { #region Properties /// <summary> /// get/set...
27.555556
92
0.550806
[ "Apache-2.0" ]
Bruce451/PIMS
tools/core/Keycloak/Models/ProtocolMapperModel.cs
1,240
C#
using System; using System.Reflection; namespace AspNetIdentityWebAPIDemo.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
22.416667
67
0.762082
[ "Apache-2.0" ]
RyanPan/CodeBook
src/AspNetIdentityWebAPIDemo/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
269
C#
using System; using System.Collections.Generic; using System.Threading; using System.Linq; using RelaSharp.CLR; namespace RelaSharp.Examples { class SingleCounterReadIndicator : IRelaExample { class ReadIndicator { private CLRAtomicLong _numReaders; public void Arrive()...
25.021277
99
0.519558
[ "MIT" ]
nicknash/RelaSharp
Examples/CLR/SingleCounterReadIndicator.cs
2,352
C#
using System; public delegate R Function<R>(); public struct GenStruct<T> { } public class Gen<T> { public GenStruct<T> delFunc() { return default(GenStruct<T>); } public object makeDel() { return new Function<GenStruct<T>>(delFunc); } } public class main { public static...
14.8
51
0.56982
[ "MIT" ]
belav/runtime
src/mono/mono/tests/generic-delegate-ctor.2.cs
444
C#
using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Domain { /// <summary> /// PaymentAbilityQueryResponse Data Structure. /// </summary> public class PaymentAbilityQueryResponse : AlipayObject { /// <summary> /// 附加信息,json格式字符串。暂时包含信息:是否是支付宝钱包用户,是否是数字娱乐行业活跃用户。 ...
25.344828
59
0.571429
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Domain/PaymentAbilityQueryResponse.cs
857
C#
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Sheng.SailingEase.Kernal; names...
36.333333
114
0.634862
[ "MIT" ]
ckalvin-hub/Sheng.Winform.IDE
SourceCode/Source/Core/Entity/UIElement/DataList/UIElementDataListColumnEntityTypes.cs
1,138
C#
sealed class LiteralToken : Token { public LiteralToken(object value) : base(null, TokenType.Literal) { _value = value; } public override string Text { get { return _value.ToString(); } } public object Value { get { return _v...
16.173913
39
0.532258
[ "MIT" ]
gsscoder/exprengine
src/ExpressionEngine/Parser/LiteralToken.cs
374
C#
using System.Collections.Generic; using Alipay.AopSdk.Core.Response; namespace Alipay.AopSdk.Core.Request { /// <summary> /// AOP API: alipay.acquire.cancel /// </summary> public class AlipayAcquireCancelRequest : IAopRequest<AlipayAcquireCancelResponse> { /// <summary> /// 操作员ID。 /// </summary> p...
18.956835
84
0.686528
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk.Core/Request/AlipayAcquireCancelRequest.cs
2,827
C#
using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using System; namespace Xamarin.Android.Tasks { /// <summary> /// This task splits a property into an item group, considering the following delimiters: /// ; - MSBuild default /// , - Historically supported by Xamarin.Android /// </summary> publi...
22.166667
90
0.673684
[ "MIT" ]
06051979/xamarin-android
src/Xamarin.Android.Build.Tasks/Tasks/SplitProperty.cs
667
C#
using Docker.DotNet; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; namespace YS.Docker.Impl.Dotnet { public class ServiceLoader : IServiceLoader { public void LoadServices(IServiceCollection services, IConfiguration configuration) { ...
31.142857
92
0.671254
[ "MIT" ]
yscorecore/YS.Docker
YS.Docker.Impl.Dotnet/ServiceLoader.cs
656
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.Diagnostics; namespace System.Collections.Generic { internal sealed class ICollectionDebugView<T> ...
26.285714
71
0.583696
[ "MIT" ]
er0dr1guez/corefx
src/System.Collections/src/System/Collections/Generic/ICollectionDebugView.cs
920
C#
using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using PizzaBox.Domain.Abstracts; using PizzaBox.Domain.Models; namespace PizzaBox.Storage { public class PizzaBoxContext : DbContext { public PizzaBoxContext(DbContextOptions<PizzaBoxContext...
38.382022
91
0.537471
[ "MIT" ]
Saixah/p1
aspnet/PizzaBox.Storage/PizzaBoxContext.cs
3,416
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Fx.Portability.ObjectModel; using Microsoft.Fx.Portability.Proxy; using Microsoft.Fx.Portability.Resources; using System; using System.Collections.Gene...
40.910995
146
0.645636
[ "MIT" ]
G-Research/dotnet-apiport
src/lib/Microsoft.Fx.Portability/ApiPortService.cs
7,816
C#
using System; using Robust.Shared.Analyzers; using Robust.Shared.Audio.Midi; using Robust.Shared.GameObjects; using Robust.Shared.GameStates; using Robust.Shared.Serialization; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.ViewVariables; namespace Content.Shared.Instruments; [NetworkedComp...
27.823009
180
0.719148
[ "MIT" ]
Antares-30XX/Antares
Content.Shared/Instruments/SharedInstrumentComponent.cs
3,144
C#
using Nuki.Communication.API; using Nuki.Communication.SemanticTypes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nuki.Communication.Connection.Bluetooth.Commands.Response { public class RecieveConfigCommand : RecieveBaseCommand, ...
53.414141
124
0.619138
[ "Apache-2.0" ]
BoBiene/Nuki
Nuki.Communication/Connection/Bluetooth/Commands/Response/RecieveConfigCommand.cs
5,387
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using GraphQL; using Indico.Exception; using Indico.Jobs; using Indico.Storage; using Newtonsoft.Json.Linq; namespace Indico.Mutation { [Obsolete("This is the V1 Version of the o...
33.763359
112
0.52747
[ "MIT" ]
IndicoDataSolutions/indico-client-csharp
Indico/Mutation/DocumentExtraction.cs
4,425
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using shoppinstore.Models; using shoppinstore.Persistence; namespace shoppinstore.Repository { public interface IOrderRepository:IRepository<Order> { void AddRanges(IEnumerable<Order> en...
28.416667
67
0.727273
[ "Apache-2.0" ]
bakido/shoppinstore
shoppinstore/Repository/IOrderRepository.cs
684
C#
/* * Copyright 2020 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 "licens...
35.988235
153
0.680941
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/InvocationDoesNotExistExceptionUnmarshaller.cs
3,059
C#
using System.Collections.Generic; using System.Linq; using PizzaBox.Domain.Abstracts; namespace PizzaBox.Domain.Models { public class Order : AModel { public Customer Customer { get; set; } public AStore Store { get; set; } public APizza Pizza { get; set; } public double TotalCo...
30.142857
123
0.661137
[ "MIT" ]
MrJJLand/project_pizzabox
PizzaBox.Domain/Models/Order.cs
422
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namesp...
26.452703
125
0.547382
[ "MIT" ]
Jameak/ImageDownloader
src/UI/ThreadsafeObservableStringCollection.cs
3,917
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.open.servicemarket.commodity.shop.offline /// </summary> public class AlipayOpenServicemarketCommodityShopOfflineRequest : IAopRequest<AlipayOpenSe...
24.019802
134
0.617477
[ "MIT" ]
erikzhouxin/CSharpSolution
OSS/Alipay/F2FPayDll/Projects/alipay-sdk-NET20161213174056/Request/AlipayOpenServicemarketCommodityShopOfflineRequest.cs
2,438
C#
using KeyManagement.Repository.Entities; using Microsoft.EntityFrameworkCore; namespace KeyManagement.Repository { public class DataContext : DbContext { public DataContext(DbContextOptions<DataContext> options) : base(options) { } public DbSet<Key> Keys { get; set; } ...
25.058824
81
0.661972
[ "Apache-2.0" ]
scottjones4k/keymanagement
KeyManagement.Repository/DataContext.cs
428
C#
using pbrt.Core; using pbrt.Films; using pbrt.Media; namespace pbrt.Cameras { public class OrthographicCamera : ProjectiveCamera { public Vector3F DxCamera { get; set; } public Vector3F DyCamera { get; set; } public OrthographicCamera(Transform cameraToWorld, Bounds2F screenWindow, ...
40.153061
135
0.563659
[ "Unlicense" ]
fremag/pbrt
pbrt/pbrt/Cameras/OrthographicCamera.cs
3,935
C#
// Copyright © 2015 - Present RealDimensions Software, LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
35.357143
196
0.672727
[ "Apache-2.0" ]
chocolatey/package-validator
src/chocolatey.package.validator/infrastructure.app/rules/IconUrlValidRequirement.cs
1,488
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CreateBlock { public Mesh blockMesh; private CreateChunk chunk; // thoughts /* - find all top blocks after first chunk data pass - determine which blocks are subject to have a smoothed block add...
61.162791
210
0.706844
[ "Apache-2.0" ]
rambo5x/Senior-Project
SeniorProject3D/Assets/Scripts/Generation/CreateBlock.cs
2,630
C#
#region license // Copyright (c) 2020 rubicon IT GmbH, www.rubicon.eu // Copyright (c) 2005 - 2009 Ayende Rahien (ayende@ayende.com) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // ...
32.376518
143
0.578717
[ "BSD-3-Clause" ]
rubicon-oss/CoreRhinoMocks
Rhino.Mocks.Tests/MockingDelegatesTests.cs
7,999
C#
using System.Reflection; namespace Totem.Timeline.Area { /// <summary> /// A method observing an event within a <see cref="Flow"/> /// </summary> public abstract class FlowMethod { internal FlowMethod(MethodInfo info, EventType eventType) { Info = info; EventType = eventType; } p...
20.947368
61
0.670854
[ "MIT" ]
AlexanderJohnston/Totem
src/Totem.Timeline/Area/FlowMethod.cs
398
C#
/************************************************************************************ Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved. Licensed under the Oculus VR Rift SDK License Version 3.3 (the "License"); you may not use the Oculus VR Rift SDK except in compliance with the License, which...
35.284672
150
0.702524
[ "MIT" ]
Reality-Virtually-Hackathon/Proxemix
Assets/OVR/Editor/OVRMoonlightLoader.cs
9,668
C#
namespace WebStore.Data.Configurations { using WebStore.Data.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; public class ApplicationUserConfiguration : IEntityTypeConfiguration<ApplicationUser> { public void Configure(EntityTypeBuilder<A...
29.970588
89
0.534838
[ "MIT" ]
MarinBalashkov/MyAspNetCoreProject_WebStore
Data/WebStore.Data/Configurations/ApplicationUserConfiguration.cs
1,021
C#
namespace Rollbar.Net.AspNet { using System; using System.Linq; using System.Web; using System.Web.Hosting; using Rollbar.Common; using Rollbar.Diagnostics; using Rollbar.DTOs; /// <summary> /// Class HttpResponsePackageDecorator. /// Implements the <see cref="Rollbar.RollbarPa...
40.982456
139
0.62393
[ "MIT" ]
rollbar/Rollbar.NET
Rollbar.Net.AspNet/HttpResponsePackageDecorator.cs
4,674
C#
using System.Linq; using System.Collections.Generic; using System.Threading.Tasks; using HelloWebApi.Contexts; using HelloWebApi.Models; using Microsoft.EntityFrameworkCore; namespace HelloWebApi.Repositories { public class ProductRepository : IProductRepository { private readonly NorthwindSlimContext ...
26.842105
64
0.584314
[ "MIT" ]
tonysneed/Kliant.AspNetCore-Angular
Exercises/08-Angular-CLI/08b_AngularWebApi/_AspNetWebApi/Repositories/ProductRepository.cs
1,530
C#
// Copyright (c) 2008-2020, Hazelcast, Inc. 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
39.247678
143
0.56851
[ "Apache-2.0" ]
mogatti/hazelcast-csharp-client
Hazelcast.Net/Hazelcast.Client.Spi/ClusterService.cs
12,677
C#
namespace LamarExample { public interface IPurchasingService { } }
11.285714
39
0.683544
[ "MIT" ]
pirocorp/ASP.NET-Core-Playground
02. ASP.NET Core In Action/Chapter19/E_LamarExample/LamarExample/Services/IPurchasingService.cs
79
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...
53.065217
582
0.64236
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ContainerService/V20200701/Outputs/ManagedClusterWindowsProfileResponse.cs
2,441
C#
namespace NewPizza.Migrations { using System; using System.Data.Entity.Migrations; public partial class Adres : DbMigration { public override void Up() { CreateTable( "dbo.Adres", c => new { Id =...
24.533333
68
0.383152
[ "MIT" ]
mfrkndmrl/mvcPizzaSiparis
NewPizza/Migrations/201705161312510_Adres.cs
736
C#
using UnityEngine; public static class StaticComponent { public static float currentSpeed; public static float GetCurrentSpeed() { return currentSpeed; } public static void SetCurrentSpeed(float speed) { currentSpeed = speed; } }
18.25
52
0.633562
[ "MIT" ]
XenMoros/Cerditos_Jugueteria
SuicideTeddy/Assets/Scripts/StaticComponent.cs
294
C#
/** * (C) Copyright IBM Corp. 2017, 2020. * * 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...
37.825949
360
0.517945
[ "Apache-2.0" ]
darkmatter2222/dotnet-standard-sdk
src/IBM.Watson.NaturalLanguageUnderstanding.v1/Test/Integration/NaturalLanguageUnderstandingIntegrationTests.cs
11,955
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> //----------------------------------------...
33.420455
84
0.517171
[ "MIT" ]
lurienanofab/sselindreports
sselIndReports/AggNNIN.aspx.designer.cs
2,943
C#
using System; namespace essentialMix.Web; [Flags] public enum XmlIndexMatchType : short { None = 0, Type = 1, Name = 1 << 1 }
11.818182
37
0.676923
[ "MIT" ]
asm2025/essentialMix
Standard/essentialMix/Web/XmlIndexMatchType.cs
130
C#
using Data.Model; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; namespace Data.Dao { public class ClassroomDao { public List<Classroom> FindAll() { using (var db = new DatabaseContext()) { return db.Classroo...
30.235294
112
0.466926
[ "MIT" ]
code10ftn/computer-center
Data/Dao/ClassroomDao.cs
3,086
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...
33.85
159
0.787297
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementOrStatementStatementByteMatchStatementFieldToMatchBodyArgs.cs
677
C#
using MyLittleShop.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyLittleShop.ViewModels { public class HomeViewModel { public IEnumerable<Item> ItemsOfTheWeek { get; set; } } }
19.214286
61
0.739777
[ "MIT" ]
krzysztofkobrenczuk/MyLittleShop
MyLittleShop/src/MyLittleShop/ViewModels/HomeViewModel.cs
271
C#
namespace NeoSharp.VM.NeoVM { public class InteropServiceAdapter : Neo.VM.IInteropService { /// <summary> /// Base service /// </summary> private readonly InteropService _service; /// <summary> /// This class is dependent of the ApplicationEngine, /// ...
31.894737
98
0.575083
[ "MIT" ]
corollari/neo-sharp
src/NeoSharp.VM.NeoVM/InteropServiceAdapter.cs
1,214
C#
using Qaelo.Data.AccommodationData; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Qaelo.Web.Users.Accommodation { public partial class Accommodation : System.Web.UI.MasterPage { protected...
31.904762
108
0.692537
[ "MIT" ]
ThabangSirrve/Qaelo
Qaelo/Qaelo/Web/Users/Accommodation/Accommodation.Master.cs
672
C#
namespace SyntSky.GoodGame.Api.V4.Emums; public enum GameGroupType { Game, Group }
12.285714
41
0.767442
[ "MIT" ]
SyntSky/GoodGame
SyntSky.GoodGame.Api.V4/Emums/GameGroupType.cs
88
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/mfcaptureengine.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System...
50.013333
259
0.682218
[ "MIT" ]
Perksey/terrafx.interop.windows
sources/Interop/Windows/um/mfcaptureengine/IMFCaptureSink.cs
3,753
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.Diagnostics; using System.Windows; using System.Windows.Controls; using Microsoft.CodeAn...
39.306667
140
0.625848
[ "MIT" ]
06needhamt/roslyn
src/EditorFeatures/Core.Wpf/QuickInfo/LazyToolTip.cs
2,950
C#
using System.Windows.Controls; namespace Samples.Tutorials.MvvmSample { /// <summary> /// Interaction logic for ClockPopup.xaml /// </summary> public partial class ClockPopup : UserControl { public ClockPopup() { InitializeComponent(); } } }
17.2
46
0.705426
[ "MIT" ]
HavenDV/H.NotifyIcon.WPF
samples/Sample Project/Tutorials/09 - MVVM/ClockPopup.xaml.cs
260
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.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Roslyn.UnitTestFramew...
33.709402
161
0.557302
[ "Apache-2.0" ]
0x53A/roslyn
src/Samples/CSharp/ImplementNotifyPropertyChanged/Test/IsExpandableTests.cs
7,890
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using RadarSoft.RadarCube.CellSet; using RadarSoft.RadarCube.Controls; using RadarSoft.RadarCube.Layout; using RadarSoft.RadarCube.Serialization; namespace RadarSoft.RadarCube.Engine { internal class LineMap : IStreamedObject {...
33.068259
103
0.404273
[ "MIT" ]
RadarSoft/radarcube-olap-analysis
src/Engine/LineMap.cs
9,689
C#
using System; using System.Reflection; namespace Xunit { class AppDomainManager_NoAppDomain : IAppDomainManager { readonly string assemblyFileName; public AppDomainManager_NoAppDomain(string assemblyFileName) { this.assemblyFileName = assemblyFileName; } pu...
30.301887
112
0.595268
[ "Apache-2.0" ]
0x0309/xunit
src/xunit.runner.utility/AppDomain/AppDomainManager_NoAppDomain.cs
1,606
C#
/* Copyright (c) Citrix Systems Inc. * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above * copyright notice,...
47.795455
141
0.638136
[ "BSD-2-Clause" ]
cheng-z/xenadmin
XenModel/Actions/Pool/AddHostToPoolAction.cs
6,311
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.Diagnostics; namespace Microsoft.CodeAnalysis.Interactive { internal static class ProcessExtensions { internal static bool IsAli...
24.363636
160
0.572761
[ "Apache-2.0" ]
0x53A/roslyn
src/Interactive/Features/Interactive/Core/ProcessExtensions.cs
536
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace System.Management.Automation.Internal { /// <summary> /// This is a singleton object that is used ...
34.5
81
0.592593
[ "Apache-2.0", "MIT" ]
HydAu/PowerShell
src/System.Management.Automation/engine/AutomationNull.cs
1,242
C#