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. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Runtime.InteropServices; namespace BuildXL.Utilities.VmCommandProxy { /// <summary> /// Commands used by VmCommandProxy. /// </summary> public static cla...
40.655172
216
0.517282
[ "MIT" ]
RobJellinghaus/BuildXL
Public/Src/Utilities/Utilities/VmCommandProxy/VmConstants.cs
9,434
C#
using System; using System.Collections.Generic; using System.Text; namespace IARATesteCotacao.Domain.Entities { public class ItensQuotation : EntityBase { protected ItensQuotation() { } public ItensQuotation(int itemNumber, Int64 quotationId, int productId, decimal price, int...
31.55814
142
0.598379
[ "MIT" ]
webersonribeiro/IARATesteCotacao
IARATesteCotacao.Domain/Entities/ItensQuotation.cs
1,359
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
34.922078
123
0.643362
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/DescribeInstanceCreditSpecificationsResponse.cs
2,689
C#
using $ext_projectname$.Domain.Entities; namespace $safeprojectname$.Interfaces.Services { public interface IPersonSampleService : IService<PersonSample> { } }
20.222222
67
0.71978
[ "MIT" ]
fabioerter/Sample
GAB.Default.Domain.Core/Interfaces/Services/IPersonSampleService.cs
184
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Web; using System.Web.Routing; using Nop.Core; using Nop.Core.Domain.Directory; using Nop.Core.Domain.Orders; using Nop.Core.Domain.Payments; using Nop.Core.Domain.Shipping; usi...
50.47907
341
0.630578
[ "MIT" ]
andri0331/cetaku
Plugins/Nop.Plugin.Payments.PayPalStandard/PayPalStandardPaymentProcessor.cs
32,559
C#
using System.Collections; using System.Collections.Generic; using System.Linq; namespace MiniPay.App.User { public sealed class DefaultUserRoles : IEnumerable<UserRoles> { public IEnumerator<UserRoles> GetEnumerator() { yield return UserRoles.Basic; } IEnumerator I...
22.12
82
0.62387
[ "MIT" ]
SilasReinagel/MiniPay
src/MiniPay.App/User/Roles/DefaultUserRoles.cs
555
C#
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace RfpProxyLib.Messages { public enum SubscriptionType { /// <summary> /// I will take care and answer with the updated message (may be empty) /// </summary> Handle, /// <summary> /// don't wait for...
25.265625
79
0.519481
[ "MIT" ]
eventphone/rfpproxy
RfpProxyLib/Messages/Subscribe.cs
1,619
C#
using System; using System.Runtime.InteropServices; using System.Drawing; using System.IO; using Microsoft.Win32; // From https://stackoverflow.com/questions/1061678/change-desktop-wallpaper-using-code-in-net#comment12939266_1061682 public sealed class Wallpaper { Wallpaper() { } const int SPI_SETDESKWALLPAPE...
30.465517
118
0.632711
[ "MIT" ]
ElTimuro/backgroundr
Wallpaper.cs
1,767
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using TextMateSharp.Themes; namespace TextMateSharp.Internal.Themes { public class ThemeRaw : Dictionary<string, object>, IRawTheme, IRawThemeSetting, IThemeSetting { private static string NAME = "name"; private sta...
26.27381
98
0.579067
[ "MIT" ]
Takoooooo/TextMateSharp
src/TextMateSharp/Internal/Themes/ThemeRaw.cs
2,207
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 ...
82.920863
303
0.831772
[ "Apache-2.0" ]
pengweiqhca/aliyun-openapi-net-sdk
aliyun-net-sdk-config/Config/Transform/V20190108/DescribeConfigRuleResponseUnmarshaller.cs
11,526
C#
using System.Collections; using System.Collections.Generic; using System; using UnityEngine.Audio; using UnityEngine; public class AudioManager : MonoBehaviour { public Sound[] sounds; // Start is called before the first frame update void Awake() { foreach (Sound s in sounds) { ...
21.6875
66
0.596542
[ "MIT" ]
Jsinclairisto/Dungeon-Dude
DungeonDude/Assets/Scripts/AudioManager.cs
696
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; namespace Microsoft.VisualStudio.LiveShare.Razor { public sealed class ProjectChangeEventProxyArgs : EventArgs { public ...
29.909091
139
0.64539
[ "Apache-2.0" ]
Chatina73/AspNetCore-Tooling
src/Razor/src/Microsoft.VisualStudio.LiveShare.Razor/ProjectChangeEventProxyArgs.cs
989
C#
namespace VTDev.Libraries.CEXEngine.Crypto.Enumeration { /// <summary> /// <para>Key Sizes in bits. Can be cast as Key byte size integers, /// i.e. (uint sz = KeySizes.K256) is equal to 32.</para> /// </summary> public enum KeySizes : int { /// <summary> /// 128 bit Key ...
22.915254
72
0.39645
[ "MIT" ]
Felandil/Chiota
Chiota/CEXEngine/Crypto/Enumeration/KeySizes.cs
1,354
C#
using masz.data; using masz.Models; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.CookiePolicy; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Task...
36.291139
145
0.61458
[ "MIT" ]
matrix2113/discord-masz
backend/masz/Services/Implementations/IdentityManager.cs
2,869
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110 { using static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.Extensions; /// <summary>Reverse replication input.</summary> public partial class ReverseReplicationInput : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Mod...
70.405405
537
0.748177
[ "MIT" ]
3quanfeng/azure-powershell
src/Migrate/generated/api/Models/Api20180110/ReverseReplicationInput.cs
5,137
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("FssJpModLib")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [as...
30.297297
57
0.723461
[ "MIT" ]
synctam/FssJpModAid
FssJpModLib/Properties/AssemblyInfo.cs
1,706
C#
using Com.QueoFlow.Peanuts.Net.Core.Domain.Users; namespace Com.QueoFlow.Peanuts.Net.Core.Persistence.Mappings { public class UserGroupMap : EntityMap<UserGroup> { protected UserGroupMap() { Map(financialBrokerPool => financialBrokerPool.AdditionalInformations).Nullable().Length(4000); ...
56.294118
136
0.733542
[ "MIT" ]
queoGmbH/peanuts
Peanuts.Net.Core/src/Persistence/Mappings/UserGroupMap.cs
959
C#
using System; using System.Data; using System.Data.Common; using System.Data.OracleClient; using System.Xml; using NBear.Common; using NBear.Data; namespace NBear.Data.Oracle { /// <summary> /// <para>Represents an Oracle Database.</para> /// </summary> /// <remarks> /// <para> /// Internally ...
31.660517
134
0.509907
[ "BSD-3-Clause" ]
shnug/NBear
NBear.Data/Oracle/OracleDbProvider.cs
8,580
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.666667
80
0.642418
[ "MIT" ]
TodorNikolov89/SoftwareUniversity
CSharpWebBasics/SIS/SIS.Demo/obj/Release/netcoreapp2.1/SIS.Demo.AssemblyInfo.cs
976
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/DirectML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using TerraFX.Interop.Windows; n...
28.117647
145
0.740586
[ "MIT" ]
JeremyKuhne/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/DirectML/DML_AVERAGE_POOLING_GRAD_OPERATOR_DESC.cs
958
C#
using System; using System.IO; using Aspose.Cells; using System.Drawing; namespace Aspose.Cells.Examples.CSharp.Data { public class SortDataInColumnWithBackgroundColor { //Source directory static string sourceDir = RunExamples.Get_SourceDirectory(); //Output directory static s...
32.179487
96
0.639044
[ "MIT" ]
aspose-cells/Aspose.Cells-for-.NET
Examples/CSharp/Data/SortDataInColumnWithBackgroundColor.cs
1,255
C#
using System; using System.IO; using System.Text; using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; using System.Windows.Forms; using System.Text.RegularExpressions; using System.Xml.Serialization; using System.Net; using System.Net.Http; namespace ImageScraper { partial class Mai...
39.517495
205
0.527402
[ "MIT" ]
tsurumeso/ImageScraper
ImageScraper/MainPartial.cs
22,482
C#
using System; namespace Mdmeta.Core { /// <summary> /// Specify a property to receive argument of command from the user. /// </summary> [AttributeUsage(AttributeTargets.Property)] public sealed class CommandArgumentAttribute : Attribute { /// <summary> /// Gets the argument name...
27.806452
76
0.583527
[ "MIT" ]
dotnet-campus/markdown-metadata
src/Mdmeta.Core/Core/CommandArgumentAttribute.cs
862
C#
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models { /// <summary> /// <para>表示 [GET] /partner-transfer/batches/batch-id/{batch_id} 接口的请求。</para> /// </summary> public class GetPartnerTransferBatchByBatchIdRequest : GetTransferBatchByBatchIdRequest { } }
28.3
91
0.70318
[ "MIT" ]
OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/PartnerTransfer/Batches/GetPartnerTransferBatchByBatchIdRequest.cs
301
C#
namespace ClearHl7.Codes.V270 { /// <summary> /// HL7 Version 2 Table 0305 - Person Location Type. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0305</remarks> public enum CodePersonLocationType { /// <summary> /// C - Clinic. /// </summary> Clinic, ...
20.772727
59
0.394967
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V270/CodePersonLocationType.cs
916
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WebApplication2.Models; using WebApplication2.Services; using Microsoft.AspNetCore.Authorization; using WebApplication...
23.438202
84
0.550336
[ "MIT" ]
cliassi/rbac-react-redux-aspnetcore
server/WebApplication2/WebApplication2/Controllers/PostsController.cs
2,088
C#
using tiorem.editor.database.repository.Base; using tiorem.editor.database.repository.Interface; namespace tiorem.editor.database.repository { public class CatalogueCategoryDAL : RepositoryBase<CatalogueCategory>, ICatalogueCategoryDAL { private ICatalogueCategoryDAL context; public A...
23.653846
96
0.6
[ "Apache-2.0" ]
ayagbasan/tiorem
tiorem.editor/tiorem.editor/database/repository/CatalogueCategoryDAL.cs
617
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
27.953125
100
0.739519
[ "MIT" ]
galich/SharpDevelop
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/CallExtension.cs
3,580
C#
// ------------------------------------------------------------------------------------------------- // <copyright file="SubtypeDerivationRule.cs" company="RHEA System S.A."> // // Copyright 2022 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this f...
51.56701
265
0.580168
[ "Apache-2.0" ]
RHEAGROUP/Kalliope
Kalliope.DTO/AutoGenDto/SubtypeDerivationRule.cs
5,002
C#
using System; namespace LumiSoft.Net.SDP { // Token: 0x020000BF RID: 191 public class SDP_Time { // Token: 0x06000763 RID: 1891 RVA: 0x0002D26C File Offset: 0x0002C26C public SDP_Time(long startTime, long stopTime) { bool flag = startTime < 0L; if (flag) { throw new ArgumentExceptio...
24.523364
84
0.616235
[ "BSD-2-Clause", "BSD-3-Clause" ]
0x727/metasploit-framework
external/source/Scanner/share/LumiSoft.Net/SDP/SDP_Time.cs
2,626
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; using System.Threading.Tasks; namespace CommandLineInjector.Tests.TestData { [Description("Test Command")] public class TestCommand { public Task Invoke([Description("Parameter A")]string paramA, [Descr...
27.277778
179
0.704684
[ "MIT" ]
jcharlesworthuk/CommandLineInjector
src/CommandLineInjector.Tests/TestData/TestCommand.cs
493
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/WebServices.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { ...
29.631579
145
0.706927
[ "MIT" ]
Perksey/terrafx.interop.windows
sources/Interop/Windows/um/WebServices/WS_XML_WRITER_PROPERTY.cs
565
C#
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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 applica...
29.591837
75
0.588276
[ "Apache-2.0" ]
AndersAbel/IdentityServer3
source/Core/ViewModels/CommonViewModel.cs
1,452
C#
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // 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 restrictio...
26.313043
142
0.659617
[ "MIT" ]
mattmiller85/YamlDotNet
YamlDotNet/Helpers/Portability.cs
9,080
C#
using Abp.MultiTenancy; using Abp.Zero.Configuration; namespace HC.RetailClient.Authorization.Roles { public static class AppRoleConfig { public static void Configure(IRoleManagementConfig roleManagementConfig) { // Static host roles roleManagementConfig.StaticRoles.Ad...
25.5
80
0.552941
[ "MIT" ]
DonaldTdz/RetailClient
aspnet-core/src/HC.RetailClient.Core/Authorization/Roles/AppRoleConfig.cs
767
C#
using System.Diagnostics; var source = Enumerable.Range(1, 10_000_000); // Opt in to PLINQ with AsParallel. Stopwatch st = new Stopwatch(); st.Start(); // call MakeSome method... var evenNums = from num in source where num % 2 == 0 select Math.Pow(num,100); st.Stop(); Stopwatch stt ...
23.342105
59
0.640361
[ "Apache-2.0" ]
behnamasaei/DotNetLearning
Asynchronous/PLINQ/Program.cs
889
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace iSpyApplication.Controls { public partial class PermissionsForm : UserControl { private configu...
31.5625
104
0.500594
[ "Apache-2.0" ]
isaacandy/ispyconnect
iSpyApplication/Controls/PermissionsForm.cs
2,527
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
31.788462
94
0.642468
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Ckafka/V20190819/Models/AppIdResponse.cs
1,653
C#
using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Client; using System; using System.Collections.Generic; namespace Components.Support.Tests.Entities { [EntityLogicalName("placeholder")] internal class Placeholder : Entity { public const string EntityLogicalName = "placeholder"; [Attribute...
28.125
77
0.605333
[ "MIT" ]
opc-cpvp/OPC.PowerApps.PCFControls
src/Plugins/Components.Support.Tests/Entities/Placeholder.cs
1,127
C#
 namespace AcademiaEF6 { partial class FormPrincipal { /// <summary> /// Variável de designer necessária. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpar os recursos que estão sendo usados. /// </summar...
55.967391
166
0.660614
[ "CC0-1.0" ]
Luscas-PandC/Entra21-NoturnoLucas-Forms
AcademiaEF6/FormPrincipal.Designer.cs
20,610
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2022 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
46.629897
199
0.564967
[ "Apache-2.0" ]
MLForkOpenSource/WeiXinMPSDK
src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs
51,005
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// <summary> /// MybankCreditSceneprodDrawdownConfirmModel Data Structure. /// </summary> [Serializable] public class MybankCreditSceneprodDrawdownConfirmModel : AopObject { ...
26.466667
71
0.50529
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/MybankCreditSceneprodDrawdownConfirmModel.cs
2,197
C#
using MassTransit; using Microsoft.Extensions.Hosting; using System; using System.Threading; using System.Threading.Tasks; namespace Msape.BookKeeping.Service { public class MassTransitHostedService : BackgroundService { private readonly IBusControl _bus; public MassTransitHostedS...
31.466667
85
0.637712
[ "Apache-2.0" ]
gideonkorir/Msape-sql
src/BookKeeping/Msape.BookKeeping.Service/MassTransitHostedService.cs
946
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ark.Models { public interface ConnectionInfo { string Hostname {get; set;} int Port {get; set;} string Password {get; set;} } }
18.25
35
0.667808
[ "MIT" ]
Fratser/iNGEN-Ark-RCON-Desktop
Ark/Models/ConnectionInfo.cs
294
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using CommandLine; namespace Test.EndToEnd.Baselining.Options { [Verb("debug", HelpText = "Debug Baselining for a specific Series, Log, and Result")] public class DebugOptions : OptionsBase { [Value(1, ...
34.571429
97
0.65427
[ "MIT" ]
Eduardo-Silla/sarif-sdk
src/Test.EndToEnd.Baselining/Options/DebugOptions.cs
726
C#
using System; using Dapper; using System.Collections.Generic; namespace DTcms.Model { #region URL字典实体类============================ /// <summary> /// URL字典实体类 /// </summary> [Serializable] public partial class url_rewrite { //无参构造函数 public url_rewrite() { } ...
23.63125
70
0.432954
[ "Apache-2.0" ]
flyingsnailcode/DTCMS_MVC
DTcms.Model/url_rewrite.cs
4,061
C#
// Copyright (C) 2009-2020 Xtensive LLC. // This code is distributed under MIT license terms. // See the License.txt file in the project root for more information. using System.Diagnostics; using System.Text; using Xtensive.Sql.Dml; using Xtensive.Sql.Model; namespace Xtensive.Sql.Drivers.PostgreSql.v8_2 { internal...
25.708333
98
0.645057
[ "MIT" ]
DataObjects-NET/dataobjects-net
Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v8_2/Translator.cs
1,234
C#
namespace AutomationApp { partial class AutomationUI { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
49.346241
175
0.59627
[ "MIT" ]
IDeliverable/azure-activedirectory-library-for-dotnet
msal/tests/AutomationApp/AutomationUI.Designer.cs
21,665
C#
using System; using System.ComponentModel; using System.Globalization; using System.Windows.Forms; namespace VenomRAT_HVNC.Server.Helper { public class WordTextBox : TextBox { public override int MaxLength { get { return base.MaxLength; } ...
24.792035
128
0.356952
[ "Unlicense" ]
GitPlaya/Venom5-HVNC-Rat
VenomRAT_HVNC/Server/Helper/WordTextBox.cs
5,603
C#
/* Copyright 2010-2016 MongoDB 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 agreed to in writi...
34.962963
116
0.530985
[ "MIT" ]
21thCenturyBoy/LandlordsProject
Landlords_Client01/Landlords_Client01/Unity/Assets/ThirdParty/MongoDB/MongoDB.Bson/BsonUtils.cs
7,554
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.R.Host.Client.Test.Fixtures; using Microsoft.UnitTests.Core.Threading; using Microsoft.UnitTests.Core.XUnit; using Microsoft.VisualStudio.ProjectSyst...
49.5
126
0.8367
[ "MIT" ]
Bhaskers-Blu-Org2/RTVS
src/Package/TestApp/Properties/AssemblyInfo.cs
596
C#
using System; using System.Linq.Expressions; using Pushqa; using Pushqa.Communication; using Pushqa.SignalR; namespace Pushqa.Linq { /// <summary> /// A projected event type /// </summary> /// <typeparam name="TSource">The type of the source.</typeparam> /// <typeparam name="TResult">The...
43.875
175
0.598809
[ "MIT" ]
PeteGoo/Pushqa
src/Pushqa/Linq/EventProjectedQuery.cs
3,861
C#
using DataGridView.Adicionar; using DataGridView.Edicao; 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 DataGridView { public partial cla...
30.968254
139
0.62532
[ "MIT" ]
rudimarboeno/Hbsis-aula
29-07-19 a 02-08-19/DataGridView/DataGridView/Form4.cs
1,953
C#
using System; using SampleRpg.Engine.Models; namespace SampleRpg.Engine.IO { public class ItemQuantityModel { public int Id { get; set; } public int Quantity { get; set; } public ItemQuantity ToItemQuantity () => new ItemQuantity() { ItemId = Id, Quantity = Quantity }; } }
19.6875
105
0.64127
[ "MIT" ]
CoolDadTx/samplerpg
SampleRpg.Engine/IO/ItemQuantityModel.cs
317
C#
// Copyright © TheAirBlow 2022 <theairblow.help@gmail.com> // This Source Code Form is subject to the terms of the Mozilla Public // License, v2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. using System; namespace TheAirBlow.Zigman.Exceptions; pub...
23.76
70
0.688552
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
TheAirBlow/Zigman
TheAirBlow.Zigman/Exceptions/InvalidClassException.cs
597
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace RcxJs.Controllers { public class HomeController : Controller { // GET: Home public ActionResult Index() { return View(); } } }
18.647059
45
0.586751
[ "MIT" ]
toolgood/RCX
ToolGood.RcxTest/RcxJs/Controllers/HomeController.cs
319
C#
/* * API Doctor * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * 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 ...
42.764764
315
0.526291
[ "MIT" ]
MIchaelMainer/apidoctor
ApiDoctor.Console/Program.cs
86,173
C#
/* * Swaggy Jenkins * * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * Generated by: https://openapi-generator.tech */ using System; using System.Linq; using System.Text; using System.Collections.Generic; u...
32.056818
106
0.504254
[ "MIT" ]
cliffano/jenkins-api-clients-generator
clients/aspnetcore/generated/src/Org.OpenAPITools/Models/BranchImpllinks.cs
5,642
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Iam.V3.Model { /// <summary> /// /// </summary> public class CreateCr...
33.253425
83
0.484037
[ "Apache-2.0" ]
cnblogs/huaweicloud-sdk-net-v3
Services/Iam/V3/Model/CreateCredentialResult.cs
4,927
C#
using Avalonia.Threading; namespace Omnius.Core.Avalonia; public interface IApplicationDispatcher { public Task InvokeAsync(Action action, DispatcherPriority priority = DispatcherPriority.Normal); public Task<TResult> InvokeAsync<TResult>(Func<TResult> function, DispatcherPriority priority = DispatcherPriori...
37.605263
133
0.773968
[ "MIT" ]
OmniusLabs/Omnix
src/Omnius.Core.Avalonia/ApplicationDispatcher.cs
1,429
C#
using System.Net; using FluentAssertions; using HealthChecks.UI.Client; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; using Xunit; namespace HealthChecks.O...
39.05
109
0.542254
[ "Apache-2.0" ]
paveldayneko/AspNetCore.Diagnostics.HealthChecks
test/HealthChecks.Oracle.Tests/Functional/OracleHealthCheckTests.cs
4,686
C#
using Autofac; using Gmich.AOP.Interceptors; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gmich.AOP.Playground { class Program { static void Main(string[] args) { var builder = new ContainerBuilder(); ...
21.323529
74
0.595862
[ "MIT" ]
gmich/Weaving
Gmich.AOP/Gmich.AOP.Playground/Program.cs
727
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using ETModel; using MongoDB.Bson; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using UnityEditor; using UnityEngine; public struct CellInfo { public string Type; public string Name; public string Desc; } public class Excel...
21.997151
105
0.632042
[ "MIT" ]
517752548/EXET
Unity/Assets/Editor/ExcelExporterEditor/ExcelExporterEditor.cs
7,939
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
42.137161
155
0.565216
[ "Apache-2.0" ]
Mattlk13/google-cloud-dotnet
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.Snippets/AddressesClientSnippets.g.cs
26,420
C#
#region Licence /* The MIT License (MIT) Copyright © 2015 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> 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 limita...
48.613636
199
0.696587
[ "MIT" ]
DejanMilicic/Brighter
src/Paramore.Brighter/Eventsourcing/Attributes/UseCommandSourcingAttribute.cs
4,289
C#
/* * Prime Developer Trial * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Col...
32.591837
142
0.557504
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/WatchlistAPIforDigitalPortals/v2/src/FactSet.SDK.WatchlistAPIforDigitalPortals/Model/InlineObject2.cs
4,791
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("Be...
38.081081
84
0.7445
[ "MIT" ]
marcoskoch/Beerino
Beerino.Infra.Data/Properties/AssemblyInfo.cs
1,412
C#
using UnityEngine; using System.Collections; using Fluent; using System; namespace Fluent { public class IfNode : SequentialNode { Func<bool> test; public IfNode(GameObject gameObject, Func<bool> test, FluentNode node) : base(gameObject, node) { this.test = test...
19.042553
78
0.503911
[ "MIT" ]
Mahmood34/Withering
Withering/Assets/3rdParty/FluentDialogue/Nodes/IfNode.cs
895
C#
using System.Collections.Generic; using System.Linq; namespace Game.IteratorPattern { class HashIterator<T> : Agregator<T> where T : class { private Dictionary<int, T> hashMap; private int index; public HashIterator() { hashMap = new Dictionary<int, T>(); } ...
23.907407
61
0.515879
[ "MIT" ]
fr0stylo/DesginPatterns2018
Game/Game/IteratorPattern/HashIterator.cs
1,293
C#
using System; using Chakad.Bootstraper; using Chakad.MessageHandler.EventSubscribers; using Chakad.Messages.Command; using Chakad.Messages.Events; using Chakad.Pipeline; using Chakad.Pipeline.Core; using Chakad.Pipeline.Core.Exceptions; namespace Chakad.Console { class Program { private static IComman...
32.038462
118
0.555822
[ "Apache-2.0" ]
masoud-bahrami/Chakad.Pipeline4Monolith
Samples/Console/Console/Program.cs
3,334
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace General.Entities { public class MyDropBox { public int Id { get; set; } public string DropItemName { get; set; } public string Date { get; set; } publi...
30.943089
58
0.582764
[ "MIT" ]
batuhan-yilmaz/TODO-project-asp.netcore-webapp
General.Entities/UserFunctions/UserFunctions.cs
3,808
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/shellapi.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
36.860465
145
0.708517
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/shellapi/OPEN_PRINTER_PROPS_INFO64WTests.Manual.cs
1,587
C#
using PipServices3.Components.Build; using PipServices3.Commons.Refer; namespace PipServices3.Components.Count { /// <summary> /// Creates ICounters components by their descriptors. /// </summary> /// See <a href="https://rawgit.com/pip-services3-dotnet/pip-services3-components-dotnet/master/doc/api/c...
60.971429
183
0.699625
[ "MIT" ]
ajoycekyrio/pip-services3-components-dotnet
src/Count/DefaultCountersFactory.cs
2,136
C#
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms. ////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved // //////////...
41.882353
175
0.574438
[ "Apache-2.0" ]
Bellseboss-Studio/ProyectoPrincipal_JuegoDePeleas
Assets/Wwise/Deployment/Components/AkTriggerMouseExit.cs
712
C#
using System; namespace CommonDeliveryFramework { /// <summary> /// Notifies that a security exception has been captured and a application safe message has been added to this exception. /// </summary> public class SecurityException : ManagedException { /// <summary> /// Creates an ...
40.021277
136
0.640085
[ "MIT" ]
CodeFactoryLLC/CommonDeliveryFramework
CDF-Solution/CommonDeliveryFramework/SecurityException.cs
1,883
C#
namespace HiWorld.Web.ViewModels.Home { using System; using System.Collections.Generic; using System.Text; public class ProfileFollowingViewModel { public int Id { get; set; } public string Name { get; set; } public bool IsProfile { get; set; } public string Imag...
19.333333
45
0.617816
[ "MIT" ]
IvanMakaveev/HiWorld
HiWorld/Web/HiWorld.Web.ViewModels/Home/ProfileFollowingViewModel.cs
350
C#
using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Base; using Stratis.Bitcoin.Builder; using Stratis.Bitcoin.Builder.Feature; using Stratis.Bitcoin.Configurati...
42.748663
237
0.663998
[ "MIT" ]
monsieurleberre/StratisBitcoinFullNode
src/Stratis.Bitcoin.Features.BlockStore/BlockStoreFeature.cs
7,996
C#
 using System; using System.Collections.Generic; using System.Linq; using System.Text; //using Microsoft.Practices.Composite.Modularity; using Microsoft.Practices.Unity; //using Microsoft.Practices.Composite.Regions; using TwaijaComposite.Modules.ColumnsManager.Viewmodels; using TwaijaComposite.Modules.ColumnsManager....
75.644295
327
0.782096
[ "MIT" ]
chidionuekwusi/Twaija
TwaijaComposite.Modules.ColumnsManager/ColumnsManagerModule.cs
11,273
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using SeoSchema; using SeoSchema.Enumerations; using SuperStructs; namespace SeoSchema.Entities { /// <summary> /// The act of being defeated in a competitive activity. /// <see cref="https://schema.org/LoseAction"/> ...
57.595745
427
0.686738
[ "MIT" ]
jefersonsv/SeoSchema
src/SeoSchema/Entities/LoseAction.cs
5,414
C#
using Avalonia.Platform; namespace Avalonia.Media.TextFormatting { /// <summary> /// A text run that supports drawing content. /// </summary> public abstract class DrawableTextRun : TextRun { /// <summary> /// Gets the bounds. /// </summary> public abstract Rect Bou...
29.043478
84
0.598802
[ "MIT" ]
Artentus/Avalonia
src/Avalonia.Visuals/Media/TextFormatting/DrawableTextRun.cs
670
C#
using BS_Utils.Utilities; using System.Reflection; using UnityEngine; using UnityEngine.XR; namespace BeatSaberMultiplayerLite { public class OnlineVRController : VRController { public OnlinePlayerController owner; Vector3 targetPos; Quaternion targetRot; VRPlatformHelper _pl...
36.485714
157
0.597494
[ "MIT" ]
Nyrotek1/BeatSaberMultiplayer
BeatSaberMultiplayer/OverriddenClasses/OnlineVRController.cs
2,556
C#
using System.Collections.Generic; public class SoldiersList : List<Soldier> { public void OnSoldierKilled(object sender, KillEventArgs args) { args.Soldier.SoldierKilled -= this.OnSoldierKilled; args.KingDefended.BeingAttacked -= args.Soldier.OnKingBeingAttacked; this.Remove(args.Soldi...
30.181818
76
0.722892
[ "MIT" ]
TihomirIvanovIvanov/SoftUni
C#Fundamentals/C#OOP-Advanced/06CommunicationAndEvents/CommunicationAndEventsExer/KingsGambitExtended/Models/SoldiersList.cs
334
C#
// Copyright (c) 2018-2020 Alexander Bogarsukov. // Licensed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using UnityEngine; namespace UnityFx.Mvc { /// <summary> /// A generic view. /// </summary> /// <remarks> /// In the Model-View-Controller (MVC) pat...
28.351351
115
0.672069
[ "MIT" ]
Arvtesh/UnityFx.AppStates
Assets/Plugins/UnityFx.Mvc/Runtime/Abstractions/Mvc/IView.cs
1,051
C#
// // AddinUrlAttribute.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. // // 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 restric...
31.5
80
0.713698
[ "MIT" ]
firox263/Hyena.Addins
Hyena.Addins/Hyena.Addins/AddinUrlAttribute.cs
1,701
C#
#nullable enable using System; using System.Text.Json; using System.Text.Json.Serialization; using NetworkPrimitives.Ipv4; namespace NetworkPrimitives.JsonConverters.Ipv4 { public class Ipv4AddressRangeJsonConverter : JsonConverter<Ipv4AddressRange> { private Ipv4AddressRangeJsonConverter() { } ...
31.730769
80
0.698182
[ "MIT" ]
binarycow/NetworkPrimitives
src/NetworkPrimitives.JsonConverters/Ipv4/Ipv4AddressRangeJsonConverter.cs
827
C#
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Reflection; using QuestomAssets.AssetsChanger; using QuestomAssets...
37.385482
178
0.448328
[ "MIT" ]
Kylemc1413/QuestomAssets
Assplorer/ExploreTree.cs
29,873
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics.Contracts; using System.Runtime.InteropServices; using Conditional = System.Diagnostics.ConditionalAttribute; namespace System.N...
33.129202
139
0.416599
[ "MIT" ]
nslottow/corefx
src/System.Runtime.Numerics/src/System/Numerics/BigIntegerBuilder.cs
50,257
C#
using JetBrains.Annotations; using JetBrains.ReSharper.PostfixTemplates.CodeCompletion; using JetBrains.ReSharper.PostfixTemplates.Contexts.CSharp; using JetBrains.ReSharper.PostfixTemplates.LookupItems; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; namespace JetBrains.ReSharper.Pos...
34.830769
129
0.734541
[ "MIT" ]
controlflow/resharper-postfix
PostfixTemplates/Templates/CSharp/ParenthesizedExpressionTemplate.cs
2,266
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Security.Cryptography; using System.Text.Json; using Syst...
37.839827
187
0.518877
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/core/Azure.Core.TestFramework/src/TestRecording.cs
17,484
C#
using HotChocolate; using HotChocolate.Types; using Microsoft.Extensions.Localization; using System.Linq; using TH.POST.Address.Domain.Entities; using TH.POST.Address.Persistence.Context; namespace TH.POST.Address.SQLServer.GraphQL.Features.Provinces { public class ProvinceType : ObjectType<ProvinceEntity> { ...
36.928571
125
0.608511
[ "MIT" ]
WutXoXo/graph-post-addr-th
src/WebGraphQL/TH.POST.Address.SQLServer.GraphQL/Features/Provinces/ProvinceType.cs
2,587
C#
#region Apache Notice /***************************************************************************** * $Revision: 374175 $ * $LastChangedDate: 2006-04-25 19:40:27 +0200 (mar., 25 avr. 2006) $ * $LastChangedBy: gbayon $ * * iBATIS.NET Data Mapper * Copyright (C) 2006/2005 - The Apache Software Foundation * * * ...
38.162791
108
0.619744
[ "Apache-2.0" ]
chookrib/Castle.Facilities.IBatisNet
src/IBatisNet.DataMapper/MappedStatements/ResultStrategy/ResultClassStrategy.cs
3,282
C#
// // LocalStream.cs // // Authors: // Alan McGovern alan.mcgovern@gmail.com // // Copyright (C) 2020 Alan McGovern // // 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 restrictio...
36.117978
133
0.614403
[ "MIT" ]
OneFingerCodingWarrior/monotorrent
src/MonoTorrent/MonoTorrent.Streaming/LocalStream.cs
6,431
C#
namespace WebhookClient.Services; public class WebhooksClient : IWebhooksClient { #region Fields private readonly IHttpClientFactory _httpClientFactory; private readonly Settings _settings; #endregion #region Ctor public WebhooksClient(IHttpClientFactory httpClientFactory, IOptions<...
26.578947
116
0.69901
[ "MIT" ]
dogaanismail/eCommerceOnContainer
src/Web/WebhookClient/Services/WebhooksClient.cs
1,012
C#
using System; using Microsoft.Maui.Handlers; using Microsoft.Maui; namespace Comet.Handlers { public partial class NavigationViewHandler: ViewHandler<ShapeView, object> { protected override object CreateNativeView() => throw new NotImplementedException(); } }
22.416667
86
0.788104
[ "MIT" ]
Clancey/Comet
src/Comet/Handlers/Navigation/NavigationViewHandler.Standard.cs
271
C#
using System; using System.Collections.Generic; using Monodoc; using Mono.Options; namespace Mono.Documentation { class MDocTreeDumper : MDocCommand { public override void Run (IEnumerable<string> args) { var validFormats = RootTree.GetSupportedFormats (); string cur_format = ""; var formats = new Dic...
27.229508
89
0.599639
[ "Apache-2.0" ]
CRivlaldo/mono
mcs/tools/mdoc/Mono.Documentation/dump.cs
1,661
C#
using Aspose.Cells.Common.Models.DTO.SEOApi; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; namespace Aspose.Cells.Common.Services { public class FileFormatService : BaseApiCacheService { public async Task<FileFor...
38.282051
134
0.659745
[ "MIT" ]
aspose-cells/Aspose.Cells-for-.NET
Demos/Apps/Aspose.Cells.Common/Services/FileFormatService.cs
1,493
C#
namespace Root.Coding.Code.Models.E01D.Core.Reflection.Emit.DelegateFactories { public abstract class ReflectionDelegateFactory { public abstract Root.Coding.Code.Enums.E01D.Core.Reflection.Emit.DelegateFactories.ReflectionDelegateFactoryKind Kind { get; } } }
35.375
135
0.777385
[ "Apache-2.0" ]
E01D/Base
src/E01D.Base.Clr.DotNet.Emit.Models/Coding/Code/Models/E01D/Base/Reflection/Emit/DelegateFactories/ReflectionDelegateFactory.cs
285
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.Collections.Generic; namespace MonoGame.Tools.Pipeline { public interface IContentItemObserver { voi...
22.355556
91
0.576209
[ "MIT" ]
Gitspathe/MonoGame
Tools/MonoGame.Content.Builder.Editor/Common/IController.cs
3,018
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace Senai.Optus.WebApi.Domains { public partial class OptusContext : DbContext { public OptusContext() { } public OptusContext(DbContextOptions<OptusContext> options) ...
32.703297
213
0.517809
[ "MIT" ]
jv-soncini/Exercicios-API
Optus/Senai.Optus.WebApi/Senai.Optus.WebApi/Contexts/OptusContext.cs
2,978
C#
namespace OPS.Core.DTO { public class FiltroDenunciaDTO { public string sorting { get; set; } public int count { get; set; } public int page { get; set; } public bool MensagensNaoLidas { get; set; } public bool AguardandoRevisao { get; set; } public bool Pendent...
26.625
52
0.549296
[ "Apache-2.0" ]
VanderleiDenir/operacao-politica-supervisionada
OPS.Core/DTO/FiltroDenunciaDTO.cs
641
C#