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.Web.Mvc; using Twilio.OwlFinance.Domain.Interfaces.Settings; namespace Twilio.OwlFinance.Web.Mvc { public abstract class OwlFinanceViewPage : WebViewPage { public IAppSettingsProvider Settings { get; set; } } }
22.363636
58
0.735772
[ "MIT" ]
jonedavis/OwlFinanceDemo
web/website/Mvc/OwlFinanceViewPage.cs
248
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MessagesManager : MonoBehaviour { MessagesDispatcher[] messages; class MessagesDispatcher { public string name; public List<ReceiveEvent> receiveEvents = new List<ReceiveEvent>(); } public...
21.837838
80
0.525371
[ "BSD-3-Clause" ]
InstytutXR/ScioXR
Assets/Scripts/Blocks/MessagesManager.cs
1,618
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System....
37.519274
129
0.626375
[ "MIT" ]
StoneFinch/azure-webjobs-sdk
test/Microsoft.Azure.WebJobs.Host.UnitTests/JobHostConfigurationTests.cs
16,548
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using testclient1.smarteboka.com.Models; namespace testclient1.smarteboka.com.Controllers { public class HomeControl...
22.634146
112
0.615302
[ "MIT" ]
smarteboka/TestClient1
source/testclient1.smarteboka.com/Controllers/HomeController.cs
930
C#
using System; namespace gExploreFTP.FTP.General { public interface ILoaded { bool Loaded { get; } } public class LoadedClass : ILoaded { protected bool m_fLoaded = false; public LoadedClass() { } public bool Loaded { get { return m_fLoaded; } } } }
10.666667
35
0.635417
[ "Apache-2.0" ]
jzonthemtn/gexploreftp
gExploreFTP.FTP/General/LoadedClass.cs
288
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
47.209459
229
0.58647
[ "MIT" ]
Inside-Outcomes/Risk-Tracker
RiskTracker/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
20,961
C#
using System; using Aeon.Emulator.Memory; namespace Aeon.Emulator { /// <summary> /// Contains information about expanded memory usage. /// </summary> public sealed class ExpandedMemoryInfo { /// <summary> /// Size of expanded memory in pages. /// </summary> public ...
33.025
96
0.603331
[ "Apache-2.0" ]
gregdivis/Aeon
src/Aeon.Emulator/Memory/ExpandedMemoryInfo.cs
1,323
C#
using System; using System.Collections.Generic; namespace Appeaser.Interception { public interface IRequestInterceptionContext : IContext { Type RequestType { get; } Type HandlerType { get; } object Request { get; } } }
19.846154
59
0.662791
[ "MIT" ]
carl-berg/appeaser
src/Appeaser/Interception/IRequestInterceptionContext.cs
260
C#
namespace agileBall_proc.Messages { public class GameResult { public string Team { get; set; } public bool IsAWin { get; set; } } }
19.875
40
0.603774
[ "MIT" ]
DavidHoerster/agileball
Messages/GameResult.cs
159
C#
namespace Gorgon.UI { partial class GorgonWaitMessagePanel { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
41.51087
154
0.602252
[ "MIT" ]
Tape-Worm/Gorgon
Gorgon/Gorgon.Windows/UI/_Controls/GorgonWaitMessagePanel.Designer.cs
3,821
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; #pragma warning disable 1591 namespace Silk.NET.OpenGL { public enum SpriteParameterNameSGIX { SpriteModeSgix = 0x8149, } }
17.5
57
0.698413
[ "MIT" ]
AzyIsCool/Silk.NET
src/OpenGL/Silk.NET.OpenGL/Enums/SpriteParameterNameSGIX.gen.cs
315
C#
using Dartin.Abstracts; using System.ComponentModel; namespace Dartin.Models { public class Set : AHasWinner { private BindingList<Leg> _legs; public BindingList<Leg> Legs { get => _legs; set { _legs = value; NotifyPr...
17.576923
41
0.474836
[ "MIT" ]
RayBarneveldInc/Dartin
Dartin/Dartin.Application/Models/Set.cs
459
C#
using Android.Content; using Android.Widget; using WeatherSearch.Droid.CustomRenderer; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; [assembly: ExportRenderer(typeof(SearchBar), typeof(CustomSearchBarRenderer))] namespace WeatherSearch.Droid.CustomRenderer { class CustomSearchBarRenderer : SearchBarR...
32.4
109
0.67284
[ "MIT" ]
kvntzn/Weather-Search
WeatherSearch.Android/CustomRenderer/CustomSearchBarRenderer.cs
974
C#
using LagoVista.Core.Attributes; using LagoVista.Core.Geo; using LagoVista.UserManagement.Resources; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LagoVista.UserManagement.Models { [EntityDescription(Domains.MiscDomain, UserManagementResources.Names.Geo...
34.954545
280
0.776333
[ "MIT" ]
LagoVista/Admin
src/LagoVista.UserManagement/Models/GeoLocation.cs
771
C#
using GalvanizedSoftware.Beethoven.Generic; namespace GalvanizedSoftware.Beethoven.DemoApp.Decorator { internal class Factory { private readonly BeethovenFactory beethovenFactory = new BeethovenFactory(); public IOrderedItem AddGiftWrapping(IOrderedItem mainItem) => beethovenFactory.Generate<IOrder...
25.352941
80
0.726218
[ "Apache-2.0" ]
GalvanizedSoftware/Beethoven
DemoApplication/Decorator/Factory.cs
433
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12umddi.h(1456,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct D3D12DDI_RESOURCE_TRANSITION_BARRIER_0003 { public D3D10DDI_HRESOURCE ...
30.1875
88
0.724638
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/D3D12DDI_RESOURCE_TRANSITION_BARRIER_0003.cs
485
C#
// Only unused on .NET Core due to KeyValuePair.Deconstruct // ReSharper disable once RedundantUsingDirective using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Metadata.Ecma335; using Content.Server.GameObjects.Components.Chemistry; using Content.Server.GameObjects.EntitySyste...
32.706897
134
0.633896
[ "MIT" ]
francinum/space-station-14
Content.Server/GameObjects/Components/Interactable/ToolComponent.cs
3,796
C#
using Buildit.Data.Contracts; using Buildit.Data.Models; using Buildit.Services; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Collections.Generic; using System.Linq; namespace Buildit.Services.TestsMsTest { [TestClass] public class UserServiceShould { [...
34.536765
129
0.585054
[ "MIT" ]
Aimanan/BuildItRepo
Buildit/ClassLibrary1/UserServiceShould.cs
4,699
C#
// Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not...
31.21659
89
0.514467
[ "Apache-2.0" ]
18dcb01/arrow
csharp/test/Apache.Arrow.Tests/ArrowBufferBuilderTests.cs
6,776
C#
using Microsoft.Extensions.DependencyInjection; using Umbraco.Cms.Core.Composing; namespace Umbraco.Cms.Core.HealthChecks { public class HealthCheckCollectionBuilder : LazyCollectionBuilderBase<HealthCheckCollectionBuilder, HealthCheckCollection, HealthCheck> { protected override HealthCheckCollection...
41.533333
139
0.770465
[ "MIT" ]
Ambertvu/Umbraco-CMS
src/Umbraco.Core/HealthChecks/HeathCheckCollectionBuilder.cs
625
C#
using LiteDB; using MediaBrowser.Attributes; using MediaBrowser.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member namespace MediaBrowse...
33.507813
163
0.479988
[ "Apache-2.0" ]
CyAScott/MediaBrowser
src/MediaBrowser/Services/LiteDbFiles.cs
12,867
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace StreetRacing { public class Race { public Race(string name, string type, int laps, int capacity, int maxHorsePower) { this.Name = name; this.Type = type; this.Lap...
29.507692
131
0.582899
[ "MIT" ]
LyubomirRashkov/Software-University-SoftUni
C#Advanced/ExamPreparation/03.RetakeExam-18-Aug-2021/03.StreetRacing/StreetRacing/Race.cs
1,920
C#
#if UNITY_EDITOR using UnityEngine; using System.Collections.Generic; namespace O3DWB { public class Triangle3D { #region Private Variables private Vector3[] _points = new Vector3[3]; private Plane _plane; private float _area; #endregion #region Public Properti...
38.584527
151
0.549532
[ "MIT" ]
AestheticalZ/Faithful-SCP-Unity
Assets/Octave3D World Builder/Scripts/Math/Triangle/Triangle3D.cs
13,468
C#
using System; namespace AutoMapper { public class TypeMapCreatedEventArgs : EventArgs { public TypeMap TypeMap { get; private set; } public TypeMapCreatedEventArgs(TypeMap typeMap) { TypeMap = typeMap; } } public interface IConfigurationProvider : IProfileConfiguration { TypeMap[] G...
32
100
0.774414
[ "MIT" ]
vcsjones/AutoMapper
src/AutoMapper/IConfigurationProvider.cs
1,024
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
53.611111
635
0.737824
[ "ECL-2.0", "Apache-2.0" ]
AdminTurnedDevOps/pulumi-azure
sdk/dotnet/Network/Outputs/SubnetDelegationServiceDelegation.cs
1,930
C#
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Telegram.Bot.Requests.Abstractions; using Telegram.Bot.Types; using Telegram.Bot.Types.ReplyMarkups; // ReSharper disable once CheckNamespace namespace Telegram.Bot.Requests { /// <summary> /// Stop updating a live location message sent by the ...
36.934783
112
0.64332
[ "MIT" ]
4vz/jovice
Athena/Library/Telegram.Bot/Requests/Available Methods/Location/StopMessageLiveLocationRequest.cs
1,701
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Threading.Tasks; using Azure.Core; namespace Azure.MixedReality.RemoteRendering.Tests { public class RemoteRenderingLiveTests : Recorde...
48.607477
158
0.670448
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/remoterendering/Azure.MixedReality.RemoteRendering/tests/RemoteRenderingLiveTests.cs
10,404
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using System.Collections; usin...
50.842391
513
0.568145
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/WorkerinvoicehistoriesExtensions.cs
18,710
C#
using System; using Machine.Fakes; using Machine.Specifications; using Machine.VSTestAdapter.Configuration; using Machine.VSTestAdapter.Discovery; using Machine.VSTestAdapter.Execution; using Machine.VSTestAdapter.Helpers; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform...
38.967742
146
0.663907
[ "MIT" ]
mikeblakeuk/machine.specifications.runner.visualstudio
src/Machine.Specifications.Runner.VisualStudio.Specs/Configuration/When_adapter_runs_tests.cs
2,418
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("In...
37.416667
84
0.746845
[ "MIT" ]
albertoonezio/Inicial
Inicial/Properties/AssemblyInfo.cs
1,350
C#
namespace EasyTravel.Services.Data { using System.Collections.Generic; public interface ISearchService { IEnumerable<T> SearchByCityName<T>(string cityName); } }
18.8
60
0.702128
[ "MIT" ]
AntoniaChavdarova/EasyTravel
Services/EasyTravel.Services.Data/ISearchService.cs
190
C#
using NLog; using NLog.Config; using NLog.Layouts; namespace Sentry.NLog.Tests; public class ConfigurationExtensionsTest { private readonly LoggingConfiguration _sut = new(); [Fact] public void AddSentry_Parameterless_DefaultTargetName() { var actual = _sut.AddSentry(); Assert.Equal(C...
30.54902
91
0.679718
[ "MIT" ]
TawasalMessenger/sentry-dotnet
test/Sentry.NLog.Tests/ConfigurationExtensionsTest.cs
1,558
C#
// Copyright 2022 dSPACE GmbH, Mark Lechtermann, Matthias Nissen and Contributors // // 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.129187
209
0.62005
[ "Apache-2.0" ]
carstencodes/dscom
src/dscom/writer/ParameterWriter.cs
7,551
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using Microsoft.DotNet.Interactive.Formatting; namespace Microsoft.DotNet.In...
30.225352
111
0.518639
[ "MIT" ]
DualBrain/interactive
src/Microsoft.DotNet.Interactive/FormattedValue.cs
2,148
C#
using AbstractFactoryPattern.Cars.Abstracts; using System; namespace AbstractFactoryPattern.Cars { public class Legacy : SedanAbstract { public override void Create() { Console.WriteLine("Created: " + this.GetType().Name); } } }
18.214286
59
0.698039
[ "MIT" ]
arffdev/design-patterns
CreationalDesignPatterns/AbstractFactoryPattern/Cars/Legacy.cs
257
C#
using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.Mvc; using Pastry.Models; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using System.Threading.Tasks; using System.Security.Clai...
30.515873
107
0.657997
[ "ISC" ]
anastasiia-ria/Pastry.Solution
Pastry/Controllers/FlavorsController.cs
3,845
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.Search.Documents.Models { /// <summary> Represents a synonym map definition. </summary> public partial class SynonymMap { /// <sum...
74.888889
727
0.719214
[ "MIT" ]
NarayanThiru/azure-sdk-for-net
sdk/search/Azure.Search.Documents/src/Generated/Models/SynonymMap.cs
2,696
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401 { using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; /// <summary>Management policy action for snapshot.</summary> [System.ComponentModel.TypeConverter(typeof(ManagementPolicySnapShotTypeConverter))] pub...
70.421053
472
0.710976
[ "MIT" ]
3quanfeng/azure-powershell
src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.PowerShell.cs
9,234
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.Globalization; using Microsoft.EntityFrameworkCore.Internal; namespace Microsoft.EntityFrameworkCore.Proxies.Internal; /// <summary> /// This is an internal API th...
51.938389
126
0.695775
[ "MIT" ]
AraHaan/efcore
src/EFCore.Proxies/Proxies/Internal/ProxiesOptionsExtension.cs
10,959
C#
using System; namespace Framework.Projection { /// <summary> /// Роль проекции /// </summary> public enum ProjectionRole { /// <summary> /// Обычная проекция /// </summary> Default, /// <summary> /// Автоматически достраиваемая проекц...
20.307692
82
0.486742
[ "MIT" ]
Luxoft/BSSFramework
src/Framework.Projection/ProjectionRoleAttribute.cs
606
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Bumpy.Core.Config { /// <summary> /// A template is used to provide default parameters for a /// <see cref="BumpyConfigEntry"/> instance for known file types. /// </summary> internal sealed class Templa...
37.305085
183
0.558383
[ "MIT" ]
fwinkelbauer/Bumpy
Source/Bumpy.Core/Config/Template.cs
2,203
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using ninja.model.Entity; using ninja.model.Manager; namespace ninja.test { [TestClass] public class TestInvoice { [TestMethod] ...
26.389313
80
0.51374
[ "MIT" ]
nicolasdepaoli/apply-4-net-ninja
ninja.test/TestInvoice.cs
3,461
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Linq; using System.Collections.Generic; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.Cdn.Models; using NUnit.Framework; using Azure.Core; namespace Azure.ResourceMan...
59.655238
295
0.700884
[ "MIT" ]
KurnakovMaksim/azure-sdk-for-net
sdk/cdn/Azure.ResourceManager.Cdn/tests/Helper/ResourceDataHelper.cs
31,321
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Net.Http; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Metadata; namespace DD4T.RestService.WebApi.Helpers { [AttributeUsage(At...
30.142857
121
0.620853
[ "Apache-2.0" ]
dd4t/DD4T.RestService
source/DD4T.RestService.WebApi/Helpers/CustomParamBinder.cs
1,901
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Text.RegularExpressions; public class CellBiomeTraitPresenceCondition : CellCondition { public const float DefaultMinValue = 0.01f; public const string Regex = @"^\s*cell_biome_trait_presence\s*" + @":\s*(?<tr...
31.535714
164
0.6359
[ "MIT" ]
Zematus/Worlds
Assets/Scripts/WorldEngine/Modding/Conditions/CellBiomeTraitPresenceCondition.cs
1,768
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
21.862069
47
0.714511
[ "MIT" ]
NuCode1497/TimekeeperWPF
TimekeeperWPF/Examples/DemoView.xaml.cs
636
C#
// // Xamarin.Android SDK // // The MIT License (MIT) // // Copyright (c) .NET Foundation Contributors // // All rights reserved. // // 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...
42.604082
203
0.723079
[ "MIT" ]
Orbital8/PinningAppDemo
Xamarin.PinningAppDemo.Android/Services/AndroidClientHandler/AndroidClientHandler.cs
41,752
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 JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Utilities; using Microsoft.Extensions.DependencyInjection; #nullable enable namespace...
55.04918
124
0.702501
[ "Apache-2.0" ]
Ali-YousefiTelori/EntityFrameworkCore
src/EFCore.Relational/Query/Internal/RelationalSqlTranslatingExpressionVisitorFactory.cs
3,358
C#
// <copyright file="TestRunCustomArgumentServiceClient.cs" company="Automate The Planet Ltd."> // Copyright 2020 Automate The Planet Ltd. // 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 htt...
44.24
100
0.743219
[ "Apache-2.0" ]
AutomateThePlanet/Meissa
Meissa.Server.Client/Clients/TestRunCustomArgumentServiceClient.cs
1,108
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; abstract public class ObjectFactory : MonoBehaviour { public abstract void createObject(Vector3 position, Transform cube, Sprite sprite); } public class PumpkinObject : ObjectFactory { static List<Transform> pumpkins; public...
27.529412
87
0.688034
[ "MIT" ]
FardeenF/Assignment-1
Assets/Scripts/Factory Scripts/ObjectFactory.cs
1,404
C#
#pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; namespace Efl { /// <summary>No description supplied.</summary> [Efl.Exe.NativeMethods] public class Exe : Efl.Task, Efl.Eo.IWrapp...
49.35513
988
0.63541
[ "Apache-2.0" ]
dalinui/TizenFX
internals/src/EflSharp/EflSharp/efl/efl_exe.eo.cs
87,556
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNet.Mvc.OptionDescriptors; using Microsoft.Framework.OptionsModel; ...
37.763889
111
0.589923
[ "Apache-2.0" ]
walkeeperY/ManagementSystem
test/Microsoft.AspNet.Mvc.Razor.Test/OptionDescriptors/DefaultViewLocationExpanderProviderTest.cs
2,721
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...
55.581787
177
0.666586
[ "Apache-2.0" ]
HaiNguyenMediaStep/aws-sdk-net
sdk/src/Services/Glue/Generated/_bcl35/IAmazonGlue.cs
227,663
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.722689
148
0.545943
[ "MIT" ]
Fabuza/ClickHouse-Net
ClickHouse.Ado/Impl/ATG/Insert/Scanner.cs
14,148
C#
using System.Collections.Generic; using System.Diagnostics; namespace Lucene.Net.Search { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownersh...
35.991304
102
0.584199
[ "Apache-2.0" ]
BlueCurve-Team/lucenenet
src/Lucene.Net.Core/Search/ReqOptSumScorer.cs
4,139
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FriedShrimps : Dish { public FriedShrimps() : base() { this.reward = 90; this.successProbability = 0.72f; this.sessionProbability = this.successProbability; //Ingredients ...
29.121212
64
0.537461
[ "MIT" ]
leiapollos/Kitchen-Hell
Assets/Scripts/Dishes/FriedShrimps.cs
1,924
C#
using BenchmarkDotNet.Attributes; using LibraryTests.Tests.BaseClasses; using System; namespace LibraryTests.Tests { public class ArrayCopyTests : TestBaseClass { private byte[] source, destination; [Benchmark(Baseline = true, Description = "Copy using Array.Copy()")] public ...
27.470588
81
0.577088
[ "Apache-2.0" ]
JaCraig/I-Got-Bored
LibraryTests/Tests/ArrayTests.cs
936
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Perception.Spatial.Surfaces { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class SpatialSurfaceInfo { #if __ANDROID__ || __IO...
48.781818
257
0.787179
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Perception.Spatial.Surfaces/SpatialSurfaceInfo.cs
2,683
C#
/*using RefactoringEssentials.CSharp.CodeRefactorings; using Xunit; namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings { public class LinqFluentToQueryTests : CSharpCodeRefactoringTestBase { [Fact(Skip="Not implemented!")] public void TestBasicCase() { Test<LinqFl...
17.787375
153
0.540344
[ "MIT" ]
GrahamTheCoder/RefactoringEssentials
Tests/CSharp/CodeRefactorings/LinqFluentToQueryTests.cs
10,708
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.Extensions.DependencyInjection; namespace Microsoft.EntityFrameworkCore.Storage.ValueConversion { /// <summary> /// <para> ...
54.115385
115
0.633973
[ "Apache-2.0" ]
BionStt/EntityFrameworkCore
src/EFCore/Storage/ValueConversion/DefaultValueConverterRegistryDependencies.cs
2,814
C#
using BetterSongList.UI; using HarmonyLib; using System.Diagnostics; using System.Linq; namespace BetterSongList.HarmonyPatches { [HarmonyPatch(typeof(LevelSearchViewController), nameof(LevelSearchViewController.ResetCurrentFilterParams))] static class HookFilterClear { [HarmonyPriority(int.MaxValue)] static vo...
37.870968
165
0.767462
[ "MIT" ]
Thoress/BeatSaber_BetterSongList
HarmonyPatches/HookFilterClear.cs
1,176
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("DW...
35.758621
84
0.738669
[ "MIT" ]
Kash0321/DWHSTA
src/DWHSTA.Mobile/DWHSTA.UWP/Properties/AssemblyInfo.cs
1,040
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.740741
151
0.584343
[ "BSD-3-Clause" ]
BMBH/Krypton
Source/Krypton Workspace Examples/Workspace Cell Modes/Properties/Settings.Designer.cs
1,075
C#
/***************************************************************************** * Copyright 2016 Aurora Solutions * * http://www.aurorasolutions.io * * Aurora Solutions is an innovative services and product company at * the forefront of the software industry, with processes and practices * involving Domain Dri...
39.447619
128
0.704973
[ "Apache-2.0" ]
TradeNexus/tradesharp-core
Backend/NotificationEngine/TradeHub.NotificationEngine.Client.Tests/Integration/NotificationEngineClientTestCases.cs
4,144
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
32.107884
116
0.565909
[ "MIT" ]
belav/runtime
src/tests/JIT/HardwareIntrinsics/Arm/ArmBase/LeadingZeroCount.UInt32.cs
7,738
C#
using System.Net.Sockets; namespace Annex.Networking.DotNet { public static class Extensions { public static SocketType GetSocketType(this TransmissionType protocol) { switch (protocol) { case TransmissionType.ReliableOrdered: return SocketType.Stream; ...
31.566667
84
0.560718
[ "MIT" ]
AnnexGameDev/Annex
source/Annex/Networking/DotNet/Extensions.cs
949
C#
// // GMGridViewController.cs // GMPhotoPicker.Xamarin // // Created by Roy Cornelissen on 23/03/16. // Based on original GMImagePicker implementation by Guillermo Muntaner Perelló. // https://github.com/guillermomuntaner/GMImagePicker // using System; using UIKit; using Photos; using CoreGraphics; using System....
33.618976
171
0.726067
[ "MIT" ]
SearaChen/GMImagePicker.Xamarin
src/GMImagePicker/GMGridViewController.cs
22,326
C#
namespace NanoRpcSharp.Messages { using System.Collections.Generic; public class Chain { public List<Hex32> Blocks { get; set; } } }
15.9
47
0.63522
[ "MIT" ]
justdmitry/NanoRpcSharp
NanoRpcSharp/Messages/Chain.cs
161
C#
// Compiler options: -r:../class/lib/net_4_5/Mono.Cecil.dll using System; using Mono.Cecil; class Test { public static string A { get { return ""; } } public string B { get { return ""; } } public static int Main () { var assembly = AssemblyDefinition.ReadAssembly (typeof (Test).Assembly.Location); ...
13.818182
83
0.585526
[ "Apache-2.0" ]
BitExodus/test01
mcs/tests/test-814.cs
608
C#
using System; using System.Collections.Generic; using Localization.Xliff.OM; using Localization.Xliff.OM.Core; namespace XliffLib.Model { public abstract class ContentElement { public ContentElement() { Attributes = new AttributeList(); } public AttributeList Attri...
21.04
66
0.638783
[ "MIT" ]
simonech/XliffLib
XliffLib/Model/ContentElement.cs
528
C#
using UnityEngine; public static class ColorExtensions { /// <summary> Changes the alpha value of this color to a given value. </summary> /// <param name="original"> This color. </param> /// <param name="alphaValue"> The alpha value this color will receive. </param> public static void ChangeAlphaTo(th...
35.2
84
0.65625
[ "MIT" ]
Cpt-Jack04/ACTools-Core
Runtime/ExtensionMethods/ColorExtensions.cs
706
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 08.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
32.967033
364
0.569
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/NotEqual/Complete2__objs/NullableTimeSpan/NullableTimeSpan/TestSet_001__fields__04__NN.cs
6,002
C#
using System; namespace MetaTypes { public class TestClassA { public int testFieldInt; public float testFieldFloat; } public class TestClassB { public float floatField; public int intField; } }
18.769231
36
0.635246
[ "MIT" ]
shironecko/project_final
src/CodeGen/MetaTypes/Class1.cs
246
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1018_f477-13cb4a")] public void /* sys_mve */ Method_1018_f477() { ii(0x1018_f477, 3); mov(memd[ds, edi + 4], ea...
25.333333
96
0.573684
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1018-f477-sys-mve.cs
380
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.Azure.WebJobs.Host.Triggers; namespace Extensions.Pulsar.Triggers { public class PulsarTriggerContext { public PulsarTriggerAttribute TriggerAttribute; public PulsarCoreClient Client; public PulsarTri...
22.727273
94
0.706
[ "MIT" ]
rohver87/PulsarTrigger
src/Extensions.Pulsar/Triggers/PulsarTriggerContext.cs
502
C#
#region Using Directives using System.Linq; using System.Collections.Generic; #endregion namespace Pharmatechnik.Nav.Language.FindReferences { static class SymbolOrderer { public static IOrderedEnumerable<T> OrderByLocation<T>(this IEnumerable<T> symbols) where T : ISymbol { re...
22.842105
112
0.684332
[ "MIT" ]
IInspectable/Nav-Language-Extensions
Nav.Language/FindReferences/SymbolOrderer.cs
418
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.Tasks; using Microsoft.CodeAnalysis.Text; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.Editor.CSharp.Uni...
30.388889
160
0.658135
[ "Apache-2.0" ]
AArnott/roslyn
src/EditorFeatures/CSharpTest2/Recommendations/RegionKeywordRecommenderTests.cs
2,188
C#
using System.IO; using System.Linq; using Bloom.Publish; using Bloom.web.controllers; using NUnit.Framework; namespace BloomTests.Book { public class AccessibilityCheckersTests : BookTestsBase { [SetUp] public void SetupFixture() { _collectionSettings = CreateDefaultCollectionsSettings(); _bookData = Cr...
39.178862
148
0.666736
[ "MIT" ]
BloomBooks/BloomDesktop
src/BloomTests/Book/AccessibilityCheckersTests.cs
14,459
C#
namespace foto_select { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
53.057292
232
0.653087
[ "MIT" ]
berserck/foto-select
foto-select/Form1.Designer.cs
10,189
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using Azure.Core; namespace Azure.Search.Documents.Models { public partial class IndexingSchedule : IUtf8JsonSerializable { voi...
30.351852
89
0.536913
[ "MIT" ]
Mdlglobal-atlassian-net/azure-sdk-for-net
sdk/search/Azure.Search.Documents/src/Generated/Models/IndexingSchedule.Serialization.cs
1,639
C#
using NSubstitute; using Xamarin.Forms; using Xamarin.Platform.Layouts; using Xunit; namespace Xamarin.Platform.Handlers.UnitTests.Layouts { [Category(TestCategory.Core, TestCategory.Layout)] public class LayoutExtensionTests { [Fact] public void FrameExcludesMargin() { var element = Substitute.For<IFrame...
29.958904
111
0.709191
[ "MIT" ]
gywerd/CPUI
src/Platform.Handlers/tests/Xamarin.Platform.Handlers.UnitTests/Layouts/LayoutExtensionTests.cs
2,189
C#
using System; namespace TimeTakenTestServer.Areas.HelpPage.ModelDescriptions { /// <summary> /// Use this attribute to change the name of the <see cref="ModelDescription"/> generated for a type. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, All...
31.666667
136
0.67193
[ "Apache-2.0" ]
joymon/dotnet-demos
web/iis/time-taken-field-demo/TestServer/Areas/HelpPage/ModelDescriptions/ModelNameAttribute.cs
570
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using Contoso.FraudProtection.ApplicationCore.Entities.FraudProtectionApiModels; using Contoso.FraudProtection.ApplicationCore.Entities.FraudProtectionApiModels.Response; using Microsoft.Dynamics.FraudProtection.Models.BankEventEvent; using Mic...
44.301887
118
0.821124
[ "MIT" ]
haixie/test
src/ApplicationCore/Interfaces/IFraudPreventionService.cs
2,348
C#
private class Simplifier.VertexDataHash // TypeDefIndex: 9216 { // Fields private Vector3 _v3Vertex; // 0x10 private Vector3 _v3Normal; // 0x1C private Vector2 _v2Mapping1; // 0x28 private Vector2 _v2Mapping2; // 0x30 private Color32 _color; // 0x38 private MeshUniqueVertices.UniqueVertex _uniqueVertex; // 0x40 ...
31.117647
113
0.73913
[ "MIT" ]
SinsofSloth/RF5-global-metadata
_no_namespace/Simplifier.VertexDataHash.cs
1,587
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("01...
38.351351
84
0.740662
[ "MIT" ]
Horwits/Telerik-Academy-2016-2017
C#/C#-Part-One/06. Loops/01. Numbers from 1 to N/Properties/AssemblyInfo.cs
1,422
C#
using System; using System.Runtime.Serialization; namespace EventStore.ClientAPI.Exceptions { /// <summary> /// Exception thrown if cluster discovery fails. /// </summary> public class ClusterException : EventStoreConnectionException { /// <summary> /// Constructs a new <see cref="...
27.02381
84
0.552423
[ "Apache-2.0", "CC0-1.0" ]
BertschiAG/EventStore
src/EventStore.ClientAPI/Exceptions/ClusterException.cs
1,137
C#
using UnityEngine.Events; using UnityEngine.Experimental.Rendering.HDPipeline; namespace UnityEditor.Experimental.Rendering.HDPipeline { using CED = CoreEditorDrawer<ReflectionProxyVolumeComponentUI, SerializedReflectionProxyVolumeComponent>; class ReflectionProxyVolumeComponentUI : BaseUI<SerializedReflectio...
34.736842
123
0.661616
[ "MIT" ]
17cuA/AimRacing11
AimRacing2019_05_31/AimRacing2019_05_31/Packages/com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/Volume/ReflectionProxyVolumeComponentUI.cs
1,980
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
51.237968
254
0.633356
[ "MIT" ]
LGDoor/azure-sdk-for-net
sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdCustomDomainCollection.cs
19,163
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameSession : MonoBehaviour { int score = 0; private void Awake() { SetUpSingleton(); } private void SetUpSingleton() { int numberGameSessions = FindObjectsOfType<GameSes...
16.5
73
0.568871
[ "Apache-2.0" ]
gluonn/unity2d
Laser Defender/Assets/Scripts/GameSession.cs
728
C#
using System; using System.Diagnostics; using System.IO; using System.Text; using System.Xml; using CookComputing.XmlRpc; namespace ntest { public class Utils { public static XmlReader Serialize( string testName, object obj, Encoding encoding, MappingActions actions) ...
23.813953
90
0.464355
[ "MIT" ]
VQComms/XMLRPC
ntest/utils.cs
6,144
C#
using System.ComponentModel.DataAnnotations; namespace CommandService.Models { public class Platform { public Platform() { Name = ""; } [Key] [Required] public int Id { get; set; } [Required] public int ExternalId { get; set; } ...
23.9
89
0.520921
[ "MIT" ]
leandro-huck/.NET-6-Microservices
command-service/Models/Platform.cs
478
C#
using MyJetWallet.Sdk.Service; using MyYamlParser; namespace Service.BonusReferrerStatistic.Settings { public class SettingsModel { [YamlProperty("BonusReferrerStatistic.SeqServiceUrl")] public string SeqServiceUrl { get; set; } [YamlProperty("BonusReferrerStatistic.ZipkinUrl")] ...
35.324324
76
0.68707
[ "MIT" ]
MyJetWallet/Service.Bonus.RefererStatistic
src/Service.BonusReferrerStatistic/Settings/SettingsModel.cs
1,309
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
27.594118
93
0.661906
[ "MIT" ]
TetradogOther/SharpDevelop
src/Main/Base/Project/Editor/ITextMarker.cs
4,693
C#
[VisibleToOtherModulesAttribute] // RVA: 0xC1E30 Offset: 0xC1F31 VA: 0xC1E30 internal class GeneratedByOldBindingsGeneratorAttribute : Attribute // TypeDefIndex: 2779 { // Methods // RVA: 0x1BDB3F0 Offset: 0x1BDB4F1 VA: 0x1BDB3F0 public void .ctor() { } }
26.1
89
0.762452
[ "MIT" ]
SinsofSloth/RF5-global-metadata
UnityEngine/Scripting/GeneratedByOldBindingsGeneratorAttribute.cs
261
C#
using Ionic.Zlib; using System.Collections.Generic; using System.Configuration; using UCS.Helpers; namespace UCS.PacketProcessing.Messages.Server { // Packet 20103 internal class LoginFailedMessage : Message { public LoginFailedMessage(PacketProcessing.Client client) : base(client) { ...
31.086957
97
0.601399
[ "Apache-2.0" ]
Dekryptor/UCS
Ultrapowa Clash Server/Packets/Messages/Server/LoginFailedMessage.cs
2,145
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; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Xml; using System.Xml.XPath; using System.Xml.Xsl; nam...
33.722222
137
0.5486
[ "MIT" ]
App-vNext/corefx
src/System.Xml.XPath/System/Xml/XPath/Internal/SortQuery.cs
7,891
C#
namespace Veldrid.Graphics { /// <summary> /// A device-specific representation of the resources available to a <see cref="ShaderSet"/>. /// </summary> public interface ShaderResourceBindingSlots { /// <summary> /// A device-agnostic description of the constant buffers. /// ...
28.142857
97
0.626904
[ "MIT" ]
mellinoe/Veldrid-3.0
src/Veldrid/Graphics/ShaderResourceBindingSlots.cs
396
C#
using System; using System.Collections.Generic; using System.Text; using Portal2.Items; using Portal2.DataTypes; namespace Portal2.Connections { /// <summary> /// A connection point that can receive multiple connections. /// </summary> public class MultiConnectionPointReceiver : ConnectionP...
26.030303
81
0.537059
[ "MIT" ]
Kyle0654/Portal2.Puzzle
Portal2Puzzle/Connections/MultiConnectionPointReceiver.cs
2,579
C#
// <auto-generated /> using System; using CommunityAssociationManager.Server.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConv...
37.763524
125
0.468628
[ "MIT" ]
nikolavn/CommunityAssociationManager
src/CommunityAssociationManager/CommunityAssociationManager/Server/Data/Migrations/20210830035201_initial4.Designer.cs
24,435
C#
/* MIT LICENSE Copyright 2017 Digital Ruby, LLC - http://www.digitalruby.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 the rights to use, ...
45.489177
460
0.478493
[ "MIT" ]
Ashrafnet/ExchangeSharp
ExchangeSharp/API/Exchanges/_Base/ExchangeHistoricalTradeHelper.cs
10,510
C#