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
// File: ConcurrentList.cs // Copyright (c) 2018-2019 Maksym Shnurenok // License: MIT using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; namespace Marketplace.Core.DataTypes.Collections { /// <summary> /// The concurrent list. /// Credits ...
30.647495
332
0.473031
[ "MIT" ]
MaxCrank/marketplace
src/Core/DataTypes/Collections/ConcurrentList.cs
16,521
C#
using System; using System.Collections.Generic; using NodeCanvas.Framework.Internal; using ParadoxNotion.Design; using ParadoxNotion.Serialization; using UnityEngine; using System.Linq; namespace NodeCanvas.Framework { /// A Blackboard component to hold variables [ParadoxNotion.Design.SpoofAOT] public c...
49.721951
211
0.613951
[ "MIT" ]
BlestxVentures/oculus-experiments
Assets/External/ParadoxNotion/CanvasCore/Framework/Runtime/Variables/Blackboard.cs
10,195
C#
/* * FactSet Symbology API * * The FactSet Symbology API provides symbol resolution services, allowing clients to translate market identifiers into various symbology types. various market symbology types such as, FactSet Permanent Identifiers, CUSIP, ISIN, SEDOL, Tickers, and Bloomberg FIGIs. Factset's Symbology ...
41.461538
690
0.656153
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/Symbology/v1/src/FactSet.SDK.Symbology/Model/AbstractOpenAPISchema.cs
3,234
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Reset_Lever : MonoBehaviour { public GameObject door_01; public GameObject door_02; public GameObject door_03; public GameObject lever_01; public GameObject lever_02; public GameObject lever_03; pri...
28.482143
102
0.617555
[ "MIT" ]
allenbateman/Game-Jam-CITM-2022
Game Jam CITM 2022/Assets/Scripts/Reset_Lever.cs
1,595
C#
// // Copyright 2013, Leanplum, Inc. // // 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 Lic...
32.536585
68
0.711394
[ "Apache-2.0" ]
kurtdekker/Leanplum-Unity-SDK
LeanplumSample/Assets/LeanplumSDK/SharedConstants.cs
1,334
C#
using System; using System.Collections.Generic; using System.Text; namespace Dfc.ProviderPortal.Lars.Functions.ImportCsv { public class LarsCosmosDbCollectionSettings { public string EndpointUri { get; set; } public string PrimaryKey { get; set; } public string DatabaseId { get; set; }...
26.4
66
0.699495
[ "MIT" ]
SkillsFundingAgency/dfc-providerportal-lars
src/Dfc.ProviderPortal.Lars.Functions/ImportCsv/LarsCosmosDbCollectionSettings.cs
398
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. using System; using System.Linq; using FluentAssertions; using Microsoft.DotNet.BuildServer; using Microsoft.DotNet.Cli; using Microsoft.DotNet.C...
36.140625
116
0.638565
[ "MIT" ]
APiZFiBlockChain4/cli
test/dotnet.Tests/BuildServerTests/VBCSCompilerServerTests.cs
2,313
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 Microsoft.AspNetCore.Routing.Template; namespace Microsoft.AspNetCore.Routing { public static...
44.455285
125
0.42575
[ "Apache-2.0" ]
4samitim/aspnetcore
src/Http/Routing/src/InlineRouteParameterParser.cs
10,936
C#
/* * Intersight REST API * * This is Intersight REST API * * OpenAPI spec version: 1.0.9-262 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using Syst...
45.926154
475
0.568069
[ "Apache-2.0" ]
ategaw-cisco/intersight-powershell
csharp/swaggerClient/src/intersight/Model/AssetDeviceConfiguration.cs
14,926
C#
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
36.030973
140
0.746285
[ "MIT" ]
arturek/ILSpy
ILSpy/Controls/SortableGridViewColumn.cs
8,145
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.Globalization; using System.Net; using System.Net.Mime; using System.ServiceModel.Syndication; using System.Text; using Syst...
32.053763
111
0.546125
[ "Apache-2.0" ]
belav/AspNetWebStack
src/Microsoft.Web.Mvc/Resources/AtomFeedActionResult.cs
2,983
C#
// *********************************************************************** // Assembly : XLabs.Sample // Author : XLabs Team // Created : 12-27-2015 // // Last Modified By : XLabs Team // Last Modified On : 01-04-2016 // **********************************************************************...
29.795181
107
0.626769
[ "Apache-2.0" ]
jdluzen/Xamarin-Forms-Labs
Samples/XLabs.Sample/Pages/Controls/ExtendedPickerPage.xaml.cs
2,475
C#
using System; namespace SecurityDriven.Inferno.Extensions { /// <remarks>Not a constant-time implementation (memory lookups).</remarks> public class Base32Config { const int BASE = 32; internal char[] Base32table; internal long[] ReverseMap; int? hashcode; public Base32Config(char[] alphabet = null) ...
25.830769
139
0.68374
[ "MIT" ]
voronytskyi/SecurityDriven.Inferno
Extensions/Base32Config.cs
1,681
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 ...
15.549488
75
0.544557
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-ccc/CCC/Model/V20170705/ListUnreachableContactsResponse.cs
4,556
C#
namespace WinFormsIoc.Services { public class EmailsService : IEmailsService { public void SendEmail(string from, string to, string title, string message) { //todo: ... } } }
22.3
83
0.587444
[ "Apache-2.0" ]
VahidN/Dependency-Injection-Samples
DI11_WinFormsIoc/WinFormsIoc.Services/EmailsService.cs
225
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Infrastructure.Design { using System.Configuration; using System.IO; using Xunit; public class AppConfigReaderTests { [Fact] ...
33.765625
140
0.584452
[ "Apache-2.0" ]
Cireson/EntityFramework6
test/EntityFramework/UnitTests/Infrastructure/Design/AppConfigReaderTests.cs
2,163
C#
// Copyright (c) Approxoft. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using SvgBlazor.Docs.Interfaces; namespace SvgBlazor.Docs.Examples { public class FillRuleNonZeroExample : IExampleCode { public void Example(SvgComponent svg) ...
31.84375
91
0.526006
[ "MIT" ]
Approxoft/SvgBlazor
src/SvgBlazor.Docs/Pages/Attributes/Fill/Examples/FillRuleNonZeroExample.cs
1,021
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Habrador_Computational_Geometry; public class CutMeshWithPlaneController : MonoBehaviour { public Transform cutPlaneTrans; //Place all new meshes below this go, so we can cut them again public Transform meshesToCutParentT...
29.972414
174
0.59434
[ "MIT" ]
Habrador/Computational-geometry
Assets/Test scenes/8. Deform mesh/Cut mesh with plane/CutMeshWithPlaneController.cs
4,346
C#
using System; namespace Katsudon.Builder.Variables { [PrimitiveConverter] public class BoolConstConverter : IPrimitiveConverter { public int order => 80; public IVariable TryConvert(IUdonProgramBlock block, in IVariable variable, TypeCode fromPrimitive, TypeCode toPrimitive, Type toType) { if(toType != t...
28.40625
136
0.742574
[ "Apache-2.0" ]
Xytabich/Katsudon
Assets/Katsudon/Builder/Numeric/BoolConstConverter.cs
911
C#
using System.Collections.Generic; namespace SixtenLabs.Spawn.Vulkan.Spec { public class VkFeatureRequire { public string Comment { get; set; } public IList<VkFeatureRequireType> Types { get; set; } public IList<VkFeatureRequireEnum> Enums { get; set; } public IList<VkFeatureRequireCommand> Commands { get...
20.875
62
0.739521
[ "Unlicense" ]
SixtenLabs/SpawnOfVulkan
src/SixtenLabs.Spawn.Vulkan/Spec/VkFeatureRequire.cs
336
C#
namespace TransactionProject.EndToEnd.Tests.Infrastructure { using System; using System.Collections.Generic; using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; using Shouldly; /// <summary> /// Shouldly assertions, but hooked into Selenium's WebDriverWait mechanism /// </summary> public class W...
32.271429
111
0.651616
[ "Unlicense" ]
stefanbemelmans/HercHomeTransactionModule
Tests/EndToEnd.Selenium.Tests/Infrastructure/WaitAndAssert.cs
2,259
C#
// StorePartialConsumableOperation using ClubPenguin.Net.Client; using ClubPenguin.Net.Client.Mappers; using ClubPenguin.Net.Domain; using ClubPenguin.Net.Offline; using hg.ApiWebKit.core.attributes; using hg.ApiWebKit.mappers; [HttpPOST] [HttpAccept("application/json")] [HttpContentType("application/json")] [HttpBasi...
35.403846
123
0.811515
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin.Net.Client/StorePartialConsumableOperation.cs
1,841
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SceneLoader : MonoBehaviour { public GameObject gameOverScreen; private void Start() { gameOverScreen.SetActive(false); PlayerController.OnPlayerBeatLevel += NextS...
24.183673
96
0.637975
[ "MIT" ]
Christakou/Guarded
Assets/Scripts/SceneLoader.cs
1,187
C#
namespace CommonUtility.Security { public enum CryptoServiceProviderType { MD5, SHA1, SHA256, SHA384, SHA512, HMACMD5, HMACSHA1, HMACSHA256, HMACSHA384, HMACSHA512 } }
15.352941
41
0.517241
[ "MIT" ]
3gbywork/CommonUtility
CommonUtility/Security/CryptoServiceProviderType.cs
263
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("BulkCalculationState")] [assembly: Assembl...
38.333333
84
0.757191
[ "MIT" ]
SRM256/gsf
Source/Tools/BulkCalculationState/Properties/AssemblyInfo.cs
1,498
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; namespace ePlatform.Api.Core.QueryBuilder { // İtemleri filtrelemek için üretilmesi gereken class /// <summary> /// Adds generic Model for search. /// </summary> public cl...
34.691358
133
0.565836
[ "MIT" ]
Quaqmre/eplatform-api-dotnet-client
src/ePlatform.Api.Core/QueryBuilder/QueryFilterBuilder.cs
2,815
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AdaptiveHR.Model { public class EmailModel { public string Email { get; set; } public string From { get; set; } public string Recipients { get; set; } public string Subjec...
22.647059
46
0.636364
[ "MIT" ]
AllenFreecs/AdaptiveHR
AdaptiveHR/Model/EmailModel.cs
387
C#
using System; using System.IO; using System.ComponentModel; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ChargeBee.Internal; using ChargeBee.Api; using ChargeBee.Models.Enums; using ChargeBee.Filters.Enums; namespace ChargeBee.Models { ...
38.723602
150
0.569172
[ "MIT" ]
cdekkerpossibilit/chargebee-dotnet
ChargeBee/Models/Gift.cs
24,938
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
39.616998
979
0.529992
[ "MIT" ]
MyPureCloud/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/CreateQueueRequest.cs
35,893
C#
// T4 code generation is enabled for model 'Z:\Projects\ntieref\samples\NTierDemo\NTierDemo\Server\NTierDemo.Server.Domain.Edmx\NTierDemoModel.edmx'. // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer // property to 'Legacy ObjectContext'. This property is available in th...
80.8
151
0.77104
[ "ECL-2.0", "Apache-2.0" ]
6bee/ntieref
samples/NTierDemo/NTierDemo/Server/NTierDemo.Server.Domain.Edmx/NTierDemoModel.Designer.cs
810
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...
30.54
79
0.599542
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/azurestack/Microsoft.AzureStack.Management.Network.Admin/src/Generated/INetworkAdminClient.cs
3,054
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using Xamarin.Forms; namespace Horus.Forms.Converters { public class TitleLabelConverter :IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) ...
25.125
103
0.679934
[ "MIT" ]
mtotaro/HorusChallenge
Horus/Converters/TitleLabelConverter.cs
605
C#
using System; using System.Collections.Generic; using System.Linq; using Abp.Domain.Repositories; using Abp.Domain.Services; using SPA.DocumentManager.UnitGroups; namespace SPA.DocumentManager.UnitGroups.DomainServices { /// <summary> /// UnitGroup领域层的业务管理 /// </summary> public class UnitGroupManager :...
20.477273
86
0.655938
[ "MIT" ]
lzhm216/dmproject
aspnet-core/src/SPA.DocumentManager.Core/UnitGroups/DomainServices/UnitGroupManager.cs
949
C#
using System; using Xunit; namespace Shopping.Test { public class UnitTest1 { [Fact] public void Test1() { Assert.True(true); } } }
12.6
30
0.502646
[ "MIT" ]
insightapac/pocketpantry-microservices
src/Shopping.Test/UnitTest1.cs
189
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.ComponentModel; using Pulumi; namespace Pulumi.AzureNative.DBforPostgreSQL.V20210601 { /// <summary> /// The mode to create a ne...
42.467456
122
0.682597
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DBforPostgreSQL/V20210601/Enums.cs
7,177
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
28.942857
96
0.589997
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/Schema/IEC61970/StateVariables/ISvPowerFlow.cs
3,041
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("Ser...
38.111111
84
0.755102
[ "MIT" ]
Turgibot/ServerSideFinalProject
ServerSideFinalProject/ServerSideFinalProject/Properties/AssemblyInfo.cs
1,375
C#
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
30.251799
97
0.6283
[ "Apache-2.0" ]
AppliedSystems/IdentityServer3
source/Tests/UnitTests/Validation/Secrets/FormPostCredentialParsing.cs
4,207
C#
// Copyright (c) 2015, Outercurve Foundation. // 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, this // list o...
47.888889
83
0.741879
[ "BSD-3-Clause" ]
Alirexaa/SolidCP
SolidCP/Sources/Tools/SolidCP.LocalizationToolkit/Resources.cs
1,726
C#
// Copyright (C) Sina Iravanian, Julian Verdurmen, axuno gGmbH and other contributors. // Licensed under the MIT license. using System; using System.Globalization; using System.Xml; namespace YAXLib.Exceptions { /// <summary> /// Raised when the element value corresponding to some property is not present...
36.016129
118
0.618003
[ "MIT" ]
OrbintSoft/YAXLib
YAXLib/Exceptions/YAXElementValueAlreadyExistsException.cs
2,235
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using MixedRealityExtension.API; using MixedRealityExtension.App; using MixedRealityExtension.Core.Types; using MixedRealityExtension.Util.GodotHelper; using System; using Godot; using GodotCollisionShape = Godot.Collisio...
25.229508
91
0.65809
[ "MIT" ]
dasg34/mixed-reality-extension-godot
MREGodotRuntimeLib/Core/ColliderGeometry.cs
7,697
C#
using Microsoft.Xna.Framework.Audio; using Terraria.ModLoader; using Terraria; using System; namespace BahiaMod.Sounds.Item { class AtabaqueKick : ModSound { public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance, float volume, float pan, SoundType type) { ...
28.368421
133
0.658627
[ "MIT" ]
lluckymou/BahiaMod
Sounds/Item/AtabaqueKick.cs
541
C#
#pragma checksum "..\..\settings.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "54C2E3416C56C22A068C6E060A106095A01C54BC35EF557BAEFAB27323A9864F" //------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319....
37.704348
188
0.596717
[ "MIT" ]
Stamir36/ModernNotyfi
ModernNotyfi/obj/Release/settings.g.cs
47,832
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using log4net; using MFilesAPI; using AecCloud.WebAPI.Models; namespace AecCloud.MfilesClientCore { /// <summary> /// MFiles 库相关 /// </summary> ...
41.184713
136
0.499691
[ "MIT" ]
FinchYang/test
AecPrivateCloud.ALL/Client/AecCloud.MfilesClientCore/MFilesVault.cs
19,548
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; using System.Security.Cryptography.X509Certificates; using Microsoft.Data.SqlClient...
49.9163
178
0.588209
[ "MIT" ]
GoodTekken/SqlClient
src/Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/CspProviderExt.cs
11,331
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...
29.66
108
0.603506
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/MachineLearningServices/V20200501Preview/Inputs/SharedPrivateLinkResourceArgs.cs
1,483
C#
using Fixie.AutoRun.VisualStudio; using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace Fixie.AutoRun.Workers { public static class Compiler { private const string MsBuildPath = @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe"; private ...
38.721311
135
0.477138
[ "MIT" ]
JonasSamuelsson/fixie.AutoRun
src/Fixie.AutoRun/Workers/Compiler.cs
2,364
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DefenderButton : MonoBehaviour { [SerializeField] Defender defenderPrefab; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update...
24.451613
98
0.663588
[ "MIT" ]
lorenzo-iannaccaro/GardenDefense
Assets/Scripts/DefenderButton.cs
760
C#
#if CSHotFix using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; using CSHotFix.CLR.TypeSystem; using CSHotFix.CLR.Method; using CSHotFix.Runtime.Enviorment; using CSHotFix.Runtime.Intepreter; using CSHotFix.Runtime.Stack; using CSHotFix.Reflectio...
43.27907
203
0.601155
[ "MIT" ]
591094733/cshotfix
CSHotFix_SimpleFramework/Assets/CSHotFixLibaray/Generated/CLRGen1/UnityEngine_Android_Permission_Binding.cs
7,444
C#
using NetFrame.EnDecode; using ProtoBuf; using System; using System.Collections.Generic; using System.Text; /// <summary> /// 下单(平空 平多 全平 对冲) /// </summary> [Serializable] [ProtoContract] public class ReqOrderTacticsMessage : BaseMessage { public static int V_Pid = 100005; /// <summary> /// 币种 /// </...
19.631579
75
0.631367
[ "Apache-2.0" ]
yellow001/CoinAPP_Server
App/Net/Data/Operation/ReqOrderTacticsMessage.cs
804
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 ...
33.92
152
0.61365
[ "BSD-3-Clause" ]
N3X15/VoxelSim
OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs
6,786
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 ...
44.366337
187
0.60193
[ "MIT" ]
Frassle/coreclr
tests/src/JIT/HardwareIntrinsics/X86/Sse2/MultiplyAddAdjacent.Int32.cs
17,924
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Luis; using Microsoft.Bot.Builder.AI.Luis; using Microsoft.Bot.Schema; using Newtonsoft.Json.Linq; using WeatherSkill.Models.Action; namespace WeatherSkill.Tests.Flow.Utterances { public class ForecastUtterances...
35.137255
147
0.652344
[ "MIT" ]
ConnectionMaster/botframework-components
skills/csharp/tests/weatherSkill.tests/Flow/Utterances/ForecastUtterances.cs
1,794
C#
using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Process; namespace FlubuCore.Azure.Tasks.Eventgrid { public partial class AzureEventgridTopicDeleteTask : ExternalProcessTaskBase<AzureEventgridTopicDeleteTask> { ...
24.921053
112
0.607181
[ "MIT" ]
flubu-core/FlubuCore.Azure
FlubuCore.Azure/Tasks/Eventgrid/AzureEventgridTopicDeleteTask.cs
947
C#
namespace CodeProject.Business.Common.Automapper { using AutoMapper; using CodeProject.StoreDB.Model.DTO; using CodeProject.StoreDB.Model.Entities; /// <summary> /// Defines the <see cref="AutoMapperConfig" /> /// </summary> public class AutoMapperConfig { // public static IMap...
38.403846
84
0.537807
[ "Apache-2.0" ]
thanhntggsunday/CodePoject.SoreDB.API
CodeProject.StoreDB.Common/Automapper/AutoMapperConfig.cs
1,999
C#
using Caf.Etl.Nodes.LoggerNet.Transform; using System.Collections.Generic; using Xunit; using Caf.Etl.Models.CosmosDBSqlApi.Core; using Caf.Etl.Models.LoggerNet.TOA5; using System; using Caf.Etl.Models.LoggerNet.TOA5.DataTables; using Caf.Etl.Models.CosmosDBSqlApi.Measurement; namespace Caf.Etl.Nodes.LoggerN...
40.804688
83
0.441222
[ "CC0-1.0" ]
benichka/Caf.Etl
Caf.Etl.UnitTests/Nodes/LoggerNet/DocumentDbMeasurementV1TransformerTests_Meteorology.cs
10,448
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("SampleSystem.Subscriptions.Metadata")] [assembly: ComVisible(false)]
32.6
65
0.803681
[ "MIT" ]
Luxoft/BSSFramework
src/_SampleSystem/SampleSystem.Subscriptions.Metadata/Properties/AssemblyInfo.cs
161
C#
using Grpc.Core; using MagicOnion.Client; using MagicOnion.CompilerServices; // require this using in AsyncMethodBuilder using System; using System.Runtime.CompilerServices; using System.Threading.Tasks; using MessagePack; namespace MagicOnion { /// <summary> /// Represents the result of a Unary call that wrap...
31.37766
145
0.552467
[ "MIT" ]
Cysharp/MagicOnion
src/MagicOnion.Abstractions/UnaryResult.cs
5,899
C#
// Copyright (c) Jeremy W. Kuhne. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Runtime.InteropServices; namespace WInterop.Storage { /// <summary> /// [WIN32_FIND_DATA] /// </summary> /// <msdn><...
42.142857
130
0.727966
[ "MIT" ]
JeremyKuhne/WInterop
src/WInterop.Desktop/Storage/Win32FindData.cs
1,182
C#
using System.Collections.Generic; namespace HotChocolate.Data.Neo4J.Language; /// <summary> /// A dedicated map expression. /// </summary> public class MapExpression : TypedSubtree<Expression> , ITypedSubtree { private MapExpression(List<Expression> expressions) : base(expressions) { } pu...
28.875
89
0.655844
[ "MIT" ]
ChilliCream/prometheus
src/HotChocolate/Neo4J/src/Data/Language/MapExpression.cs
1,386
C#
using System; namespace Redux.Space { public struct Point { public int X, Y; public Point(int x, int y) { X = x; Y = y; } public int Distance(Point to) { return Math.Max(Math.Abs(X - to.X), Math.Abs(Y - to.Y)); } ...
16.2
68
0.432099
[ "MIT" ]
luckymouse0/Redux-Conquer-Online-Server
Redux/Space/Point.cs
326
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace XurNightfaller { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] args) ...
25.894737
95
0.626016
[ "BSD-3-Clause" ]
KiaArmani/XurSuite
Services/XurNightfaller/Program.cs
492
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.SimpleEmail")] [assembly: AssemblyD...
47
226
0.750665
[ "Apache-2.0" ]
Melvinerall/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/SimpleEmail/Properties/AssemblyInfo.cs
1,504
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.O...
25.854167
81
0.613215
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/kogito-operator/dotnet/Kubernetes/Crds/Operators/KogitoOperator/App/V1Alpha1/Outputs/KogitoMgmtConsoleStatusConditions.cs
1,241
C#
using Harmony; using System; using MelonLoader; using UnityEngine; namespace MooseSatchelMod { internal static class Patches { // load and save custom data [HarmonyPatch(typeof(SaveGameSystem), "RestoreGlobalData", new Type[] { typeof(string) })] internal class SaveGameSystemPatch_Resto...
33.072072
117
0.527104
[ "MIT" ]
ttr/tld-MooseSatchelMod
src/Patches.cs
3,671
C#
namespace AMSExplorer { partial class DRM_GenerateToken { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
43.059172
149
0.596537
[ "Apache-2.0" ]
eaglezzb/Azure-Media-Services-Explorer
AMSExplorer/Forms-DynamicEncryption/DRM_GenerateToken.designer.cs
7,279
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.PowerPointApi { ///<summary> /// DispatchInterface RulerLe...
35.451613
209
0.690264
[ "MIT" ]
NetOffice/NetOffice
Source/PowerPoint/DispatchInterfaces/RulerLevels.cs
5,495
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
28.163793
83
0.51056
[ "MIT" ]
elGuille-info/Animal-MatchGame
MatchGame/MainWindow.xaml.cs
3,317
C#
using System.Windows; using GalaSoft.MvvmLight.Threading; namespace KinectGestureExplorer { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { static App() { DispatcherHelper.Initialize(); } } }
18.294118
42
0.598071
[ "MIT" ]
galendai/KinectHelper
KinectGestureExplorer/App.xaml.cs
313
C#
namespace Application.Models.Dto { public class CityDto { public long Id { get; init; } public string Name { get; init; } public IList<StationDto> Stations { get; init; } public CityDto(long id, string name) { Id = id; Name = name; St...
28.08
113
0.545584
[ "MIT" ]
komorowski-seba/QLApi
Hangfire/Application/Models/Dto/CityDto.cs
704
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZaifNet { public enum CurrencyPairsEnum { None, xem_btc, bch_jpy, fscc_btc, sjcx_jpy, bitcrystals_jpy, xcp_jpy, ...
17.883721
34
0.504551
[ "MIT" ]
0V/Zaif.NET
Zaif.NET/Objects/Enum/CurrencyPairs.cs
771
C#
using System; using System.Collections.Generic; using System.IO; using KspNalCommon; using static KspCraftOrganizer.RegisterToolbar; namespace KspCraftOrganizer { public class FileLocationService { private static FileLocationService _instance; public static FileLocationService instan...
39.510949
199
0.578607
[ "MIT" ]
linuxgurugamer/ksp-craft-organizer
KspCraftOrganizerPlugin/Services2/FileLocationService.cs
10,828
C#
using System; namespace Standard { internal enum MSGFLTINFO { NONE, ALREADYALLOWED_FORWND, ALREADYDISALLOWED_FORWND, ALLOWED_HIGHER } }
14
33
0.620879
[ "MIT" ]
5653325/HandyControl
src/Shared/Microsoft.Windows.Shell/Standard/MSGFLTINFO.cs
184
C#
using System.Threading; using System.Threading.Tasks; using CCS.Application.Domains.Handlers; using CCS.Application.Domains.Requests; using Xunit; namespace CCS.ApplicationTest.Domains.Handlers { public class WeatherForecastHandlerTest { [Fact(DisplayName = "何らかのレスポンスがある")] public async Task O...
28.409091
80
0.6592
[ "MIT" ]
cadcad-sat/LearningDDDProject
CCS.ApplicationTest/Domains/Handlers/WeatherForecastHandlerTest.cs
651
C#
using Fur.DependencyInjection; using Fur.Extensions; using Fur.UnifyResult; using Fur.Utilities; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.ModelBinding; using System.Linq; using System.Net.Mime; namespace Fur.Data...
35.016529
161
0.588152
[ "Apache-2.0" ]
LiveFly/Fur
framework/Fur/DataValidation/Filters/DataValidationFilter.cs
4,643
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.IO; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Server.Testing; u...
39.755319
174
0.598609
[ "Apache-2.0" ]
andrewhoi/Entropy
test/FunctionalTests/TestServices.cs
3,737
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; namespace AnalyzerRunner { public abstract class DiagnosticVisitor { public virtual void ProjectDiagnostics(Project originalProject, ImmutableArray<Diagnostic> diagnostics) { } ...
25.647059
111
0.727064
[ "MIT" ]
twsouthwick/AnalyzerRunner
AnalyzerRunner/DiagnosticVisitor.cs
438
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using NewLife.Collections; using NewLife.Reflection; namespace NewLife.Serialization { /// <summary>Json序列化</summary> /// <remarks> /// 文档 https://www.yuque.com/smartstone/nx/json ...
28.688442
116
0.468033
[ "MIT" ]
NewLifeX/X
NewLife.Core/Serialization/Json/Json.cs
6,001
C#
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace VSTOSharedAddin { public partial class UserControlWinForm : UserControl { // My Code private System.Windows.Forms.Timer refreshTimer = new System.Windows.Forms.Ti...
35.307692
154
0.626967
[ "MIT" ]
3v1lW1th1n/PnP-OfficeAddins
Samples/dynamic-dpi/VSTO SharedAddin/VSTOSharedAddin/UserControlWinForm.cs
4,133
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("eMarket.Core")] [a...
38.567568
99
0.762439
[ "MIT" ]
vladhrapov/trainings
patterns_and_practices/materials/004_n-tier/e-market/src/eMarket.Core/Properties/AssemblyInfo.cs
2,007
C#
using System.ComponentModel.Composition; using System.Windows.Media; using Microsoft.VisualStudio.Text.Classification; using Microsoft.VisualStudio.Utilities; namespace B2VS.Language.Buildfile { #region Format definition /// <summary> /// Defines the editor format for the buildfile keyword type. /// <...
27.516129
71
0.68347
[ "MIT" ]
build2/build2-vs
build2-VS/Language/Buildfile/BuildfileElementFormatting.cs
855
C#
using System.Linq; using Wordroller.Content.Lists; using Wordroller.Content.Properties.Sections.PageSizes; using Xunit; using Xunit.Abstractions; namespace Wordroller.Tests { public class NumberingTests : TestsBase { public NumberingTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } [Fa...
48.138889
160
0.73341
[ "Apache-2.0" ]
shestakov/wordroller
Wordroller.Tests/NumberingTests.cs
3,468
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> //----------------------------------------...
35.43662
84
0.543919
[ "MIT" ]
hancheester/apollo
Store Admin/Apollo.AdminStore.WebForm/Report/report_orders.aspx.designer.cs
5,034
C#
using System; using System.Collections.Generic; using System.Reactive.Linq; using DSerfozo.CefGlue.Contract.Common; using DSerfozo.CefGlue.Contract.Renderer; using DSerfozo.RpcBindings.CefGlue.Common; using DSerfozo.RpcBindings.CefGlue.Renderer.Handlers; using DSerfozo.RpcBindings.CefGlue.Renderer.Services; using DSer...
37.678571
132
0.653791
[ "MIT" ]
rpc-bindings/cefglue
src/DSerfozo.RpcBindings.CefGlue/Renderer/MessageRenderProcessHandler.cs
4,222
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// Autogenerated TDLib APIs /// </summary> public static partial class TdApi { /// <summary> /// Represents a secret chat /// </summary> public partial class SecretChat : Object { ...
36.346154
266
0.531217
[ "MIT" ]
EgartSites/tdsharp
TDLib.Api/Objects/SecretChat.cs
2,835
C#
#region License // Copyright (c) 2020 Jens Eisenbach // // 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, mo...
33.016667
68
0.686017
[ "MIT" ]
aalex675/BricklinkSharp
BricklinkSharp.Client/Category.cs
1,983
C#
using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class _Default : System.Web.UI.Page { protected void generateHi...
24.569231
72
0.549155
[ "CC0-1.0" ]
PavelClaudiuStefan/FMI
An_3_Semestru_1/DezvoltareAplicatiiWebC#/GuessGame/Default.aspx.cs
1,597
C#
namespace AngleSharp.Core.Tests.Mocks { using AngleSharp.Dom; using AngleSharp.Dom.Events; using System; using System.Collections.Generic; class EventReceiver<TReceivingEvent> where TReceivingEvent : Event { private readonly List<TReceivingEvent> _received = new List<TReceiving...
22.390244
87
0.539216
[ "MIT" ]
Aizeren/AngleSharp
src/AngleSharp.Core.Tests/Mocks/EventReceiver.cs
920
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Interception { using System.Data.Common; using System.Data.Entity.Infrastructure.Interception; using System.Data.Entity.TestHelpers; using S...
41.399142
157
0.600249
[ "Apache-2.0" ]
CZEMacLeod/EntityFramework6
test/EntityFramework/FunctionalTests/Interception/DatabaseLogFormatterTests.cs
9,648
C#
using System; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.DataProtection; using Microsoft.Owin.Security.Google; using Owin; using RinnaiPortal.Models; ...
48.871429
160
0.670564
[ "MIT" ]
systemgregorypc/Agatha-inteligencia-artificial-
agathaIA-voice/agathaiaportal/App_Start/Startup.Auth.cs
3,423
C#
using XUCore.Template.EasyFreeSql.Core; namespace XUCore.Template.EasyFreeSql.Applaction.User.User { /// <summary> /// 登录记录 /// </summary> public class UserLoginRecordDto : DtoBase<UserLoginRecordDto> { /// <summary> /// 用户id /// </summary> public long UserId { get;...
24.545455
65
0.463889
[ "MIT" ]
xuyiazl/XUCore.Template
XUCore.Template.EasyFreeSql/Content/XUCore.Template.EasyFreeSql/XUCore.Template.EasyFreeSql.Applaction/AppServices/User/User/Dtos/UserLoginRecordDto.cs
1,146
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...
32.202128
162
0.620086
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/AttachVpnGatewayRequest.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.079365
204
0.650192
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Kusto/V20190907/ListDatabasePrincipals.cs
2,084
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using System.Text; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Math.EC { internal class LongArray { //private static long DEInterleave_MASK = 0x5555555555555555L; /* * ...
38.446056
117
0.46076
[ "MIT" ]
czlsy009/UnityAppMVCFramework
Framework/Assets/SilenceFramework/Libs/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/LongArray.cs
84,812
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 ...
23.279762
134
0.662235
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-rds/Rds/Model/V20140815/ModifyInstanceAutoRenewalAttributeRequest.cs
3,911
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using Stryker.Core.Options; namespace Stryker.Core.Mutants { public abstract class MutantOrchestrator<T> : MutantOrchestrator { protected MutantOrchestrator() : base(null) { } protected MutantOrchestrator(I...
29.695652
102
0.645681
[ "Apache-2.0" ]
0xced/stryker-net
src/Stryker.Core/Stryker.Core/Mutants/MutantOrchestrator.cs
1,366
C#
namespace SpanJson.Internal { using System; using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; public static partial class TextEncodings { public static partial class Utf16 { static readonly Asym...
35.921053
170
0.614652
[ "MIT" ]
cuteant/SpanJson
src/SpanJson/Internal/TextEncodings.Utf16.cs
1,367
C#
// CS1964: User-defined operator `C.implicit operator C(dynamic)' cannot convert to or from the dynamic type // Line: 6 class C { public static implicit operator C (dynamic d) { } }
18.6
108
0.715054
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/errors/cs1964.cs
186
C#
using Microsoft.AspNetCore.Blazor.Browser.Rendering; using Microsoft.AspNetCore.Blazor.Browser.Services; using Microsoft.Extensions.DependencyInjection; using System; namespace BlazorRealworld { class Program { static void Main(string[] args) { var serviceProvider = new BrowserServ...
28.863636
83
0.658268
[ "Apache-2.0" ]
OsvaldoMartini/Blazor_Projects
blazor-realworld-example-app/src/BlazorRealworld/Program.cs
637
C#
using System.ComponentModel.DataAnnotations.Schema; namespace ColegioColombia.Web.Model { [Table("Alumnos")] public class Alumno { public int Id { get; set; } public string Nombre { get; set; } public string Apellido { get; set; } public long Cedula { get; set; } pu...
26.533333
52
0.600503
[ "MIT" ]
mdpl11/CursoNetBasico
ColegioColombia.Web/Model/Alumno.cs
400
C#