content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Drawing; namespace DamageMeter.D3D9Render.Overlays { public class TextLabel : Overlay { public override bool Visible { get => base.Visible; set { if (base.Visible==value) return; DxOverlay.TextSetShown(Id, value);...
25.806818
183
0.468516
[ "MIT" ]
tmopcode/ShinraMeter_beta_kr
DamageMeter.D3D9Render/Overlays/TextLabel.cs
2,273
C#
namespace LikeComparison.DatabaseTests { using Dapper; using LikeComparison.TransactSql; using Microsoft.Data.SqlClient; public partial class LikeTransactSqlTests { [DataTestMethod] [DataRow(null, "/")] [DataRow("a%", null)] [ExpectedException(typeof(ArgumentNullExce...
41.897727
138
0.623813
[ "MIT" ]
cagrin/LikeComparison
LikeComparison.Tests/DatabaseTests/LikeTransactSqlTests.WithEscape.cs
3,687
C#
namespace Imagin.Common.Input { /// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public delegate void PropertyEnabledEventHandler(object sender, PropertyEnabledEventArgs e); }
24.9
96
0.630522
[ "BSD-2-Clause" ]
OkumaScott/Imagin.NET
Imagin.Common.WPF/Input/PropertyEnabledEventHandler.cs
251
C#
/* MIT License Copyright (c) Léo Corporation 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, modify, merge, publish, di...
31.716049
81
0.770339
[ "MIT" ]
Leo-Corporation/Gavilya
Gavilya/Pages/FirstRunPages/ImportGamesPage.xaml.cs
2,572
C#
using Sandbox; using Sandbox.UI; using Sandbox.UI.Construct; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VRP.VGui.UI { public class VGuiContextList : Panel { public static VGuiContextList Instance; private const int BUTTON_HEIGHT...
22.3
100
0.686597
[ "MIT" ]
civilgamers/vrp
code/VGui/UI/VGuiContextList.cs
2,009
C#
using GameEstate.Core; using System.IO; namespace GameEstate.Formats.Binary.Tes.Records { public class SNDRRecord : Record { public override string ToString() => $"SNDR: {EDID.Value}"; public STRVField EDID { get; set; } // Editor ID public CREFField CNAME; // RGB color ...
31.863636
102
0.563481
[ "MIT" ]
smorey2/GameEstate
src/GameExtensions/Tes/src/GameEstate.Extensions.Tes/Formats/Binary/Tes/Records/005-SNDR.Sound Reference.cs
703
C#
// ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerat...
23.700599
81
0.646791
[ "MIT" ]
goodybag/pubnub-api
mono-for-android/3.3.0.1/Pubnub-Messaging/PubNub_Messaging/Resources/Resource.designer.cs
3,958
C#
// Copyright (c) Richasy. All rights reserved. using System.Threading.Tasks; using Richasy.Bili.App.Controls; using Richasy.Bili.ViewModels.Uwp; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Richasy.Bili.App.Pages { /// <summary> /// 可用于自身或导航至 Frame 内部的空白页. /// </summary> public se...
30.342466
171
0.601354
[ "MIT" ]
Caseming/Bili.Uwp
src/App/Pages/DynamicFeedPage.xaml.cs
2,265
C#
using System.Threading.Tasks; using Strive.Core.Services; using Strive.Core.Services.Equipment.Gateways; using Strive.Infrastructure.KeyValue.Abstractions; namespace Strive.Infrastructure.KeyValue.Repos { public class EquipmentTokenRepository : IEquipmentTokenRepository, IKeyValueRepo { private const s...
31.162791
103
0.674627
[ "Apache-2.0" ]
Anapher/PaderConference
src/Services/ConferenceManagement/Strive.Infrastructure/KeyValue/Repos/EquipmentTokenRepository.cs
1,340
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 ...
37.026178
185
0.59421
[ "MIT" ]
hchungmsft/azure-powershell
src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Models/PSConstants.cs
27,527
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...
35.2
106
0.67776
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/DataSync/Generated/Model/CancelTaskExecutionRequest.cs
2,464
C#
using Microsoft.Azure.Management.Compute.Models; using System.Threading; using System.Threading.Tasks; namespace DenevCloud.AspNetCore.Services.Azure.VirtualMachines { public interface IVMManager { VirtualMachine GetVirtualMachine(string VMName); Task<VirtualMachine> GetVirtualMachineAsync(str...
52.035714
108
0.761839
[ "Apache-2.0" ]
DenevCloud/DenevCloud.AspNetCore.Services.Azure
DenevCloud.AspNetCore.Services.Azure/VirtualMachines/IVMManager.cs
1,459
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BuildXL.Cache.ContentStore.Distributed.NuCache;...
52.865217
157
0.661156
[ "MIT" ]
mmiller-msft/BuildXL
Public/Src/Cache/MemoizationStore/Test/Sessions/RocksDbMemoizationSessionTests.cs
12,161
C#
using AutoItX3Lib; namespace addresssbook_tests_autoit { public class HelperBase { protected ApplicationManager manager; protected string WINTITLE; protected AutoItX3 aux; public HelperBase(ApplicationManager manager) { this.manager = manager; th...
24.176471
53
0.627737
[ "Apache-2.0" ]
omelen/csharp_training
addresssbook_tests_autoit/addresssbook_tests_autoit/appmanager/HelperBase.cs
413
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 * ...
32.283105
93
0.56662
[ "Apache-2.0" ]
YuanXiaoLcx/tencentcloud-sdk-dotnet
TencentCloud/Billing/V20180709/Models/BillResourceSummary.cs
7,360
C#
// Copyright (c) 2019-2021 ReactiveUI Association Incorporated. All rights reserved. // ReactiveUI Association Incorporated licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. using System.Collections.Generic; namespace ReactiveMarbles.PropertyCh...
32.941176
87
0.741071
[ "MIT" ]
sucrose0413/PropertyChanged
src/ReactiveMarbles.PropertyChanged.SourceGenerator/TransientHelpers/ExtensionClassDatum.cs
562
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
29.333333
111
0.646465
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ImportExport/Generated/Model/CancelJobResponse.cs
1,584
C#
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2009, 2013 Oracle and/or its affiliates. All rights reserved. * */ using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using NUnit.Framework; using Berkele...
25.838941
79
0.656833
[ "MIT" ]
HcashOrg/Hcash
dependence/db-5.3.28.NC/test/csharp/CursorTest.cs
46,846
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.AwsN...
27.066667
81
0.695813
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/CloudFront/Outputs/ResponseHeadersPolicyContentSecurityPolicy.cs
812
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 Microsoft.EntityFrameworkCore.TestUtilities; namespace Microsoft.EntityFrameworkCore { public class NotificationEntitiesSqliteTest : Notifica...
36.666667
144
0.75974
[ "Apache-2.0" ]
Alecu100/EntityFrameworkCore
test/EFCore.Sqlite.FunctionalTests/NotificationEntitiesSqliteTest.cs
770
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Integration; using Microsoft.Bot.Builder.Integration.AspNet.Core.Handlers; using Microsoft.Bot.Schema; using Microsoft.E...
39.708333
202
0.662469
[ "MIT" ]
weikanglim/OrderBot
src/OrderBot.Functions/MainFunction.cs
2,859
C#
namespace Lifx.Api.Cloud.Models.Request { public class FlameEffectRequest { public double? period { get; set; } = 5; public double? duration { get; set; } public bool? power_on { get; set; } = true; } }
24
51
0.591667
[ "MIT" ]
panoramicdata/Lifx.Api
Lifx.Api/Cloud/Models/Request/FlameEffectRequest.cs
242
C#
using System; namespace Shared.Library.Exceptions { public sealed class ValidateException : Exception { public ValidateException(string memberName, string errorMessage) : base(string.Format("A validation error has occurred {0}:{1}", memberName, errorMessage)) { MemberNam...
25.692308
107
0.621257
[ "MIT" ]
RomeshAbeyawardena/Shared
Shared.Library/Exceptions/ValidateException.cs
668
C#
using System.Collections.Generic; namespace Cloudtoid.Json.Schema { public class JsonSchemaAny : JsonSchemaNamedConstraints { public JsonSchemaAny(IEnumerable<JsonSchemaConstraint> constraints) : base(constraints) { } public JsonSchemaAny() : base() ...
21.904762
75
0.617391
[ "MIT" ]
cloudtoid/json-schema
src/Cloudtoid.Json.Schema/ObjectModel/Constraints/JsonSchemaAny.cs
462
C#
using System; using System.Data; using System.Linq; using BenchmarkDotNet.Attributes; using Bogus; using FluentAssertions; using FluentAssertions.Data; namespace Benchmarks; [MemoryDiagnoser] public class LargeDataTableEquivalencyBenchmarks { private DataTable dataTable1; private DataTable dataTable2; ...
32.513514
124
0.596564
[ "Apache-2.0" ]
IT-VBFK/fluentassertions
Tests/Benchmarks/LargeDataTableEquivalency.cs
3,611
C#
using System; using System.Collections.Generic; using Bar.Models; using Bar.Tender; namespace Bar.CLI { internal class CustomerService : ICustomerService { private readonly IBartender _bartender; private readonly ICustomerInterface _customerInterface; private readonly IPresenter _prese...
30.514706
113
0.588434
[ "MIT" ]
Foshkey/xUnit-Demo
Source/Bar.CLI/CustomerService.cs
2,077
C#
using System; namespace Earth.Renderer { internal class PixelSizePerDistanceUniform : DrawAutomaticUniform { public PixelSizePerDistanceUniform(Uniform uniform) { _uniform = (Uniform<float>)uniform; } #region DrawAutomaticUniform Members public override vo...
24.833333
117
0.649329
[ "MIT" ]
Shakenbake158/Earth
Assets/Scripts/Renderer/Shaders/DrawAutomaticUniforms/PixelSizePerDistanceUniform.cs
598
C#
namespace Discord.GameSDK.Store { public enum SkuType { /// <summary> /// SKU is a game /// </summary> Application = 1, /// <summary> /// SKU is a DLC /// </summary> DLC, /// <summary> /// SKU is a consumable (in-app purchase) /// </summary> Consumable, /// <summary> /// ...
15.96
56
0.541353
[ "MIT" ]
Voltstro-Studios/Discord.GameSDKCSharp
src/Discord.GameSDK/Store/SkuType.cs
401
C#
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Attributes; namespace Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Enums { /// <summary> /// This specifies the Open API format. /// </summary> public enum OpenApiFormatType { /// <summary> /// Identifies the JSON format. ...
22.608696
65
0.555769
[ "MIT" ]
danielabbatt/azure-functions-openapi-extension
src/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Enums/OpenApiFormatType.cs
520
C#
using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Xml; using System.Xml.Linq; using Newtonsoft.Json; using Formatting = System.Xml.Formatting; namespace Merchello.Core.Models { /// <summary> /// Extension methods for <see cref="IOrder"/> /// </...
45.067358
162
0.586227
[ "MIT" ]
dampee/Merchello
src/Merchello.Core/Models/OrderExtensions.cs
8,700
C#
using System; using System.Collections.Generic; using System.Data.SqlClient; namespace Aurum.SQL { public interface ISqlValidator : IDisposable { bool Validate(string query, out IList<SqlError> errors); } }
20.727273
64
0.723684
[ "MIT" ]
404htm/Aurum
Project/Aurum.SQL/Readers/ISqlValidator.cs
230
C#
using Newtonsoft.Json; using PepperDash.Essentials.Core; namespace PepperDash.Essentials.Core { public class DestinationListItem { [JsonProperty("sinkKey")] public string SinkKey { get; set; } private EssentialsDevice _sinkDevice; [JsonIgnore] public EssentialsDevice ...
26.777778
117
0.570539
[ "MIT" ]
PepperDash/Essentials
essentials-framework/Essentials Core/PepperDashEssentialsBase/Devices/DestinationListItem.cs
1,448
C#
/* * Copyright (c) Contributors, http://vision-sim.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * For an explanation of the license of each contributor and the content it * covers please see the Licenses directory. * * Redistribution and use in source and binary forms, with or without ...
35.441365
117
0.511431
[ "MIT" ]
VisionSim/Vision-Sim
Vision/Framework/Services/ClassHelpers/Assets/AssetBase.cs
16,622
C#
using System; namespace Vadavo.NEscPos.Test { public static class ConsoleHelpers { public static void WriteErrorLine(string message) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(message); Console.ResetColor(); } public stat...
25.46875
62
0.574233
[ "MIT" ]
montyclt/ESCPOS.NET
Vadavo.NEscPos.Test/ConsoleHelpers.cs
815
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from include/vulkan/vulkan_win32.h in the KhronosGroup/Vulkan-Headers repository for tag v1.2.198 // Original source is Copyright © 2015-2021 The Khronos Group Inc...
29.875
145
0.714086
[ "MIT" ]
tannergooding/terrafx.interop.vulkan
sources/Interop/Vulkan/Vulkan/vulkan/vulkan_win32/VkExportMemoryWin32HandleInfoNV.cs
719
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Reusable.Workflows { [Table("Workflow")] public partial class Workflow : BaseEntity { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2...
27.346154
128
0.655415
[ "Apache-2.0" ]
JFigue27/MRO-Generated
backend/Reusable/Workflows/Workflow.cs
711
C#
using System; using System.Threading.Tasks; using FFImageLoading.Work; using System.IO; using FFImageLoading.Views; using FFImageLoading.Targets; using FFImageLoading.Drawables; namespace FFImageLoading { /// <summary> /// TaskParameterPlatformExtensions /// </summary> public static class TaskParamete...
39.570552
177
0.59845
[ "MIT" ]
melimion/FFImageLoading
source/FFImageLoading.Droid/Extensions/TaskParameterPlatformExtensions.cs
6,452
C#
using System; namespace ConsoleDemo.AbstractFactory { /// <summary> /// ClientApp startup class for Real-World /// Abstract Factory Design Pattern. /// </summary> class AnimalWorldDemo { /// <summary> /// Entry point into console application. /// </summary> ...
22.625
60
0.529006
[ "MIT" ]
iQuarc/Code-Design-Training
DesignPatterns/ConsoleDemo/AbstractFactory/AbstractFactory.cs
2,898
C#
using System; using System.IO; using System.Security.Permissions; using Microsoft.Win32; using TestFramework.Run; using TestFramework.Log; using TestFramework.Exceptions; using Holodeck; using TestingFaultsXML; namespace FaultXMLTest { /// <summary> /// Summary description for FaultXMLTest2. /// </sum...
26.391892
118
0.691756
[ "MIT" ]
SecurityInnovation/Holodeck
Test/Frameworks/ExecutionFramework/FaultXMLTest2.cs
1,953
C#
namespace Log.It.Tests { public class Generic<T, T2> { } }
10.285714
31
0.555556
[ "MIT" ]
Fresa/Log.It
tests/Log.It.Tests/Generic.cs
74
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace CommonLib.Util { public class UtilProcess { public static void SingletonUI() { try { us...
37.688406
163
0.449529
[ "MIT" ]
LuffyAutomation/UIA
CommonLib/Util/UtilProcess.cs
5,203
C#
namespace ConstellationMind.Shared.Settings { public class SwaggerSettings { public bool Enabled { get; set; } public string DocumentName { get; set; } public string Title { get; set; } public string Version { get; set; } public string RoutePrefix { get; set; } } }
26.5
48
0.616352
[ "MIT" ]
ktutak1337/ConstellationMind.Api
src/ConstellationMind.Shared/Settings/SwaggerSettings.cs
318
C#
using System; using System.Collections.Generic; using System.Text; // This is a generated file from the original deployment recipe. It contains properties for // all of the settings defined in the recipe file. It is recommended to not modify this file in order // to allow easy updates to the file when the original rec...
36.52
142
0.665936
[ "MIT" ]
96malhar/aws-dotnet-deploy
src/AWS.Deploy.Recipes/CdkTemplates/BlazorWasm/Generated/Configurations/BackendRestApiConfiguration.cs
1,826
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Optimization; using System.Web.UI; namespace LibrarySystem { public class BundleConfig { // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkID=303951 public static ...
45.974359
111
0.581707
[ "MIT" ]
niki-funky/Telerik_Academy
Web Development/ASP.NET Web Forms/---EXAM----/LibrarySystem/LibrarySystem/App_Start/BundleConfig.cs
1,797
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.VisioApi { ///<summary> /// IVWindow ///</summary> pub...
29.123575
164
0.654411
[ "MIT" ]
NetOffice/NetOffice
Source/Visio/DispatchInterfaces/IVWindow.cs
48,549
C#
namespace MassTransit.ActiveMqTransport { using System.Collections.Generic; public interface IActiveMqHostConfigurator { /// <summary> /// Sets the username for the connection to ActiveMQ /// </summary> /// <param name="username"></param> void Username(string usern...
26.860465
81
0.578355
[ "ECL-2.0", "Apache-2.0" ]
MathiasZander/ServiceFabricPerfomanceTest
src/Transports/MassTransit.ActiveMqTransport/Configuration/IActiveMqHostConfigurator.cs
1,157
C#
using appez.constants; using appez.listeners; using appez.model; using appez.utility; using System; namespace appez.services { /// <summary> /// Performs HTTP operations. Currently supports HTTP GET and POST /// operations. Also supports feature to create a DAT file dump that holds the response of HTTP op...
39.666667
125
0.666763
[ "MIT" ]
appez/appez-wp8
appez/services/HttpService.cs
3,453
C#
/* * SimScale API * * The version of the OpenAPI document: 0.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; usi...
36.27451
202
0.575495
[ "MIT" ]
SimScaleGmbH/simscale-csharp-sdk
src/SimScale.Sdk/Model/CustomSolarLoad.cs
5,550
C#
using System; using AutoFixture.Kernel; namespace EntityFrameworkCore.AutoFixture.Core { public class BaseTypeSpecification : IRequestSpecification { public BaseTypeSpecification(Type baseType) { this.BaseType = baseType ?? throw new ArgumentNullException(nameof(bas...
24.086957
69
0.619134
[ "MIT" ]
aivascu/AutoFixture.AutoEFCore
src/EntityFrameworkCore.AutoFixture/Core/BaseTypeSpecification.cs
556
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
40.75
183
0.613113
[ "MIT" ]
rasmus-z/starshipxac.ShellLibrary
Samples/MultiScreenSample/Properties/Resources.Designer.cs
3,252
C#
 using Un4seen.Bass; using Un4seen.BassWasapi; using WASApiBassNet.Components.AudioCapture; namespace WASApiBassNet.Components.SoundLevel { public class SoundLevelCapture : ISoundLevelCapture, IAudioPlugin { /// <inheritdoc/> public bool IsStarted { get; protected set; } /// <inherit...
23.519231
96
0.52085
[ "MIT" ]
franck-gaspoz/WindowsAudioSessionSample
WASApiBassNet/Components/SoundLevel/SoundLevelCapture.cs
1,225
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...
40.926702
705
0.616477
[ "MIT" ]
LingyunSu/azure-sdk-for-net
sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/IoTSecurityAggregatedAlert.cs
7,817
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
29.595745
99
0.606758
[ "MIT" ]
Falthazar/EFDesigner
src/Testing/Testing_CoreV2NetCore/Generated/Entities/AbstractBaseClass.generated.cs
1,391
C#
using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; using Lombiq.Tests.UI.Helpers; using System; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Threading.Tasks; namespace Lombiq.Tests.UI.Services { public class AzureBlobStorageConfiguration { /...
42.82963
124
0.676237
[ "BSD-3-Clause" ]
hishamco/UI-Testing-Toolbox
Lombiq.Tests.UI/Services/AzureBlobStorageManager.cs
5,782
C#
using FSO.Server.Database.DA.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FSO.Server.Database.DA.Updates { public interface IUpdates { DbUpdate GetUpdate(int update_id); IEnumerable<DbUpdate> GetRecentUpdat...
40.088235
98
0.73661
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Blayer98/FreeSO
TSOClient/FSO.Server.Database/DA/Updates/IUpdates.cs
1,365
C#
using System; using System.Collections.Generic; using System.Reflection; using FubuCore.Conversion; namespace FubuCore.CommandLine { public class Argument : TokenHandlerBase { private readonly ObjectConverter _converter; private readonly PropertyInfo _property; private bool _...
27.396226
91
0.559917
[ "Apache-2.0" ]
DovetailSoftware/fubucore
src/FubuCore/CommandLine/Argument.cs
1,452
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 ...
42.088737
190
0.581455
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/X86/Sse2/And.Double.cs
24,664
C#
using System; using System.Linq; using System.Numerics; namespace BlockChain.Core.Cryptography { public static class BASE58 { private const string Digits = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; public static string Encode(byte[] data) { // Decode byte[] to BigInteger BigInteger ...
25.619048
105
0.636927
[ "MIT" ]
BlockSharp/BlockChain
BlockChain.Core/Cryptography/Base58.cs
1,616
C#
// ----------------------------------------------------------------------- // <copyright file="FilterExpressionParser.cs" company="Project Contributors"> // Copyright Project Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Li...
39.983333
198
0.42607
[ "Apache-2.0" ]
Net-Http-OData/Net.Http.OData
Net.Http.OData/Query/Parsers/FilterExpressionParser.cs
16,795
C#
/* Copyright 2017 Coin Foundry (coinfoundry.org) Authors: Oliver Weichhold (oliver@weichhold.com) 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 ...
39.190476
103
0.72904
[ "MIT" ]
soplainjustliketofu/miningcore
src/Miningcore/Persistence/Model/BalanceChange.cs
1,646
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using FrontEnd.Data; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using Front...
28.571429
90
0.7
[ "MIT" ]
3arlN3t/aspnetcore-app-workshop
src/FrontEnd/Areas/Identity/Pages/Account/Logout.cshtml.cs
1,002
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; using Quantumart.QP8.BLL; using Quantumart.QP8.BLL.Helpers; using Quantumart.QP8.Resources; using Quantumart.QP8.WebMvc.ViewModels.Abstract; namespace Quantumart.QP8.WebMvc.ViewModels { public class DbViewModel : ...
30.586957
125
0.665956
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
QuantumArt/QP
siteMvc/ViewModels/DbViewModel.cs
1,407
C#
using System; using System.Threading.Tasks; using TripLog.Models; using TripLog.Services; namespace TripLog.Droid.Services { public class LocationService : ILocationService { public async Task<GeoCoords> GetGeoCoordinatesAsync() { var location = await Xamarin.Essentials.Geolocation...
23.409091
83
0.619417
[ "MIT" ]
PacktPublishing/Mastering-Xamarin-Forms-Third-Edition
Chapter4/TripLog/TripLog.Android/Services/LocationService.cs
517
C#
using System; using Xunit; using TagTool.Data.Services; using TagTool.Data.Models; using System.Threading.Tasks; using System.Net.Http; namespace TagTool.Test { public class RestServiceTest { /* Service Being Tested */ private readonly IRestService svc; /* Dependencies */ privat...
27.2375
97
0.577329
[ "MIT" ]
ConorMcErlean/HelpingHand
TagTool.Test/ServiceTests/RestSeviceTest.cs
2,179
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; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis....
35.573034
163
0.50766
[ "MIT" ]
333fred/roslyn
src/EditorFeatures/Test/Collections/IntervalTreeTests.cs
12,666
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using AspNet.Security.OpenIdConnect.Extensions; using AspNet.Security.OpenIdConnect.Primitives; using Microsoft.AspNetCore.Authenti...
49.403846
129
0.626774
[ "BSD-3-Clause" ]
Craige/OrchardCore
src/OrchardCore.Modules/OrchardCore.OpenId/Controllers/AccessController.cs
28,259
C#
#region Header // // Project: WriteableBitmapEx - Silverlight WriteableBitmap extensions // Description: App Page of WinPhone Curve demo. // // Changed by: $Author: unknown $ // Changed on: $Date: 2015-03-04 13:35:03 +0100 (Mi, 04 Mrz 2015) $ // Changed in: $Revisi...
37.176471
141
0.655063
[ "MIT" ]
Chriscolm/WriteableBitmapEx
Source/WriteableBitmapExWinPhoneCurveSample/App.xaml.cs
5,691
C#
using System.ComponentModel.DataAnnotations; using WeLearn.Data.Common.Models; using static WeLearn.Data.Common.Validation.DataValidation.Video; namespace WeLearn.Data.Models.LessonModule { public class Video : BaseDeletableModel<int> { [Required] [MaxLength(MaxNameLength)] public st...
22.37931
65
0.637904
[ "MIT" ]
kristiyanivanovx/WeLearn
src/Data/WeLearn.Data.Models/LessonModule/Video.cs
651
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="LanguageFileToNameConverter.cs" company="Slash Games"> // Copyright (c) Slash Games. All rights reserved. // </copyright> // ----------------------------------------------------...
35.90625
120
0.5396
[ "MIT" ]
SlashGames/slash-framework
Tools/BlueprintEditor/Slash.Tools.BlueprintEditor.WPF/Source/Converters/LanguageFileToNameConverter.cs
1,151
C#
// 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 regenerated. namespace Mi...
60.288889
289
0.669738
[ "MIT" ]
Agazoth/azure-powershell
src/ConnectedNetwork/generated/api/Models/Api20/ProxyResource.PowerShell.cs
10,673
C#
using UnityEngine; using System.Collections; using UnityEngine.UI; namespace Imperio { /// <summary> /// Efecto que muestra el daño hecho a minions o players /// </summary> public class DamageEffect : MonoBehaviour { /// <summary> /// Referencia para poder modificar el alpha el obj...
29.380952
181
0.578066
[ "Unlicense" ]
RaulSerranoDev/CardGame
ProjectImperio/Assets/Scripts/Visual/DamageEffect.cs
1,856
C#
//----------------------------------------------------------------------------- // Filename: RTPSession.cs // // Description: Represents an RTP session constituted of a single media stream. The session // does not control the sockets as they may be shared by multiple sessions. // // Author(s): // Aaron Clauson ...
50.423465
242
0.542646
[ "Apache-2.0" ]
xljiulang/sipsorcery
src/net/RTP/RTPSession.cs
119,909
C#
namespace Calabonga.TemplateProcessor.Engine.Transformer { public interface ITemplateTransform:ITemplateError { void Save(); } }
21.285714
57
0.718121
[ "MIT" ]
Calabonga/TemplateProcessor
Calabonga.TemplateProcessor.Engine/Transformer/ITemplateTransform.cs
151
C#
using Cauldron.Activator; using Cauldron.XAML; using Cauldron.XAML.Navigation; using StandardApplication.ViewModels; using System.Threading.Tasks; using Windows.ApplicationModel.Activation; namespace StandardApplication { /// <summary> /// Provides application-specific behavior to supplement the default Appli...
30.931034
98
0.671126
[ "MIT" ]
Capgemini/Cauldron
Old/UWP/Samples/StandardApplication/App.xaml.cs
899
C#
using TestWrapper.Workers; using Unity.Collections; namespace TestCase.Basic.Division.Simple { public struct SimpleDivisionByteJobParallelFor : IJobParallelForExt<NativeArray<byte>, NativeArray<byte>, NativeArray<byte>> { private NativeArray<byte> _data1; private NativeArray<byte> _data2; ...
22.177778
128
0.532064
[ "MIT" ]
ErikMoczi/Unity.TestRunner.Jobs
Assets/TestCase/Basic/Division/Simple/SimpleAdditionByteJobParallelFor.cs
1,000
C#
using System; using LiteDB; namespace ExperimentationLite.Domain.Entities { public interface IEntity<TKey> { [BsonId] TKey Id { get; set; } } public interface IEntity : IEntity<Guid> { string Name { get; set; } int FriendlyId { get; set; } } }
17.764706
45
0.582781
[ "MIT" ]
iby-dev/ExperimentationLite-API
src/ExperimentationLite.Domain/Entities/IEntity.cs
304
C#
using UnityEngine; using UnityEditor; using FairyGUI; namespace FairyGUIEditor { /// <summary> /// /// </summary> [CustomEditor(typeof(UIConfig))] public class UIConfigEditor : Editor { #if UNITY_5 string[] propertyToExclude; #endif bool itemsFoldout; bool packagesFoldOut; int errorState; private co...
27.753676
129
0.682474
[ "MIT" ]
corefan/CatLib
CatLib.Unity/Assets/CatLib/Lib/FairyGUI/FairyGUI/Editor/UIConfigEditor.cs
7,551
C#
namespace NiceHashMiner.Enums { /// <summary> /// Do not delete obsolete enums! Always add new ones before the END enum. /// </summary> public enum MinerBaseType { NONE = 0, cpuminer, ccminer, sgminer, nheqminer, eqm, ethminer, Claymor...
18.689655
78
0.51107
[ "MIT" ]
tong181567/minin
NiceHashMiner/Enums/MinerBaseType.cs
544
C#
#pragma checksum "D:\Projects\C# DB - September 2019\Entity Framework Core - October 2019\07. C# Auto Mapping Objects\FastFood.Web\Views\Items\Create.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0df4409144170315fe55a4a03420f7366032a928" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft...
68.988095
356
0.718205
[ "MIT" ]
MertYumer/C-DB---September-2019
Entity Framework Core - October 2019/07. C# Auto Mapping Objects/FastFood.Web/obj/Debug/netcoreapp2.1/Razor/Views/Items/Create.cshtml.g.cs
11,590
C#
using System.Collections; using UnityEngine; namespace DCL.Tutorial { /// <summary> /// Class that represents the onboarding tutorial step related to how to Jump In the Genesis Plaza and become a DCL Citizen. /// </summary> public class TutorialStep_Tooltip_GoToGenesisButton : TutorialStep_Tooltip ...
36.708333
128
0.675369
[ "Apache-2.0" ]
maraoz/explorer
unity-client/Assets/Tutorial/Scripts/Steps/TutorialStep_Tooltip_GoToGenesisButton.cs
881
C#
using Microsoft.EntityFrameworkCore; using ORMIntegrator; using System; namespace Microsoft.Extensions.DependencyInjection; public static class ServiceCollectionExtensionLibrary { public static IServiceCollection AddSqlManager<TDbContext>(this IServiceCollection serviceDescriptors, Func<string, TDbContext> dbCont...
40
218
0.75
[ "MIT" ]
CreatioVitae/ORMIntegrator
src/ORMIntegrator.Extensions.DependencyInjection/ServiceCollectionExtensionLibrary.cs
760
C#
using Funeral.Core.IRepository; using Funeral.Core.IRepository.UnitOfWork; using Funeral.Core.Model.Models; using Funeral.Core.Repository.Base; namespace Funeral.Core.Repository { /// <summary> /// AchFgpRepository /// </summary> public class AchFgpRepository : BaseRepository<AchFgp>, IAchFgpRepository...
25.235294
77
0.703963
[ "Apache-2.0" ]
15958105063/FuneralVue
Funeral.Core.Repository/Ach/AchFgpRepository.cs
429
C#
using System; using System.Configuration; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Windows.Forms; using Timer = System.Windows.Forms.Timer; namespace ACNHPoker { public partial class Form1 : Form { pri...
36.512158
218
0.487888
[ "BSD-2-Clause" ]
ye4241/ACNHPoker
acnhpoker/Form1.Villager.cs
48,052
C#
using System; using ChromaWrapper.Keyboard; namespace ChromaWrapper.Sdk { /// <summary> /// Represents a 2-dimensional grid of keyboard LEDs. Implemented by <see cref="IKeyGridEffect"/>.<see cref="IKeyGridEffect.Key"/>. /// </summary> public interface IKeyGrid { /// <summary> /// G...
36.865672
135
0.568016
[ "MIT" ]
poveden/ChromaWrapper
src/Sdk/IKeyGrid.cs
2,472
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace I._02.Hornet_Comm_RegEx { class Program { static void Main(string[] args) { var messagePattern = @"^([0-9]+) <-> ([a-zA-Z0-9]+)$"; var broadca...
24.009091
97
0.639909
[ "MIT" ]
stanislaviv/Programming-Fundamentals-May-2017
16_ExamPreparations/16_ExamPrep1/I.02. Hornet Comm_RegEx/I.02. Hornet Comm_RegEx.cs
2,643
C#
using System; using System.IO; using System.Linq; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Xamarin.MacDev; using Xamarin.MacDev.Tasks; using Xamarin.Utils; namespace Xamarin.iOS.Tasks { public abstract class ValidateAppBundleTaskBase : Task { #region Inputs public string Sessio...
48.459161
239
0.723715
[ "BSD-3-Clause" ]
silvrwolfboy/xamarin-macios
msbuild/Xamarin.iOS.Tasks.Core/Tasks/ValidateAppBundleTaskBase.cs
21,954
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
54.851145
218
0.673996
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/InformationProtectionPolicyRequest.cs
14,371
C#
using System; using System.Collections.Generic; using System.ComponentModel; using UnityEngine; namespace UnityEditor.Recorder.Input { /// <summary> /// Sets which level of multisample anti-aliasing (MSAA) to use for the capture. /// </summary> public enum SuperSamplingCount { /// <summary...
28.959459
95
0.55273
[ "MIT" ]
AbelEnklaar/BehaviourExperiments
Boids 3D/Library/PackageCache/com.unity.recorder@2.2.0-preview.4/Editor/Sources/Recorders/_Inputs/RenderTextureSampler/RenderTextureSamplerSettings.cs
4,288
C#
using ACQREditor.Class; using ACQREditor.Models; using System.Text; using Xamarin.Essentials; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace ACQREditor.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class SavePage : ContentPage { public SavePage(DesignInfo desig...
29.037037
101
0.672194
[ "MIT" ]
santerinogelainen/ACQREditor
ACQREditor/ACQREditor/Views/SavePage.xaml.cs
786
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; using UnityEngine.InputSystem.Controls; using static UnityEngine.InputSystem.InputAction; /// <summary> /// All input for the project should pass through here /// </summary> public class InputMan...
27.716763
126
0.613556
[ "MIT" ]
Jaren-Taylor/Smart-City-Dashboard
Smart City Dashboard/Assets/Scripts/Inputs/InputManager.cs
4,795
C#
using System; using Data.Entities.Common.LocalBase; namespace Data.Sources.LocalStorage.Sqlite.Context { public class SqliteIssue { public int Id { get; set; } public string Head { get; set; } public string Body { get; set; } public int? RowId { get; set; } public RowI...
25.086957
50
0.592721
[ "MIT" ]
LavrentyAfanasiev/Kanban.Desktop
Kanban.Desktop/Data.Sources.LocalStorage.Sqlite/Context/SqliteIssue.cs
579
C#
using Bhp.Cryptography.ECC; using Bhp.SmartContract; using Bhp.Wallets; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Bhp.UI { internal partial class CreateMultiSigContractDialog : Form { private ECPoint[] publicKeys; public CreateMul...
30.245902
137
0.633062
[ "MIT" ]
BHPCash/bhp-gui
bhp-gui/UI/CreateMultiSigContractDialog.cs
1,847
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using SBAdmin.Web.Data; namespace SBAdmin.Web.Migrations { [DbContext(type...
36.402027
95
0.442599
[ "MIT" ]
YuraMishin/SBAdmin
src/SBAdmin.Web/Migrations/AppDbContextModelSnapshot.cs
10,777
C#
#region License /*---------------------------------------------------------------------------------*\ Distributed under the terms of an MIT-style license: The MIT License Copyright (c) 2006-2010 Stephen M. McKamey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and...
24.175202
160
0.597558
[ "MIT" ]
Ciastex/Distance-Server
ServerUnity/Assets/Plugins/JsonFx/Json/JsonFormatter.cs
17,938
C#
using System; using System.Collections.Generic; using System.Text; using Xamarin.Forms; namespace XFFurniture.Models { public class MenuApp { public string MenuTitle { get; set; } public string MenuDetail { get; set; ...
14.705882
33
0.436
[ "MIT" ]
joseluishl123/Ordenes
XFFurniture/XFFurniture/Models/MenuApp.cs
502
C#
#nullable enable namespace System.Linq { // TODO: Consider to rename to OptionalLinqDictionaryExtensions in v2.0 public static partial class OptionalLinqDictionariesExtensions { } }
20
75
0.75
[ "MIT" ]
pfpack/pfpack-core
src/core-taggeds-optional/Optional/Optional.T.Linq.Dictionaries/Extensions.cs
202
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("Th...
37.864865
84
0.745896
[ "MIT" ]
philiplaureano/AkkaDotNetThrottlingDemo
ThrottlingDemo/Properties/AssemblyInfo.cs
1,404
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.Linq.Expressions; using System.Reflection; using System.Threading; using...
47.901235
118
0.667784
[ "Apache-2.0" ]
joshcomley/EntityFramework-archive
src/Microsoft.EntityFrameworkCore/Query/Internal/EntityQueryProvider.cs
3,880
C#
using System; using System.Numerics; namespace _02_CrookedStairs { public class StartUp { public static void Main() { BigInteger firstNum = BigInteger.Parse(Console.ReadLine()); BigInteger secondNum = BigInteger.Parse(Console.ReadLine()); BigInteger thurdNum...
29.588235
77
0.434725
[ "MIT" ]
VeselinovStf/Telerik_Alpha_NET_Prep
AlphaExamPrep/TAA_EntranceExam11Oct/02_CrookedStairs/StartUp.cs
1,511
C#
using System.Diagnostics.CodeAnalysis; using BluffinMuffin.Protocol.DataTypes.Enums; using BluffinMuffin.Server.DataTypes.Attributes; namespace BluffinMuffin.Server.Logic.GameVariants { [GameVariant(GameSubTypeEnum.TexasHoldem)] [SuppressMessage("ReSharper", "UnusedMember.Global")] public class TexasHolde...
27
63
0.780423
[ "MIT" ]
BluffinMuffin/BluffinMuffin.Server
C#/BluffinMuffin.Server.Logic/GameVariants/TexasHoldemVariant.cs
380
C#