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; using System.Globalization; using System.Windows.Media; using NLog; namespace NLogWpfLoggerTarget.ViewModel { public class LoggerTargetViewModel { public SolidColorBrush BackgroundColorBrush { get; } public SolidColorBrush BackgroundColorBrushMouseOver { get; } public Exc...
39.234043
103
0.669197
[ "MIT" ]
slessardjr/NLogWpfLoggerTarget
NLogWpfLoggerTarget/ViewModel/LoggerTargetViewModel.cs
1,846
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. /*============================================================ ** ** ** ** Purpose: An exception for OS 'access deni...
31.734694
134
0.61865
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Private.CoreLib/src/System/UnauthorizedAccessException.cs
1,555
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.Collections.Immutable; using System.Linq; using System...
53.827338
219
0.722267
[ "Apache-2.0" ]
HenrikWM/roslyn
src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.cs
7,484
C#
using Microsoft.Xaml.Behaviors; using System.Windows; namespace Baku.VMagicMirrorConfig { public class DialogBehavior : Behavior<Window> { public bool? Result { get { return (bool?)GetValue(ResultProperty); } set { SetValue(ResultProperty, value); } } p...
29.7
101
0.583614
[ "MIT" ]
ShigemoriHakura/VMagicMirror
WPF/VMagicMirrorConfig/View/Code/DialogBehavior.cs
893
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...
30.645161
112
0.701053
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/SecurityInsights/V20200101/Outputs/TIDataConnectorDataTypesResponse.cs
950
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 no...
32.818182
104
0.757156
[ "Apache-2.0" ]
ThinkGeo/GIS-Editor
MapSuiteGisEditor/GisEditorPluginCore/Shares/UIs/TaskbarNotifier/BalloonTipIcon.cs
1,083
C#
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.WebUtilities; namespace MusicStore.Mocks.Twitter { /// <summary> /// Summary description for TwitterMockBack...
45.176471
136
0.591471
[ "Apache-2.0" ]
AaqibAhamed/aspnetcore
src/MusicStore/samples/MusicStore/ForTesting/Mocks/Twitter/TwitterMockBackChannelHttpHandler.cs
3,072
C#
using System; using System.Collections.Generic; #nullable disable namespace api.Models.Ttv { public partial class DimWebLink { public DimWebLink() { FactFieldValues = new HashSet<FactFieldValue>(); } public int Id { get; set; } public string Url { get; set...
39.333333
82
0.653148
[ "MIT" ]
CSCfi/research-fi-mydata
aspnetcore/src/api/Models/Ttv/DimWebLink.cs
1,654
C#
using System; using System.Collections.Generic; using System.Text; using DAL.Siniflar; using OBJ; using System.Security.Cryptography; using System.Net.Mail; using System.Net; namespace BL { public class BPersonel :DPersonel { //Kullanıcı Giriş public new OIslemSonuc<OPersonel> Login(string _em...
30.245161
112
0.517705
[ "MIT" ]
eyupgevenim/TeknikServis
BL/BPersonel.cs
4,703
C#
using System.Threading.Tasks; using LanguageExt.TypeClasses; namespace LanguageExt.ClassInstances { public struct EqTryOptionAsync<EqA, A> : EqAsync<TryOptionAsync<A>> where EqA : struct, Eq<A> { public Task<bool> EqualsAsync(TryOptionAsync<A> x, TryOptionAsync<A> y) => default(ApplTryOpti...
36.923077
97
0.664583
[ "MIT" ]
KiritchoukC/language-ext
LanguageExt.Core/ClassInstances/Eq/EqTryOptionAsync.cs
962
C#
#region Copyright (Apache 2.0) //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // <copyright file="GiftCardQueryResponse.cs" company="SCVNGR, Inc. d/b/a LevelUp"> // Copyright(c) 2016 SCVNGR, Inc. d/b/a LevelUp. All rights reserved. // </copyright> // <license ...
40.113636
103
0.619263
[ "Apache-2.0" ]
TheLevelUp/levelup-sdk-csharp
LevelUp.Api.Client/Models/Responses/GiftCardQueryResponse.cs
1,767
C#
using System; using System.Collections.Generic; using System.Security.Cryptography.X509Certificates; using System.Text; namespace Cert.Interfaces { interface ICertificateAuthority { /// <summary> /// Generate and sign a new certificate. /// </summary> /// <param name="subjectN...
24.833333
72
0.66443
[ "MIT" ]
alt-how/altinn-cert
Cert/Interfaces/ICertificateAuthority.cs
449
C#
using System; using System.Collections.Generic; using System.Linq; using DocuSign.CodeExamples.Controllers; using DocuSign.CodeExamples.Models; using DocuSign.CodeExamples.Rooms.Models; using DocuSign.Rooms.Api; using DocuSign.Rooms.Client; using DocuSign.Rooms.Model; using Microsoft.AspNetCore.Mvc; using Newtonsoft.J...
38.59375
148
0.607895
[ "MIT" ]
olexandr-hrytsenko/AMI-dev-DocuSign
launcher-csharp/Rooms/Controllers/Eg04AddingFormToRoomController.cs
4,942
C#
// SPDX-License-Identifier: MIT // ATTENTION: This file is automatically generated. Do not edit manually. #nullable enable namespace GISharp.Lib.GLib { /// <include file="Source.xmldoc" path="declaration/member[@name='Source']/*" /> [GISharp.Runtime.GTypeAttribute("GSource", IsProxyForUnmanagedType = true)] ...
47.374847
171
0.603479
[ "MIT" ]
dlech/gisharp
src/Lib/GLib-2.0/Source.Generated.cs
77,600
C#
using UnityEngine; namespace MagiCloud.RotateAndZoomTool { public static class RotateAndZoomManager { /// <summary> /// 相机绕点旋转时候的水平轴方向上旋转的角度限制 /// </summary> public static Vector2 Limit_CameraRotateAroundCenter_HorizontalAxis = new Vector2(0, 0); /// <summary> ...
26.805668
120
0.550823
[ "MIT" ]
U3DC/MFrameworkCore
Assets/MagiCloud/Scripts/Operate/RotateAndZoomTool/RotateAndZoomManager.cs
7,403
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.Buffers; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Se...
36.531025
111
0.549415
[ "MIT" ]
939481896/dotnet-corefx
src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/SignedCms.cs
25,316
C#
/** * Copyright 2013 Canada Health Infoway, 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...
36.275862
83
0.709125
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-cda-ab-shr/Main/Ca/Infoway/Messagebuilder/Model/Cda_ab_shr/Domainvalue/x_InformationRecipient.cs
1,052
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 ...
56.983333
208
0.794092
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-companyreg/Companyreg/Transform/V20200306/ListUserProduceOperateLogsResponseUnmarshaller.cs
3,419
C#
using Elastic.Xunit.XunitPlumbing; using Nest; namespace Examples.XPack.Docs.En.RestApi.Security { public class GetAppPrivilegesPage : ExampleBase { [U(Skip = "Example not implemented")] public void Line59() { // tag::cd8006165ac64f1ef99af48e5a35a25b[] var response0 = new SearchResponse<object>(); // ...
26.052632
68
0.718182
[ "Apache-2.0" ]
FrankyBoy/elasticsearch-net
src/Examples/Examples/XPack/Docs/En/RestApi/Security/GetAppPrivilegesPage.cs
990
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice; namespace NetOffice.MSHTMLApi { #region Delegates #pragma warning disable public delegate void HTMLDocument_onhelpEventHandler(); public delegate void HTMLDocument_onclickEventHandler(); public delegate void HTMLDocument...
25.438023
174
0.670332
[ "MIT" ]
Engineerumair/NetOffice
Source/MSHTML/Classes/HTMLDocument.cs
30,373
C#
using System.Text.Json.Serialization; namespace DotNetBungieAPI.Generated.Models.Destiny.Components.PlugSets; /// <summary> /// Sockets may refer to a "Plug Set": a set of reusable plugs that may be shared across multiple sockets (or even, in theory, multiple sockets over multiple items). /// <para /> ///...
59.684211
420
0.738095
[ "MIT" ]
EndGameGl/.NetBungieAPI
DotNetBungieAPI.Generated/Models/Destiny/Components/PlugSets/DestinyPlugSetsComponent.cs
1,134
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MeleeShowAttackTilePlayer : CombatPlayerBehaviour { private void OnEnable() { MeleeShowAttackRangeBehaviour.OnMeleeShowAttackRangeEnter += MeleeShowAttackRangeEnter; } private void OnDisable() { ...
41.4375
245
0.576169
[ "MIT" ]
MarcM-collab/Project2_Fix
Assets/Scripts/Turn Based Strategy/FSM/Functions/MeleeShowAttackTilePlayer.cs
2,652
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Options; using OrchardCore.Sitemaps.Services; namespace OrchardCore.Sitemaps.Routing { public class SitemapsTransformer : DynamicRouteV...
34.275
124
0.672502
[ "BSD-3-Clause" ]
Craige/OrchardCore
src/OrchardCore.Modules/OrchardCore.Sitemaps/Routing/SitemapsTransformer.cs
1,371
C#
using System; using System.Collections.Generic; using System.Xml.Linq; using Wexflow.Core; using Wexflow.Core.Service.Client; using Wexflow.Core.Service.Contracts; namespace Wexflow.Tasks.Workflow { public enum WorkflowAction { Start, Suspend, Resume, Stop, Approve, ...
40.785714
129
0.423022
[ "MIT" ]
PruthviRajuPeddigari/Wexflow
src/dotnet/Wexflow.Tasks.Workflow/Workflow.cs
6,283
C#
namespace Aehnlich.Views.Dir { using System.Windows; using System.Windows.Controls; /// <summary> /// Implements a view that can be used to display directory diff information. /// </summary> public class DirDiffDocControl : Control { #region ctors /// <summary> /// Static class constructor /// </summar...
22.521739
78
0.725869
[ "MIT" ]
Dirkster99/Aehnlich
source/Aehnlich/Aehnlich/Views/Dir/DirDiffDocControl.xaml.cs
520
C#
using Damme.Interfaces; using System; namespace Damme.Classes { public class DisplayManager : IDisplay { /// <summary> /// Generates the 2D view of the playing field /// </summary> /// <param name="field">Field to display</param> public void GridView(Pion[,] field) ...
27.5
64
0.440559
[ "MIT" ]
Mrgove10/C-Sharp-B2
Damme/Classes/DisplayManager.cs
717
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします // </auto-generated> //----------------------------------------------------------...
36.166667
181
0.602919
[ "MIT" ]
CJBok/PointerSearcher-SE
PointerSearcher/Properties/Resources.Designer.cs
3,228
C#
using Magicodes.ExporterAndImporter.Core.Models; using System; using System.IO; namespace Magicodes.ExporterAndImporter.Core { /// <summary> /// 导入图片字段特性 /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] public class ImportImageFieldAttribute : Attribute { ...
25.833333
80
0.571429
[ "MIT" ]
1518648489/Magicodes.IE
src/Magicodes.ExporterAndImporter.Core/Fields/ImportImageFieldAttribute.cs
1,157
C#
namespace GitReleaseNotes.Git { public interface IGitRepositoryContextFactory { GitRepositoryContext GetRepositoryContext(); } }
18.75
52
0.733333
[ "MIT" ]
JakeGinnivan/GitReleaseNotes
src/GitReleaseNotes/Git/IGitRepositoryContextFactory.cs
152
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Binary; using System.Diagnostics; using System.Globalization; using System.IO.Pipelines; using System.Text; using System.Thr...
46.14077
238
0.534135
[ "Apache-2.0" ]
ZeroInfinite/SignalR
src/Microsoft.Extensions.WebSockets.Internal/WebSocketConnection.cs
34,746
C#
namespace ClearHl7.Codes.V271 { /// <summary> /// HL7 Version 2 Table 0372 - Specimen Component. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0372</remarks> public enum CodeSpecimenComponent { /// <summary> /// BLD - Whole blood, homogeneous. /// </summary> ...
24.653061
59
0.470199
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V271/CodeSpecimenComponent.cs
1,210
C#
using System; using System.Collections.Generic; using System.Text; namespace Nop.Core.Domain.Logging { /// <summary> /// Represents a log level /// </summary> public enum LogLevel { /// <summary> /// Debug /// </summary> Debug = 10, /// <summary> //...
17
33
0.434985
[ "Apache-2.0" ]
zbjlala/MyNop
Nop.Core/Domain/Logging/LogLevel.cs
648
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace MineLib.PGL.Screens.GUI.Grid { public class BaseGrid : GUIGrid { public BaseGrid(Client game, Screen screen, Rectangle backgroundRectangle) : base(game, screen) { BackgroundRectangle = backgroundRectan...
44.407407
178
0.680984
[ "MIT" ]
Aragas/MineLib.Client
Screens/GUI/Grid/BaseGrid.cs
2,400
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Управление общими сведениями о сборке осуществляется с помощью // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("STORJ Overwatch")]...
39.972973
99
0.763354
[ "Unlicense" ]
slayavi/storj-overwatch
SOTRJOW/Properties/AssemblyInfo.cs
2,038
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...
26.469388
76
0.67155
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Ipanti/Apis/ModifyInstanceCustomPageDefaultResult.cs
1,377
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
47.491525
156
0.706995
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.VMMigration.V1/Google.Cloud.VMMigration.V1.GeneratedSnippets/VmMigrationClient.CancelCutoverJobAsyncSnippet.g.cs
2,802
C#
namespace PasswordRecorder { partial class Form1 { /// <summary> /// Обязательная переменная конструктора. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Освободить все используемые ресурсы. /// </summary> ...
56.930348
164
0.644848
[ "MIT" ]
Volodymyr1337/PasswordRecorder
Form1.Designer.cs
11,700
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Utility; using Utility.FTP; using WinSCP; namespace UtilityTests.FTP { [TestClass] public class FtpClientTests { /// <summary> /// The test needs Syncplify.me installed in local system. /// </summary> //[TestMethod] ...
31.204545
78
0.533139
[ "MIT" ]
rocker8942/Utility
UtilityTests/FTP/FtpClientTests.cs
1,375
C#
using EFCore.BulkExtensions; using GameMaster.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GameMaster.Core { public class Simulator { public record SimulatorSettings ( int GamesCount, int NewPlayerCou...
45.480176
190
0.509589
[ "MIT" ]
mazenamr/GameMaster
GameMaster/Core/Simulator.cs
10,326
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace Bueller.MVC { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*p...
24.125
99
0.585492
[ "MIT" ]
1804-Apr-USFdotnet/Project-2-Bueller
Project2-BuellerWebSln/Bueller.MVC/App_Start/RouteConfig.cs
581
C#
// <auto-generated /> using System; using GuitarFootprint.Data.PostgreSQL; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Me...
37.024055
128
0.471041
[ "MIT" ]
zuyuz/GuitarFootprint
GuitarFootprint.Data.PostgreSQL/Migrations/20200809181314_AddedIdentity.Designer.cs
10,776
C#
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using Vostok.Metrics.Models; using Vostok.Metrics.Primitives.Timer; namespace Vostok.Metrics.Aggregations.AggregateFunctions { [PublicAPI] public class HistogramsAggregateFunction : IAggregateFunction ...
36.192771
119
0.586218
[ "MIT" ]
vostok/metrics.aggregations
Vostok.Metrics.Aggregations/AggregateFunctions/HistogramsAggregateFunction.cs
3,006
C#
/* * Copyright (c) Akifumi Fujita * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish,...
34.165049
81
0.585678
[ "MIT" ]
fjt7tdmi/voi-alarm
VoiAlarm/Models/Core.cs
3,521
C#
using Game.Management; using UnityEngine; namespace Game.Fighting.Handlers { public abstract class GameOverDisabler : MonoBehaviour { [SerializeField] private GameOverManager gameOverManager; private void OnEnable() => gameOverManager.DidGameOver += OnGameOver; private void OnDisable(...
26.4375
78
0.72104
[ "MIT" ]
dcrdro/Physics-Battle
Assets/Scripts/Game/Fighting/Handlers/GameOverDisabler.cs
425
C#
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; p...
22.285714
68
0.745726
[ "MIT" ]
Mimalef/repop
src/Masters/MasterPagePersonnel.master.cs
470
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Identity.Client { /// <summary> /// Contains parameters used by the MSAL call accessing the cache. /// See also <see cref="T:ITokenCache"/> which contains methods /// to customize the ca...
36.2
117
0.631413
[ "MIT" ]
SpillChek2/microsoft-authentication-library-for-dotnet
src/Microsoft.Identity.Client/TokenCacheNotificationArgs.cs
1,269
C#
using System; using Microsoft.Maui.Graphics; using static Microsoft.Maui.Primitives.Dimension; namespace Microsoft.Maui.Layouts { public abstract class LayoutManager : ILayoutManager { public LayoutManager(ILayout layout) { Layout = layout; } public ILayout Layout { get; } public abstract Size Measure...
22.486486
158
0.733173
[ "MIT" ]
41396/maui
src/Core/src/Layouts/LayoutManager.cs
832
C#
using System; using System.Collections.Generic; using System.Linq; using Abp.Domain.Repositories; using Abp.Domain.Services; using SPACore.PhoneBook.PhoneBooks.Persons; namespace SPACore.PhoneBook.Persons.DomainServices { /// <summary> /// Person领域层的业务管理 /// </summary> public class PersonManager : Pho...
24.526316
75
0.613734
[ "MIT" ]
52ABP/SPA.PhoneBook
src/aspnet-core/src/SPACore.PhoneBook.Core/PhoneBooks/Persons/DomainServices/PersonManager.cs
982
C#
using System.Threading; using Amazon.SimpleNotificationService; using Amazon.SimpleNotificationService.Model; using Moq; using NUnit.Framework; using Watchman.Engine.Logging; using Watchman.Engine.Sns; using System.Threading.Tasks; namespace Watchman.Engine.Tests.Sns { [TestFixture] public class SnsTopicCreato...
32.954545
110
0.629425
[ "Apache-2.0" ]
RTamizian/AwsWatchman
Watchman.Engine.Tests/Sns/SnsTopicCreatorTests.cs
2,175
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 CRM.Interface { using Microsoft.Rest; using Models; using System.Collections; using System.Collections.G...
37.431373
328
0.632268
[ "MIT" ]
msehudi/cms-accelerator
OData.OpenAPI/odata2openapi/Client/IModuleid.cs
1,909
C#
// from http://www.sharkbombs.com/2015/02/17/unity-editor-enum-flags-as-toggle-buttons/ // Extended by Tassim using UnityEditor; using UnityEngine; [CustomPropertyDrawer(typeof(EnumFlagsAttribute))] public class EnumFlagsAttributeDrawer : PropertyDrawer { public override void OnGUI(Rect pos, SerializedProperty ...
37.795455
158
0.606133
[ "MIT" ]
Tassim/UnityEnumEditor
UnityEnumFlags/Assets/Tassim/EnumFlags/Scripts/Editor/EnumFlagsAttributeDrawer.cs
1,665
C#
using System; using System.Collections.Generic; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities; namespace OmniSharp.Extensions.LanguageServer.Protocol.Shared { public interface ISupportedCapabilities { bool AllowsDynamicRegistration(Type? cap...
38.777778
113
0.793696
[ "MIT" ]
Devils-Knight/csharp-language-server-protocol
src/Protocol/Shared/ISupportedCapabilities.cs
700
C#
using System; using System.Data; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using DataLayer.Interfaces; using DomainClasses; namespace DataLayer.Models { public class AddressRepository : IAddressRepository { SalesContext context; public AddressRepository() { var ...
19.639535
105
0.631735
[ "MIT" ]
vickykatoch/acme-mvc
Acme.Data/Repository/AddressRepository.cs
1,689
C#
using EasySharp.ComponentModel.Reflection; using EasySharpStandardMvvm.Attributes.Rails; using System.Reflection; namespace EasySharpStandardMvvm.Models.Rails.Core { public class RailsModel { public override string ToString() { return this.ToCommaSeparatedString( p ...
26.0625
96
0.693046
[ "MIT" ]
kenberry0728/EasySharp
DEV/Standard/EasySharpStandardMvvm/Models/Rails/Core/RailsModel.cs
419
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace YanZhiwei.BookShop.WebUI.Areas.Admin.Controllers { public class HomeController : Controller { /* Controller的歧义问题: */ // GET: Admin/Home public ActionResu...
19.25
58
0.605195
[ "MIT" ]
wind2006/DotNet.Utilities
YanZhiwei.BookShop.WebUI/Areas/Admin/Controllers/HomeController.cs
397
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using Eshava.Core.Extensions; using Eshava.Core.IO; using Eshava.Core.IO.Exceptions; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespa...
31.994937
195
0.720367
[ "MIT" ]
MichaelPruefer/core
Eshava.Test/Core.IO/ZipArchiveEngineTest.cs
12,640
C#
using System.Globalization; using MyAccounts.Business.AccountOperations.Contracts; using MyAccounts.Business.AccountOperations.Unified; namespace MyAccounts.Business.AccountOperations.Sodexo { public class SodexoToUnifiedAccountOperationMapper : AccountToUnifiedOperationMapperBase<SodexoOperation> { p...
32.547619
144
0.570593
[ "MIT" ]
blaise-braye/my-accounts
MyAccounts.Business/AccountOperations/Sodexo/SodexoToUnifiedAccountOperationMapper.cs
1,369
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace TatumPlatform.Model.Requests { public class DeployEthereumErc20 : IValidatableObject { [Required] [StringLength(66, MinimumLength = 66)] public string FromPrivateKey { get; set; } [Require...
27.375
90
0.559035
[ "MIT" ]
saman-hosseini/tatum-csharp
src/Tatum/Model/Requests/Ethereum/DeployEthereumErc20.cs
1,535
C#
// // Copyright (c) Microsoft and contributors. 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 requi...
41.079646
236
0.640026
[ "Apache-2.0" ]
CerebralMischief/azure-sdk-for-net
src/ResourceManagement/Sql/SqlManagement/Generated/ITransparentDataEncryptionOperations.cs
4,642
C#
// <copyright file="NotificationRepositoryExtensions.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.CompanyCommunicator.Repositories.Extensions { using System; using System.Threading.Tasks; using Microsoft.Teams.Apps.CompanyCommunic...
44.637681
110
0.641883
[ "MIT" ]
sacianc/ccv2spa
Source/Microsoft.Teams.Apps.CompanyCommunicator/Repositories/Extensions/NotificationRepositoryExtensions.cs
3,082
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using API.DTOs; using API.Entities; namespace API.Interfaces { public interface ILikesRepository { Task<Like> GetPostLike(int userId, int postId); Boolean RemoveLike(Like like); Task<AppUser...
28
74
0.730159
[ "MIT" ]
iMelki/blog-sys-api
API/Interfaces/ILikesRepository.cs
504
C#
using System; using System.IO; using appFBLA2019; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace appFBLA2019_Tests { [TestClass] public class DatabaseTests { private const string sqLiteExtension = ".db3"; [TestMethod] public void TestFileCreation() {...
26.892857
107
0.600266
[ "MIT" ]
chungmcl/BizQuiz
appFBLA2019_Tests/DatabaseTests.cs
755
C#
using System; using System.Collections.Generic; using System.Linq; using DynamicData.Tests.Domain; using FluentAssertions; using Microsoft.Reactive.Testing; using Xunit; namespace DynamicData.Tests.Cache { public class BufferInitialFixture { private static readonly ICollection<Person> People = Enumerab...
31.512195
139
0.589009
[ "MIT" ]
Didovgopoly/DynamicData
DynamicData.Tests/Cache/BufferInitialFixture.cs
1,292
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> //---...
40.791667
80
0.646578
[ "MIT" ]
aleynazengin/CSharp101
Calisma15/obj/Release/net5.0/Calisma15.AssemblyInfo.cs
979
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...
36.557621
217
0.587147
[ "Apache-2.0" ]
JeffAshton/aws-sdk-net
sdk/src/Services/StorageGateway/Generated/Model/CreateStorediSCSIVolumeRequest.cs
9,834
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Net; namespace IdentityModel.Client { /// <summary>Models an OpenID Connect dynamic client registration response...
46.348837
123
0.747115
[ "Apache-2.0" ]
cuteant/IdentityModel
src/IdentityModel/Client/v2/RegistrationResponse.cs
1,995
C#
namespace Secs4Net; public sealed class SecsMessage : IDisposable { public sealed override string ToString() => $"'S{S}F{F}' {(ReplyExpected ? "W" : string.Empty)} {Name ?? string.Empty}"; /// <summary> /// message stream number /// </summary> public byte S { get; } /// <summary> /// mes...
24.769231
124
0.579969
[ "MIT" ]
BruceQiu1996/secs4net
src/Secs4Net/SecsMessage.cs
1,290
C#
namespace WebApiSecurity.Areas.HelpPage.ModelDescriptions { public class CollectionModelDescription : ModelDescription { public ModelDescription ElementDescription { get; set; } } }
28.714286
64
0.756219
[ "MIT" ]
mauricedb/mwd-2016-09-26
mod09/WebApiSecurity/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs
201
C#
using Microsoft.Management.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using SimCim.Core; namespace SimCim.Root.V2 { public class InstanceModificationEvent : InstanceOperationEvent { public InstanceModificationEvent() { } pu...
24.235294
120
0.558252
[ "Apache-2.0" ]
simonferquel/simcim
SimCim.Root.V2/ClassInstanceModificationEvent.cs
826
C#
using System; using System.Reflection; using GitHub.Services.WebApi; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace GitHub.DistributedTask.Pipelines { internal sealed class ActionStepDefinitionReferenceConverter : VssSecureJsonConverter { public override bool CanWrite { ...
30.457831
132
0.518196
[ "MIT" ]
0823969789/runner
src/Sdk/DTPipelines/Pipelines/ActionStepDefinitionReferenceConverter.cs
2,530
C#
using System.Collections.Generic; using System.Linq; using Inventory.Entities; namespace Inventory.Services { public interface IInventoryMaster { List<InventoryMaster> GetInventoryMasters(); InventoryMaster GetInventoryMasterItem(int ID); void SaveInventoryMaster(InventoryMaster inve...
23.4
68
0.752137
[ "MIT" ]
Kishan1824/InventoryAPI
Inventory.Services/IInventoryMaster.cs
470
C#
using System.Linq; namespace ImapX { public class Capability { public Capability(string commandResult) { Update(commandResult); } /// <summary> /// Gets whether the server supports the ACL extension /// </summary> /// <see ...
37.546559
140
0.459133
[ "Apache-2.0" ]
Contasimple-Engineering/imapx
ImapX/Capability.cs
9,276
C#
namespace DragonDogStudios.UnitySoFunctional.Functional { public static partial class F { public static Error Error(string message) => new Error(message); } public class Error { public virtual string Message { get; } public override string ToString() => Message; pro...
28.647059
72
0.644764
[ "MIT" ]
genbod/unity-so-functional
Assets/UnitySoFunctional/Functional/Error.cs
489
C#
using Discord; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Sanakan.DAL.Models; using Sanakan.DiscordBot.Modules; using Sanakan.DiscordBot.Session; using Sanakan.ShindenApi; using Sanakan.ShindenApi.Models; using System; using System.Collections.Generic; using System.Thre...
33.778135
103
0.533365
[ "MPL-2.0" ]
Jozpod/sanakan
Tests/DiscordBot.Tests/ModulesTests/PocketWaifuModuleTests/UseItemAsyncTests.cs
10,505
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-generate...
55.714816
290
0.57143
[ "MIT" ]
mpostol/PO.Common
CommServer.DAServeConfiguration/Configuration.Designer.cs
389,950
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SyncObjX.Core { class StringHelper { } }
12.583333
33
0.715232
[ "MIT" ]
cburriss/SyncObjX
source/SyncObjX/Core/StringHelper.cs
153
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using MLAgents; public class BasketCatchAgent : Agent { #region Member Fields private float _visionRayLength = 11.0f; [SerializeField] private BasketCatchEnvironment _env; private float _intervalSi...
31.426471
160
0.564343
[ "MIT" ]
MarcoMeter/Unity-ML-Environments
Unity Environments/Basket Catch/Assets/Scripts/BasketCatchAgent.cs
6,413
C#
/* * Created by SharpDevelop. * User: trecio * Date: 2011-09-23 * Time: 19:53 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Collections.Generic; using developwithpassion.specifications.extensions; using developwithpassion.specifications.rhinomo...
42.352113
145
0.809777
[ "MIT" ]
denza/SharpDevelop
src/AddIns/Analysis/MachineSpecifications/MachineSpecifications.Tests/Src/ClassFilterBuilder.cs
3,009
C#
using System; using UnityEngine; public class BillboardScript : MonoBehaviour { public void Main() { } public void Update() { base.transform.LookAt(Camera.main.transform.position); base.transform.Rotate((Vector3) (Vector3.left * -90f)); } }
17.705882
64
0.604651
[ "MIT" ]
Jagerente/RCFixed
Source/BillboardScript.cs
303
C#
using System.Collections.Generic; using System.Web.Routing; namespace Our.Umbraco.PageSpeed.ActionFilters { public interface IKeyBuilder { string BuildKey(string controllerName); string BuildKey(string controllerName, string actionName); string BuildKey(string controllerName, string ac...
34.307692
100
0.757848
[ "MIT" ]
jvtroyen/Our.PageSpeed
Our.Umbraco.PageSpeed/ActionFilters/IKeyBuilder.cs
448
C#
using System.Collections.Generic; using System.IO; using ApprovalTests.Core; using ApprovalTests.Core.Exceptions; namespace ApprovalTests.Approvers { public class FileApprover : IApprovalApprover { private readonly IApprovalNamer namer; private readonly IApprovalWriter writer; private string approve...
24.833333
82
0.69511
[ "Apache-2.0" ]
GeertvanHorrik/ApprovalTests.Net
ApprovalTests/Approvers/FileApprover.cs
2,003
C#
using System; using System.Runtime.InteropServices; using Xwt.GtkBackend; namespace Xwt.Interop { public static class DllImportWebkit { #if XWT_GTKSHARP3 [UnmanagedFunctionPointer(CallingConvention.Cdecl)] public delegate IntPtr d_webkit_network_request_new(IntPtr uri); public static d_web...
56.134078
266
0.79996
[ "MIT" ]
dotdevelop/xwt
Xwt.Gtk/GtkInterop/DllImportWebkit.cs
10,048
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: Guid("e4ecda62-016e-4892-95d3-d88c301aa04e")]
23.875
56
0.811518
[ "MIT" ]
stpatrick2016/archishow
ArchiShow.UnitTests/Properties/AssemblyInfo.cs
191
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace AnaLight { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } ...
17.888889
42
0.701863
[ "MIT" ]
jmnich/AnaLight
App.xaml.cs
324
C#
using System; using System.Windows.Forms; namespace FlatUI.Examples { internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] private static void Main() { Application.EnableVisualStyl...
24.105263
65
0.585153
[ "MIT" ]
EnergyCube/FlatUI
src/FlatUI.Examples/Program.cs
460
C#
using System.Collections.Generic; namespace DFrame.Kubernetes.Models { public class V1Podantiaffinity { public IList<V1WeightedPodAffinityTerm> PreferredDuringSchedulingIgnoredDuringExecution { get; set; } public IList<V1PodAffinityTerm> RequiredDuringSchedulingIgnoredDuringExecution { get; se...
30.272727
109
0.771772
[ "MIT" ]
Cysharp/DFrame
src/DFrame.Kubernetes/Models/V1Podantiaffinity.cs
335
C#
#region License // Copyright (c) 2009, ClearCanvas 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 noti...
48.833333
120
0.753291
[ "Apache-2.0" ]
econmed/ImageServer20
ImageServer/Model/EntityBrokers/IFilesystemEntityBroker.gen.cs
2,051
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....
49.914894
128
0.647059
[ "MIT" ]
boone34/Data.Entity.Edmx
Samples/WildWorldImporters/Sales/Edmx/City.cs
2,346
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reflection; using System.Security; using System.Xml; using System.Xml.Serialization; using CoreWCF.Collections.Generic; using CoreWCF.Runtime; using CoreWCF.Runtime.Serializat...
48.951382
295
0.55739
[ "MIT" ]
0x53A/CoreWCF
src/CoreWCF.Primitives/src/CoreWCF/Description/XmlSerializerOperationBehavior.cs
51,352
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 Gov.Jag.PillPressRegistry.Interfaces { using Microsoft.Rest; using Models; using Newtonsoft.Json; using ...
44.618267
551
0.565662
[ "Apache-2.0" ]
GeorgeWalker/jag-pill-press-registry
pill-press-interfaces/Dynamics-Autorest/Complaintqueueitems.cs
19,052
C#
//namespace Tests.Linx.AsyncEnumerable //{ // using global::Linx.AsyncEnumerable; // using global::Linx.Testing; // using System.Collections.Generic; // using System.Diagnostics.CodeAnalysis; // using System.Linq; // using System.Text; // using System.Threading; // using System.Threading.Tasks;...
36.988506
132
0.500622
[ "MIT" ]
tinudu/Linx
tests/Tests.Linx/AsyncEnumerable/GroupByTests.cs
3,220
C#
 using Sandbox; using Sandbox.Hooks; using Sandbox.UI; using Sandbox.UI.Construct; using System; using System.Collections.Generic; public partial class ScoreBoard<T> : Panel where T : ScoreBoardEntry, new() { public class ListGroup { public Panel Separator { get; set; } public Label SeparatorLabel { get; set; }...
29.588889
117
0.704281
[ "MIT" ]
Wubsy/SBox-TTT
code/ui/ScoreBoard.cs
5,328
C#
#if WORKINPROGRESS using System.Windows.Markup; #if MIGRATION namespace System.Windows.Media.Animation #else namespace Windows.UI.Xaml.Media.Animation #endif { [ContentProperty("KeyFrames")] public sealed class PointAnimationUsingKeyFrames : Timeline { private PointKeyFrameCollection _keyFrames; ...
25.270833
88
0.560594
[ "MIT" ]
Talentia-Software-OSS/OpenSilver
src/Runtime/Runtime/Windows.UI.Xaml.Media.Animation/WORKINPROGRESS/PointAnimationUsingKeyFrames.cs
1,215
C#
using SFA.DAS.AssessorService.Application.Api.External.Models.Internal; using SFA.DAS.AssessorService.Application.Api.External.Models.Response; using SFA.DAS.AssessorService.Application.Api.External.Models.Response.Standards; using System.Collections.Generic; using System.Threading.Tasks; namespace SFA.DAS.AssessorSe...
58.62963
124
0.81554
[ "MIT" ]
SkillsFundingAgency/das-assessor-service
src/SFA.DAS.AssessorService.Application.Api.External/Infrastructure/IApiClient.cs
1,585
C#
using System.Windows; using bytePassion.CodeLineCounter.ViewModel; namespace bytePassion.CodeLineCounter { public partial class App { protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); var mainWindowViewModel = new MainWindowViewModel(); ...
21.695652
64
0.579158
[ "Apache-2.0" ]
bytePassion/CodeLineCounter
CodeLineCounter/App.xaml.cs
501
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Models; namespace ModelTests { [TestClass] public class BreadTests { [TestMethod] public void AddItems_AddThreeToQuantity_3() { Bread newBread = new Bread(); newBread.AddItems(3); Assert.AreEqual(3, newBread.Quantity); } ...
22.48
63
0.679715
[ "MIT" ]
jamisoncozart/Console-Bakery
Console-Bakery.Tests/ModelTests/BreadTests.cs
562
C#
using J2N.Collections; using Lucene.Net.Support; using System; using System.Diagnostics.CodeAnalysis; using System.Reflection; namespace Lucene.Net.Search.Grouping { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed...
42.359873
185
0.566875
[ "Apache-2.0" ]
Ref12/lucenenet
src/Lucene.Net.Grouping/TopGroups.cs
13,303
C#
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; using NBi.Xml.Decoration.Condition; namespace NBi.Xml.Decoration { public class ConditionXml { [ XmlElement(Type = typeof(ServiceRunningXml), ElementName = "service-running"), ...
26.434783
91
0.628289
[ "Apache-2.0" ]
CoolsJoris/NBi
NBi.Xml/Decoration/ConditionXml.cs
610
C#
using Microsoft.VisualBasic.Activities; using OpenRPA.Interfaces; using System; using System.Activities; using System.Activities.Expressions; using System.Activities.Presentation.Model; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Threading.Tasks; using System.Windows;...
45.808642
144
0.521763
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SynergERP/openrpa
OpenRPA/Activities/OpenApplicationDesigner.xaml.cs
7,423
C#
using System; using NetOffice; namespace NetOffice.VisioApi.Enums { /// <summary> /// SupportByVersion Visio 11, 12, 14, 15, 16 /// </summary> [SupportByVersionAttribute("Visio", 11,12,14,15,16)] [EntityTypeAttribute(EntityType.IsEnum)] public enum VisGetSetArgs { /// <summary> /// SupportByVersion Visi...
27.036585
55
0.617501
[ "MIT" ]
Engineerumair/NetOffice
Source/Visio/Enums/VisGetSetArgs.cs
2,217
C#