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
#region License // <copyright file="StringArrayEnumerator.cs" company="Giacomo Stelluti Scala"> // Copyright 2015-2013 Giacomo Stelluti Scala // </copyright> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to...
25.652482
80
0.544374
[ "MIT" ]
ru-petrovi4/Ssz.Utils
Ssz.Utils.Net4/CommandLine/Parsing/StringArrayEnumerator.cs
3,619
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/MDMRegistration.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.Versi...
43.454545
145
0.762552
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/MDMRegistration/MANAGEMENT_SERVICE_INFO.cs
958
C#
// Copyright (c) rubicon IT GmbH, www.rubicon.eu // // See the NOTICE file distributed with this work for additional information // regarding copyright ownership. rubicon licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may not use this // file except in compliance with the Li...
40.815217
158
0.770706
[ "ECL-2.0", "Apache-2.0" ]
bubdm/TypePipe
Core.UnitTests/Caching/ConstructorForAssembledTypeCacheTest.cs
3,757
C#
using System; namespace SdkBased { public class Class1 { public void GenerateCodeAnalysisWarning(string foo) { if (foo == null) throw new ArgumentNullException("foo"); } } }
17.230769
68
0.589286
[ "MIT" ]
Styxxy/Issue-BuildPropsTargets
SdkBased/Class1.cs
226
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// AgentOrganization Data Structure. /// </summary> public class AgentOrganization : AlipayObject { /// <summary> /// 经代下面二级商户id /// </summary> [JsonPropertyName("agent_...
24.827586
51
0.561111
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/AgentOrganization.cs
810
C#
namespace Borg.Framework.Storage.Contracts { public interface IMimeTypeSpec { string Extension { get; } string MimeType { get; } } }
20.125
43
0.627329
[ "Apache-2.0" ]
mitsbits/Bor
src/Framework/Borg.Framework/Storage/Contracts/IMimeTypeSpec.cs
163
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using ThScoreFileConverter.Extensions; using ThScoreFileConverter.Models; using ThScoreFileConverter.Models.Th15; using ThScoreFileConverterTests.UnitTesting; using ISpellCard = ThScoreFile...
37.122807
110
0.615076
[ "BSD-2-Clause" ]
armadillo-winX/ThScoreFileConverter
ThScoreFileConverterTests/Models/Th15/SpellCardTests.cs
4,234
C#
/* * Copyright 2019 Mikhail Shiryaev * * 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 a...
48.114286
141
0.661075
[ "Apache-2.0" ]
Arvid-new/scada
ScadaWeb/ScadaTable/PlgTableCommon/TablePhrases.cs
6,780
C#
// // FastResume.cs // // Authors: // Alan McGovern alan.mcgovern@gmail.com // // Copyright (C) 2009 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 restriction,...
40.073529
132
0.643853
[ "MIT" ]
corsearch/monotorrent
src/MonoTorrent/MonoTorrent.Client/FastResume/FastResume.cs
5,450
C#
// ***************************************************************************** // // © Component Factory Pty Ltd 2017. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, 13 Swallows Close, // Mornington, Vic 3931...
33.796875
83
0.627369
[ "BSD-3-Clause" ]
BMBH/Krypton
Source/Krypton Components/ComponentFactory.Krypton.Docking/Control Docking/KryptonDockspaceSlide.cs
2,166
C#
namespace Antlr.Examples.LLStar { using System; using System.IO; using Antlr.Runtime; public class LLStarApp { public static void Main(string[] args) { if (args.Length == 1) { string fullpath; if ( Path.IsPathRooted(args[0]) ) fullpath = args[0]; else fullpath = Pat...
27.21875
69
0.669346
[ "MIT" ]
JaDogg/__py_playground
reference/examples-v3/csharp/LL-star/Main.cs
871
C#
namespace Discord { /// <summary> Specifies the state of the client's login status. </summary> public enum LoginState : byte { /// <summary> The client is currently logged out. </summary> LoggedOut, /// <summary> The client is currently logging in. </summary> LoggingIn, ...
31.125
78
0.606426
[ "MIT" ]
230Daniel/Discord.Net
src/Discord.Net.Core/LoginState.cs
498
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerCar : BaseCar { private void Start() { CarName = GameController.m_instance.m_playerData.PlayerName; m_rigidbody = GetComponent<Rigidbody>(); m_meshRenderer = GetComponent<MeshRenderer>(); ...
33.571429
139
0.580476
[ "MIT" ]
maksens/LocoRacers
Beta_0.2.1/Beta_0.2.1/Assets/Scripts/Cars/RaceScripts/PlayerCar.cs
3,997
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose Pty Ltd" file="Options.cs"> // Copyright (c) 2003-2021 Aspose Pty Ltd // </copyright> // <summary> // Permission is hereby granted, free of charge, to any person obtain...
39.666667
119
0.584416
[ "MIT" ]
groupdocs-merger-cloud/groupdocs-merger-cloud-dotnet
src/GroupDocs.Merger.Cloud.Sdk/Model/Options.cs
2,618
C#
// ***************************************************************************** // // © Component Factory Pty Ltd, 2006 - 2016. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, PO Box 1504, // Glen Waverley, Vic...
31.633333
81
0.539515
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.452
Source/Demos/Non-NuGet/Krypton Toolkit Examples/KryptonPanel Examples/Program.cs
952
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://ww...
45.305
142
0.626973
[ "MIT" ]
NonStatic2014/azure-powershell
src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs
8,862
C#
using UnityEngine; using UnityEditor; public class PackageTool { [MenuItem("Package/Update Package")] static void UpdatePackage() { AssetDatabase.ExportPackage("Assets/Kvant", "KvantSprayMV.unitypackage", ExportPackageOptions.Recurse); } }
22.083333
111
0.728302
[ "Unlicense" ]
keijiro/KvantSprayMV
Assets/Editor/PackageTool.cs
265
C#
using System; using System.Collections.Generic; namespace AdventOfCode.Y2021.Day03 { class S02 { public void Solve(List<string> puzzleInput) { int result = 0; var binary = 0; var oxygenList = new List<string>(puzzleInput); var oxygenTempList = new...
32.857143
131
0.419203
[ "MIT" ]
huntpbrennan/AdventOfCode
2021/day03/s02.cs
2,760
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> //---...
43.64
116
0.662695
[ "MIT" ]
davidfowl/CSJsonDB
obj/Debug/net5.0/CSJsonDB.AssemblyInfo.cs
1,091
C#
using AngleSharp; using AngleSharp.Dom; using AngleSharp.Dom.Html; using AngleSharp.Parser.Html; using ComboRox.Core.Utilities.SimpleGuard; using Html2Amp.Sanitization; using Html2Amp.Sanitization.Implementation; using System.Collections.Generic; namespace Html2Amp { public class HtmlToAmpConverter { private Html...
29.228758
117
0.71847
[ "Apache-2.0" ]
mustakimali/Html2Amp
Html2Amp/HtmlToAmpConverter.cs
4,474
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using Analyzer.Utilities; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; namespace Text.Analyzer...
120.241026
462
0.503519
[ "Apache-2.0" ]
LLLXXXCCC/roslyn-analyzers
src/Text.Analyzers/Core/IdentifiersShouldBeSpelledCorrectly.cs
23,447
C#
using System.Xml; using MetX.Standard.Generation.CSharp.Project; using MetX.Standard.Library; using MetX.Standard.Library.Extensions; using MetX.Tests.Standard.Generation.CSharp.Project.Pieces; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MetX.Tests.Standard.Generation.CSharp.Project { public par...
40.992308
108
0.634078
[ "ISC" ]
wrawlsqw/xlg
MetX/MetX.Tests/Standard/Generation/CSharp/Project/ConsoleClientCsProjGeneratorTests_PackageReference.cs
5,331
C#
using System; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace FrogScroller { public partial class ImageViewController : UIViewController { public ImageViewController (int pageIndex) { PageIndex = pageIndex; } public int PageIndex { get; private set; } public static ImageViewController Im...
22.727273
92
0.737333
[ "Apache-2.0" ]
Acidburn0zzz/monotouch-samples
FrogScroller/FrogScroller/ImageViewController.cs
750
C#
using System; using Norm.Responses; using System.Collections.Generic; namespace Norm { /// <summary> /// <see cref="Norm.MongoAdmin"/> /// </summary> public interface IMongoAdmin : IDisposable { AssertInfoResponse AssertionInfo(); BuildInfoResponse BuildInfo(); IMongoDatabas...
35.142857
89
0.700203
[ "BSD-3-Clause" ]
adzerk/NoRM
NoRM/IMongoAdmin.cs
986
C#
using Gu.Roslyn.Asserts; [assembly: TransitiveMetadataReferences(typeof(IDisposableAnalyzers.Test.ValidWithAllAnalyzers))] [assembly: TransitiveMetadataReferences(typeof(Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute))] [assembly: TransitiveMetadataReferences(typeof(System.Windows.Forms.Form))] [a...
49.75
116
0.815327
[ "MIT" ]
AraHaan/IDisposableAnalyzers
IDisposableAnalyzers.Test/AssemblyAttributes.cs
798
C#
using System; using System.Windows; using System.Windows.Media; namespace WpfExtendedWindow.Views.Controls { /// <summary> /// Drawing restore icon /// </summary> public class DrawingRestoreIcon : IDrawingIcon { /// <summary> /// Draws restore icon. /// </summary> /// <param name="drawingCo...
33.534091
97
0.695358
[ "MIT" ]
emoacht/WpfMonitorAware
Source/WpfExtendedWindow/Views/Controls/DrawingRestoreIcon.cs
2,953
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using ReservaSala.Api.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ReservaSala.Api.Controllers { [Route("api/[controller]")] [ApiController] public class EmployeesControll...
29.75641
123
0.521758
[ "MIT" ]
RondineleG/ReservaSala.Api
src/ReservaSala.Api/Controllers/EmployeesController.cs
4,644
C#
using DBTools; using RinnaiPortal.FactoryMethod; using RinnaiPortal.Interface; using RinnaiPortal.Repository.Sign; using RinnaiPortal.Tools; using RinnaiPortal.ViewModel.Sign; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace RinnaiPortal.Repository { public class Dail...
84.962617
341
0.471125
[ "MIT" ]
systemgregorypc/Agatha-inteligencia-artificial-
agathaIA-voice/agathaiaportal/Repository/DailyRepository.cs
9,107
C#
using System; namespace HeyUrl.Domain.Entities { public abstract class EntityBase { public Guid Id { get; private set; } public EntityBase() { Id = Guid.NewGuid(); } } }
15.266667
44
0.537118
[ "MIT" ]
EltonAlvess/short-url
src/HeyUrl.Domain/Entities/EntityBase.cs
231
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.Hosting; using Microsoft.Extensions.Logging; namespace BlazorServer { ...
27.44
95
0.706997
[ "Apache-2.0" ]
ApolonTorq/Detection
sample/BlazorServer/Program.cs
686
C#
/*! * Paradigm Framework - Service Libraries * Copyright(c) 2017 Miracle Devs, Inc * Licensed under MIT(https://github.com/MiracleDevs/Paradigm.Services/blob/master/LICENSE) */ using System.Collections.Generic; using System.Threading.Tasks; namespace Paradigm.Services.Providers { public partial interface IReadPro...
24.444444
90
0.727273
[ "MIT" ]
MiracleDevs/Paradigm.Services
src/Paradigm.Services.Providers/IReadProvider.Async.cs
440
C#
using System; using System.Collections.Generic; ///二叉树后序遍历 :左子树 右子树 根节点 的方式遍历 //给定一个二叉树的根节点 root ,返回它的 中序 遍历。 //输入:root = [1,null,2,3] //输出:[3,2,1] public partial class Solution{ private IList<int> PostOrderTravel(TreeNode root){ List<int> list = new List<int>(); PostOrderTravelImpl(root,list); ...
25.092105
84
0.492921
[ "Apache-2.0" ]
minjoy77/DoLeetCode
CodeProj/02_Tree/145_PostOrderTravel.cs
2,075
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace EZNEW.Cache.String { /// <summary> /// String decrement options /// </summary> public class StringDecrementOptions : CacheOptions<StringDecrementResponse> { /// <summary> /// Gets or sets the cache...
34.74359
153
0.605166
[ "MIT" ]
eznew-net/EZNEW.Develop
EZNEW/Cache/String/Option/StringDecrementOptions.cs
1,357
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ThreeColorLineSeries.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Represents a three-color line series. // </summary> // -...
34.234375
123
0.523848
[ "MIT" ]
AlexeiScherbakov/oxyplot
Source/OxyPlot/Series/ThreeColorLineSeries.cs
8,766
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Newtonsoft.Json.Linq; namespace SolrNet.Cloud { public static partial class SolrClusterStateParser { private static ISolrClusterCollection BuildCollection(JProperty json) { var collection = new...
39.428571
108
0.607708
[ "Apache-2.0" ]
nicholaspei/SoleCloudNet
SolrNet.Cloud/Extended/SolrClusterStateParser.cs
3,038
C#
namespace AspNetSample { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; ...
25.382353
80
0.573581
[ "MIT" ]
dj-doMains/saaslane
samples/AspNetSample/Startup.cs
865
C#
using System.Threading.Tasks; namespace Knapcode.ExplorePackages.Entities { public class HasV2DiscrepancyPackageQuery : IPackageConsistencyQuery { private readonly V2ConsistencyService _service; public HasV2DiscrepancyPackageQuery(V2ConsistencyService service) { _service =...
32.625
111
0.719029
[ "MIT" ]
loic-sharma/ExplorePackages
src/ExplorePackages.Entities.Logic/PackageQueries/PackageConsistencyQueries/HasV2DiscrepancyPackageQuery.cs
785
C#
//------------------------------------------------------------------- /*! @file ModbusClient.cs * @brief This file defines Modbus helper definitiions and classes that are specific to Modbus Clients * * Copyright (c) Mosaic Systems Inc. * Copyright (c) 2011 Mosaic Systems Inc. * Copyright (c) 2010 Mosaic Sy...
55.973233
248
0.65181
[ "ECL-2.0", "Apache-2.0" ]
mosaicsys/MosaicLibCS
Base/Serial/Modbus/ModbusClient.cs
52,279
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 "license" fi...
50.714859
256
0.664779
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/src/Services/StepFunctions/Generated/_netstandard/AmazonStepFunctionsClient.cs
75,772
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. #nullable disable using System.Collections.Immutable; using System.Runtime.CompilerServices; namespace Microsoft....
35.442308
99
0.646772
[ "MIT" ]
belav/roslyn
src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationMethodInfo.cs
3,688
C#
using com.threerings.config; using System.Collections.Generic; using System.IO; using System.Linq; using ThreeRingsSharp.Utility; using ThreeRingsSharp.XansData.Extensions; using ThreeRingsSharp.XansData.XML.ConfigReferences; //using java.io; namespace ThreeRingsSharp.DataHandlers.Properties { /// <summa...
51.404922
358
0.672295
[ "MIT" ]
aytimothy/ThreeRingsSharp
ThreeRingsSharp/DataHandlers/Properties/WrappedDirect.cs
22,980
C#
using System.IO; using System.Collections.Generic; using WinDirStat.Net.Settings.Geometry; using WinDirStat.Net.Model.Data.Nodes; namespace WinDirStat.Net.Drawing { public class TreemapItem : ITreemapItem { private List<TreemapItem> children; private long size; private Rectangle2S rectangle; private string e...
23.380952
69
0.657332
[ "MIT" ]
ImportTaste/WinDirStat.Net
WinDirStat.Net/Drawing/TreemapItem.cs
3,930
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Models { /// <summary> Defines the network interface ip settings. </su...
51.31746
266
0.665326
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/NicIPSettings.cs
3,233
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; namespace TestOkur.Configuration { [Serializable] [ExcludeFromCodeCoverage] public class ConfigurationValidationException : Exception { public ConfigurationValidationException() { } ...
24.2
100
0.652893
[ "MIT" ]
testokur/sabit
src/TestOkur.Configuration/ConfigurationValidationException.cs
728
C#
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clau...
43.923077
152
0.583187
[ "BSD-3-Clause" ]
Manistein/behaviac
tools/designer/Plugins/PluginBehaviac/DataExporters/Cs/ParInfoCsExporter.cs
2,855
C#
using Aurora.Settings; using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using YeeLightAPI.YeeLi...
36.770548
186
0.533203
[ "MIT" ]
ematt/Aurora
Project-Aurora/Project-Aurora/Devices/YeeLight/YeeLightDevice.cs
10,448
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Net; using System.Threading.Tasks; using BuildXL.Distribution.Grpc; using BuildXL.Utilities.Configuration; using BuildXL.Utilities.Instrumentation.Common; using BuildXL.Utilities.Tasks; using Grpc.Core; usi...
31.563107
126
0.581052
[ "MIT" ]
dfederm/BuildXL
Public/Src/Engine/Dll/Distribution/Grpc/GrpcOrchestratorServer.cs
3,251
C#
using RimWorld; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using Verse; namespace NotMyBestWork { public class NotMyBestWorkSettings : ModSettings { public int normalLevelLimit = 8; public int minorPass...
25.642857
79
0.679666
[ "MIT" ]
neronix17/-O21-Not-My-Best-Work
1.3/Source/NotMyBestWork/NotMyBestWorkSettings.cs
720
C#
using Dicom; using RT.Core.Geometry; using RT.Core.ROIs; using RT.Core.DICOM; using System; using System.Collections.Generic; namespace RT.Core.IO.Loaders { public class ROILoader:BaseDicomLoader { public void Load(DicomFile[] files, StructureSet structureSet, IProgress<double> progress) { ...
42.726619
166
0.522479
[ "Apache-2.0" ]
aomiit/rt-dtools
RT.Core/IO/Loaders/ROILoader.cs
5,941
C#
using System; namespace CoherentSolutions.Extensions.Hosting.ServiceFabric.Fabric { public interface IStatefulServiceHostDelegateReplicaTemplateConfigurator : IServiceHostDelegateReplicaTemplateConfigurator { void UseEvent( StatefulServiceLifecycleEvent @event); void UseDe...
31.285714
95
0.757991
[ "MIT" ]
coherentsolutionsinc/aspnetcore-service-fabric-hosting
src/CoherentSolutions.Extensions.Hosting.ServiceFabric/src/Fabric/IStatefulServiceHostDelegateReplicaTemplateConfigurator.cs
440
C#
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- namespace System.ServiceModel.Routing.Configuration { using System; using System.Xml; using System.Collections...
36.2786
175
0.585717
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/NetFx40/System.ServiceModel.Routing/System/ServiceModel/Routing/Configuration/RoutingSection.cs
26,957
C#
#if REVIT_2018 using System; using System.Diagnostics; using System.Collections.Generic; using System.Linq; using System.Threading; using DB = Autodesk.Revit.DB; using DBES = Autodesk.Revit.DB.ExternalService; using DB3D = Autodesk.Revit.DB.DirectContext3D; using RhinoInside.Revit.Convert.Geometry; using Grasshopper;...
35.945687
146
0.656653
[ "MIT" ]
IMVVVVVIP/rhino.inside-revit
src/RhinoInside.Revit/GH/PreviewServer.cs
11,251
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FilePicker.Utils { public class SettingsHelper { public static string UserTokenCacheKey { get { return "USER_TOKEN"; } }...
25.825397
100
0.592502
[ "MIT" ]
OfficeDev/O365-TenantWide-File-Picker
FilePicker/Utils/SettingsHelper.cs
1,629
C#
using System; using System.IO; using System.Web.Configuration; using System.Web.Mvc; using Senparc.Weixin.Exceptions; using Senparc.Weixin.Helpers; using Senparc.Weixin.WxOpen.Entities.Request; using Senparc.Weixin.MP.MvcExtension; using Senparc.Weixin.MP.Sample.CommonService.TemplateMessage.WxOpen; using Senparc.Weix...
41.033058
196
0.564149
[ "Apache-2.0" ]
Flysem/WeiXinMPSDK
Samples/Senparc.Weixin.MP.Sample/Senparc.Weixin.MP.Sample/Controllers/WxOpen/WxOpenController.cs
16,651
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Azure.WebJobs; namespace Imaginet.Samples.WebJobs { // To learn more about Microsoft Azure WebJobs SDK, please see http://go.microsoft.com/fwlink/?LinkID=320976 class Program ...
29.782609
112
0.680292
[ "Apache-2.0" ]
Imaginet-Resources/AzureQueuesAndWebJobs
Imaginet.Samples.AzureQueuesAndWebJobs/Imaginet.Samples.WebJobs/Program.cs
687
C#
using System; using System.Runtime.InteropServices; namespace NAudio.Wave { //http://svn.xiph.org/tags/vorbisacm_20020708/src/vorbisacm/vorbisacm.h [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack=2)] class OggWaveFormat : WaveFormat { //public short cbSize; public uint...
25.8
75
0.715762
[ "MIT" ]
ArisAgnew/NAudio
NAudio.Core/Wave/WaveFormats/OggWaveFormat.cs
387
C#
using SolutionEdit; using Xunit; namespace SolutionEditTest { public class ProjectTypeTest { [Fact] public void ConvertProjectToGuidAndBack() { // Arrange. var projType = ProjectType.Project; // Act. var typeGuid = projType.ToGuid(); ...
23.608696
88
0.570902
[ "MIT" ]
Timboski/solution-edit
SolutionParserTest/ProjectTypeTest.cs
543
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Persistence; namespace Persistence.Migrations { [DbContext(typeof(DataCont...
31.508861
95
0.426
[ "MIT" ]
helderboone/reactivity
persistence/Migrations/20200116164529_AddedFollowingEntity.Designer.cs
12,448
C#
namespace QuranX.Persistence.Services { public interface ISettings { string DataPath { get; } } public class Settings : ISettings { public string DataPath { get; private set; } public Settings(string dataPath) { DataPath = dataPath; } } }
14.5
46
0.689655
[ "MIT" ]
QuranX/QuranX
src/QuranX.Persistence/Services/Settings.cs
263
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 IdentityServer4.Admin.Web { public class Program...
24.84
76
0.697262
[ "MIT" ]
DORAdreamless/IdentityServer4.AdminUI
src/IdentityServer4.Admin/IdentityServer4.Admin.Web/Program.cs
623
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Управление общими сведениями о сборке осуществляется с помощью // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("ArgusWatcher")] [a...
39.189189
99
0.763448
[ "MIT" ]
Shkarlatov/ArgusWatcher
ArgusWatcher/Properties/AssemblyInfo.cs
2,040
C#
using System; using System.ComponentModel; using Android.Content; using Android.Graphics; using Android.Util; using Android.Views; using Android.Widget; using AndroidX.AppCompat.Widget; using AndroidX.Core.View; using Microsoft.Maui.Controls.Internals; using Microsoft.Maui.Controls.Compatibility.Platform.Android.FastRe...
25.749263
120
0.738687
[ "MIT" ]
pictos/maui
src/Compatibility/Core/src/Android/AppCompat/RadioButtonRenderer.cs
8,729
C#
namespace HBM.Web.Migrations { using System; using System.Data.Entity.Migrations; public partial class AddUserStats : DbMigration { public override void Up() { CreateTable( "dbo.UserStats", c => new { ...
43
104
0.503876
[ "MIT" ]
ViktoriiaDubova/HumanBehaviorModel
HBM.Web/HBM.Web/Migrations/201812081701118_AddUserStats.cs
2,451
C#
using Prism.Navigation; namespace Nuits.Prism.Navigation { public interface INavigatable { INavigationService NavigationService { get; } } }
18
53
0.703704
[ "MIT" ]
nuitsjp/Nuits.Prism
Source/Nuits.Prism.Forms/Navigation/INavigatable.cs
164
C#
using Khooversoft.Toolbox; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Khooversoft.Security { /// <summary> /// Calculates HMAC signa...
34.267606
133
0.625154
[ "MIT" ]
khoover768/Khooversoft
Src/Common/Khooversoft.Toolbox/Khooversoft.Security/DelegatingHandlers/HmacHandler.cs
2,435
C#
using System; using System.Drawing; using Gwen.Control; namespace Gwen.ControlInternal { /// <summary> /// Property button. /// </summary> public class ColorButton : Button { private Color m_Color; /// <summary> /// Current color value. /// </summary> publi...
26.25
79
0.546667
[ "MIT" ]
BreyerW/Sharp.Engine
Gwen/ControlInternal/ColorButton.cs
1,052
C#
using Microsoft.Graph; using Microsoft.Graph.Auth; using Microsoft.Identity.Client; using System; using System.Collections.Generic; using System.Threading.Tasks; public class Program { private const string _clientId = ""; private const string _tenantId = ""; public static async Task Main(string[] args) ...
26.468085
76
0.628617
[ "Unlicense" ]
andko3/AZ-204
Labs/06/Starter/Program.cs
1,246
C#
namespace ExampleDLLProjectForUnitTestDependingOnAnotherClass { interface ISalaryCalculator { int calculateSalary(); } }
20.142857
62
0.737589
[ "MIT" ]
maxcuevas/UnitTestingTutorialCSharp
SourceCode/ExampleDLLProjectForUnitTestDependingOnAnotherClass/ISalaryCalculator.cs
143
C#
using System; using Foundation; using Steepshot.Core.Presenters; using Steepshot.iOS.Cells; using UIKit; namespace Steepshot.iOS.ViewSources { public class UserSearchTableViewSource : UITableViewSource { private const string CellIdentifier = nameof(UsersSearchViewCell); private readonly UserFr...
31.325
101
0.669593
[ "MIT" ]
Chainers/steepshot-mobile
Sources/Steepshot/Steepshot.iOS/ViewSources/UserSearchTableViewSource.cs
1,255
C#
using System; namespace Elders.Cronus { public class AggregateRootId : AggregateUrn, IAggregateRootId { /// <summary> /// Prevents a default instance of the <see cref="AggregateRootId"/> class from being created. /// </summary> /// <remarks>Used only for serizalization.</remarks...
35.197674
109
0.594979
[ "Apache-2.0" ]
Elders/Cronus.DomainModeling
src/Elders.Cronus.DomainModeling/AggregateRootId.cs
3,027
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...
33.12
81
0.666667
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20150501Preview/Outputs/ExpressRouteCircuitPeeringConfigResponse.cs
1,656
C#
// =========== // DO NOT EDIT - this file is automatically regenerated. // =========== using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Profiling; using Unity.Mathematics; using Unity.Entities; using Unity.Collections; using Improbable.Gdk.Core; using Improbable.Gdk.Core.CodegenAdap...
35.666667
141
0.481034
[ "MIT" ]
DenDrummer/TI-conf_19-20_groep-1
POC/SpatialOS Maze/gdk-for-unity/test-project/Assets/Generated/Source/improbable/dependentschema/DependentComponentUpdateSender.cs
3,638
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EasyCall.modelo { public class Devedor { public int iddevedor; public string nome; public string cpf; public string email; public string telefon...
18.388889
33
0.670695
[ "MIT" ]
luisc13/EasyCall
modelo/Devedor.cs
333
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace ILPad { public class MarginManager { public static Thickness GetMargin(DependencyObject obj) { return (...
31.764706
164
0.634568
[ "MIT" ]
mzboray/ILPad
ILPad/MarginManager.cs
1,622
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager;...
56.443299
480
0.676073
[ "MIT" ]
KurnakovMaksim/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Generated/LogsSiteConfig.cs
10,950
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2020 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ using System; using System.Collecti...
33.453362
158
0.519561
[ "MIT" ]
297496732/GameFramework
GameFramework/FileSystem/FileSystem.cs
49,445
C#
using System; using AutoBogus; using Bogus; using FluentAssertions; using Moq; using SlothEnterprise.External; using SlothEnterprise.External.V1; using SlothEnterprise.ProductApplication.Applications; using SlothEnterprise.ProductApplication.Handlers; using SlothEnterprise.ProductApplication.Products; using Xunit; nam...
46.91954
108
0.666585
[ "MIT" ]
jarto666/code-test-backend
SlothEnterprise.ProductApplication.Tests/Handlers/ConfidentialInvoiceApplicationHandlerTests.cs
4,082
C#
using System; using System.Reflection; using AutoFixture.Kernel; using NSubstitute; using Xunit; namespace AutoFixture.AutoNSubstitute.UnitTest { public class SubstituteRequestHandlerTest { [Fact] public void ClassImplementsISpecimenBuilderToServeAsFixtureCustomization() { ...
36.27027
125
0.624441
[ "MIT" ]
damian-krychowski/AutoFixture
Src/AutoNSubstituteUnitTest/SubstituteRequestHandlerTest.cs
2,686
C#
using System.Linq; using System.Threading.Tasks; using Autofac.Extras.NLog; using Wiz.Gringotts.UIWeb.Tests.Helpers; using Wiz.Gringotts.UIWeb.Infrastructure.Multitenancy; using Wiz.Gringotts.UIWeb.Models; using Wiz.Gringotts.UIWeb.Models.Clients; using Wiz.Gringotts.UIWeb.Models.Organizations; using Microsoft.VisualS...
35.169492
108
0.630602
[ "MIT" ]
NotMyself/Gringotts
src/UIWeb.Tests/Models/Clients/ClientEditorFormQueryHandlerTests.cs
4,152
C#
using System; namespace StackHeap { public class Person { public int Id { get; set; } } class Program { static void Main(string[] args) { int number = 19; string text = "some text"; bool isTrue = true; Person person = new Per...
21.4
64
0.42243
[ "MIT" ]
chris-t-yan/SEDC-Homework
CSharpHomeworks/AdvancedCSharpHomework/Class10.HeapStackDesposingNullables/StackHeap/Program.cs
1,072
C#
namespace PucSp.DesignPatterns.HtmlBuilder.Core { public interface IHtmlElement { string Tag { get; } IHtmlElement AddNode(IHtmlElement node); IHtmlElement AddAttribute(string name, string value); IHtmlElement AddAttribute(HtmlAttribute attribute); IHtmlElement RemoveAtt...
25
61
0.685333
[ "Apache-2.0" ]
xavierThiago/pucsp
dotnet/src/HtmlBuilder/Core/IHtmlElement.cs
375
C#
namespace Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; ...
38.785992
262
0.59681
[ "MIT" ]
Bhaskers-Blu-Org2/ApplicationInsights-dotnet
WEB/Src/PerformanceCollector/PerformanceCollector/Implementation/PerformanceCounterUtility.cs
19,938
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Windows.Input; using System.Linq; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Messaging; using QuickGraph; using SIL.Cog.Application.Services; using SIL.Cog.Domain; using SIL.Ma...
34.711191
195
0.745918
[ "MIT" ]
sillsdev/cog
Cog.Application/ViewModels/GlobalCorrespondencesViewModel.cs
9,615
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AntfortuneEquityInstpointSendModel Data Structure. /// </summary> public class AntfortuneEquityInstpointSendModel : AlipayObject { /// <summary> /// 积分发放备注 /// </s...
26.658537
66
0.563586
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntfortuneEquityInstpointSendModel.cs
1,309
C#
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace IFPS.Factory.Domain.Helper { public class ParsedHoleComperator : IComparer<ParsedHole> { public int Compare( ParsedHole x, ParsedHole y) { if (x.Plane == y.Plane && x.Diameter == y.Diameter) ...
25.090909
90
0.514493
[ "MIT" ]
encosoftware/ifps
ButorRevolutionWebAPI/src/backend/factory/IFPS.Factory.Domain/Helper/TriDCorpusParser/ParsedHoleComperator.cs
554
C#
using Eve.Core.Events; using System; using System.Collections.Generic; using System.Text; namespace Eve.Core.Subscriptions { public interface ISubscription<TEvent, TEventContext> : ISubscription where TEvent : IContextfulEvent where TEventContext: IEventContext<TEvent> { void Handle(TE...
22.869565
73
0.701521
[ "MIT" ]
AlexSolari/eve
Eve.Core/Subscriptions/ISubscription.cs
528
C#
using MongoDB.Driver; using MongoDB.Driver.Linq; using Phonebook.Services.Entry.Domain.Models; using Phonebook.Services.Entry.Domain.Repositories; using System; using System.Linq; using System.Threading.Tasks; namespace Phonebook.Services.Entry.Repositories { public class EntryRepository : IEntryRepository { ...
28.258065
58
0.66895
[ "MIT" ]
brentwhittaker/react-asp-net-core-phonebook
Phonebook.Services.Entry/Repositories/EntryRepository.cs
876
C#
using Windows.UI.Xaml.Controls; using FormsCommunityToolkit.Effects.UWP; using Xamarin.Forms; using Xamarin.Forms.Platform.UWP; using Thickness = Windows.UI.Xaml.Thickness; [assembly: ExportEffect(typeof(RemoveBorderEffect), nameof(RemoveBorderEffect))] namespace FormsCommunityToolkit.Effects.UWP { public class ...
25
80
0.620571
[ "MIT" ]
JanDeDobbeleer/Effects
src/Effects.UWP/Effects/RemoveBorderEffect.cs
877
C#
using System; using Orleans; namespace UnitTests.DtosRefOrleans { [Serializable] [GenerateSerializer] public class ClassReferencingOrleansTypeDto { static ClassReferencingOrleansTypeDto() { typeof(IGrain).ToString(); } [Id(0)] public string MyProper...
19.111111
47
0.619186
[ "MIT" ]
AmedeoV/orleans
test/Misc/TestInternalDtosRefOrleans/ClassReferencingOrleansTypeDto.cs
346
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #if NET452 || NETCOREAPP1_0 using System; using System.Collections.Generic; using System.Linq; namespace Internal.Microsoft.Extensions.Dependen...
33.6875
101
0.652134
[ "Apache-2.0" ]
erikbra/xunit
src/common/Microsoft.Extensions.DependencyModel/DependencyContextPaths.cs
2,156
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using System.ComponentModel; using System.Threading; using System.Collections; //using Newtonsoft.Json; //using Newtonsoft.Json.Linq; using PubNubMessaging.Core; namespace PubNubMessaging.Tests { [TestFixt...
70.618063
23,411
0.68093
[ "MIT" ]
redarrowlabs/pubnub-c-sharp
mono-for-android/Andr.Unit-master/Andr.Unit/WhenAMessageIsPublished.cs
64,904
C#
using System.Data.Common; using DBManager.Default.DataBaseConnection; using DBManager.Default.MetadataFactory; using DBManager.Default.Normalizers; using DBManager.Default.Printers; using DBManager.Default.Providers; using DBManager.Default.Tree.Hierarchy; namespace DBManager.Default { public interface IDialect...
21.382353
47
0.712517
[ "Apache-2.0" ]
meCtd/DBManager
src/DBManager.Default/IDialectComponent.cs
729
C#
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; namespace StatisticalLearning.Math.MatrixDecompositions { public class SchurDecomposition { private SchurDecomposition(Vector ...
32.983051
107
0.534943
[ "Apache-2.0" ]
simpleidserver/StatisticalLearning
src/StatisticalLearning/Math/MatrixDecompositions/SchurDecomposition.cs
1,948
C#
using System; using System.Collections.Generic; using System.Security.Claims; using ErrorCentral.Application.DTOs; using ErrorCentral.Application.ServiceInterfaces; using ErrorCentral.Domain.Model; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; namespace...
27.268966
85
0.458776
[ "MIT" ]
conradoalexsander/Error-Central-API
ErrorCentral.API/Controllers/LogController.cs
3,957
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/services/keyword_theme_constant_service.proto // </auto-generated> // Original file comments: // Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // ...
58.334677
431
0.732633
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V10/Services/KeywordThemeConstantServiceGrpc.g.cs
14,467
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...
33.333333
135
0.635263
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/DocumentDB/Latest/Outputs/CorsPolicyResponse.cs
1,900
C#
using Ryujinx.Common.Logging; namespace Ryujinx.HLE.HOS.Tamper.Operations { class OpLog<T> : IOperation where T : unmanaged { int _logId; IOperand _source; public OpLog(int logId, IOperand source) { _logId = logId; _source = source; } pu...
22.454545
125
0.566802
[ "MIT" ]
0MrDarn0/Ryujinx
Ryujinx.HLE/HOS/Tamper/Operations/OpLog.cs
494
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WireMock.Http; using WireMock.Models; using WireMock.Util; #if !USE_ASPNETCORE using IRequest = Microsoft.Owin.IOwinRequest; #else using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; using IR...
37.730337
124
0.607207
[ "Apache-2.0" ]
APIWT/WireMock.Net
src/WireMock.Net/Owin/Mappers/OwinRequestMapper.cs
3,360
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. namespace RoutingSample.Web.HelloExtension { public class HelloOptions { public string Greeter { get; set; } } }
27.454545
111
0.711921
[ "Apache-2.0" ]
06b/AspNetCore
src/Http/Routing/test/testassets/RoutingSandbox/HelloExtension/HelloOptions.cs
304
C#
namespace Clients.Models.Basket { public class BasketRequest { public string basketId { get; set; } } }
17.714286
44
0.629032
[ "MIT" ]
kubilayeldemir/ecommerce-microservices
ApiGateway/Clients/Models/Basket/BasketRequest.cs
126
C#