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.Collections.Generic; namespace NLog.Extensions.AzureStorage { internal sealed class SortHelpers { /// <summary> /// Key Selector Delegate /// </summary> /// <typeparam name="TValue">The type of the value.</typeparam> /// <typeparam name="TKey">The type of th...
36.454545
141
0.552369
[ "MIT" ]
CptButtercup/NLog.Extensions.AzureStorage
src/NLog.Extensions.AzureStorage/SortHelpers.cs
1,604
C#
using JetBrains.Annotations; using System; namespace ph4n.Common { /// <summary> /// Clever way to handle events using extentions /// http://stackoverflow.com/a/340638/351028 /// </summary> public static class EventHandlerEx { /// <summary> /// Will raise an event handler in a ...
41.914286
177
0.619632
[ "MIT" ]
buchmoyerm/Lib-ph4n
src/ph4n.Common/EventHandlerEx.cs
1,469
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...
31.375
120
0.633865
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/CodeStarNotifications/Generated/Model/UnsubscribeRequest.cs
2,510
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 * ...
33.2875
180
0.606083
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Mps/V20190612/Models/AiAnalysisTaskTagResult.cs
2,925
C#
#pragma checksum "C:\Users\Bruce\Desktop\Finance\Finance\Views\Shared\_CookieConsentPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d4fdc3d9e6bc2a119e86fb23894c311b8c5abaf6" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeo...
58.152318
301
0.7219
[ "MIT" ]
Bruce979527682/Finance
Finance/obj/Debug/netcoreapp2.2/Razor/Views/Shared/_CookieConsentPartial.g.cshtml.cs
8,781
C#
using System; using System.Linq; using System.Web; using System.Web.UI; using System.Collections.Specialized; using PBIWebApp.Properties; using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.PowerBI.Api.V2; using Microsoft.PowerBI.Api.V2.Models; using Microsoft.Rest; using Newtonsoft.Json; namespace...
47.832117
184
0.634671
[ "MIT" ]
agriggs/PowerBI-Developer-Samples
User Owns Data/integrate-web-app/PBIWebApp/EmbedTile.aspx.cs
6,555
C#
using System; using System.Collections.Generic; using System.Linq; using Mono.Cecil; using Mono.Cecil.Cil; using NLog; namespace Papier { public static class StubDetection { private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); public static bool FindStubsThatAreCalledFr...
47.801105
158
0.465673
[ "MIT" ]
MeFisto94/Papier
Papier/StubDetection.cs
8,654
C#
using UnityEngine; using UnityEditorInternal; using System; using Object = UnityEngine.Object; using System.Collections; using UnityEditor; using System.Text.Ex; using System.Collections.Generic; namespace mulova.comunity { /// <summary> /// Pure C# IList (non SerializableProperty array) cannot be reordered i...
24.779468
107
0.454197
[ "MIT" ]
mulova/comunity
Editor/comunity/drawer/ReorderlessList.cs
6,519
C#
// ----------------------------------------------------------------------------- // 让 .NET 开发更简单,更通用,更流行。 // Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd. // // 框架名称:Furion // 框架作者:百小僧 // 框架版本:2.14.1 // 源码地址:Gitee: https://gitee.com/dotnetchina/Furion // Github:https://github.com/monksoul/Furion // 开源协议...
30
81
0.542667
[ "Apache-2.0" ]
Cuixq123/Furion
framework/Furion.Pure/DataValidation/Attributes/ValidationMessageTypeAttribute.cs
869
C#
using Nextt_Gestao_Compra.Infre.CrossCutting.Configuracao; using System.Web.Http; namespace Nextt_Gestao_Compra.Apresentacao.API { public static class WebApiConfig { public static void Register(HttpConfiguration config) { config.MapHttpAttributeRoutes(); config.Routes....
31.625
77
0.629776
[ "MIT" ]
Philipe1985/NexttWeb
Nextt_Gestao_Compra/Nextt_Gestao_Compra.Apresentacao.API/App_Start/WebApiConfig.cs
761
C#
namespace AnnoSavegameViewer.Structures.Savegame.Generated { using AnnoSavegameViewer.Serialization.Core; public class RegionValue { [BinaryContent(Name = "id", NodeType = BinaryContentTypes.Attribute)] public object Id { get; set; } } }
25.4
73
0.748031
[ "MIT" ]
Veraatversus/AnnoSavegameViewer
src/AnnoSavegameViewer/GeneratedA7s/Structures/Savegame2/Generated/Content/RegionValue.cs
254
C#
/// <summary> /// The icon uv model. /// Contains information neccessary for looking up textures from an atlus. /// </summary> namespace bg3_modders_multitool.Models { public class IconUV { public string MapKey { get; set; } public float U1 { get; set; } public float U2 { get; set; } ...
25.125
74
0.599502
[ "MIT" ]
ShinyHobo/BG3-Modders-Multitool
bg3-modders-multitool/bg3-modders-multitool/Models/IconUV.cs
404
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 ...
26.277778
108
0.692178
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-cr/Cr/Model/V20160607/UpdateRepoAuthorizationRequest.cs
2,365
C#
// <copyright file="HealthCheckStatusExtensions.cs" company="Allan Hardy"> // Copyright (c) Allan Hardy. All rights reserved. // </copyright> namespace App.Metrics.Health { public static class HealthCheckStatusExtensions { public static bool IsDegraded(this HealthCheckStatus status) { return status ==...
41.941176
119
0.746143
[ "Apache-2.0" ]
dkutetsky/Health
src/App.Metrics.Health.Abstractions/HealthCheckStatusExtensions.cs
715
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 ...
49.889488
563
0.642417
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V8/Services/AdGroupAssetServiceClient.g.cs
37,018
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model.Factory { /// <summary> /// 简单工厂的应用 /// </summary> public static class SimpleTicketFactory { /// <summary> /// 将外部参数封装到简单工厂中 /// </summary> ...
27.177419
99
0.478338
[ "Apache-2.0" ]
imwyw/.net
Src/DesignPatternsDemo/DesignComprehensiveTickets/Model/Factory/SimpleTicketFactory.cs
1,763
C#
using System; using System.Collections.Generic; using System.Text; namespace CoreAngular.AdventureWorks { /////////////////////////////////////////////////////////////////////////////// // SAMPLE: Hashing data with salt using MD5 and several SHA algorithms. // // To run this sample, create a new Visua...
42.415625
83
0.525308
[ "MIT" ]
chesteryang/CoreAngular
CoreAngular.AdventureWorks/SmpleHash.cs
13,575
C#
using Core.Ids; using Core.Marten.Events; using Core.Marten.Ids; using Core.Marten.Subscriptions; using Marten; using Marten.Events.Daemon.Resiliency; using Marten.Events.Projections; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Weas...
30.87234
82
0.683666
[ "MIT" ]
mehdihadeli/EventSourcing.NetCore
Core.Marten/Config.cs
2,902
C#
using log4net; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Web.helper { /// <summary> /// 捕获程序出错日志 /// </summary> public class Log4NetExceptionFilter : HandleErrorAttribute { public override void OnException(Exceptio...
29.333333
93
0.604167
[ "Apache-2.0" ]
knifecaojia/CoinsPro
Src/YTWL/WeiXin/CoinNewsMVC/Web/helper/Log4NetExceptionFilter.cs
1,146
C#
using System.Windows.Controls; using Kebler.Models.Interfaces; namespace Kebler.Views { /// <summary> /// Interaction logic for DialogBoxView.xaml /// </summary> public partial class DialogBoxView : IDialogBox { public DialogBoxView() { InitializeComponent(); ...
22.333333
52
0.577825
[ "Apache-2.0" ]
69NEO69/Kebler
src/Kebler/Views/DialogBoxView.xaml.cs
471
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Opc.Ua.Models { ...
35.252941
106
0.532677
[ "MIT" ]
bamajeed/Industrial-IoT
components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa.Protocol/src/Stack/Models/NodeAttributeSet.cs
17,979
C#
using System; using Xamarin.Forms; namespace FormsGallery { class ASAToxicity : ContentPage { public ASAToxicity() { Command<Type> navigateCommand = new Command<Type>(async (Type pageType) => { Page page = (Page)Activator.CreateIn...
43.232558
161
0.234947
[ "Apache-2.0" ]
EricGrahamMacEachern/anesthesiaconsiderations
anesthesiaconsiderations/anesthesiaconsiderations/ASAToxicity.cs
55,888
C#
using System.Collections; namespace Bumbler { public interface ITable { IColumn[] Columns { get; } string Name { get; } bool HasSingleColumnPrimaryKey { get; } } }
14.384615
42
0.647059
[ "Unlicense" ]
Dreameris/.NET-Common-Library
developers-stuff/common-lib/rhino-tools/SampleApplications/Bumbler/Bumbler/ITable.cs
187
C#
namespace Incoding.MSpecContrib { #region << Using >> using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Incoding.Extensions; #endregion public partial class InventFactory<T> : IInventFactoryDsl<T> { #region IIn...
33.008772
182
0.601648
[ "Apache-2.0" ]
Incoding-Software/Incoding-Framework
src/Incoding.MSpecContrib/Invent/InventFactory.Dsl.cs
3,763
C#
using System; using System.Collections.Generic; using Task06.BLL.Interfaces; using Task06.DAL.Interfaces; using Task06.Entities; namespace Task06.BLL { public class AwardLogic : IAwardLogic { private readonly IAwardDao awardDao; public AwardLogic(IAwardDao awardDao) { this...
21.960784
63
0.517857
[ "MIT" ]
RayHammer/xt-net-web
xt-net-web/Task06.BLL/AwardLogic.cs
1,122
C#
using System.Diagnostics; using AppCore.Services; using Microsoft.AspNetCore.Mvc; using Web.Models; namespace Web.Controllers { public class HomeController : Controller { public IActionResult Index() { return View(); } public IActionResult About() { ...
20.714286
112
0.558621
[ "MIT" ]
VKBGroup/core2ntier
Web/Controllers/HomeController.cs
727
C#
// ReSharper disable All namespace OpenTl.Schema { using System; using System.Collections; using OpenTl.Schema; public interface IEncryptedMessage : IObject { long RandomId {get; set;} int ChatId {get; set;} int Date {get; set;} byte[] Bytes {get; set;} } }
14.181818
48
0.608974
[ "MIT" ]
zzz8415/OpenTl.Schema
src/OpenTl.Schema/_generated/_Entities/EncryptedMessage/IEncryptedMessage.cs
314
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.ebpp.community.communityinfo.create /// </summary> public class AlipayEbppCommunityCommunityinfoCreateRequest : IAlipayRequest<AlipayEbppCommunityCommunityin...
22.806452
127
0.550566
[ "MIT" ]
fory77/paylink
src/Essensoft.Paylink.Alipay/Request/AlipayEbppCommunityCommunityinfoCreateRequest.cs
2,838
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Listener { public class Program { pu...
24.16
76
0.692053
[ "MIT" ]
MorganW09/DesignPatterns
test/Listener/Program.cs
606
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Qpsc.cs" company="Microsoft"> // (c) Microsoft Corporation. All rights reserved. // </copyright> // <summary> // MSAGL class for Gradient Projection implementation in Projection...
47.242731
167
0.548289
[ "MIT" ]
AdmiralSnyder/automatic-graph-layout
GraphLayout/MSAGL/Core/ProjectionSolver/QPSC.cs
37,369
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Newtonsoft.Json.Linq; using SharpIrcBot.Collections; using SharpIrcBot.Events.Irc; using SharpIrcBot.Util; namespace SharpIrcBot.Plugins.Punt { public class PuntPlugin : IPlugin, IReloadableConfiguration...
32.875
117
0.545839
[ "MIT" ]
RavuAlHemio/SharpIrcBot
Plugins/Punt/PuntPlugin.cs
4,736
C#
namespace Kopigi.Utils.Class { public enum TimeType { [StringEnum("minutes")] Minutes, [StringEnum("seconds")] Seconds, [StringEnum("milliseconds")] Milliseconds } }
16.285714
36
0.548246
[ "MIT" ]
mplessis/kUtils
Kopigi.Utils/Class/TimeType.cs
230
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Text; using EventStore.Core.Bus; using EventStore.Core.Data; using EventStore.Core.Index; using EventStore.Core.Index.Hashes; using EventStore.Core.Messages; using EventStore.Core.TransactionLog; using EventSt...
36.545872
113
0.711686
[ "Apache-2.0", "CC0-1.0" ]
BrunoZell/EventStore
src/EventStore.Core/Services/Storage/ReaderIndex/IndexCommitter.cs
15,934
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.TestModels.FantasyModel { public class FantasyStoredProceduresContext : FantasyContext { static FantasyStoredProceduresContext() { ...
52.342857
133
0.683406
[ "Apache-2.0" ]
CZEMacLeod/EntityFramework6
test/EntityFramework/FunctionalTests/TestModels/FantasyModel/FantasyStoredProceduresContext.cs
1,834
C#
using System; using System.Collections.Generic; using System.Text; namespace Bakery.Models { public class Bread : BakedFood { private const int InitialBreadPortion = 200; public Bread(string name, decimal price) : base(name, InitialBreadPortion, price) { } } }
18.823529
52
0.634375
[ "MIT" ]
DimitarHaralampiev/C-OOP---Exam
Bakery/Bakery/Models/BakedFoods/Bread.cs
322
C#
using System.Collections.Generic; using UnityEngine; namespace FairyGUI { /// <summary> /// /// </summary> public class HitTestContext { //set before hit test public static Vector2 screenPoint; public static Vector3 worldPoint; public static Vector3 direction; public static bool forTouch; public st...
21.012658
93
0.649398
[ "MIT" ]
21thCenturyBoy/LandlordsProject
Landlords_Client01/Landlords_Client01/Unity/Assets/ThirdParty/FairyGUI/Scripts/Core/HitTest/HitTestContext.cs
1,662
C#
using System; using System.Net; using System.Threading; using System.Threading.Tasks; namespace STUN.Proxy { public interface IUdpProxy : IDisposable { TimeSpan Timeout { get; set; } IPEndPoint LocalEndPoint { get; } Task ConnectAsync(CancellationToken token = default); Task<(byte[], IPEndPoint, ...
28.294118
154
0.740125
[ "MIT" ]
CarolineNS/NatTypeTester
STUN/Proxy/IUdpProxy.cs
465
C#
using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_Camera : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { try { UnityEngine.Camera o; o=new UnityEngine.Camera(); pushValue(l,true); pu...
26.765425
120
0.717461
[ "MIT" ]
zhangjie0072/FairyGUILearn
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_Camera.cs
45,985
C#
using FunctionZero.ExpressionParserZero; using FunctionZero.ExpressionParserZero.BackingStore; using FunctionZero.ExpressionParserZero.Operands; using FunctionZero.ExpressionParserZero.Parser; using FunctionZero.MvvmZero; using FunctionZero.zBind.z; using FunctionZero.zBindTestApp.Mvvm.Pages; using FunctionZero.zBindT...
35.746032
113
0.672291
[ "MIT" ]
Keflon/FunctionZero.zBindTestApp
FunctionZero.zBindTestApp/FunctionZero.zBindTestApp/App.xaml.cs
2,254
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...
45.422222
270
0.735323
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-sk-v01_r04_3/Main/Ca/Infoway/Messagebuilder/Model/Sk_cerx_v01_r04_2/Interaction/DevicePrescriptionDispenseDetailQuery.cs
2,044
C#
using EFCore.Sharding; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.IO; using System.Text; namespace Coldairarrow.Util { /// <summary> /// 描述:数据库操作抽象帮助类 /// 作者:Coldairarrow /// </summary> public abstract class DbHelper { #reg...
31.526316
171
0.498435
[ "MIT" ]
Coldairarrow/Colder.Admin.AntdVue
src/Coldairarrow.Util/DataAccess/DbHelper.cs
10,166
C#
/*********************************************************************\ *This file is part of My Nes * *A Nintendo Entertainment System Emulator. * * * *Copyright (C) 2009 - 2010 ...
41.813725
91
0.460961
[ "Apache-2.0" ]
evgenyvinnik/jvsc-windows-apps
Nes7/Nes/Memory/Mappers/Mapper65.cs
4,267
C#
using Game.Core; using Game.Estate.Tes.Records; using Game.Format.Nif; using System; using System.Linq; using UnityEngine; using static Game.Core.CoreDebug; namespace Game.Estate.Tes.Loader { public static class LoadData { static IDataPack DataPack; public static void Awake() { ...
43.285714
241
0.624129
[ "MIT" ]
libcs/game-estates
src/Estates/Tes/src/Game.Estate.Tes.Unity/Loader/LoadData.cs
2,729
C#
using System; using System.ComponentModel; using System.Collections.Generic; using Newtonsoft.Json; using System.Linq; using STEP; namespace IFC { /// <summary> /// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcwallstandardcase.htm"/> /// </summary> public partial class IfcWallStanda...
35.909091
371
0.727089
[ "MIT" ]
Gytaco/IFC-gen
lang/csharp/src/IFC/IfcWallStandardCase.g.cs
1,975
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using ShoeStore.Products.Infrastructure; namespace ShoeStore.Products.Infrastructure.Migrations { ...
36.084211
125
0.549592
[ "MIT" ]
Shifatullah/shoestore-products-aspnetcore
ShoeStore.Products.Infrastructure/Migrations/ProductsDbContextModelSnapshot.cs
3,430
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...
37.974138
197
0.646765
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Route53Domains/Generated/Model/Internal/MarshallTransformations/ListOperationsResponseUnmarshaller.cs
4,405
C#
#region License & Metadata // The MIT License (MIT) // // 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, modi...
30.816327
78
0.737748
[ "MIT" ]
KeepOnSurviving/SuperMemoAssistant
src/Core/SuperMemoAssistant.Interop/Interop/SuperMemo/Elements/Models/ElemCreationResultCode.cs
1,512
C#
using System; namespace FontAwesome { /// <summary> /// The unicode values for all FontAwesome icons. /// <para/> /// See https://fontawesome.com/cheatsheet /// <para/> /// This code was automatically generated by FA2CS (https://github.com/michaelswells/fa2cs a modified fork from https://github...
36
154
0.588798
[ "MIT" ]
michaelswells/FontAwesomeAttribute
FontAwesome/FontAwesome.Alicorn.cs
2,196
C#
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.T...
35.357143
87
0.419949
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
unified-ban/Data
Unifiedban.Data/OperationLogService.cs
3,962
C#
// // Copyright (c) Microsoft. 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 by appl...
36.191489
110
0.717813
[ "MIT" ]
3quanfeng/azure-powershell
src/Network/Network/Models/AzureFirewallPolicy/PSAzureFirewallPolicy.cs
1,657
C#
// Copyright (c) Bynder. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.Threading.Tasks; using Bynder.Api.Queries; namespace Bynder.Api.Impl.Oauth { /// <summary> /// Interface to send oauth <see cref="Requ...
38.875
108
0.662379
[ "MIT" ]
Geta/bynder-c-sharp-sdk
Bynder/Api/Impl/Oauth/IOauthRequestSender.cs
935
C#
using System.Collections.ObjectModel; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Controllers; using Moq; using Xunit; using Assert = Microsoft.TestCommon.AssertEx; namespace System.Web.Http.Tracing.Tracers { public class HttpActionBindingTracerTest { ...
47.676471
145
0.679827
[ "Apache-2.0" ]
douchedetector/mvc-razor
test/System.Web.Http.Test/Tracing/Tracers/HttpActionBindingTracerTest.cs
4,865
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using DotNetNuke.Entities.Users; using VD.Modules.Framework; using DevExpress.Web; using DataLayer; using DotNetNuke.Services.Localization; using System.Data.SqlClient; using Globa...
42.820896
160
0.651446
[ "BSD-3-Clause" ]
bssoum12/GFA
site/DesktopModules/Materials/Param_Brands.ascx.cs
2,871
C#
using CatenaX.NetworkServices.Registration.Service.Model; namespace CatenaX.NetworkServices.Registration.Service.RegistrationAccess; public interface IRegistrationDBAccess { Task SetIdp(SetIdp idpToSet); }
23.666667
74
0.840376
[ "Apache-2.0" ]
catenax-ng/product-portal-backend
src/registration/CatenaX.NetworkServices.Registration.Service/RegistrationAccess/IRegistrationDBAccess.cs
215
C#
using System; using System.Collections.ObjectModel; using System.Linq; namespace MicroUpsert { public sealed class UpsertCommand { private readonly ReadOnlyCollection<UpsertVector> _values; public static UpsertCommand On(params UpsertVector[] values) { if (values == null) ...
26.409836
85
0.532588
[ "MIT" ]
justin-lovell/micro-upsert
MicroUpsert/UpsertCommand.cs
1,613
C#
#region LICENSE /* Sora - A Modular Bancho written in C# Copyright (C) 2019 Robin A. P. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License...
32.45098
83
0.69426
[ "MIT" ]
Tiller431/yes
Sora/Sora/Events/BanchoEvents/ClientStatus/OnSendUserStatusEvent.cs
1,655
C#
namespace Mvc3Host.Filters { using System.Web.Mvc; using Mvc3Host.Services; public class FooAttribute : ActionFilterAttribute { public IFooService FooService { get; set; } public override void OnActionExecuted(ActionExecutedContext filterContext) { var message = (FooService == ...
35.461538
94
0.689805
[ "Apache-2.0" ]
bmabdi/mvcturbine
src/Engine/Mvc3Host/Filters/FooAttribute.cs
463
C#
// Copyright (c) 2011-2015 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) #if __MonoCS__ using System; using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; namespace X11 { /// <summary> /// Declarations of unmanaged X11 f...
36.722222
115
0.745335
[ "MIT" ]
JohnThomson/libpalaso
PalasoUIWindowsForms/Keyboarding/Linux/X11.cs
1,983
C#
using eBordo.WinUI.Helper; 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 eBordo.WinUI.Forms.AdminPanel.RasporedUtakmica { public partial...
47.513274
142
0.618551
[ "MIT" ]
harispandzic/eBordo-desktop-mobile
eBordo.WinUI/Forms/AdminPanel/RasporedUtakmica/frmDetaljiUtakmice.cs
5,378
C#
using System; using System.Data; using System.Data.OleDb; using System.Drawing; using System.IO; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Text.RegularExpressions; using System.Globalization; using System.Threading; using Sy...
60.750973
634
0.671043
[ "Apache-2.0" ]
robocoder-media/Low-Code-Development-Platform
Web/modules/AdmServerRuleModule.ascx.cs
140,517
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Options; using Abp.Authorization; using Abp.MiniBlog.Authorization.Roles; using Abp.MiniBlog.Authorization.Users; using Abp.MiniBlog.MultiTenancy; namespace Abp.MiniBlog.Identity { public class SecurityStamp...
28.24
87
0.671388
[ "MIT" ]
liuzhenyulive/Abp.MiniBlog
src/Abp.MiniBlog.Core/Identity/SecurityStampValidator.cs
708
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. /****************************************************************************** * This file is auto-generated from ...
41.554608
187
0.57665
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/X86/Sse2/And.SByte.cs
24,351
C#
using System; using System.Collections.Generic; using System.Linq; namespace P01_GenericBox { class Program { static void Main(string[] args) { List<Box<int> > boxes = new List<Box<int>>(); var nLines = int.Parse(Console.ReadLine()); for (int i = 0; i < nLine...
25.236842
81
0.500521
[ "MIT" ]
ignatovg/Software-University
C#-Fundamentals/03_CSharp_OOP_Advanced/02_Generic/Generic_Exercises/P01_GenericBox/Program.cs
961
C#
using System; using System.Collections.Generic; using System.Reflection; using FFImageLoading.Forms; using FFImageLoading.Forms.WinUWP; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace JobInTow...
37.851852
99
0.603718
[ "MIT" ]
danimart1991/xamarin-example-jobintown
src/App/JobInTown.UWP/App.xaml.cs
4,090
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...
41.528302
154
0.608087
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20191101/PrivateLinkService.cs
11,005
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Options; using Abp.Authorization; using PrototipoSistemaFGV.Authorization.Roles; using PrototipoSistemaFGV.Authorization.Users; using PrototipoSistemaFGV.MultiTenancy; using Microsoft.Extensions.Logging; namespa...
32.041667
87
0.750325
[ "MIT" ]
DevsBueller/Proj-Angular-Core
aspnet-core/src/PrototipoSistemaFGV.Core/Identity/SecurityStampValidator.cs
771
C#
using Microsoft.Web.Administration; using PI.Plugin.Exception; using PI.Plugin.Interface; using System; using System.Collections.Generic; using System.Linq; namespace PInstaller.BuiltInBlocks { class IISApplicationPools : PIPlugin { private class IISWebApplicationPool { public stri...
41.205357
138
0.488191
[ "MIT" ]
hoffmannj/PackageInstaller
PInstaller/BuiltInBlocks/IISApplicationPools.cs
4,617
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercicio_1e2_EstruturaDados { public class Funcionario { public string nome; public double salario; } }
17.4
38
0.724138
[ "MIT" ]
LuizGuiTM/Exercicios-Estrutura-de-Dados
Exercicio 1/Exercicio 1e2 EstruturaDados/Funcionario.cs
263
C#
//--------------------------------------------------------------------- // <copyright file="Validator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner Microsoft // @backupOwner Microsoft //-----------------------------------------------------------...
42.496368
150
0.580423
[ "MIT" ]
Abdalla-rabie/referencesource
System.Data.Entity/System/Data/Mapping/ViewGeneration/Validator.cs
17,551
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace LinqToDB.DataProvider.MySql { using SqlQuery; using SqlProvider; class MySqlSqlBuilder : BasicSqlBuilder { public MySqlSqlBuilder(ISqlOptimizer sqlOptimizer, SqlProviderFlags sqlProvi...
30.564179
161
0.663444
[ "MIT" ]
Partiolainen/linq2db
Source/LinqToDB/DataProvider/MySql/MySqlSqlBuilder.cs
10,241
C#
using System.Collections.Generic; namespace FoxTunes { public static class BassParametricEqualizerStreamComponentConfiguration { public const string SECTION = BassOutputConfiguration.SECTION; public const string ENABLED = "AAAAF34F-A090-4AEE-BD65-128561960C92"; public const...
42.644444
110
0.543773
[ "MIT" ]
DJCALIEND/FoxTunes
FoxTunes.Output.Bass.ParametricEqualizer/BassParametricEqualizerStreamComponentConfiguration.cs
3,840
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class KnightController : MonoBehaviour { public BoxCollider2D stopCollider; public Transform leftPosition; private Rigidbody2D body2d; private Transform knightTransform; private Transform stopColPosition; pr...
38.632653
124
0.685684
[ "MIT" ]
kmikus/team2-ist440
Project-CandleLIT/Assets/Scripts/KnightController.cs
1,895
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BCModel; namespace BCBL { public interface IFavoriteBookBL { Task<FavoriteBook> AddBooksReadAsync(FavoriteBook book); Task<List<FavoriteBook>> GetAllBooksReadAsync(); ...
22.764706
64
0.736434
[ "MIT" ]
210503-Reston-NET/BAR-P2
BookClub/BCBL/IFavoriteBookBL.cs
389
C#
/* Copyright (C) 2012 dbreeze.tiesky.com / Alex Solovyov / Ivars Sudmalis. It's a free software for those, who think that it should be free. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DBreeze; using DBreeze.Utils; n...
37.796657
177
0.501032
[ "BSD-2-Clause" ]
ScriptBox99/DBreeze
DBreeze.UWP/DataStructures/DataAsTree.cs
27,140
C#
using System; using System.Management.Automation; using SnipeSharp.Models; using SnipeSharp.PowerShell.BindingTypes; namespace SnipeSharp.PowerShell.Cmdlets { /// <summary>Changes the properties of an existing Snipe-IT manufacturer.</summary> /// <remarks>The Set-Manufacturer cmdlet changes the properties of a...
38.418919
122
0.622934
[ "MIT" ]
cofl/SnipeSharp
SnipeSharp.PowerShell/Cmdlets/Set/SetManufacturer.cs
2,843
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace MVVMLogin { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); ...
17.526316
47
0.675676
[ "MIT" ]
JPiantini98/IntecLoginMVVM
MVVMLogin/MVVMLogin/MVVMLogin/MainPage.xaml.cs
335
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...
40.020134
265
0.614959
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20170601/Inputs/SecurityRuleArgs.cs
5,963
C#
using System.Reflection; using Microsoft.Extensions.DependencyInjection; namespace Klinked.Cqrs { public static class CqrsBus { public static ICqrsBusBuilder UseAssembly(Assembly assembly, IServiceCollection services = null) { var builder = new CqrsBusBuilder(new CqrsOptionsBuilder(...
30.210526
104
0.682927
[ "MIT" ]
bryceklinker/dotnet-common
src/Klinked.Cqrs/CqrsBus.cs
574
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SchedulerService { public class Program { public static voi...
26.391304
67
0.744646
[ "MIT" ]
P-RCollaboration/Scheduler.Services
src/Services/SchedulerService/SchedulerService/Program.cs
607
C#
// -------------------------------------------------------------------------------------------- // Version: MPL 1.1/GPL 2.0/LGPL 2.1 // // The contents of this file are subject to the Mozilla Public License Version // 1.1 (the "License"); you may not use this file except in compliance with // the License. You may obta...
37.203704
95
0.653559
[ "MIT" ]
haga-rak/Freezer
Freezer/GeckoFX/__Core/Generated/nsIDOMElementCSSInlineStyle.cs
2,009
C#
using System; public static class TwoFer { public static string Speak(string input = null) { return $"One for {(input == null ? "you" : input)}, one for me."; } }
20.333333
73
0.595628
[ "MIT" ]
ErikSchierboom/csharp-analyzer
test/Exercism.Analyzers.CSharp.IntegrationTests/Solutions/TwoFer/Interpolation/Null/Block/TwoFer.cs
183
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: AssemblyTi...
38.351351
85
0.723749
[ "MIT" ]
TeamBrett/Angllisense
Tests/Properties/AssemblyInfo.cs
1,422
C#
using System; using System.Collections.Generic; using System.ComponentModel; namespace sakwa { public class IDomainObjectImpl : IBaseNodeImpl, IDomainObject { public IDomainObjectImpl() : base() { NodeType = eNodeType.DomainObject; } public IDomainObjectImpl(string ...
33.452555
117
0.555095
[ "Apache-2.0" ]
sakwa-im/design-studio
sakwa-core/implementation/nodes/IDomainObjectImpl.cs
4,585
C#
//----------------------------------------------------------------------------- // Filename: RTPPacket.cs // // Description: Encapsulation of an RTP packet. // // Author(s): // Aaron Clauson (aaron@sipsorcery.com) // // History: // 24 May 2005 Aaron Clauson Created, Dublin, Ireland. // 11 Aug 2019 Aaron Clauson Ad...
25.911765
79
0.50454
[ "MIT" ]
GB28181/GB28181.Platform2016
sipsorcery/src/net/RTP/RTPPacket.cs
1,762
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Discord; using Discord.Commands; using Discord.WebSocket; using DiscordChannelRolesManager.Helpers.TypeReaders; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Loggi...
38.559441
119
0.514509
[ "MIT" ]
jjzajac/DiscordChannelRolesManager
DiscordChannelRolesManager/Services/CommandHandler.cs
5,514
C#
 namespace MultiTenancy.Northwind.Forms { using Serenity.ComponentModel; using System; using System.ComponentModel; [ColumnsScript("Northwind.Shipper")] [BasedOnRow(typeof(Entities.ShipperRow), CheckNames = true)] public class ShipperColumns { [EditLink, DisplayName("Db....
29.052632
66
0.628623
[ "Unlicense" ]
pratikto/MultiTenancy
MultiTenancy/MultiTenancy.Web/Modules/Northwind/Shipper/ShipperColumns.cs
554
C#
using System.Collections.Generic; namespace USchedule.Shared.Models { public class InstituteSharedModel { public string ShortTitle { get; set; } public IList<GroupSharedModel> Groups { get; set; } public InstituteSharedModel() { Groups = new List<GroupShare...
21.8125
59
0.60745
[ "MIT" ]
stenvix/uschedule-api
src/USchedule.Shared/Models/InstituteSharedModel.cs
351
C#
using System.ComponentModel.DataAnnotations; namespace PutProduct.Model { public class CommentModel { public int Id { get; set; } [Required] public string Message { get; set; } [Required] public int ProductId { get; set; } public string? Name { get; set; } ...
18.571429
53
0.579487
[ "Apache-2.0" ]
mohamedabotir/PutProduct
PutProduct/Model/CommentModel.cs
392
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace DotNetOracleLogger { // Note: For instructions on enabling IIS6 or IIS7 classic mode, // visit http://go.microso...
29.103448
70
0.702607
[ "MIT" ]
AppantasyArthurLai/.NetOracleLogger
Global.asax.cs
846
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using Raven.Client.Documents; using Raven.Client.Documents.Linq; using Raven.Client.Documents.Queries.Facets; using Digitalisert.Models; namespace Digitalisert.Controllers { [Route("api/[controller]")] ...
33.824324
129
0.572113
[ "MIT" ]
askildolsen/digitalisert
Controllers/ResourceController.cs
2,503
C#
using System.Threading.Tasks; using Volo.Abp.Data; using Volo.Abp.DependencyInjection; using Volo.Abp.Guids; using Volo.Abp.MultiTenancy; namespace Bamboo.Employee { public class EmployeeDataSeedContributor : IDataSeedContributor, ITransientDependency { private readonly IGuidGenerator _guidGenerator; ...
28.058824
89
0.647799
[ "MIT" ]
BlazorHub/bamboomodules
Bamboo.Employee/test/Bamboo.Employee.TestBase/EmployeeDataSeedContributor.cs
956
C#
namespace _09.BoolLibrary { using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; public class BoolLibrary { public const string inputFilePath = "input.txt"; public const string outputFilePath = "output.txt"; ...
33.522222
116
0.411999
[ "MIT" ]
Steffkn/SoftUni
02.TechModule-09.2017/Fundamentals/11.FilesAndExceptions/09.BookLibrary/BoolLibrary.cs
3,019
C#
using UnityEngine; namespace FirstGearGames.Utilities.Maths { public class FrameRateCalculator { #region Private. /// <summary> /// Time used to generate Frames. /// </summary> private float _timePassed = 0f; /// <summary> /// Frames performed in TimePa...
27.014493
116
0.521459
[ "Apache-2.0" ]
Levalego/SoulGate
Arena Game/Assets/Plugin/FirstGearGames/Scripts/Utilities/FrameRateCalculator.cs
1,866
C#
using System; using System.Collections.Generic; using System.Text; using ConsoleApp236.Layouts; namespace ConsoleApp236.Factories { public class LayoutFactory { private ILayout layout; public ILayout CreateLayout(string type) { switch (type) { c...
21.555556
48
0.498282
[ "MIT" ]
grekssi/Softuni-Courses
SoftUni/01. .NET Courses/04. C# OOP/07. SOLID/Assignment/Factories/LayoutFactory.cs
584
C#
using System.Windows; using MessageBox = Xceed.Wpf.Toolkit.MessageBox; using ThemeHelper2 = Catel.ThemeHelper; namespace PresetMagician.Views { /// <summary> /// Interaktionslogik für MainWindow.xaml /// </summary> public partial class ThemeControlsWindow { public ThemeControlsWindow() ...
24.172414
69
0.594864
[ "MIT" ]
PresetMagician/PresetMagician
PresetMagician/Views/ThemeControlsWindow.xaml.cs
702
C#
using System; namespace L._01.StudentInfoV02 { class Program { static void Main(string[] args) { //"Name: {student name}, Age: {student age}, Grade: {student grade}" string studentName = Console.ReadLine(); int age = int.Parse(Console.ReadLine()); ...
28.764706
92
0.572597
[ "MIT" ]
denismironov97/Software-Engineering-SoftUni
C# Fundamentals/BasicSyntaxConditionalStatementsAndLoops/L.01.StudentInfoV02/Program.cs
491
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: AssemblyTi...
37.382353
85
0.731707
[ "MIT" ]
aazhbd/PairsMatching
PairsMatching/Properties/AssemblyInfo.cs
1,274
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { [JsiiTypeProxy(nativeType: typeof(IStableStruct), fullyQualifiedName: "jsii-calc.StableStruct")] internal sealed class StableStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNa...
30.857143
109
0.692901
[ "Apache-2.0" ]
digitalsanctum/jsii
packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStructProxy.cs
648
C#
namespace OnlyT.Models { public class LanguageItem { public string LanguageId { get; set; } public string LanguageName { get; set; } } }
16.7
48
0.60479
[ "MIT" ]
Vikingo80/OnlyT
OnlyT/Models/LanguageItem.cs
169
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace TypeProviderInCSharp { static class Helpers { public static void TraceCall() { //var st = new StackTrace(); //var caller_sf = st.GetFrames()[1]; ...
28.227273
147
0.626409
[ "Apache-2.0" ]
AliBaghernejad/visualfsharp
tests/fsharpqa/Source/TypeProviders/Events/TestTP/Helpers.cs
623
C#