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 System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using SC.BL; using SC.BL.Domain; using Xamarin.Forms; namespace SupportCenter { public partial class TicketCreate : ContentPage { private re...
26.673077
116
0.52199
[ "MIT" ]
anerach/SupportCenter-Xamarin
SupportCenter/SupportCenter/TicketCreate.xaml.cs
1,389
C#
using System; using System.Collections.Generic; using System.Linq; namespace Nest { [ContractJsonConverter(typeof(PercentileRanksAggregationJsonConverter))] public interface IPercentileRanksAggregation : IMetricAggregation { IEnumerable<double> Values { get; set; } IPercentilesMethod Method { get; set; } } ...
35.977273
137
0.78585
[ "Apache-2.0" ]
BedeGaming/elasticsearch-net
src/Nest/Aggregations/Metric/PercentileRanks/PercentileRanksAggregation.cs
1,585
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
27.806452
120
0.729698
[ "MIT" ]
jealuna/DemoUWP
Claro/Views/Detalle.xaml.cs
868
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.Diagnostics; using StarkPlatform.CodeAnalysis.Stark.Symbols; using StarkPlatform.CodeAnalysis.Stark.Syntax; using Roslyn.Utilities; namespace S...
44.722222
195
0.61913
[ "Apache-2.0" ]
stark-lang/stark-roslyn
src/Compilers/Stark/Portable/Lowering/LocalRewriter/LocalRewriter_LocalDeclaration.cs
4,027
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing.Design; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms.Design; using Curvature.Widgets; namespace Curvature { class AgentPropertyAdapter : ...
28.468635
144
0.595593
[ "BSD-3-Clause" ]
apoch/curvature
Scenarios/AgentPropertyAdapter.cs
7,717
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("Da...
38.351351
84
0.749119
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
bsamuels453/Pikatwo
DataProcessing/Properties/AssemblyInfo.cs
1,422
C#
using SX.WebCore.MvcControllers; namespace simlex.Controllers { public sealed class StaticContentController : SxStaticContentController { } }
19.375
75
0.767742
[ "MIT" ]
simlex-titul2005/simlex
simlex/Controllers/StaticContentController.cs
157
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...
37.033333
152
0.573357
[ "MIT" ]
BercKoskun/CSharpBilge
Data Access/27.02/WFA_EntityFramework_Sorgular/WFA_EntityFramework_Sorgular/Properties/Settings.Designer.cs
1,113
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ListaDoblementeEnlazada { class Program { //Creación de la clase jugador class Player { int number; public int Number { ...
30.11236
86
0.396082
[ "MIT" ]
Nyoseka/EstructuraDeDatos2.0
Unidad 3/ListaDoblementeEnlazada.cs
5,371
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class worldDebugColoring_DistanceAbstractBase : worldEditorDebugColoringSettings { [Ordinal(0)] [RED("maxColor")] public CColor MaxColor { get; set; } [Ordi...
35.631579
126
0.713442
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/worldDebugColoring_DistanceAbstractBase.cs
659
C#
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
41.516129
117
0.759907
[ "Apache-2.0" ]
Energinet-DataHub/geh-metering-point
source/Energinet.DataHub.MeteringPoints.Infrastructure/EDI/Errors/Converters/Create/InvalidSettlementMethodErrorConverter.cs
1,289
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.666667
151
0.583567
[ "BSD-3-Clause-Clear" ]
git-thinh/clinq
sourceCode/StockMonitorDemo/StockMonitorDemo/Properties/Settings.Designer.cs
1,073
C#
using System; using System.Linq; using Xunit; namespace Validatum.Tests { public class ValidatorBuilderBooleanExtensionsTests { [Fact] public void True_ThrowsException_WhenBuilderIsNull() { Assert.Throws<ArgumentNullException>("builder", () => { V...
29.640244
95
0.521703
[ "MIT" ]
bsheldrick/validatum
src/Validatum/test/ValidatorBuilderExtensions.Boolean.Tests.cs
9,722
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 ...
43.810345
80
0.72806
[ "BSD-3-Clause" ]
Ideia-Boa/diva-distribution
OpenSim/ScriptEngine/Components/DotNetEngine/Compilers/Compiler_LSL.cs
2,543
C#
using System.Resources; 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. [ass...
35.709677
84
0.745257
[ "MIT" ]
baszalmstra/MXA
MXA-Framework/src/Framework.Avatar/Properties/AssemblyInfo.cs
1,110
C#
namespace Shop.Module.EmailSenderSmtp { public class EmailSmtpOptions { public string SmtpUserName { get; set; } public string SmtpPassword { get; set; } public string SmtpHost { get; set; } = "smtp.mxhichina.com"; public int SmtpPort { get; set; } = 587; } }
22
68
0.613636
[ "MIT" ]
LGinC/module-shop
src/server/src/Modules/Shop.Module.EmailSenderSmtp/EmailSmtpOptions.cs
310
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...
30.585
106
0.548308
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/Outposts/Generated/Model/OrderSummary.cs
6,117
C#
using System; using Advertise.ServiceLayer.Contracts.Users; namespace Advertise.ServiceLayer.EFServices.Users { public class UserClaimService : IUserClaimService { public void Create() { throw new NotImplementedException(); } public void Edit() { ...
20.392857
53
0.565674
[ "Apache-2.0" ]
imangit/Advertise
Advertise/Advertise.ServiceLayer/EFServices/Users/UserClaimService.cs
573
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> //--...
38.117647
151
0.562757
[ "MIT" ]
casperhkce/opencc-gui-csharp
OpenCC GUI/Properties/Settings.Designer.cs
1,946
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.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; n...
47.80531
137
0.618475
[ "Apache-2.0" ]
0x0309/efcore
src/EFCore.Relational/Migrations/IHistoryRepository.cs
5,402
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
43.148148
168
0.738197
[ "MIT" ]
Ar37-rs/Silk.NET
src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocessendframe.gen.cs
2,330
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Windows; using System.Windows.Data; using System.Windows.Markup; namespace Nemesis.Wpf.Converters { [ValueConversion(typeof(object), typeof(bool))] public abstract class ToBoolConverter : BaseConverter { [Cons...
38.488636
180
0.668143
[ "MIT" ]
nemesissoft/Nemesis.Wpf
Nemesis.Wpf/Converters/BoolConverters.cs
3,389
C#
using System; using System.IO; using System.Security.Cryptography; using System.Text; namespace NetCrypto { //私钥 AES固定格式为128/192/256 bits.即:16/24/32bytes //初始化向量参数,AES 为16bytes. public class AesEncryptProvider : IDataEncrypt { private const int BufferSize = 1024; /// <summary> ...
32.929293
113
0.47546
[ "MIT" ]
jinyuttt/DBAcessSrv
NetCrypto/Encrypt/AesEncryptProvider.cs
3,407
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. /...
18.964602
108
0.603826
[ "MIT" ]
IshamMohamed/xamarin-android-samples
ControllRinger/ControllRinger/Resources/Resource.designer.cs
2,143
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Drawing; using System.Drawing.Drawing2D; using System.ComponentModel; namespace WeifenLuo.WinFormsUI.Docking { partial class DockPanel { /// <summary> /// DragHandlerBase is the base clas...
32.037594
105
0.529453
[ "MIT" ]
gudebai120/dockpanelsuite
WinFormsUI/Docking/DockPanel.DragHandler.cs
4,261
C#
 //<summary> // Title : Assembly info for: CAS.CommServer.UA.Server.Service.UnitTest // System : Microsoft Visual C# .NET // $LastChangedDate: $ // $Rev: $ // $LastChangedBy: $ // $URL: $ // $Id: $ // // Copyright (c) 2000-2016 CAS LODZ POLAND // +48 (42) 686 25 47 // techsupp@cas.eu // ...
31.5
83
0.696545
[ "MIT" ]
mpostol/OPCUA.Server
Server.ServiceUnitTest/Properties/AssemblyInfo.cs
1,073
C#
using System; using System.Windows.Media; using Cadena.Data; using StarryEyes.Views; namespace StarryEyes.Models.Backstages.TwitterEvents { public sealed class QuotedEvent : TwitterEventBase { public QuotedEvent(TwitterUser source, TwitterStatus status) : base(source, status.QuotedStatus?....
28.8
91
0.644444
[ "MIT" ]
karno/StarryEyes
StarryEyes/Models/Backstages/TwitterEvents/QuotedEvent.cs
722
C#
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using WebApplicationPostTest.Models; namespace WebApplicationPostTest.Areas.Identity.Pages.Acco...
34.05
129
0.591777
[ "MIT" ]
ahmed-abdelrazek/SuperPostDroidPunk
src/WebApplicationPostTest/Areas/Identity/Pages/Account/Manage/ChangePassword.cshtml.cs
3,407
C#
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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.a...
33.545455
75
0.738031
[ "ECL-2.0", "Apache-2.0" ]
citizenmatt/gallio
src/Extensions/VisualStudio/Gallio.VisualStudio.Tip.Proxy/IProxyTargetFactory.cs
1,107
C#
using System; using System.Collections.Generic; using System.IO; using System.Reactive.Disposables; using System.Threading.Tasks; using Avalonia.Controls; using Avalonia.Controls.Platform; using Avalonia.Controls.Primitives.PopupPositioning; using Avalonia.Input; using Avalonia.Input.Platform; using Avalonia.Input.Raw;...
28.304167
133
0.620197
[ "MIT" ]
SteamTools-Team/Avalonia
src/Avalonia.DesignerSupport/Remote/Stubs.cs
6,793
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...
50.932432
161
0.683736
[ "MIT" ]
jago2136/azure-powershell
src/DataProtection/generated/api/Models/Api20220401/DppBaseResourceList.cs
3,696
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace Unity.Appodeal.Xcode.PBX { class PropertyCommentChecker { private int m_Level; private bool m_All; private List<List<string>> m_Props; ...
40.838565
123
0.518173
[ "MIT" ]
lukeh17/Weiner-Run
Weiner Run/Assets/Appodeal/Editor/xcode/PBX/Serializer.cs
9,107
C#
namespace QlikApiParser { #region Usings using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Text; using NLog; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; #endregion public enum AsyncMode { NONE, ...
29.654545
80
0.618026
[ "MIT" ]
konne/qlik-engineapi
src/qlik-engineapi-generator/QlikApiConfig.cs
1,631
C#
using System; using System.Diagnostics; using System.Threading.Tasks; using Lunchorder.Test.Integration.Helpers.Base; using NUnit.Framework; namespace Lunchorder.Test.Integration.Services { [TestFixture] public class ApplicationUserServiceTest : ServiceBase { [Test] public async Task Creat...
30.285714
121
0.560142
[ "MIT" ]
CoditEU/lunchorder
backend/WebApi/Lunchorder.Test/Integration/Services/ApplicationUserServiceTest.cs
1,698
C#
namespace Kentico.Kontent.Delivery.Tests.Models.ContentTypes { public interface IArticle { public string Title { get; } } }
18.125
61
0.668966
[ "MIT" ]
Kentico/delivery-sdk-net
Kentico.Kontent.Delivery.Tests/Models/ContentTypes/IArticle.cs
147
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...
29.644068
108
0.587764
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/QuickSight/Generated/Model/ListThemeAliasesRequest.cs
3,498
C#
using Microsoft.Web.WebView2.Core; namespace WebView2.DOM { // https://github.com/chromium/chromium/blob/master/third_party/blink/renderer/core/svg/svg_foreign_object_element.idl public class SVGForeignObjectElement : SVGGraphicsElement { protected internal SVGForeignObjectElement(CoreWebView2 coreWebView, stri...
36.588235
119
0.790997
[ "MIT" ]
R2D221/WebView2.DOM
WebView2.DOM/SVG/Elements/SVGForeignObjectElement.cs
624
C#
// <copyright file="Complex32.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2010 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this s...
38.115132
222
0.546187
[ "MIT" ]
MicroWorldwide/BGC_Tools
Mathematics/Complex32.cs
34,763
C#
using System; using System.Windows.Forms; namespace SuperPutty.Utils { /// <summary> /// Make a text box focus and select all on mouse click, tab in, etc. /// http://stackoverflow.com/questions/97459/automatically-select-all-text-on-focus-in-winforms-textbox /// </summary> public class Te...
31.836066
108
0.549434
[ "MIT" ]
Mattlk13/superputty
SuperPutty/Utils/TextBoxFocusHelper.cs
1,944
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("07...
37.864865
84
0.741613
[ "MIT" ]
AneliaDoychinova/Programming-Fundamentals
12. Regular Expressions (RegEx)/Exercises Regular Expressions/07. Query Mess/Properties/AssemblyInfo.cs
1,404
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...
50.93379
154
0.633242
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20160330/ApplicationGateway.cs
22,309
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.M...
35.326316
110
0.56615
[ "MIT" ]
Airkek/osu
osu.Game.Rulesets.Osu.Tests/TestSceneSpinner.cs
3,264
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.Buffers; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; us...
48.987805
181
0.522629
[ "Apache-2.0" ]
DeeplyRecursive/aspnetcore
src/Servers/Kestrel/test/FunctionalTests/MaxRequestBufferSizeTests.cs
20,085
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.517241
81
0.643693
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DocumentDB/V20160319/Inputs/SqlDatabaseResourceArgs.cs
769
C#
namespace Suzianna.Rest.Tests.Integration.Model { public class CreateUserResponse { public int Id { get; set; } public string Name { get; set; } public string Job { get; set; } } }
24.111111
48
0.603687
[ "Apache-2.0" ]
H-Ahmadi/Suzianna
Code/test/Suzianna.Rest.Tests.Integration/Model/CreateUserResponse.cs
219
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Engine.Models { public class MonsterEncounter { public int MonsterID { get; set; } public int ChanceOfEncountering { get; set; } public MonsterEncounter(int mo...
22.761905
75
0.669456
[ "MIT" ]
jun383914/GameLearning
Engine/Models/MonsterEncounter.cs
480
C#
using Moq; using Noise.RavenDatabase.Logging; using NUnit.Framework; using Noise.BaseDatabase.Tests.DataProviders; using Noise.Infrastructure.Interfaces; using Noise.RavenDatabase.DataProviders; namespace Noise.RavenDatabase.Tests.DataProviders { [TestFixture] public class InternetStreamProviderTests : BaseInternet...
22.891892
87
0.753247
[ "MIT" ]
bswanson58/NoiseMusicSystem
Noise.RavenDatabase.Tests/DataProviders/InternetStreamProviderTests.cs
849
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace Aliyun.SDK.CCP.CCPClient.Models { /** * 获取文件元数据 */ public class GetFileRequest : TeaModel { [NameInMap("drive_id")] [Validation(Required=true,...
25.047619
78
0.613118
[ "Apache-2.0" ]
aliyun/aliyun-ccp
ccppath-sdk/cs/core/Models/GetFileRequest.cs
1,066
C#
using System; using Hackney.Core.Testing.Shared; using Moq; using NUnit.Framework; using ServiceStack; using ServiceStack.Redis; using SingleViewApi.V1.Boundary; using SingleViewApi.V1.Gateways; using SingleViewApi.V1.Helpers; using SingleViewApi.V1.Helpers.Interfaces; using SingleViewApi.V1.UseCase; namespace SingleV...
38.3375
136
0.731007
[ "MIT" ]
LBHackney-IT/single-view-api
SingleViewApi.Tests/V1/UseCase/GetJigsawAuthTokenUseCaseTests.cs
3,067
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...
33.333333
167
0.662
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/KeyManagementService/Generated/Model/EnableKeyRotationRequest.cs
2,000
C#
using System; using System.Collections.Generic; namespace SDKTemplate { static class RecognizerHelper { private static Dictionary<string, string> Bcp47ToRecognizerNameDictionary = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase) { { "en...
56.274194
96
0.558326
[ "MIT" ]
544146/Windows-universal-samples
Samples/SimpleInk/cs/RecognizerHelper.cs
3,688
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipe...
57.901408
296
0.665613
[ "MIT" ]
git-thomasdolan/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/Subnet.cs
24,666
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
28.166667
153
0.538757
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/GreaterThanOrEqual/Complete/NullableInt32/NullableInt16/TestSet_504__param__03__NV.cs
3,382
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.WsFede...
38.515152
106
0.641227
[ "MIT" ]
ryakstis/docker-swarm-nginx-dotnet-wsfederation-issue
Startup.cs
6,355
C#
namespace Polytet.Communication.Messages { [Header(0b_1000_0100, MessageReceiver.Client)] public readonly struct TickServer : IMessage { internal static IMessage DeSerialize(byte[] message, byte playerIntegerSize) { return new TickServer(); } byte[] IMessage.Serialize(byte playerIntegerSize) { retu...
21.5
78
0.738372
[ "MIT" ]
89netraM/Polytet
Communication/Messages/Tick.cs
346
C#
// Copyright (C) 2018 Fievus // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using Windows.Devices.Input; using Windows.Foundation; using Windows.UI.Xaml; using Windows.UI.Xaml.Input; namespace Charites.Windows.Mvc.Wrappers { /// <summa...
54.2625
138
0.646625
[ "MIT" ]
averrunci/UwpMvc
Source/UwpMvc/Mvc/Wrappers/TappedRoutedEventArgsWrapper.cs
8,684
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraAspectRatio : MonoBehaviour { // Use this for initialization void Start() { // set the desired aspect ratio (the values in this example are // hard-coded for 16:9, but you could make them into ...
28.823529
72
0.576871
[ "MIT" ]
BYJRK/AircraftWar3D
Assets/Scripts/CameraAspectRatio.cs
1,470
C#
using UnityEngine; using System.Collections; [RequireComponent (typeof(Camera))] public class TiltedSplitscreen : PostEffectsBase { public Camera camera2; public Transform followTarget1, followTarget2; public Shader titledSplitscreenShader; RenderTexture otherTexture; Material m; Vector3 direction; float yDis...
29.261905
84
0.747762
[ "MIT" ]
staffantan/splitscreen
TiltedSplitscreen.cs
1,231
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: mybank.credit.supplychain.wf.tokeninvalidstatus.query /// </summary> public class MybankCreditSupplychainWfTokeninvalidstatusQueryRequest : IAopRequest<My...
25.467742
144
0.596897
[ "Apache-2.0" ]
alipay/alipay-sdk-net
AlipaySDKNet.Standard/Request/MybankCreditSupplychainWfTokeninvalidstatusQueryRequest.cs
3,170
C#
using System; using System.Xml.Serialization; namespace GravatarMobile { /// <summary> /// Gravatar name data /// </summary> public class GravatarName { [XmlElement(ElementName="givenName")] public string GivenName {get; set;} [XmlElement(ElementName="familyName")] public string FamilyName {get; set;} ...
17.608696
40
0.708642
[ "MIT" ]
newky2k/GravatarMobile
src/GravatarMobile/Data/GravatarName.shared.cs
407
C#
namespace LoWaiLo.WebAPI.Areas.Identity.Pages.Account { using System.Text.Encodings.Web; using System.Threading.Tasks; using LoWaiLo.Data.Models; using LoWaiLo.WebAPI.Areas.Identity.Pages.Account.InputModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; u...
38.765625
125
0.624345
[ "MIT" ]
TeMePyT/LoWaiLo-Project
LoWaiLoWebApi/Web/LoWaiLo.WebAPI/Areas/Identity/Pages/Account/ForgotPassword.cshtml.cs
2,483
C#
using UnityEngine; namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem { [TaskCategory("Basic/ParticleSystem")] [TaskDescription("Pause the Particle System.")] public class Pause : Action { [Tooltip("The GameObject that the task operates on. If null the task GameObject is...
30.634146
100
0.593153
[ "Apache-2.0" ]
brustlinker/unity_behaviortree_sk
Assets/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Pause.cs
1,256
C#
// <copyright file="CacheSpecificationBuilder.cs" company="improvGroup, LLC"> // Copyright © 2021 improvGroup, LLC. All Rights Reserved. // </copyright> namespace SharedCode.Specifications.Builders; /// <summary> /// The cache specification builder class. Implements the <see cref="ICacheSpecificationBuilder{T}" /...
36.769231
104
0.723849
[ "MIT" ]
improvgroup/sharedcode
SharedCode.Core/Specifications/Builders/CacheSpecificationBuilder.cs
957
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("ML...
37.702703
84
0.744803
[ "MIT" ]
DigitallyImported/GoogleApisForiOSComponents
samples/Firebase/MLKit/MLKitSample/Properties/AssemblyInfo.cs
1,398
C#
using System; using System.Linq; using System.Windows.Input; using Xamarin.Forms; namespace Simple.Xamarin.Framework { public class ExtendedLabel : StackLayout { [Obsolete("Use of Width is forbidden.", true)] public new static readonly BindableProperty WidthRequestProperty; [Obsolete(...
37.023438
168
0.575438
[ "MIT" ]
kkolodziejczak/Simple.Xamarin.Framework
Simple.Xamarin.Framework/Components/Extended/ExtendedLabel.cs
9,480
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.FindSymbols; namespace UnusedSymbolsAnalyzer.UseCases.Interactors.AnalyzeSolution { public class AnalyzeSolu...
41.586207
129
0.622222
[ "MIT" ]
schrufygroovy/unused-symbols-analyzer
src/UnusedSymbolsAnalyzer.UseCases/Interactors/AnalyzeSolution/AnalyzeSolutionInteractor.cs
6,032
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
33.814815
124
0.612815
[ "Apache-2.0" ]
AlexandrTrf/dotnet-spanner-nhibernate
Google.Cloud.Spanner.NHibernate.IntegrationTests/SingleTableFixture.cs
1,828
C#
using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; namespace Mongo.CRUD { public static class MongoExtension { public static void AddMongoDb(this IServiceCollection services, string connection) { var mongoUrl = new MongoUrl(connection); IMongoClient c...
31.4
90
0.676752
[ "MIT" ]
ThiagoBarradas/mongo-crud-dotnet
Mongo.CRUD/MongoExtension.cs
630
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Commons; using Charlotte.GameCommons; namespace Charlotte.Games.Enemies.Tests { /// <summary> /// テスト用_敵 /// </summary> public class Enemy_B0002 : Enemy { public Enemy_B0002(double x, double y) : base(x, y,...
20.930233
74
0.65
[ "MIT" ]
soleil-taruto/Elsa2
e20201303_YokoShoot_Demo/Elsa20200001/Elsa20200001/Games/Enemies/Tests/Enemy_B0002.cs
960
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// /// </summary> [Serializable] [XmlRoot(Namespace = "")] [Groups...
29.333333
130
0.624402
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/MusicOnHoldSourceModify22AnnouncementCustomSourceMediaFiles.cs
1,672
C#
using UnityEngine; using System.Collections; public class Steps : MonoBehaviour { CharacterController controller; // Use this for initialization void Start () { controller = transform.parent.GetComponent<CharacterController>(); GetComponent<AudioSource>().Play(); } // Update is called once per frame vo...
22.782609
70
0.71374
[ "Unlicense" ]
redien/Ludum-Dare-26
Assets/Audio/Steps.cs
524
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace infinite_scrolling_background.Desktop { public class Game1 : Game { GraphicsDeviceManager graphics; SpriteBatch spriteBatch; Texture2D backgroundImage; Backgrou...
25.76
132
0.634705
[ "MIT" ]
GameTemplates/MonoGame-Examples
infinite-scrolling-background/Linux/infinite-scrolling-background/Game1.cs
2,578
C#
using UnityEngine; // Glow uses the alpha channel as a source of "extra brightness". // All builtin Unity shaders output baseTexture.alpha * color.alpha, plus // specularHighlight * specColor.alpha into that. // Usually you'd want either to make base textures to have zero alpha; or // set the color to have zero alpha ...
37.514563
103
0.527821
[ "MIT" ]
DavidLibeau/Delphinarium-Unity
Assets/Store/Standard Assets/Effects/ImageEffects (Pro Only)/Scripts/GlowEffect.cs
7,728
C#
using System; using System.Collections.Generic; using System.Linq; using AldursLab.WurmApi; using AldursLab.WurmAssistant3.Areas.Config; using AldursLab.WurmAssistant3.Areas.Granger.DataLayer; using AldursLab.WurmAssistant3.Areas.Insights; using AldursLab.WurmAssistant3.Areas.Logging; using AldursLab.WurmAssistant3.Ar...
37.093023
116
0.588506
[ "MIT" ]
artizzan/WurmAssistant3
src/Apps/WurmAssistant/WurmAssistant3/Areas/Granger/LogFeedManager/LogsFeedManager.cs
4,787
C#
/* * Farseer Physics Engine: * Copyright (c) 2012 Ian Qvist * * Original source Box2D: * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of t...
32.394636
109
0.536606
[ "MIT" ]
PsichiX/mindvolving
FarseerPhysics.Portable/Dynamics/Joints/FixedMouseJoint.cs
8,455
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; public class ShopSystem : MonoBehaviour { [SerializeField] private Gun Weapon; [SerializeField] private CoinSystem CoinSystem; [SerializeField] private GameObject Sh...
30.245763
146
0.624264
[ "MIT" ]
xfac11/Bug-Game
Assets/Scripts/ShopSystem.cs
3,571
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; using Azure.ResourceManager.KeyVault.Models; using Azure.ResourceManager.Models; using Azure.ResourceManag...
42.148571
222
0.505965
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/MhsmPrivateEndpointConnectionData.Serialization.cs
7,376
C#
using GameLibrary.Domain.Core; using GameLibrary.Domain.Entities.Token; using GameLibrary.Domain.Interfaces.Repositories; using GameLibrary.Domain.Interfaces.Services; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Options; using Microsoft.IdentityM...
39.373239
134
0.56734
[ "MIT" ]
evertonrps/Game-Library
src/GameLibrary.Domain/Services/TokenService.cs
5,600
C#
using System; using System.Reflection; using Jasily.FunctionInvoker; using JetBrains.Annotations; using Jasily.FunctionInvoker.ArgumentsResolvers; namespace Jasily.Awaitablify.Internal { internal abstract class AwaitableAdapter : IAwaitableAdapter { private readonly bool _isValueType; protect...
37.405797
141
0.710965
[ "MIT" ]
Jasily/jasily.awaitablify-csharp
Jasily.Awaitablify/Internal/AwaitableAdapter.cs
2,583
C#
using System; using Steeltoe.Messaging.RabbitMQ.Config; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Steeltoe.Messaging.RabbitMQ.Extensions; using Microsoft.Extensions.Hosting; using Steeltoe.Messaging.RabbitMQ.Host; namespace ConsoleSendReceive { class Program { ...
30.346939
77
0.527909
[ "Apache-2.0" ]
SteeltoeOSS/Samples
Messaging/src/Console/DependencyInjection/Program.cs
1,489
C#
// // JobKey.cs // // Copyright (c) Christofel authors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Christofel.Scheduling { /// <summary> /// Represents key of a job. /// </summary> /// <param name="Group">Ge...
32.466667
103
0.667351
[ "MIT" ]
ctu-fee-group/Christofel.Scheduler
src/Christofel.Scheduling.Abstractions/JobKey.cs
487
C#
namespace MusicX.Data.Models.Interfaces { public interface IHaveOwner { string OwnerId { get; set; } ApplicationUser Owner { get; set; } } }
17.1
43
0.614035
[ "MIT" ]
MrPIvanov/SoftUni
17-ASP.NET Core MVC/29_BLAZOR/DemoCode/Data/MusicX.Data.Models/Interfaces/IHaveOwner.cs
173
C#
using CleanArchitecture.Application.Common.Interfaces; using CleanArchitecture.Domain.Entities; using CleanArchitecture.Domain.Events; using MediatR; namespace CleanArchitecture.Application.Owners.Commands.CreateOwner; public class CreateOwnerCommand : IRequest<int> { public int IdOwner { get; set; } public...
25.142857
98
0.707386
[ "MIT" ]
cleycruz/weelo
src/Application/Owners/Commands/CreateOwner/CreateOwnerCommand.cs
1,058
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.04
250
0.645884
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Storage/V20210101/Outputs/IdentityResponse.cs
1,652
C#
using System; using System.Collections.Generic; using System.Text; namespace DAL.Models { public class Answer : AuditableEntity { public int Id { get; set; } public string ImgPath { get; set; } public string Text { get; set; } public bool IsCorrect { get; set; } public...
22.944444
54
0.615012
[ "MIT" ]
michalfalat/skillPortal
src/DAL/Models/Answer.cs
415
C#
using System.Collections.Generic; using System.Linq; using System.Text; namespace SIL.Machine.Tokenization { public enum DetokenizeOperation { NoOperation, MergeLeft, MergeRight, MergeBoth } public abstract class StringDetokenizer : IDetokenizer<string, string> { public string Detokenize(IEnumerable<st...
25.236364
109
0.700288
[ "MIT" ]
russellmorley/machine
src/SIL.Machine/Tokenization/StringDetokenizer.cs
1,388
C#
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Kooboo.CMS.Sites.Models; namespace Kooboo.CMS.Web.Areas....
30.190476
134
0.577287
[ "BSD-3-Clause" ]
Bringsy/Kooboo.CMS
Kooboo.CMS/Kooboo.CMS.Web/Areas/Sites/ModelBinders/PagePositionBinder.cs
1,270
C#
//创建者:Icarus //手动滑稽,滑稽脸 //ヾ(•ω•`)o //2019年05月02日-05:04 //AnimationExpansion.Editor using System; using Icarus.IcAttribute.Core; namespace Icarus.IcAttribute.Attributes { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class DisableAttribute...
22.346154
113
0.666093
[ "MIT" ]
yika-aixi/IcAttribute
Attribute/Scripts/DisableAttribute.cs
616
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using OsuRTDataProvider.Mods; using RealTimePPDisplayer.Displayer; using RealTime...
33.240506
140
0.50476
[ "MIT" ]
BadAimWeeb/RealTimePPDisplayer
Calculator/CatchTheBeatPerformanceCalculator.cs
10,506
C#
using PnP.Framework.Extensions; using System; using System.Collections; using System.Collections.Generic; namespace PnP.Framework.Provisioning.Providers.Xml.Resolvers { /// <summary> /// Type resolver for Teams from Schema to Model /// </summary> internal class TeamsFromSchemaToModelTypeResolver : ITy...
35.119048
173
0.60339
[ "MIT" ]
Arturiby/pnpframework
src/lib/PnP.Framework/Provisioning/Providers/Xml/Resolvers/V201903/TeamsFromSchemaToModelTypeResolver.cs
1,477
C#
namespace MagisIT.ReactiveActions.Sample.Models { public class Product { public string Id { get; set; } public string Name { get; set; } public double Price { get; set; } public int AvailableAmount { get; set; } } }
18.785714
48
0.593156
[ "MIT" ]
MagisIT/MagisIT.ReactiveActions
MagisIT.ReactiveActions.Sample/Models/Product.cs
263
C#
using System; using System.Collections.Generic; namespace BeatDetection { public interface IBeatDetection { void Detect(Span<short> memory); List<DetectedBeat> GetBeats(); } }
15.923077
40
0.676329
[ "MIT" ]
manio143/BeatDetection
BeatDetection/IBeatDetection.cs
209
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace SoftJail.Data.Models { public class Officer { public Officer() { this.OfficerPrisoners = new HashSet<OfficerPrisoner>(); } public int Id { get;...
29.952381
112
0.666932
[ "MIT" ]
BorisLechev/C-DB
Entity Framework Core/Exams/14.08.2020/SoftJail/SoftJail/Data/Models/Officer.cs
1,292
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // This source code is made available under the terms of the Microsoft Public License (MS-PL) using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace IQ...
36.066116
114
0.533685
[ "Apache-2.0" ]
akrisiun/System.Linq.Dynamic.Core
src/IQToolkit.Sql/Core/Data/Common/Language/QueryLanguage.cs
13,094
C#
using System.Net.Sockets; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using ReshaperCore.Messages; using ReshaperCore.Messages.Entities.Http; using ReshaperCore.Proxies; using ReshaperCore.Rules; using ReshaperCore.Rules.Thens; namespace ReshaperTests { [TestClass] public class ThenHttpConnectTes...
33.308271
167
0.724379
[ "MIT" ]
synfron/Reshaper
ReshaperTests/ThenHttpConnectTests.cs
4,432
C#
using System; using System.Collections.Generic; using System.Linq; namespace AscheLib.UniMonad { public static partial class Option { private class MergeCore<T> : IOptionMonad<T[]> { IOptionMonad<T>[] _sources; public MergeCore(IOptionMonad<T>[] sources) { _sources = sources; } public IOptionResult...
37.482759
129
0.701012
[ "MIT" ]
AscheLab/AscheLib.UniMonad
Assets/AscheLib/UniMonad/Monad/Option/Option.Merge.cs
1,089
C#
using System; namespace Xamarin.Forms.Controls.GalleryPages.GradientGalleries { public partial class BindableBrushGallery : ContentPage { public BindableBrushGallery() { InitializeComponent(); InitializeBrush(); BindingContext = this; } public LinearGradientBrush LinearGradient { get; set; } vo...
25.756098
116
0.686553
[ "MIT" ]
AlleSchonWeg/Xamarin.Forms
Xamarin.Forms.Controls/GalleryPages/GradientGalleries/BindableBrushGallery.xaml.cs
1,058
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using RegistrationServices.BusinessLayer.UseCase; using Moq; using RegistrationServices.BusinessLayer; using OnlineServices.Shared.RegistrationServices.Interface; using OnlineServices.Common.Registrat...
37.418919
104
0.657999
[ "Apache-2.0" ]
ambroise04/OnlineServices
UserServices/UserServices.BusinessLayerTests/UseCase/AssistantSessionTests/Assistant_UpdateSessionTest.cs
2,771
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.M...
40.612335
132
0.600282
[ "Apache-2.0" ]
FriendsTmCo/efcore
src/EFCore.SqlServer/Metadata/Conventions/SqlServerIndexConvention.cs
9,219
C#
using System; using System.Collections; using UnityEngine; using Utility.StateMachine; namespace Mechanics.Boss.States { public class ChargeAttack : IState { private BossStateMachine _stateMachine; private BossMovement _bossMovement; private float _timeToRotate; private float _a...
29.5
102
0.518341
[ "MIT" ]
BrandonMCoffey/4368-Homework-01
Assets/Scripts/Mechanics/Boss/States/ChargeAttack.cs
3,953
C#