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
namespace Twilio.AspNet.Common { /// <summary> /// Base class for mapping incoming request parameters into a strongly typed object /// </summary> public abstract class TwilioRequest { /// <summary> /// Your Twilio account id. It is 34 characters long, and always starts with the ...
34.971831
250
0.540878
[ "Apache-2.0" ]
MattHartz/twilio-aspnet
src/Twilio.AspNet.Common/TwilioRequest.cs
2,485
C#
using Umbraco.Core; using Umbraco.Core.Cache; using Umbraco.Core.Components; using Umbraco.Core.Services; using Umbraco.Core.Strings; using Umbraco.Core.Logging; using Umbraco.Core.Scoping; using Umbraco.Web.HealthCheck.Checks.DataIntegrity; using LightInject; using Umbraco.Core.Configuration; using Umbraco.Core.Model...
40.288462
92
0.679236
[ "MIT" ]
ismailmayat/Umbraco-CMS
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheComponent.cs
2,097
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace FirstLook.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult...
20.166667
68
0.535537
[ "Apache-2.0" ]
silkspinner/itc172W18-firstlook
Controllers/HomeController.cs
607
C#
//--------------------------------------------------------------------- // <copyright file="IconManager.cs" company="Microsoft"> // Copyright © ALM | DevOps Ranger Contributors. All rights reserved. // This code is licensed under the MIT License. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF // ...
37.846154
148
0.601626
[ "MIT" ]
ALM-Rangers/Sample-Code
src/TFS-Word-Add-In/WordAddIn/IconManager.cs
1,479
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Sy...
35.854369
129
0.727051
[ "MIT" ]
Alstig/csla
Source/Csla.Analyzers/Csla.Analyzers.Tests/DoesChildOperationHaveRunLocalRemoveAttributeCodeFixTests.cs
3,695
C#
using System.Collections.Generic; using UnityEngine; using VitrivrVR.Query; using VitrivrVR.Query.Display; namespace VitrivrVR.UI { public class QuerySettingsView : MonoBehaviour { public UITableController statisticsTable; public List<QueryDisplay> queryDisplayPrefabs; private void Awake() { ...
25.634615
92
0.690923
[ "MIT" ]
N4karin/vitrivr-vr
Assets/Scripts/VitrivrVR/UI/QuerySettingsView.cs
1,333
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(".NE...
36.730769
77
0.753927
[ "Apache-2.0" ]
JakeLardinois/NetMF.Toolbox
Framework/Hardware.Somo/Properties/AssemblyInfo (4.2).cs
956
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> //---...
44.038462
80
0.674236
[ "MIT" ]
maftooh/ICO-Platform-Client
Src/IOCPlatform/IOCPlatform.UI/obj/Debug/net6.0-windows/ICOPlatform.UI.AssemblyInfo.cs
1,145
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> //--...
34.419355
151
0.582006
[ "MIT" ]
DegaOne/PathFinding_Demo
SolentimTest/Properties/Settings.Designer.cs
1,069
C#
using System; /* * Copyright 2007 ZXing authors * * 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 ...
37.267241
132
0.566505
[ "MIT" ]
krolpiotr/PHOENIX.Fakturering
itextsharp-core/iTextSharp/text/pdf/qrcode/Mode.cs
4,323
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using NGitLab.Models; namespace NGitLab.Impl { /// <summary> /// https://docs.gitlab.com/ce/api/groups.html /// </summary> public class GroupsClient : IG...
35.933333
180
0.594991
[ "MIT" ]
Maximetinu/NGitLab
NGitLab/Impl/GroupsClient.cs
5,392
C#
//------------------------------------------------------------------------------- // <copyright file="IBindingWhenSyntax.cs" company="Ninject Project Contributors"> // Copyright (c) 2007-2009, Enkari, Ltd. // Copyright (c) 2009-2011 Ninject Project Contributors // Authors: Nate Kohari (nate@enkari.com) // ...
49.478723
117
0.639755
[ "Apache-2.0" ]
tailsu/JustMockLite
Telerik.JustMock/AutoMock/Ninject/Syntax/IBindingWhenSyntax.cs
9,302
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: AssemblyTit...
39.891892
85
0.732385
[ "MIT" ]
jivygroup/XmlConfigComparer
MP.XmlConfigComparer.Core.Unit.Tests/Properties/AssemblyInfo.cs
1,479
C#
// <auto-generated /> using System; using CBEDL; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace CBEDL.Migration...
34.717042
125
0.451051
[ "MIT" ]
210503-Reston-KwikKoder/Back-End-Competitions
CBE/CBEDL/Migrations/20210630220346_lCSMigration.Designer.cs
10,799
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
49.88172
476
0.637637
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapCloudForCustomerSource.cs
4,639
C#
using UnityEditor; using System.Reflection; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace NaughtyAttributes.Editor { public static class PropertyUtility { public static T GetAttribute<T>(SerializedProperty property) where T : class { T[] a...
29.395225
148
0.667389
[ "MIT" ]
omar92/NaughtyAttributes
Assets/NaughtyAttributes/Scripts/Editor/Utility/PropertyUtility.cs
11,084
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Ogólne informacje o zestawie są kontrolowane poprzez następujący // zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje // powiązane z zestawem. [assembly: AssemblyTitle("Monolitycznie")]...
39.702703
124
0.767869
[ "MIT" ]
loginprojects/Gra
GraZaDuzoZaMalo/Monolitycznie/Properties/AssemblyInfo.cs
1,516
C#
namespace FaraMedia.FrontEnd.Administration.GridModels.Miscellaneous { using System.Web.Mvc; using FaraMedia.Data.Schemas.Systematic; using FaraMedia.FrontEnd.Administration.GridModels.Common; using FaraMedia.FrontEnd.Administration.Models.Systematic; using FaraMedia.Web.Framework.Mvc.Extensions; ...
60.5
253
0.748967
[ "MIT" ]
m-sadegh-sh/FaraMedia
src/Presentation/FaraMedia.FrontEnd.Administration/GridModels/System/NewsletterSubscriptionModelGrid.cs
968
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Obi { public class ObiRopeSection : ScriptableObject { [HideInInspector] public List<Vector2> vertices; public int snapX = 0; public int snapY = 0; public int Segments{ get{return vertice...
22.12963
80
0.631799
[ "MIT" ]
usernameHed/BackHome
Assets/Obi/Scripts/DataStructures/ObiRopeSection.cs
1,197
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.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NuGet.Services.Metadata.C...
68.267516
119
0.671954
[ "Apache-2.0" ]
zhhyu/NuGet.Services.Metadata
src/Catalog/Schema.cs
10,720
C#
using System; using System.IO; using Microsoft.Net.Http.Headers; namespace Quantumart.QP8.WebMvc.Extensions.Helpers { public static class MultipartRequestHelper { // Content-Type: multipart/form-data; boundary="----WebKitFormBoundarymx2fSWqWSd0OxQqq" // The spec says 70 characters is a reasonab...
40.849057
106
0.641109
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
QuantumArt/QP
siteMvc/Extensions/Helpers/MultipartRequestHelper.cs
2,165
C#
namespace FortnoxNET.Models.Order { public class EmailInformation { /// <summary> /// Reply to adress. Must be a valid e-mail address /// </summary> public string EmailAddressFrom { get; set; } /// <summary> /// Customer e-mail address /// </summary> ...
25.361111
59
0.514786
[ "MIT" ]
sucrose0413/fortnox.NET
Fortnox.NET/Models/Order/EmailInformation.cs
915
C#
/* 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 writing, software * distribu...
32.325581
91
0.639568
[ "Apache-2.0" ]
zhangzihan/nactivity
NActiviti/Sys.Bpm.Engine/Engine/impl/persistence/entity/data/impl/cachematcher/JobsByExecutionIdMatcher.cs
1,392
C#
using System; using System.Threading.Tasks; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace LinFx.Extensions.RabbitMq { /// <summary> /// 消费者 /// </summary> public interface IRabbitMqConsumer { Task BindAsync(string routingKey); Task UnbindAsync(string routingKey); ...
21.684211
83
0.691748
[ "MIT" ]
ailuozhu/LinFx
src/LinFx/Extensions/RabbitMQ/IRabbitMqConsumer.cs
420
C#
using Microsoft.Extensions.Logging; using RapidCore.DependencyInjection; using RapidCore.Migration; namespace RapidCore.Redis.Migration { public class RedisMigrationContext : IMigrationContext { public ILogger Logger { get; set; } public IRapidContainerAdapter Container { get; set; } p...
31.142857
62
0.724771
[ "MIT" ]
rapidcore/rapidcore
src/redis/main/Migration/RedisMigrationContext.cs
438
C#
using Atc.Math.Geometry.CoordinateSystem; using Atc.Structs; using Xunit; namespace Atc.Tests.Math.Geometry.CoordinateSystem { public class CartesianHelperTests { [Theory] [InlineData(0.0, 0.0, 0.0, 0.0)] public void ComputeCoordinateFromPolar(double expectedX, double expectedY, double ...
33.551724
135
0.581021
[ "MIT" ]
atc-net/atc
test/Atc.Tests/Math/Geometry/CoordinateSystem/CartesianHelperTests.cs
2,919
C#
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using Stride.Core.Assets.Compiler; using Stride.Core.IO; using Stride.Assets.Models; using Stride...
37.342105
118
0.677942
[ "MIT" ]
Aggror/Stride
sources/editor/Stride.Assets.Presentation/Preview/ModelPreview.cs
1,419
C#
// Copyright (c) Aksio Insurtech. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Aksio.Cratis.Types.for_ImplementationsOf; public class OneImplementation : IAmAnInterface { }
29.222222
101
0.798479
[ "MIT" ]
aksio-insurtech/Cratis
Specifications/Fundamentals/Types/for_ImplementationsOf/OneImplementation.cs
263
C#
using UnityEngine; using System.Collections.Generic; //As taken from: http://wiki.unity3d.com/index.php?title=Triangulator /// <summary> /// A simple triangulator class /// As taken from: http://wiki.unity3d.com/index.php?title=Triangulator /// </summary> public class TriangulatorSimple { private List<Vector2> m...
26.338583
88
0.394021
[ "MIT" ]
annakampvr/PostGISinUnity
PostGISinUnity/Assets/Scripts/TriangulatorSimple.cs
3,347
C#
using Project0.Library.Models; namespace Project0.Library.Interfaces { public interface IUserPrompts { IStoreRepository Store { get; } void WelcomeMessage(); IUser StartupPrompt(IUserInputInterpreter interpreter); IUser RegisterPrompt(IUserInputInterpreter interpreter, out bool ...
32.884615
106
0.75848
[ "MIT" ]
2011-nov02-net/matthewg-project0
Project0/Project0.Library/Interfaces/IUserPrompts.cs
1,712
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows.Media; using System.Windows.Media.Imaging; using Microsoft.VisualStudio.TaskRunnerExplorer; using YarnTaskRunner.Helpers; namespace YarnTaskRunner { [TaskRunnerExport(Constants.FI...
36.136364
174
0.596586
[ "Apache-2.0" ]
MiguelAlho/YarnTaskRunner
src/TaskRunner/TaskRunnerProvider.cs
5,567
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using bll; namespace unittest { [TestClass] public class UnitTest1 { private readonly Operacao operacao = new Operacao(); [TestMethod] public void TestMethod1() { operacao.Somar(a:1, b:2); operacao...
20
60
0.572727
[ "MIT" ]
albertozaranza/lp220172vacation
alberto_zaranza_dotnet/unittest/UnitTest1.cs
440
C#
// Copyright 2019 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 ...
38.2
123
0.685864
[ "ECL-2.0", "Apache-2.0" ]
AdrianaDJ/dotnet-docs-samples
translate/api/TranslateV3Samples/DeleteGlossary.cs
1,719
C#
using AdventOfCode.Common; var lines = Resources.GetResourceFileLines("input.txt"); int numOfBits = lines.First().Length; static bool OneIsMostFrequent(IEnumerable<string> numbers, int position) { var numWithOne = numbers.Count(n => n[position] == '1'); var half = (float)numbers.Count() / 2; if (numWit...
24.460674
105
0.591181
[ "MIT" ]
premun/advent-of-code
src/2021/03/Program.cs
2,179
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Movement : MonoBehaviour { // Start is called before the first frame update static float spaceShipY = -3.5f; [Range (1f, 10f)] [SerializeField] float spaceShipSpeed = 10f; [SerializeField] private float leftBor...
37.283465
165
0.574657
[ "MIT" ]
EligerGaming/Asteroids2D
Assets/Scripts/Space Ship/Movement.cs
4,735
C#
using System; using UnityEngine; using UnityEngine.EventSystems; public class YJoyStick_ImgTouch : MonoBehaviour, IPointerDownHandler, IDragHandler, IPointerUpHandler { public event Action<Vector2> OnPointerDownEvent; public event Action<Vector2> OnDragEvent; public event Action<Vector2> OnPointerUpEvent;...
27.4
101
0.745985
[ "MIT" ]
yscode001/YGame
YGame/Assets/Plugins/YJoyStick/Scripts/YJoyStick_ImgTouch.cs
687
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.DynamoDBv2")] [assembly: AssemblyDe...
47.21875
248
0.753144
[ "Apache-2.0" ]
pranavmishra7/awssdks
sdk/code-analysis/ServiceAnalysis/DynamoDBv2/Properties/AssemblyInfo.cs
1,511
C#
// Copyright (c) zhenlei520 All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Diagnostics; using System.Linq; using System.Reflection; namespace EInfrastructure.Core.Tools.Systems { /// <summary> /// 应用程序集扩展类 //...
25.9375
95
0.56179
[ "MIT" ]
Hunfnfmvkvllv26/System.Extension.Core
src/Infrastructure/src/EInfrastructure.Core.Tools/Systems/AssemblyCommon.cs
3,143
C#
using System; namespace T05.DateAfter5Days { class Program { static void Main(string[] args) { int day = int.Parse(Console.ReadLine()); int month = int.Parse(Console.ReadLine()); day += 5; switch (month) { case 2: ...
22.66
73
0.281553
[ "MIT" ]
akdimitrov/CSharp-Basics
_CSharpBasics-Book-Nakov-v2019/8.1.ExamPreparation-PartI/T05.DateAfter5Days/Program.cs
1,135
C#
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace UnityEssentials.Extensions.Editor { /// <summary> /// exemple usage: /// /// Open scene view: /// ExtEditorWindow.OpenEditorWindow(ExtEditorWindow.AllNameAssemblyKnown.SceneView, out Type a...
33.63913
133
0.565982
[ "MIT" ]
usernameHed/Philae-Lander
Assets/Plugins/Unity Essentials - Extensions/Editor/ExtEditorWindow.cs
7,739
C#
using System.Web; using System.Web.Optimization; namespace Mediator.Net.Sample.Web { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.A...
38.689655
112
0.580214
[ "Apache-2.0" ]
JiaZhenLin/Mediator.Net
src/Mediator.Net.Sample.Web/App_Start/BundleConfig.cs
1,124
C#
// *********************************************************************** // Assembly : PureActive.Core // Author : SteveBu // Created : 11-02-2018 // License : Licensed under MIT License, see https://github.com/PureActive/PureActive/blob/master/LICENSE // // Last Modified By : Ste...
35.787234
134
0.539685
[ "MIT" ]
JXQJ/PureActive
src/PureActive.Core/Serialization/BaseClassJsonConverter.cs
6,731
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; namespace SimplePaletteQuantizer.Quantizers.Octree { internal class OctreeNode { #region | Fields | private static readonly Byte[] Mask = new Byte[] { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; ...
30.215385
118
0.46054
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Blayer98/FreeSO
Other/libs/ColorQuantizer/SimplePaletteQuantizer/Quantizers/Octree/OctreeNode.cs
7,858
C#
namespace MC_Debug_Monitor.Controls { partial class ScoreboardMonitor { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <par...
52.146953
166
0.630353
[ "MIT" ]
kemo14331/MC-Debug-Monitor
MC Debug Monitor/Controls/ScoreboardMonitor.Designer.cs
14,897
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.Omex.System.Logging; namespace Microsoft.Omex.System.TimedScopes { /// <summary> /// Extensions for TimedScopeResult enum /// </summary> public static class TimedScopeResultExtensions { /// <summary...
25.803571
162
0.696194
[ "MIT" ]
dan-hanlon/Omex
src/System/TimedScopes/TimedScopeResultExtensions.cs
1,447
C#
// Copyright © 2018, Meta Company. All rights reserved. // // Redistribution and use of this software (the "Software") in binary form, without modification, is // permitted provided that the following conditions are met: // // 1. Redistributions of the unmodified Software in binary form must reproduce the ab...
49.686567
113
0.700811
[ "MIT" ]
JDZ-3/MXRManipulation
Assets/MetaSDK/Meta/Hands/HandInput/Scripts/Utility/ToggleMaterialColor.cs
3,346
C#
using System.Collections.Generic; // 非线程安全 public class Pool<T> where T : new() { private int _defaultSize = 0; private List<T> _allGroup = new List<T>(); private List<T> _freeGroup = new List<T>(); public Pool(int defaultSize) { _defaultSize = defaultSize; for (int i = 0; i < defaultSize; ++i) { T obj...
16.909091
44
0.605376
[ "MIT" ]
twenty0ne/unity-x
client/Assets/Unity-X/Pool.cs
940
C#
// Dynamics 365 svcutil extension tool by Kipon ApS, Kjeld Poulsen // This file is autogenerated. Do not touch the code manually namespace Kipon.Dynamics.Plugin.Entities { public partial class CrmUnitOfWork { private IRepository<Account> _accounts; public IRepository<Account> Accounts { get { if (_a...
20.317073
68
0.653661
[ "MIT" ]
kip-dk/dynamics-plugin
Kipon.Dynamics.Plugin/Entities/CrmUnitOfWork.Design.cs
1,666
C#
using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; namespace LivingDocumentation.RenderExtensions.Tests { public partial class TypeDescriptionListExtensions { [TestMethod] public void PopulateInheritedMembers_NullTypes_Sh...
29.017391
104
0.494456
[ "MIT" ]
eNeRGy164/LivingDocumentation
tests/LivingDocumentation.RenderExtensions.Tests/TypeDescriptionListExtensionsTests.PopulateInheritedMembers.cs
3,339
C#
namespace FinancialPortalAPI.Areas.HelpPage.ModelDescriptions { public class KeyValuePairModelDescription : ModelDescription { public ModelDescription KeyModelDescription { get; set; } public ModelDescription ValueModelDescription { get; set; } } }
30.777778
67
0.750903
[ "MIT" ]
drrky-g/FinancialPortalAPI
FinancialPortalAPI/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs
277
C#
namespace VeterinaryClinic.Web.ViewModels { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(this.RequestId); } }
21.4
75
0.67757
[ "MIT" ]
Megi223/VeterinaryClinic
Web/VeterinaryClinic.Web.ViewModels/ErrorViewModel.cs
216
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.eco.medicalcare.common.tpcard.notify /// </summary> public class AlipayEcoMedicalcareCommonTpcardNotifyRequest : IAlipayRequest<AlipayE...
23.227642
127
0.554078
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayEcoMedicalcareCommonTpcardNotifyRequest.cs
2,879
C#
using System.Collections.Generic; using System.ComponentModel; using backend.Models; namespace backend.ViewModels.Common { public abstract class BaseSearchCondition { // [DisplayName("ページネーション")] // public Pagination Pagination {get; set; } public int Rows { get; set; } = 0; pu...
22.666667
52
0.613971
[ "MIT" ]
satohhd/aeframe
backend/ViewModels/Common/BaseSearchCondition.cs
578
C#
using System; using System.Reflection; namespace TheSocialNetwork.ProfileWebAPI.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
22.916667
73
0.763636
[ "MIT" ]
thiagocruzrj/FatLife-SocialNetwork
TheSocialNetwork.ProfileWebAPI/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
275
C#
using System; using System.IO; using System.Text; using QuantConnect.Algorithm; using QuantConnect.Data.Consolidators; using QuantConnect.Data.Market; using QuantConnect.Indicators; namespace QuantConnect.Algorithm.CSharp { /* * John Ehlers' MAMA and FAMA * (programmed by Jean-Paul van Brakel) */ ...
40.315556
146
0.50248
[ "Apache-2.0" ]
bizcad/LeanJJN
Algorithm.CSharp/BizcadAlgorithms/FamaMama/FamaMamaAlgorithm.cs
9,073
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 Microsoft.EntityFrameworkCore.TestUtilities; using Xunit; using Xunit.Abstractions; namespace Microsoft.EntityFrameworkCore.Query ...
47.981707
254
0.487101
[ "Apache-2.0" ]
h0wXD/EntityFrameworkCore
test/EFCore.Sqlite.FunctionalTests/Query/SimpleQuerySqliteTest.cs
7,871
C#
// MIT License // // Copyright(c) 2018 Alexander Popelyuk // // 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 us...
34.578125
84
0.643019
[ "MIT" ]
alexander-popelyuk/DataArt-.NET-School-2018-Lesson-2
Task_2/Sources/Operation.cs
2,215
C#
using System.Linq; using System.Threading.Tasks; using FirstOneTo.ReadModel.Infrastructure; using FirstOneTo.ReadModel.Infrastructure.InMemory; using FluentAssertions; using Nancy; using Nancy.Authentication.Token; using NUnit.Framework; namespace FirstOneTo.Authentication.Service.Tests { [TestFixture] public...
27.604651
78
0.655434
[ "MIT" ]
TomPallister/cqrs-event-sourcing
FirstOneTo.Authentication.Service.Tests/BCryptTests.cs
1,189
C#
using System.Windows.Controls; namespace RINGS.Views { /// <summary> /// AppSettingsView.xaml の相互作用ロジック /// </summary> public partial class HelpView : UserControl { public HelpView() { this.InitializeComponent(); } } }
17.5625
47
0.572954
[ "MIT" ]
anoyetta/RINGS
source/RINGS/Views/HelpView.xaml.cs
299
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.Security.Claims; namespace Microsoft.AspNetCore.Http.Features.Authentication { public interface IHttpAuthenticationFeatu...
27.142857
111
0.747368
[ "Apache-2.0" ]
06b/AspNetCore
src/Http/Http.Features/src/Authentication/IHttpAuthenticationFeature.cs
380
C#
using System; using System.Collections.Generic; using LazyStorage.Interfaces; namespace LazyStorage.InMemory { internal class InMemoryStorage : IStorage { private readonly Dictionary<string, IRepository> _repos; public InMemoryStorage() { _repos = new Dictionary<string, IR...
26.411765
110
0.548627
[ "MIT" ]
TheEadie/LazyStorage
src/LazyStorage/InMemory/InMemoryStorage.cs
1,349
C#
namespace ESchool.Web.ViewModels.Assignment { using System; using System.Collections.Generic; using System.Text; using ESchool.Data.Models; using ESchool.Services.Mapping; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; public class AssignmentPageViewModel : IMapFrom<...
24.6875
69
0.658228
[ "MIT" ]
llukanov/eSchool
Web/ESchool.Web.ViewModels/Assignment/AssignmentPageViewModel.cs
792
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Diagnostics.HealthChecks; using SFA.DAS.LevyTransferMatching.Domain.Interfaces; namespace SFA.DAS.LevyTransferMatching.Web.HealthChecks { public class ApiHealthCheck : IHealthCheck ...
28.702703
92
0.646893
[ "MIT" ]
SkillsFundingAgency/das-levy-transfer-matching-web
src/SFA.DAS.LevyTransferMatching.Web/HealthChecks/ApiHealthCheck.cs
1,064
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
31.285714
81
0.452055
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/ContactManagement/Pages/Contact/Details.aspx.designer.cs
440
C#
/* Copyright (c) Citrix Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above * copyright notice...
38.394168
235
0.529857
[ "BSD-2-Clause" ]
minli1/xenadmin
XenModel/Utils/Helpers.cs
71,108
C#
///////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011-2017 by Rob Jellinghaus. // // Licensed under MIT license, http://github.com/RobJellinghaus/Touchofunk // ///////////////////////////////////////////////////////////////////////////// using ...
34.081633
102
0.569461
[ "MIT" ]
RobJellinghaus/touchofunk
World/Constants.cs
1,672
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.615385
81
0.614599
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Cdn/V20180606/Models/DescribeDomainsConfigRequest.cs
2,055
C#
namespace BetterAPI.Paging { public sealed class TopOptions : IQueryOptions { public bool HasDefaultBehaviorWhenMissing { get; set; } = true; public bool EmptyClauseIsValid => false; public string Operator { get; set; } = "$top"; } }
30
71
0.648148
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
danielcrenna/BetterAPI
src/BetterAPI/Paging/TopOptions.cs
272
C#
// SPDX-License-Identifier: MIT // Copyright (C) 2018-present iced project and contributors using System; using Generator.IO; namespace Generator.Formatters.Rust { struct RustStringsTableSerializer { readonly StringsTable stringsTable; public RustStringsTableSerializer(StringsTable stringsTable) => this.stri...
39.803922
169
0.75665
[ "MIT" ]
0xd4d/iced
src/csharp/Intel/Generator/Formatters/Rust/RustStringsTableSerializer.cs
2,030
C#
// Copyright (c) Josef Pihrt. 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.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAn...
41.183575
160
0.645044
[ "Apache-2.0" ]
TechnoridersForks/Roslynator
source/Analyzers/DiagnosticAnalyzers/UseExpressionBodiedMemberDiagnosticAnalyzer.cs
8,527
C#
// ----------------------------------------------------------------------- // <copyright file="DjvuPage.cs" company=""> // TODO: Update copyright text. // </copyright> // ----------------------------------------------------------------------- using DjvuNet.DataChunks; using DjvuNet.DataChunks.Directory; using DjvuNet...
30.775394
217
0.43572
[ "MIT" ]
fel88/CommonLibs
DjvuNet/DjvuPage.cs
48,781
C#
//------------------------------------------------------------------------------ // This code was generated by a tool. // // Tool : Bond Compiler 0.4.1.0 // File : EventData_types.cs // // Changes to this file may cause incorrect behavior and will be lost when // the code is regenerated. // <auto-generated /> //--...
23.222222
80
0.552033
[ "MIT" ]
304NotModified/ApplicationInsights-dotnet
BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/External/EventData_types.cs
1,672
C#
// Copyright (c) 2021 - for information on the respective copyright owner // see the NOTICE file and/or the repository github.com/boschresearch/assets2036net. // // SPDX-License-Identifier: Apache-2.0 using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using Xun...
31.301075
133
0.549983
[ "Apache-2.0" ]
boschresearch/assets2036net
assets2036net.unittests/Events.cs
2,913
C#
/* * Influx API Service * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 0.1.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text...
32.294521
132
0.551856
[ "MIT" ]
BigHam/influxdb-client-csharp
Client/InfluxDB.Client.Api/Domain/ConstantVariableProperties.cs
4,715
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net; using System.Net.Http; using System.Threading; using Newtonsoft.Json; using System.Threading.Tasks; using System.Net.Http.Headers; using System.Linq; using System.Security.Cryptography.X509Certificates; #if !(C...
38.428725
495
0.577136
[ "Apache-2.0" ]
JotunShard/consuldotnet
Consul/Client.cs
71,441
C#
/* * ORY Hydra * * Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here. * * The version of the OpenAPI document: v1.10.4-alpha.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collecti...
39.6
252
0.566765
[ "Apache-2.0" ]
Stackwalkerllc/sdk
clients/hydra/dotnet/src/Ory.Hydra.Client/Model/HydraPluginSettings.cs
8,118
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/Uxtheme.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime...
61.374532
685
0.675413
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/Uxtheme/Windows.cs
32,776
C#
//this source code was auto-generated by tolua#, do not modify it using System; using LuaInterface; public class Nova_RestorableMaterialWrap { public static void Register(LuaState L) { L.BeginClass(typeof(Nova.RestorableMaterial), typeof(UnityEngine.Material)); L.RegFunction("SetTexture", SetTexture); L.RegFu...
32.147541
137
0.719871
[ "MIT" ]
Orangexx/NovaForStudy
Assets/Nova/Sources/ThirdParty/ToLua/Source/Generate/Nova_RestorableMaterialWrap.cs
5,885
C#
using System.Data; using System.Linq; using System.Text; using YJC.Toolkit.Cache; using YJC.Toolkit.MetaData; using YJC.Toolkit.Sys; namespace YJC.Toolkit.Data { [CacheInstance] [AlwaysCache] [SqlProvider(RegName = REG_NAME, Author = "YJC", CreateDate = "2009-04-10", Description = DESCRIPTION)] intern...
43.932692
117
0.584592
[ "BSD-3-Clause" ]
madiantech/tkcore
Data/YJC.Toolkit.AdoData/Data/_Provider/YukonSqlProvider.cs
4,681
C#
using System; using UnityEngine; using UniRx; namespace SocialGame.Internal.Loading { internal interface ILoadingModel { IObservable<GameObject> OnAddAsObservable(); IObservable<Unit> OnShowAsObservable(); IObservable<Unit> OnHideAsObservable(); } }
18.125
52
0.706897
[ "MIT" ]
hiyorin/TemplateProject-for-Unity
Assets/Plugins/SocialGameTemplate/Scripts/Internal/Loading/ILoadingModel.cs
292
C#
using System; using System.Linq.Expressions; using ReactiveUI; using ReactiveUI.Validation.Abstractions; using ReactiveUI.Validation.Extensions; using ReactiveUI.Validation.Helpers; namespace MovieList { public static class ValidationExtensions { public static bool IsUrl(this string? str) ...
38.142857
111
0.622472
[ "MIT" ]
op07n/test20
MovieList.Core/ValidationExtensions.cs
1,335
C#
namespace Bamboo.Attendance.Blazor.Menus { public class AttendanceMenus { private const string Prefix = "Attendance"; //Add your menu items here... //public const string Home = Prefix + ".MyNewMenuItem"; } }
22.363636
63
0.634146
[ "MIT" ]
BlazorHub/bamboomodules
Bamboo.Attendance/src/Bamboo.Attendance.Blazor/Menus/AttendanceMenus.cs
248
C#
using AutoMapper; using MediatR; using SiteWatcher.Application.Common.Commands; using SiteWatcher.Application.Common.Constants; using SiteWatcher.Application.Common.Validation; using SiteWatcher.Application.Interfaces; using SiteWatcher.Domain.DTOs.User; using SiteWatcher.Domain.Enums; namespace SiteWatcher.Applicati...
35.965517
126
0.735379
[ "MIT" ]
xilapa/SiteWatcher
src/Application/Users/Commands/UpdateUser/UpdateUserCommand.cs
2,088
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting { using System; using System.Collections.Generic; using System.Diagnostics...
42.326693
267
0.647308
[ "MIT" ]
tmds/vstest
src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs
10,624
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SysAnalytics.Model.Commands; using SysAnalytics.Data.Repositories; using SysAnalytics.Data.Infrastructure; using SysAnalytics.CommandProcessor.Command; namespace SysAnalytics.Domain.Handlers { public class DeleteExpenseHan...
31.03125
97
0.72004
[ "MIT" ]
kostyrin/SysAnalytics
SysAnalytics.Domain/Handlers/Expense/DeleteExpenseHandler.cs
995
C#
/******************************************************************************* * Copyright 2012-2019 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...
43.654545
282
0.599667
[ "Apache-2.0" ]
QPC-database/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/SageMaker/Basic/Update-SMContext-Cmdlet.cs
12,005
C#
using System; using System.Collections; namespace NSW.StarCitizen.Tools.Helpers { public static class DisposableUtils { public static void Dispose<T>(T obj) { if (obj != null) { if (obj is IDisposable disposableObj) { d...
27.146341
122
0.508535
[ "MIT" ]
Laeng/StarCitizen
SCTools/SCTools/Helpers/DisposableUtils.cs
1,113
C#
using NUnit.Framework; namespace RequestifyTF2.Tests { [TestFixture] public static class RequestifyTest { public static void TestKill() { var sut = ReaderThread.TextChecker("BoyPussi killed dat boi 28 with sniperrifle. (crit)"); Assert.That(sut, Is.EqualTo(ReaderTh...
32.745455
102
0.577457
[ "MIT" ]
LewdDeveloper/RequestifyTF2
src/Tests/RequestifyTests/Tests.cs
1,803
C#
using System; class A { static void Main() { var h = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); int n = h[0], m = h[1]; Console.WriteLine((n * (n - 1) + m * (m - 1)) / 2); } }
17.666667
67
0.518868
[ "MIT" ]
sakapon/AtCoder-Contests
CSharp/Contests2020/ABC159/A.cs
214
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.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Drawing.Text; using System.Runtime.Inter...
101.716513
462
0.773437
[ "MIT" ]
harunpehlivan/corefx
src/System.Drawing.Common/src/System/Drawing/GdiplusNative.Unix.cs
254,395
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("Sal...
37.567568
84
0.747482
[ "MIT" ]
StefanLB/Programming-Fundamentals---September-2017
19. Objects and Classes - Lab/SalesReport/Properties/AssemblyInfo.cs
1,393
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.System.RemoteSystems { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERE...
34.1
99
0.727273
[ "Apache-2.0" ]
Abhishek-Sharma-Msft/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.System.RemoteSystems/RemoteSystemAuthorizationKind.cs
682
C#
/* * Nz.Framework * Author Paulo Eduardo Nazeazeno * https://github.com/paulonz/Nz.Framework */ namespace Nz.Api.Auth.Extensions { using Microsoft.Extensions.DependencyInjection; using Nz.Core.Business.Impl.Auth; using Nz.Core.DatabaseContext; using Nz.Core.DatabaseContext.Impl.Auth; using Nz....
31.729167
77
0.64281
[ "Apache-2.0" ]
paulonz/Nz.Framework
Src/Api/Auth/Nz.Api.Auth/Extensions/DependencyExtensions.cs
1,532
C#
/* * Copyright 2012-2017 The Pkcs11Interop Project * * 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 app...
38.08427
133
0.579436
[ "Apache-2.0" ]
arkkadin/pkcs11Interop
src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI81/MechanismParams/CkOtpSignatureInfo.cs
6,779
C#
using System; namespace chapter09.lib.Helpers { public static class HashingExtension { public static string ToSHA1(this byte[] data) { var sha1 = System.Security.Cryptography.SHA1.Create(); var hash = sha1.ComputeHash(data); return Convert.ToBase64String(h...
21.4375
66
0.606414
[ "MIT" ]
PacktPublishing/Hands-On-Machine-Learning-With-ML.NET
chapter09/chapter09.lib/Helpers/HashingExtension.cs
345
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Robock.Background")] [assembly: AssemblyDescription("")]...
33.232143
100
0.707684
[ "MIT" ]
mika-f/Robock
Source/Robock.Background/Properties/AssemblyInfo.cs
2,956
C#
using System.Threading.Tasks; using CollabAssist.Incoming.Models; namespace CollabAssist.Incoming.DevOps.Client { public interface IDevOpsClient { Task<string> GetPullRequestMetaData(PullRequest pr, string key); Task<bool> StorePullRequestMetadata(PullRequest pr, string key, string data); ...
29.333333
85
0.740909
[ "MIT" ]
Dyllaann/CollabAssist
src/CollabAssist.Incoming.DevOps/Client/IDevOpsClient.cs
442
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> //---...
39.411765
337
0.57791
[ "MIT" ]
Joey35233/FoxKit-3
FoxKit/Assets/FoxKit/Fox/Generated/Fox/Core/UInt16StringMapPropertyDifference.generated.cs
3,350
C#
using System; using System.Collections.Generic; using System.Linq; namespace ListExample { class Cliente { public string Nome { get; set; } public string CPF { get; set; } public override string ToString() { return $"NOME: {Nome}"; } } class Program ...
25.30303
70
0.494611
[ "MIT" ]
flaviogf/Cursos
geral/curso_devmedia_csharp/ListExample/Program.cs
838
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ModernUI.Windows.Navigation { /// <summary> /// Identifies the types of navigation that are supported. /// </summary> public enum NavigationType { /// ...
23.214286
63
0.549231
[ "MIT" ]
chuongmep/ModernUI
Genew.ModernUI/Genew.ModernUI/Windows/Navigation/NavigationType.cs
652
C#