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; using FakeBt.Data; using FakeBt.Resources; using Microsoft.Extensions.Logging; using Nancy; using Nancy.ModelBinding; namespace FakeBt { public class PhoneLineOrdersModule : NancyModule { private readonly ILogger logger; public PhoneLineOrdersModule(IBtOrdersDataStore btOrdersSt...
24.97561
100
0.52832
[ "Apache-2.0" ]
JonQuxBurton/MicroservicesSample
src/FakeBt/PhoneLineOrdersModule.cs
1,026
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SeaQuail.Data { public enum SQLogicOperators { AND, OR } public enum SQRelationOperators { Equal, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, StartsWith, Like, EndsWith, Contains, Before, After, In,...
41.570833
166
0.575223
[ "MIT" ]
gjcampbell/seaquail-legacy
sourceCode/SeaQuail/Data/SQConditionBase.cs
9,979
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...
28.897436
81
0.651287
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20190701/Outputs/ApplicationGatewayCustomErrorResponse.cs
1,127
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Runtime.InteropServices; using System.Runtime.Serialization; using GlmSharp.Swizzle; // ReSharper disable InconsistentNaming namespace GlmSharp.Swizzle { /// <summary> /// Temporary vector o...
32.289268
99
0.4663
[ "MIT" ]
akriegman/GlmSharpN
GlmSharp/GlmSharpCompat5/Swizzle/swizzle_vec4.cs
441,362
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using Prism.Mvvm; namespace BgInfo.Models { public class Settings : BindableBase { private string _fontFamily = "Arial"; public string FontFamily { ...
24.2
56
0.604486
[ "MIT" ]
robseb/HorizonTCBGviewer
BgInfo/Models/Settings.cs
849
C#
using System; using System.Threading; using System.Threading.Tasks; using Elasticsearch.Net; namespace Nest { public partial interface IElasticClient { /// <summary> /// The delete API allows to delete a typed JSON document from a specific index based on its id. /// <para> </para> /// <a href="http://www.el...
42.214286
193
0.75846
[ "Apache-2.0" ]
591094733/elasticsearch-net
src/Nest/Document/Single/Delete/ElasticClient-Delete.cs
2,368
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; using Oqtane.Providers; using Oqtane.Services; using Oqtane.UI; namespace Oqtane.Themes.Controls { public class LoginBase : ThemeControlBase { [Inject] public NavigationManager NavigationManage...
37.862745
149
0.623511
[ "MIT" ]
AndreAbrantes/oqtane.framework
Oqtane.Client/Themes/Controls/LoginBase.cs
1,931
C#
// Copyright (c) Richasy. All rights reserved. using System.Threading.Tasks; using Bilibili.App.Dynamic.V2; using Bilibili.Main.Community.Reply.V1; using Richasy.Bili.Models.Enums.Bili; namespace Richasy.Bili.Lib.Interfaces { /// <summary> /// 社区交互处理工具. /// </summary> public interface ICommunityProvi...
35.635135
115
0.566553
[ "MIT" ]
EndDream/Bili.Uwp
src/Lib/Lib.Interfaces/ICommunityProvider.cs
2,975
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...
54.195837
261
0.671799
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet45/Amazon.AWSSupport/AmazonAWSSupportClient.cs
57,285
C#
/* * Copyright (c) 2006-2016, openmetaverse.co * 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 ...
35.416903
141
0.454775
[ "BSD-3-Clause" ]
schlenk/libopenmetaverse
OpenMetaverse.StructuredData/StructuredData.cs
75,013
C#
using System; using System.Collections.Generic; using My.IoC; using My.IoC.Core; namespace My.WinformMvc { public interface IIocWrapper { void RegisterTypes(ICoordinator coordinator); object GetInstance(Type controllerType, out IDisposable lifetimeScope); } public class IoCWrapper : I...
31.616438
121
0.597054
[ "MIT" ]
jingyiliu/My.WinformMvc
MyWinformMvc/IIocWrapper.cs
2,310
C#
using System.ComponentModel; namespace Corazon.Units.Common.Magnitude { public enum MagnitudeUnitTypes { [Description("unit")] Unit = 0, [Description("decade")] Decade = 1, [Description("hundred")] Hundred = 2, [Description("thousand")] Thousa...
18.137931
41
0.54943
[ "MIT" ]
ericveilleux/Corazon
src/Corazon/Units/Common/Magnitude/MagnitudeUnitTypes.cs
528
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...
34.4
159
0.624145
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/DataFactory/Latest/Outputs/MicrosoftAccessTableDatasetResponse.cs
2,924
C#
using System; using System.Collections.Generic; using System.Linq; namespace EOLib.IO.Map { public class MapFile : IMapFile { public const string MapFileFormatString = "maps/{0,5:D5}.emf"; public IMapFileProperties Properties { get; private set; } public IReadOnlyMatrix<TileSpec> Til...
33.15625
100
0.594722
[ "MIT" ]
ethanmoffat/EndlessClient
EOLib.IO/Map/MapFile.cs
6,368
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RockBandAudienceMember : MonoBehaviour { #pragma warning disable 0649 //Serialized Fields [SerializeField] private AnimationCurve hopCurve; [SerializeField] private Vector2 hopHeightRandomBounds, hopDuration...
28.78626
126
0.586582
[ "MIT" ]
Trif4/NitoriWare
Assets/Microgames/_Finished/RockBand/Scripts/RockBandAudienceMember.cs
3,773
C#
using KafkaHelpers.Core.Clients; namespace KafkaHelpers.DotnetCore.DI { public interface IKafkaProducerFactory<TProducer> where TProducer : AbstractProducer { TProducer Create(); } }
19.363636
53
0.70892
[ "Apache-2.0" ]
ChadJessup/KafkaHelpers
KafkaHelpers.DotnetCore/DI/IKafkaProducerFactory.cs
215
C#
using System; using System.IO; using System.Linq; using System.Threading.Tasks; using BeaverSoft.Texo.Core.Actions; using BeaverSoft.Texo.Core.Path; using BeaverSoft.Texo.Core.Text; using BeaverSoft.Texo.Core.Transforming; namespace BeaverSoft.Texo.Fallback.PowerShell.Transforming { public class GetChildItemOutput...
30.967033
101
0.546487
[ "MIT" ]
Mechachleopteryx/texo.ui
BeaverSoft.Texo.Fallback.PowerShell/Transforming/GetChildItemOutput.cs
2,818
C#
using System.ComponentModel; using System.Diagnostics; namespace ZumtenSoft.WebsiteCrawler.BusLayer.Models.Resources { public enum ResourceContentKey { [Description("Page Title")] Title, Meta, Content, Search } [DebuggerDisplay(@"\{ResourceContent Key={Key}, Va...
22.652174
70
0.6238
[ "Apache-2.0" ]
zumten/WebsiteCrawler
src/ZumtenSoft.WebsiteCrawler.BusLayer/Models/Resources/ResourceContent.cs
523
C#
using System.Collections.Generic; using System.Linq; using Comfort.Common; using EFT.Interactive; using EFT.Trainer.Configuration; using EFT.Trainer.Extensions; using UnityEngine; #nullable enable namespace EFT.Trainer.Features { public class ExfiltrationPoints : PointOfInterests { [ConfigurationProperty] publ...
25.851485
119
0.702796
[ "MIT" ]
sailro/EscapeFromTarkov-Trainer
Features/ExfiltrationPoints.cs
2,613
C#
using System; using System.Collections.Generic; using Weborb.Service; namespace BackendlessAPI.Transaction.Operations { class OperationCreateBulk : Operation { public OperationCreateBulk() { } public OperationCreateBulk( OperationType operationType, String table, String opResultId, List<Dictionar...
28
136
0.614907
[ "Apache-2.0" ]
Acidburn0zzz/.NET-SDK
Backendless/Transaction/Operations/OperationCreateBulk.cs
646
C#
namespace AssemblyToProcess; public record DerivedRecord : AnyRecord { public int AnotherInteger { get; set; } public SomeObject AnotherObject { get; set; } }
24
49
0.738095
[ "MIT" ]
greuelpirat/DeepCopy
AssemblyToProcess/DerivedRecord.cs
170
C#
#region Using using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Reactive.Linq; using Microsoft.Reactive.Testing; using System.Threading.Tasks; using System.Reactive.Concurrency; using System.Collections.Concurrent; using System.Diagnostics; using System.Threading; using...
34.709459
124
0.540004
[ "Apache-2.0" ]
bnayae/rx-samples
Rx Testability/Operators/FromAsyncTests.cs
5,139
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayCommerceEducateTuitioncodePlanDisburseModel Data Structure. /// </summary> [Serializable] public class AlipayCommerceEducateTuitioncodePlanDisburseModel : AopObject { /// <summary...
24.72973
79
0.527869
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/AlipayCommerceEducateTuitioncodePlanDisburseModel.cs
963
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> //---...
45.214286
148
0.595577
[ "MIT" ]
mohanedmoh/Hospital-Patiant-Application
Android/obj/Debug/TodoLocalized.C_.Users.Mohanad.Desktop.TodoLocalized.SharedProject.TodoShared.Pages.Quality.Drugs.xaml.g.cs
1,266
C#
using System; using System.Collections.Generic; using System.Text; namespace JT808.Protocol.Extensions.JTActiveSafety.Enums { /// <summary> /// 工作状态 /// </summary> public enum WorkingConditionType:byte { 正常工作=0x01, 待机状态=0x02, 升级维护=0x03, 设备异常 = 0x04, 断开连接 = 0...
17.526316
56
0.594595
[ "MIT" ]
leslietoo/JTActiveSafety
src/JT808.Protocol.Extensions.JTActiveSafety/Enums/WorkingConditionType.cs
383
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.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; using Microsoft.CodeAnaly...
50.46
160
0.699168
[ "Apache-2.0" ]
Unknown6656/roslyn
src/Features/CSharp/Portable/Completion/KeywordRecommenders/ObjectKeywordRecommender.cs
2,523
C#
using System; using System.Globalization; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using AutoTest.Server.Models; namespace AutoTest.Server...
35.876289
173
0.553333
[ "Apache-2.0" ]
abedon/ApiPlayer
Server/Controllers/AccountController.cs
17,402
C#
//---------------------- // <auto-generated> // Generated using the NSwag toolchain v13.0.0.0 (NJsonSchema v10.0.13.0 (Newtonsoft.Json v11.0.0.0)) (http://NSwag.org) // </auto-generated> //---------------------- namespace NSwag.Integration.ClientPCL.Contracts { #pragma warning disable [System.CodeD...
39.993258
239
0.636118
[ "MIT" ]
alexdresko/NSwag
src/NSwag.Integration.ClientPCL/ServiceClientsContracts.cs
17,799
C#
/* * Copyright © 2021 EDDiscovery development team * * 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 applic...
40.727106
171
0.41287
[ "Apache-2.0" ]
EDDiscovery/EliteDangerousCore
EliteDangerous/EliteDangerous/EstimatedValues.cs
22,240
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("Of...
38.243243
84
0.74841
[ "MIT" ]
ConnectionMaster/Office-365-Connectors
SDKs/Office365ConnectorSDK/Properties/AssemblyInfo.cs
1,418
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 // ...
41.491379
85
0.59277
[ "BSD-3-Clause" ]
9192939495969798/Websitepanel
WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ScheduleTaskControls/DomainLookupView.ascx.designer.cs
4,813
C#
// <auto-generated /> using System; using API.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace API.Data.Mig...
34.828746
113
0.437001
[ "MIT" ]
ArturSymanovic/symartsoft
API/Data/Migrations/20201228195114_DataProtectionConfiguration.Designer.cs
11,391
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.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis...
50.125
181
0.709061
[ "MIT" ]
Acidburn0zzz/roslyn
src/Features/Core/Portable/IntroduceVariable/IntroduceLocalForExpressionCodeRefactoringProvider.cs
6,017
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.185567
128
0.644594
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/AwsEcrContainerImageDetailsMarshaller.cs
3,413
C#
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; namespace ItemListPatcher.Parameters { internal class Attack : Parameter { public Attack(int offset = 0) : base(offset) { } public override void ReadValue(BinaryReader reader) { byte[] bytes = r...
27.763636
87
0.616241
[ "MIT" ]
Winterbraid/ItemListPatcher
ItemListPatcher/Parameters/Attack.cs
1,529
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Response to the ServiceProviderCommunicationBarringProfileGetRequest19sp1V2. ...
36.766764
243
0.643962
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/ServiceProviderCommunicationBarringProfileGetResponse19sp1V2.cs
12,611
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainGUI : Singleton<MainGUI> { public GameObject GameGUI; public GameObject MainMenu; public GameObject PauseMenu; public GameObject DeathScreen; public GameObject TeamSelect; // Use this for ini...
17.935484
44
0.640288
[ "MIT" ]
SardineFish/RobotBattle
Robot Battle/Assets/GameSystem/GUI/MainGUI.cs
558
C#
using System; using System.IO; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Singulink.IO.FileSystem.Tests { [TestClass] public class PlatformConsistencyTests { private const string FileName = "test.file"; private static IAbsoluteDirectoryPat...
42.375
111
0.637168
[ "MIT" ]
Singulink/Singulink.IO.FileSystem
Source/Singulink.IO.FileSystem.Tests/PlatformConsistencyTests.cs
2,714
C#
using System; using System.Collections.Generic; using System.Windows.Input; using Xamarin.Essentials; using Xamarin.Forms; namespace Samples.ViewModel { public class GyroscopeViewModel : BaseViewModel { double x; double y; double z; bool isActive; int speed = 0; ...
23.965517
84
0.461151
[ "MIT" ]
1Cor125/Essentials
Samples/Samples/ViewModel/GyroscopeViewModel.cs
2,782
C#
namespace StatusBar.Core { public enum MessageTypes { Information, Warning, Error } }
13.555556
28
0.54918
[ "Apache-2.0" ]
lothrop/StatusBar.iOS
StatusBar.Core/MessageTypes.cs
124
C#
/************************************************************************ AvalonDock Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the New BSD License (BSD) as published at http://avalondock.codeplex.com/license For more features, controls, and fast ...
24.735849
93
0.606407
[ "Apache-2.0" ]
tainicom/ProtonType
3rdPartyLibraries/AvalonDock/src/AvalonDock/Controls/ContextMenuEx.cs
1,313
C#
using CommandLine; namespace ProcessGremlin.App { public class ArgumentParser { public bool TryParse(string[] args, out Arguments arguments) { if (args != null && args.Length != 0) { string invokedVerb = null; object invokedVerbInstance = ...
28.666667
80
0.448203
[ "BSD-3-Clause" ]
NathanLBCooper/ProcessGremlin
App/ArgumentParser.cs
946
C#
using Windows.Win32.UI.Input.KeyboardAndMouse; namespace Whim.FloatingLayout; public static class FloatingLayoutCommands { public static (ICommand, IKeybind?)[] GetCommands(FloatingLayoutPlugin floatingLayoutPlugin) => new (ICommand, IKeybind?)[] { ( new Command( identifier: "floating_layout.toggle_window_...
26.684211
124
0.753452
[ "MIT" ]
dalyIsaac/Whim
src/Whim.FloatingLayout/FloatingLayoutCommands.cs
507
C#
namespace BAG.Framework.Geolocation.Models { public class Coordinate { public double Latitude { get; set; } public double Longitude { get; set; } public Coordinate() { } public Coordinate(double lat, double lon) { Latitude = la...
20.32
75
0.507874
[ "MIT" ]
BROCKHAUS-AG/ContentMonkee
MAIN/BAG.Library/GeoLocation/Models/Coordinate.cs
510
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; using System.Collections.ObjectModel; using CardTricks.Models; namespace CardTricks.Interfaces { public interface ITreeViewItem : INotifyPropertyChanged { Ob...
24.875
61
0.678392
[ "MIT" ]
jamClark/Card-Tricks
CardTricks/Interfaces/ITreeViewItem.cs
599
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 Roslyn.Test.Utilities; using Xunit; using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces; using Microsoft.CodeAnalysis.Editor.Host; using System.Co...
46.034483
161
0.657116
[ "Apache-2.0" ]
dnelly/peachpie
roslyn @ 33e2491/src/VisualStudio/CSharp/Test/Interactive/Commands/ResetInteractiveTests.cs
5,342
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3053 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
30.884615
84
0.476961
[ "MIT" ]
atdushi/zzzcms.net
src/zzzCMS_Backend/FieldTemplates/TextField.ascx.designer.cs
805
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.Collections.Generic; using System.IO; using System.Linq; using System.Threading; namesp...
33.443182
114
0.544003
[ "MIT" ]
CommunityToolkit/Lottie-Windows
source/LottieGen/Reporter.cs
5,888
C#
using System; using System.Collections.Generic; using System.Text; namespace Ld.PlanMangager.Repository.Interface { /// <summary> /// 值对象 /// </summary> /// <typeparam name="TId">id类型</typeparam> public interface IValueObject<TId> : IAggregate<TId> { } }
18.294118
57
0.598071
[ "Apache-2.0" ]
HadesKing/PlanManager
src/Ld.PlanMangager.IRepository/IValueObject.cs
323
C#
using OpenQA.Selenium; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SpecFlow.Tests.Selenium.Helpers { internal static class Extensions { public static Func<IWebDriver, bool> IsClickable(this By by) { r...
23.421053
68
0.526966
[ "MIT" ]
jtucker276/fuzzy-telegram
SpecFlow/SpecFlow.Tests/Selenium/Helpers/Extensions.cs
892
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.Collections; using System.ComponentModel; using Xunit; namespace System.DirectoryServices.Tests { ...
35.717391
124
0.673767
[ "MIT" ]
06needhamt/runtime
src/libraries/System.DirectoryServices/tests/System/DirectoryServices/SortOptionTests.cs
1,645
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Acelerator : MonoBehaviour { void Update() { if (Input.GetKeyDown(KeyCode.Alpha1)) { Time.timeScale = 1; } if (Input.GetKeyDown(KeyCode.Alpha2)) { Time.t...
20.21875
45
0.513138
[ "CC0-1.0" ]
juanFrancoSalcedo/Pitacos
PitacosMaths/Assets/Scripts/Acelerator.cs
649
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace BlitzBricks { class Paddle:ColorSprite { public int ScreenWidth { get; set; } public int InputWidth { get; set; } public...
27.590361
111
0.453712
[ "MIT" ]
GDukeman/BlitzBricks
BlitzBricks/BlitzBricks/Paddle.cs
2,290
C#
namespace MLSoftware.OTA { [System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=...
24.178218
118
0.462326
[ "MIT" ]
Franklin89/OTA-Library
src/OTA-Library/OntologyDimensionTypeDimensionUnit.cs
2,442
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading; using System.Threading.Tasks; using Azure.Core; namespace Azure.Messaging.EventHubs.Authorization { /// <summary> /// Provides a credential based on a shared access signatur...
47.938053
173
0.613255
[ "MIT" ]
Aishwarya-C-S/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs.Shared/src/Authorization/SharedAccessSignatureCredential.cs
5,419
C#
using System; using Microsoft.Azure.WebJobs; namespace Demo.WebJobs.Extensions.CosmosDB.Extensions.Config { internal static class CosmosDBExtensionsWebJobsBuilderExtensions { public static IWebJobsBuilder AddCosmosDBExtensions(this IWebJobsBuilder builder) { if (builder == null) ...
25.666667
89
0.656772
[ "MIT" ]
tpeczek/Demo.Azure.Funtions.PushNotifications
Demo.WebJobs.Extensions.CosmosDB.Extensions/Config/CosmosDBExtensionsWebJobsBuilderExtensions.cs
541
C#
using System; using Disqord; namespace Doraemon.Data.Models.Moderation { /// <summary> /// Describes an operation to create an instance of an <see cref="Infraction" />. /// </summary> public class InfractionCreationData { /// <summary> /// See <see cref="Infraction.Id" /> ...
29.265625
97
0.486385
[ "MIT" ]
shift-eleven/Doraemon
Doraemon.Data/Models/Moderation/InfractionCreationData.cs
1,875
C#
// Copyright (C) 2014 dot42 // // Original filename: Java.Security.Interfaces.cs // // 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 // ...
36.745427
512
0.613151
[ "Apache-2.0" ]
Dot42Xna/master
Generated/v4.2/Java.Security.Interfaces.cs
24,105
C#
using System.Collections.Generic; namespace ErplyAPI.Webstore { public static class Calls { /// <summary> /// Returns an array of possible matrix dimensions. /// </summary> public static List<MatrixDimension> GetMatrixDimensions(this Erply erply, GetMatrixDimensionsSettings set...
81.351351
306
0.706645
[ "MIT" ]
Kedireng/ErplyApi
ErplyAPI/Webstore/Calls.cs
3,016
C#
using System; using System.Collections.Generic; using System.Linq; using TechTalk.SpecFlow.Generator.Interfaces; namespace SpecFlow.Tools.MsBuild.Generation { public class TestFileGeneratorResult { public TestFileGeneratorResult(TestGeneratorResult generatorResult, string fileName) { ...
28.767442
92
0.604689
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
304NotModified/SpecFlow
SpecFlow.Tools.MsBuild.Generation/TestFileGeneratorResult.cs
1,239
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CWheelsApi.Data; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Ext...
35.842105
148
0.62812
[ "MIT" ]
codewithasfend/CWheels-Asp.Net-Core
CWheelsApi/CWheelsApi/Startup.cs
2,724
C#
using System.IO; using NUnit.Framework; using Shouldly; namespace Serilog.Sinks.Amazon.Kinesis.Tests.LogShipperFileManagerTests { [TestFixture] class WhenLockAndDeleteFile : FileTestBase { [Test] public void GivenFileDoesNotExist_ThenIOException() { Should.Throw<IOExcep...
35.652174
125
0.620732
[ "Apache-2.0" ]
PlayOneMoreGame/serilog-sinks-amazonkinesis
tests/Serilog.Sinks.Amazon.Kinesis.Tests/LogShipperFileManagerTests/WhenLockAndDeleteFile.cs
1,642
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...
46.362903
178
0.675248
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Synthetics/Generated/Model/ConflictException.cs
5,749
C#
using Microsoft.AspNetCore.Mvc; using SeturDirectoryApp.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SeturDirectoryApp.Services.Users { public interface IUserService { Task<string> GetUserById(int id); Task<ActionResult<User...
20.631579
49
0.729592
[ "Apache-2.0" ]
hilalyldrm/assessment-backend-net
SeturDirectoryApp/SeturDirectoryApp/Services/Users/IUserService.cs
394
C#
public class Jedi { public int Id { get; set; } public string Name { get; set; } public string Side { get; set; } }
21.166667
36
0.598425
[ "MIT" ]
Jadhielv/GraphQL-in-NETCore
App/Jedi.cs
127
C#
//------------------------------------------------------------ // Game Framework v3.x // Copyright © 2013-2018 Jiang Yin. All rights reserved. // Homepage: http://gameframework.cn/ // Feedback: mailto:jiangyin@gameframework.cn //------------------------------------------------------------ namespace GameFramework { ...
27.242424
63
0.395996
[ "MIT" ]
MiKiNuo/GameFramework
GameFramework/Utility/Profiler.IProfilerHelper.cs
952
C#
// Copyright © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root for more information. using System; using System.Runtime.InteropServices; namespace NovelRT.Interop { public static unsafe partial class NovelRT { [DllImport("NovelRT.Interop", Exact...
53.727273
200
0.753525
[ "MIT" ]
BanalityOfSeeking/NovelRT
src/NovelRT.DotNet/Interop/DotNet/NovelRT.cs
1,774
C#
using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; namespace D2L.CodeStyle.Analyzers.ApiUsage.ContentPhysicalPaths { [DiagnosticAnalyzer( LanguageNames.CSharp )] internal sealed class ILegacyLpContentDirectoryFullNameAnalyzer : DiagnosticAnalyzer { ...
36.466667
102
0.764168
[ "Apache-2.0" ]
ciss1995/D2L.CodeStyle
src/D2L.CodeStyle.Analyzers/ApiUsage/ContentPhysicalPaths/ILegacyLpContentDirectoryFullNameAnalyzer.cs
1,643
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace TicketCore.Models.Knowledgebase { [Table("KnowledgebaseType")] public class KnowledgebaseType { [Key] public int KnowledgebaseTypeId { get; set; } public string KnowledgebaseT...
26.846154
57
0.716332
[ "MIT" ]
pankajkadam333/VueTicket
VueTicketCore/TicketCore.Models/Knowledgebase/KnowledgebaseType.cs
351
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace NinjaLab.Redis { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
26.045455
70
0.706806
[ "CC0-1.0" ]
Ninja-Labs/azure
3. Redis Cache/HOL.A/NinjaLab.Redis/NinjaLab.Redis/Global.asax.cs
575
C#
namespace wuks { using System; using System.ServiceProcess; using System.Timers; internal class WindowsUpdateKiller : IDisposable { private readonly Timer timer; public WindowsUpdateKiller() { this.timer = new Timer(); this.timer.Interval = Time...
27.666667
89
0.53991
[ "MIT" ]
micrak/WUKS
src/wuks/wuks/WindowsUpdateKiller.cs
1,330
C#
using System; using System.Collections.Generic; using System.Drawing; using NComputerVision.Common; using NComputerVision.DataStructures; using NComputerVision.GraphicsLib; namespace NComputerVision.Contour { /// <summary> /// foamliu, 2009/02/11, Hough变换找直线段. /// /// </summary> publ...
32.670455
104
0.455652
[ "Apache-2.0" ]
foamliu/NComputerVision
src/NComputerVision/Contour/Hough_FitLine.cs
6,062
C#
/******************************************************************************* * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License...
47.019444
774
0.580079
[ "Apache-2.0" ]
joshongithub/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/GameLift/Basic/Get-GMLMatchmakingRuleSet-Cmdlet.cs
16,927
C#
// This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schema.V26 { using HL7; /// <summary> /// RSP_Z86_QUERY_RESPONSE (Group) - /// </su...
27.25
105
0.61315
[ "Apache-2.0" ]
AreebaAroosh/Machete
src/Machete.HL7Schema/Generated/V26/Groups/RSP_Z86_QUERY_RESPONSE.cs
654
C#
// Copyright (c) Nate McMaster. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.ComponentModel.DataAnnotations; using McMaster.Extensions.CommandLineUtils; namespace SubcommandSample { /// <summary> /// This example is...
31
111
0.568195
[ "Apache-2.0" ]
adamskt/CommandLineUtils
samples/Subcommands/Program.cs
1,769
C#
//----------------------------------------------------------------------- // <copyright company="Nuclei"> // Copyright 2013 Nuclei. Licensed under the Apache License, Version 2.0. // </copyright> //----------------------------------------------------------------------- using System; namespace Nuclei.Comm...
34.571429
127
0.524203
[ "Apache-2.0" ]
thenucleus/nuclei.communication
src/nuclei.communication/Protocol/NonTransformingObjectSerializer.cs
1,696
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace s4d_biomedicina.Apresentacao { public partial class frmPacientesEnderecos : Form { ...
28.861538
132
0.622068
[ "MIT" ]
System4Developers/CsharpTeste
Aplicacao/s4d_biomedicina/s4d_biomedicina/Apresentacao/frmPacientesEnderecos.cs
1,878
C#
using System; namespace ExpressMapper.Tests.Model.ViewModels { public class MailViewModel : IEquatable<MailViewModel> { public string From { get; set; } public ContactViewModel Contact { get; set; } public ContactViewModel StandardContactVM { get; set; } public boo...
31.166667
177
0.636364
[ "Apache-2.0" ]
Enegia/ExpressMapper
ExpressMapper.Tests.Model/ViewModels/MailViewModel.cs
563
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:3.0.0.0 // SpecFlow Generator Version:3.0.0.0 // // Changes to this file may cause incorrect behavior and wil...
40.339286
254
0.625941
[ "MIT" ]
frankwang0/BddTraining
ShoppingCart/BddTraining.Specs.Features/Files/Calculate Import Duty.feature.cs
4,518
C#
/* Copyright 2017 Enkhbold Nyamsuren (http://www.bcogs.net , http://www.bcogs.info/) 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...
26.681159
96
0.681695
[ "Apache-2.0" ]
E-Nyamsuren/SeriousRPG-Proof-of-Concept
SeriousRPG/Model/MapNS/ForegroundOverlay.cs
1,843
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-generate...
39.944444
191
0.591794
[ "MIT" ]
emam95/signalFlowGraphSolver
ControlSystemsProjectSFG/ControlSystemsProjectSFG/Properties/Resources.Designer.cs
2,878
C#
// Generated class v2.50.0.0, don't modify using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace NHtmlUnit.Html { public partial class HtmlNav : NHtmlUnit.Html.HtmlElement, NHtmlUnit.W3C.Dom.INode, NHtmlUnit.W3C.Dom.IElement ...
26.266667
114
0.681472
[ "Apache-2.0" ]
HtmlUnit/NHtmlUnit
app/NHtmlUnit/Generated/Html/HtmlNav.cs
788
C#
using System; namespace Charlotte { // Token: 0x02000176 RID: 374 public class ProtectCustomTinRoot { // Token: 0x06001D11 RID: 7441 RVA: 0x00044621 File Offset: 0x00042821 public int AvoidCompleteFontaineResolution() { return ProtectCustomTinRoot.MonitorUnknownJarnsaxaExport++; } // Token: 0x06001D1...
35.616505
318
0.793376
[ "MIT" ]
soleil-taruto/Hatena
a20201226/Decompile/Confused_01/Elsa20200001/ProtectCustomTinRoot.cs
7,339
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DotNet45Test { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { } } }
15
51
0.613333
[ "MIT" ]
scionwest/RoslynCompilationIssue
DotNet45Test/UnitTest1.cs
227
C#
using TGXFExampleApp.ViewModels.SecondDay; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace TGXFExampleApp.Views.SecondDay { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class StepperPage : ContentPage { StepperViewModel _viewModel; public StepperPage () { ...
24.84
65
0.663446
[ "MIT" ]
FSalas06/TecGurusXamarin
Dev/TGXFExampleApp/TGXFExampleApp/Views/SecondDay/StepperPage.xaml.cs
623
C#
namespace FakeItEasy.Tests.Core { using FakeItEasy.Core; using FakeItEasy.Creation; using NUnit.Framework; [TestFixture] public class DefaultFakeManagerAccessorTests { private DefaultFakeManagerAccessor accessor; private FakeManager.Factory managerFactory; pri...
31.231481
128
0.571302
[ "MIT" ]
patrik-hagne/FakeItEasy
Source/FakeItEasy.Tests/Core/DefaultFakeManagerAccessorTests.cs
3,373
C#
using System; using System.Collections.Generic; namespace Glicko2 { public class RatingCalculator { private const double DefaultRating = 1500.0; private const double DefaultDeviation = 350; private const double DefaultVolatility = 0.06; private const double DefaultTau = 0.75; ...
37.670927
116
0.530744
[ "MIT" ]
Fr0sZ/Discord-PUG-Bot-.Net
DiscordPugBot/Glicko2/RatingCalculator.cs
11,793
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
41.839286
96
0.719163
[ "MIT" ]
hippieZhou/MEF.Sample
src/mvvmlight/Sample.Plugin3/Properties/AssemblyInfo.cs
2,346
C#
using System; using System.IO; using System.Collections; using System.Collections.Generic; namespace ClickHouse.Ado.Impl.ATG.Insert { internal class Token { public int kind; // token kind public int pos; // token position in bytes in the source text (starting at 0) public int charPos; // token position in...
29.574153
148
0.546887
[ "MIT" ]
Fallenyasha/ClickHouse-Net
ClickHouse.Ado/Impl/ATG/Insert/Scanner.cs
13,959
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Handcards : MonoBehaviour { public CardID cardid = CardID.none; }
18.333333
40
0.775758
[ "MIT" ]
Code-Ponys/Cardgame-0.2
Assets/Handcards.cs
167
C#
using System; using System.Diagnostics; using System.Runtime.InteropServices; using Pgno = System.UInt32; using i64 = System.Int64; using u32 = System.UInt32; using BITVEC_TELEM = System.Byte; namespace Community.CsharpSqlite { public partial class Globals { /* ** 2008 February 16 ** ** The auth...
29.877551
142
0.576776
[ "MIT" ]
ArsenShnurkov/csharp-sqlite
Community.CsharpSqlite/src/bitvec_c.cs
14,640
C#
using IntelligentKioskSample.Data; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IntelligentKioskSample.Models { public class CheckoutViewModel : BaseViewModel { private bool _isRecogn...
36.16092
161
0.559758
[ "MIT" ]
ksaye/azure-intelligent-edge-patterns
retail-of-the-future-demo/IgniteDemoApp/Kiosk/Models/CheckoutViewModel.cs
6,294
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...
26.862069
92
0.637997
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Cdn/Inputs/SkuArgs.cs
779
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. namespace Microsoft.Toolkit.Wpf.UI.Controls { /// <summary> /// Extensions for use with UWP UIElement object...
42.038462
185
0.720952
[ "MIT" ]
XamlBrewer/UWPCommunityToolkit
Microsoft.Toolkit.Win32/Microsoft.Toolkit.Wpf.UI.Controls/UwpUIElementExtensions.cs
1,093
C#
using UnityEngine; namespace traVRsal.SDK { public interface IWorldStateReactor { void ZoneChange(Zone zone, bool isCurrent); void FinishedLoading(Vector3 tileSizes, bool instantEnablement = false); } }
21.181818
80
0.708155
[ "MIT" ]
WetzoldStudios/traVRsal-sdk
Runtime/Types/IWorldStateReactor.cs
235
C#
namespace tcl.lang { public partial class TCL { /* * tcl.h -- * * This header file describes the externally-visible facilities * of the Tcl interpreter. * * Copyright (c) 1987-1994 The Regents of the University of California. * Copyright (c) 1993-1996 Lucent Technologies. * Copyright ...
41.673959
174
0.617814
[ "MIT" ]
ARLM-Keller/csharp-sqlite
TCL/src/tcl_h.cs
99,059
C#
using System; using System.ComponentModel; using System.Collections.Generic; using System.Collections.Specialized; using System.Reflection; namespace WatchThis.Utilities { // From http://stackoverflow.com/questions/7597761/reflecting-across-serialized-object-to-set-propertychanged-event public static class NotifyPro...
37.446154
135
0.739934
[ "MIT" ]
kevintavog/WatchThis.net
src/Utilities/NotifyPropertyChangedHelper.cs
2,434
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Microsoft.Azure.Management.RecoveryServices.Backup { using Microsoft.Rest.Azure; using Models; /// <summary> /// RecoveryPointsOperation...
51.991525
613
0.6489
[ "MIT" ]
samtoubia/azure-sdk-for-net
src/ResourceManagement/RecoveryServices.Backup/Microsoft.Azure.Management.RecoveryServices.Backup/Generated/IRecoveryPointsOperations.cs
6,135
C#
using System; namespace HarmonyHub.Exceptions { /// <summary> /// Internal session token exception. /// </summary> [Serializable] public class SessionTokenException : Exception { /// <summary> /// Initializes a new instance of the <see cref="SessionTokenException"/> class. ...
28.447368
88
0.569843
[ "MIT" ]
1iveowl/HarmonyHub
src/HarmonyHub/Exceptions/SessionTokenException.cs
1,083
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 namespace DotNetNuke.HttpModules.Compression { /// <summary> /// The available compression algorithms to...
27.555556
83
0.65121
[ "MIT" ]
Acidburn0zzz/Dnn.Platform
DNN Platform/HttpModules/Compression/Config/Enums.cs
498
C#