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
// 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.Generic; using System.Globalization; using Xunit; namespace System.Tests { public part...
47.536508
185
0.589622
[ "MIT" ]
BigBadBleuCheese/corefx
src/System.Runtime/tests/System/Int64Tests.cs
14,974
C#
using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using UnityEngine; public static class DataUtil { public static void Serialize(object o, string filename) { BinaryFormatter fmt = new BinaryFormatter(); string path = Application.dataPath + $"/{filename}"; ...
24.704545
76
0.602576
[ "MIT" ]
Telanoff/SpaceFighter
Assets/Scripts/Other/DataUtil.cs
1,089
C#
/***************************************************************************\ The MIT License (MIT) Copyright (c) 2016 senritsu (https://github.com/senritsu) 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 t...
44.757576
144
0.652674
[ "MIT" ]
senritsu/SharpRhythms
SharpRhythms/Parsers/Msd/Base/MsdTagContentParser.cs
2,956
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public class Tribe : MonoBehaviour { public int id; public new string name; System.DateTime created_at; }
18.916667
34
0.762115
[ "Apache-2.0", "Unlicense", "MIT" ]
Myfigt/Myfights
Assets/Scripts/Tribe.cs
229
C#
// <copyright file="OfferingViewModel.cs" company="Dark Bond, Inc."> // Copyright © 2016-2018 - Dark Bond, Inc. All Rights Reserved. // </copyright> // <author>Donald Roy Airey</author> namespace DarkBond.SubscriptionManager.ViewModels.TreeViews { using System; using System.Collections.Generic; using ...
44.828947
152
0.646463
[ "MIT" ]
DonaldAirey/dark-bond-main
Subscription Manager/DarkBond.SubscriptionManager.Infrastructure/View Models/Tree Views/OfferingViewModel.cs
6,817
C#
// ----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ----------------------------------------------------------------------- using System; using System.Globalization; using System.Diagnostics.Contracts; using System.Collections.Gene...
38.707692
143
0.594595
[ "MIT" ]
zhy29563/MyMEF
redist/src/InternalReflectionContext/System/Reflection/Context/Virtual/VirtualProperty.PropertyGetter.cs
2,518
C#
// Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell...
29.305743
137
0.698715
[ "Apache-2.0" ]
CRivlaldo/mono
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewRowCollection.cs
17,351
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AsyncGenerator.Tests.TryCatch.Input { public class VirtualAutoProperty { public virtual bool Success { get; set; } public int Test() { return Success ? 1 : 0; } public void Te...
15.827586
53
0.697168
[ "MIT" ]
bubdm/AsyncGenerator
Source/AsyncGenerator.Tests/TryCatch/Input/VirtualAutoProperty.cs
461
C#
using Microsoft.Azure.Commands.Resources.Models; using Microsoft.Azure.Management.WebSites.Models; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Microsoft.Azure.Commands.WebApps.Utilities { public static class...
40.374613
226
0.572502
[ "MIT" ]
janaks09/azure-powershell
src/ResourceManager/Websites/Commands.Websites/Utilities/CmdletHelpers.cs
12,721
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; namespace Azure.Containers.ContainerRegistry { /// <summary> Manifest attributes. </summary> public partial class AcrMani...
34.146341
123
0.648571
[ "MIT" ]
isra-fel/azure-sdk-for-net
sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Generated/Models/AcrManifests.cs
1,400
C#
namespace XLabs.Forms.Controls { using System; using System.Collections.Generic; using System.Linq; using System.Windows.Input; using Xamarin.Forms; using XLabs.Exceptions; /// <summary> /// Low cost control to display a set of clickable items /// </summary> /// <typeparam name...
39.894515
153
0.587837
[ "Apache-2.0" ]
DarkLotus/Xamarin-Forms-Labs
src/Forms/XLabs.Forms/Controls/RepeaterView.cs
9,457
C#
using AntDesign; using Maincotech.Cms.Dto; using Maincotech.Data; using Maincotech.Localization.Models; using Maincotech.Logging; using ReactiveUI; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Maincotech.Cms.Pages.Admin.Category { public class Category...
30.380368
117
0.568457
[ "MIT" ]
maincotech/cms
src/Maincotech.Cms.Blazor/Pages/Admin/Category/CategoryViewModel.cs
4,954
C#
using System; using System.Threading.Tasks; using Newtonsoft.Json; namespace TdLib { /// <summary> /// Autogenerated TDLib APIs /// </summary> public static partial class TdApi { /// <summary> /// Returns saved order info, if any /// </summary> public class GetSavedO...
25.113636
80
0.509502
[ "MIT" ]
YogurtTheHorse/tdsharp
TDLib.Api/Functions/GetSavedOrderInfo.cs
1,105
C#
namespace Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse { using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Threading; using System.Th...
42.495739
176
0.597085
[ "MIT" ]
vijayraavi/ApplicationInsights-dotnet-server
Src/PerformanceCollector/Perf.Shared/QuickPulseTelemetryModule.cs
29,919
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d10.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
35.807692
145
0.624597
[ "MIT" ]
Perksey/terrafx.interop.windows
tests/Interop/Windows/um/d3d10/ID3D10BufferTests.cs
1,864
C#
using System; using System.Collections.Specialized; using System.IO; using System.Net; using System.Security.Authentication; using System.Text; using System.Threading; using System.Xml.Linq; using Wexflow.Core; namespace Wexflow.Tasks.HttpPut { public class HttpPut : Task { private const...
36.552239
150
0.54512
[ "MIT" ]
mohammad-matini/wexflow
src/dotnet-core/Wexflow.Tasks.HttpPut/HttpPut.cs
2,451
C#
using System; public class Pet : ISubject, ISubjectWithBirthdate { public Pet(string name, DateTime birthdate) { Name = name; Birthdate = birthdate; } public string Name { get; set; } public DateTime Birthdate { get; set; } }
18.928571
50
0.630189
[ "MIT" ]
IvelinMarinov/SoftUni
06. OOP Advanced - Jul2017/01. Interfaces and Abstraction - Exercise/06. Birthday Celebrations/Pet.cs
267
C#
using System; namespace Hydrogen.General.Model { public interface ILastModificationTime { DateTime LastModificationTime { get; set; } } }
16.333333
45
0.748299
[ "MIT" ]
clay-one/hydrogen
src/General/Model/ILastModificationTime.cs
149
C#
/* * ORY Oathkeeper * * ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies. * * The version of the OpenAPI document: v0.0.0-alpha.38 * Contact: hi@ory.am * Generated by: https://github.com/openap...
28.111111
172
0.653656
[ "Apache-2.0" ]
GRoguelon/sdk
clients/oathkeeper/dotnet/src/Ory.Oathkeeper.Client.Test/Model/OathkeeperGetWellKnownOKTests.cs
2,024
C#
using System; using TicTacToe.Models; using Xamarin.Forms; using System.ComponentModel; namespace TicTacToe { public partial class GamePage : ContentPage, INotifyPropertyChanged { public GameState Game; public GamePage() { InitializeComponent(); NewGame(); ...
32.357143
98
0.452171
[ "MIT" ]
CrimsonKyle/TicTacToe
TicTacToe/Views/GamePage.xaml.cs
2,720
C#
namespace Restaurant { using Restaurant.Core; public class StartUp { public static void Main(string[] args) { Engine engine = new Engine(); engine.Run(); } } }
16.142857
46
0.513274
[ "MIT" ]
vesy53/SoftUni
C# Advanced/C# OOP/LabAndExercises/04.InheritanceExercisePart2/Restaurant/StartUp.cs
228
C#
using System; using System.IO; namespace ICSharpCode.SharpZipLib.Lzw { /// <summary> /// This filter stream is used to decompress a LZW format stream. /// Specifically, a stream that uses the LZC compression method. /// This file format is usually associated with the .Z file extension. /// /// See http://en.wik...
26.110487
98
0.618662
[ "MIT" ]
Acidburn0zzz/SharpZipLib
src/ICSharpCode.SharpZipLib/Lzw/LzwInputStream.cs
13,945
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class specialNumbers { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] arr = new int[n]; for (int i = 1; i < arr.Length + 1; i++) ...
20.941176
91
0.477528
[ "MIT" ]
mlkumanova/Programming-Fundamentals
1. Data Types and Variables/SpecialNumbers/specialNumbers.cs
714
C#
using Abp.MultiTenancy; using EntityModeler.Authorization.Users; namespace EntityModeler.MultiTenancy { public class Tenant : AbpTenant<User> { public Tenant() { } public Tenant(string tenancyName, string name) : base(tenancyName, name) { ...
18.444444
54
0.572289
[ "MIT" ]
Ppiwow/EntityModeler
aspnet-core/src/EntityModeler.Core/MultiTenancy/Tenant.cs
334
C#
using UnityEngine; using System.Collections; public class AutoRotatorScript : MonoBehaviour { public float RotationSpeed = 10.0f; // Update is called once per frame void Update () { transform.Rotate(Vector3.up, RotationSpeed * Time.deltaTime); } }
18.266667
69
0.70438
[ "Apache-2.0" ]
sasoh/SumoSeptember
Sumo/Assets/Scripts/AutoRotatorScript.cs
276
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Text.RegularExpressions; public class GroupPopulationCondition : GroupCondition { public const string Regex = @"^\s*group_population\s*" + @":\s*(?<value>" + ModUtility.NumberRegexPart + @")\s*$"; public i...
29.756098
150
0.658197
[ "MIT" ]
Zematus/Worlds
Assets/Scripts/WorldEngine/Modding/Conditions/GroupPopulationCondition.cs
1,222
C#
/* * FactSet Funds API * * FactSet Mutual Funds data offers over 50 fund- and share class-specific data points for mutual funds listed in the United States. <p>FactSet Mutual Funds Reference provides fund-specific reference information as well as FactSet's proprietary classification system. It includes but is not li...
36.659091
694
0.602191
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/FactSetFunds/v1/src/FactSet.SDK.FactSetFunds/Model/FundsReturnsResponse.cs
4,839
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...
35.505051
127
0.630441
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/RecoveryServices/V20210401/Outputs/AzureVMAppContainerProtectionContainerResponse.cs
3,515
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace TiendaEnLinea { public partial class Site_Mobile : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { ...
20.058824
64
0.668622
[ "MIT" ]
JuanK-2003/Autentication_Bcrypt
Site.Mobile.Master.cs
341
C#
// The MIT License (MIT) // // Copyright (c) 2018 - 2019 Lutando Ngqakaza // https://github.com/Lutando/EventFly // // // 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 restrictio...
48.123494
156
0.667021
[ "MIT" ]
Sporteco/EventFly
test/EventFly.Tests/Domain/Aggregates/AggregateTests.cs
15,977
C#
// Copyright 2007-2014 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
27.284404
108
0.550437
[ "Apache-2.0" ]
Johavale19/Johanna
src/MassTransit.Tests/Testing/ConsumerMultiple_Specs.cs
2,974
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...
35.476563
345
0.619467
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Consumption/V20180630/GetBudgetByResourceGroupName.cs
4,541
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
35.411765
153
0.571429
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/IWorkbookFormatProtectionRequestBuilder.cs
1,204
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using WealthManager.BL; namespace WealthManager.SL { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IStock"...
26.806452
146
0.632972
[ "MIT" ]
OneBadApple/Stocks
WealthManager.SL/IStock.cs
833
C#
// Copyright (c) Dapplo 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.Net; using System.Net.Http; using System.Text; namespace Dapplo.HttpExtensions { /// <su...
48.319672
130
0.639016
[ "MIT" ]
dapplo/Dapplo.HttpExtensions
src/Dapplo.HttpExtensions/IChangeableHttpBehaviour.cs
5,895
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;...
38.161736
165
0.481187
[ "Apache-2.0" ]
pimier15/CenterComparing
CenterComparing/CenterComparing/ImgWindow.xaml.cs
19,350
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace RSSReader.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different Ap...
22.904762
91
0.632017
[ "MIT" ]
ormaa/RSS-Reader_IOS-Android
iOS/Main.cs
483
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 Microsoft.EntityFrameworkCore.Storage.Internal; using Microsoft.EntityFrameworkCore.TestUtilities; using Xunit; namespace Microsoft....
40.519481
111
0.633013
[ "Apache-2.0" ]
belav/efcore
test/EFCore.Relational.Tests/Storage/RawSqlCommandBuilderTest.cs
3,120
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.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Microsoft.DotNet.UpgradeAssistant.Cli { inter...
30.025
103
0.680266
[ "MIT" ]
Acidburn0zzz/upgrade-assistant
src/cli/Microsoft.DotNet.UpgradeAssistant.Cli/NonInteractiveUserInput.cs
1,203
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace To_Do.Models.Identity { public class UserWithToken { public string UserId { get; set; } public string Token { get; set; } } }
18.785714
42
0.680608
[ "MIT" ]
mrsantons/ToDoDoDo
To-Do/To-Do/Models/Identity/UserWithtoken.cs
265
C#
using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace SharpDox.GUI.Controls.ConfigGrid { public partial class ConfigTextControl : UserControl { public static readonly DependencyProperty ConfigItemDisplayNameProperty = DependencyProperty.Register("ConfigItemDisplayN...
39.911111
178
0.693764
[ "MIT" ]
CoderGears/sharpDox
src/Shells/SharpDox.GUI/Controls/ConfigGrid/ConfigTextControl.xaml.cs
1,798
C#
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using MassTransit; using SimpleIdServer.Scim.Domain; using SimpleIdServer.Scim.Domains; using SimpleIdServer.Scim.Exceptions; using SimpleIdServer.Scim.Helpe...
57.352941
257
0.706081
[ "Apache-2.0" ]
xinxin-sympli/SimpleIdServer
src/Scim/SimpleIdServer.Scim/Commands/Handlers/AddRepresentationCommandHandler.cs
6,827
C#
// <copyright file="CommandLine.cs" company="Google Inc."> // Copyright (C) 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apac...
43.949246
100
0.51481
[ "Apache-2.0" ]
harry-cpp/unity-jar-resolver
source/PlayServicesResolver/src/CommandLine.cs
32,039
C#
#pragma checksum "C:\HolaWeb\HolaWeb.App\HolaWeb.App.Frontend\Pages\Saludos\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "22cfad276551e2fa672c2db0268b7dd93e1199e9" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(HolaWe...
59.067797
349
0.75165
[ "CC0-1.0" ]
felipeescallon/mision_tic_2022
ciclo3_desarrollo_software/ucaldas/FRONTEND/sem5/HolaWeb.App/HolaWeb.App.Frontend/obj/Debug/netcoreapp3.1/Razor/Pages/Saludos/Details.cshtml.g.cs
6,971
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Rhea.API.Models { /// <summary> /// 校区类 /// </summary> public class Campus { /// <summary> /// 校区ID /// </summary> public int Id { get; set; } /// <summary> ...
18.878788
52
0.4687
[ "BSD-3-Clause" ]
robertzml/Rhea
Rhea.API/Models/Campus.cs
655
C#
// // Copyright 2021 Dynatrace 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
30.612903
75
0.71549
[ "Apache-2.0" ]
Dynatrace/OneAgent-SDK-for-dotnet
src/Api/Enums/MessageDestinationType.cs
949
C#
using Foundation; using System; using System.CodeDom.Compiler; using UIKit; using Shared; using CoreGraphics; using Shared.DataBase; namespace Mit4RobotApp { partial class VCOptionsMenu : UIViewController { public VCOptionsMenu(IntPtr handle) : base(handle) { } public override void ViewDidLoad() { base...
22.015152
104
0.686511
[ "MIT" ]
ZuydUniversity/ProgramADroid
Mit4Robot/Mit4Robot_iOS/ViewControllers/Menus/VCOptionsMenu.cs
2,906
C#
using System; using Invenio.Core.Domain.Users; using Invenio.Services.Tasks; namespace Invenio.Services.Users { /// <summary> /// Represents a task for deleting guest Users /// </summary> public partial class DeleteGuestsTask : ITask { private readonly IUserService _UserService; pr...
31.705882
115
0.652134
[ "MIT" ]
ipetk0v/InvenioReportingSystem
Libraries/Invenio.Services/Users/DeleteGuestsTask.cs
1,080
C#
/* ╔══╗─ ╔╗─── ╔═══╗ ╔═══╗ ╔╗╔═╗ ╔═══╗ ║╔╗║─ ║║─── ║╔═╗║ ║╔═╗║ ║║║╔╝ ║╔═╗║ ║╚╝╚╗ ║║─── ║║─║║ ║║─╚╝ ║╚╝╝─ ║╚══╗ ║╔═╗║ ║║─╔╗ ║║─║║ ║║─╔╗ ║╔╗║─ ╚══╗║ ║╚═╝║ ║╚═╝║ ║╚═╝║ ║╚═╝║ ║║║╚╗ ║╚═╝║ ╚═══╝ ╚═══╝ ╚═══╝ ...
27.875
56
0.345291
[ "MIT" ]
BlocksTeam/Blocks
Blocks/Network/Bedrock/PacketIdentifiers.cs
1,031
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 // asso...
43.375
99
0.693701
[ "MIT" ]
JamesLewisJr43/MeritDemToStl
MeritDemToStl/Properties/AssemblyInfo.cs
2,432
C#
using System; using System.IO; using System.Collections.Generic; using OpenTK; namespace MyEngine { public partial class ObjLoader { public static Mesh Load(Resource resource, GameObject appendToGameObject=null) { var mesh = new ObjLoader().Parse(resource, appendToGameObject); ...
36.573913
139
0.464099
[ "Unlicense" ]
aeroson/lego-game-and-Unity-like-engine
MyEngine/myengine/ObjLoader.cs
8,414
C#
// Understanding the Addon System: // // 1. partial classes: // The C# compiler will include all 'partial' classes of the same type into // one big class. In other words, it's a way to split a big class into many // smaller files. // // We use this for our addon system, so that a player addons can be in an...
35.504348
124
0.646828
[ "MIT" ]
TUmedu/moonwaker
Assets/uMMORPG/Addons/AddonExample.cs
8,168
C#
// ************************************************************************ // // * Copyright 2017 OSIsoft, 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 // * // * <http://www...
37.187023
143
0.577338
[ "Apache-2.0" ]
lydonchandra/PI-Web-API-Client-DotNet-Standard
src/OSIsoft.PIDevClub.PIWebApiClient/OSIsoft.PIDevClub.PIWebApiClient.Test/Api/ElementCategoryApiTests.cs
9,743
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using System.IO; using System.Text; using System.Net; using Microsoft.Extensions.Configuration; namespace Ecore { public class ControllerBase { public static IConfigurationRoot Configuration; protected Task SetTemplete(string patch,...
26.625
87
0.646714
[ "Apache-2.0" ]
secondlife2/Ecore
controllers/base.cs
852
C#
using IntegrationTool.SDK; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IntegrationTool.Module.ConnectToSharepoint { public enum SharepointAuthenticationType { OnPremise, SharepointOnline } public class C...
25.5
79
0.680147
[ "MIT" ]
peterwidmer/IntegrationTool
IntegrationTool.Module.ConnectToSharepoint/ConnectToSharepointConfiguration.cs
818
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12umddi.h(7702,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct D3D12DDI_EXPORT_DESC_0054 { [MarshalAs(UnmanagedType.LPWStr)] ...
28.294118
88
0.683992
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/D3D12DDI_EXPORT_DESC_0054.cs
483
C#
#region Header // // CopyWallType.cs - duplicate a system type from on project to another to partially transfer project standards // // Copyright (C) 2011-2019 by Jeremy Tammik, Autodesk Inc. All rights reserved. // // Keywords: The Building Coder Revit API C# .NET add-in. // #endregion // Header #region Nam...
28.70936
112
0.53466
[ "MIT" ]
CADBIMDeveloper/the_building_coder_samples
BuildingCoder/BuildingCoder/CmdCopyWallType.cs
5,828
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq.Expressions; using System.Reflection; using Str.Common.Extensions; namespace Str.MvvmCommon.Core { [SuppressMessage("ReSharper", "MemberCanBePrivate.Glob...
32.507853
264
0.711548
[ "MIT" ]
stricq/STR.MvvmCommon
Str.MvvmCommon/Core/ObservableObject.cs
6,211
C#
namespace UDBase.Controllers.LogSystem { /// <summary> /// Logger without any output for cases when you don't need any logs /// </summary> public sealed class EmptyLog : ILog { public ULogger CreateLogger(ILogContext context) { return new ULogger(this, context); } public void Assert(ILogContext context, strin...
80.022222
131
0.720078
[ "MIT" ]
KonH/UDBase
Scripts/Controllers/Log/EmptyLog.cs
3,603
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering.PostProcessing; public class PlayerLook : MonoBehaviour { #region Field Of View [Header("~ Field Of View <3")] [Tooltip("Players default field of vision")] public float fieldOfView; [Tooltip(...
29.645161
91
0.656964
[ "MIT" ]
Joji-S/ParkourMovement
ParkourGame/Assets/Scripts/Player/PlayerLook.cs
3,678
C#
#region License // License for this implementation in C#: // -------------------------------------- // // Copyright (c) 2012 Govert van Drimmelen // // 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...
51.963787
121
0.521268
[ "MIT" ]
akopetsch/RobustGeometry.NET
RobustGeometry/Predicates/GeometricPredicates.cs
156,413
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
61.04717
248
0.724308
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IWindowsInformationProtectionNetworkLearningSummaryRequest.cs
6,471
C#
using System.Linq; using NUnit.Framework; using Rebus.Internals; using Rebus.Tests.Contracts; namespace Rebus.AzureServiceBus.Tests.Extensions { [TestFixture] public class TestEnumerableExtensions : FixtureBase { [Test] public void CanBatchWeighted() { var items = new[]...
31.611111
86
0.547159
[ "MIT" ]
kristofdegrave/Rebus.AzureServiceBus
Rebus.AzureServiceBus.Tests/Extensions/TestEnumerableExtensions.cs
1,709
C#
using GSD.Common; using GSD.Platform.Mac; namespace GSD.PlatformLoader { public static class GSDPlatformLoader { public static void Initialize() { GSDPlatform.Register(new MacPlatform()); return; } } }
18.714286
52
0.603053
[ "MIT" ]
derrickstolee/VFSForG
GSD/GSD.PlatformLoader/PlatformLoader.Mac.cs
262
C#
/* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.measure.capfloor { using IborIndex = com.opengamma.strata.basics.index.IborIndex; using MarketData = com.opengamma.strata.data.MarketData; using Ma...
34.15493
108
0.646186
[ "Apache-2.0" ]
ckarcz/Strata.ConvertedToCSharp
modules/measure/src/main/java/com/opengamma/strata/measure/capfloor/IborCapFloorMarketData.cs
2,427
C#
using FacebookETL; using FacebookUtillity; using System; using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace FacebookUtilityTest { class Program { static void Main(string[] args) { //string sqlConnectionString = "Server = tcp:modb1.database.windows.net,1433; Ini...
39.515152
291
0.655675
[ "MIT" ]
Bhaskers-Blu-Org2/BusinessPlatformApps
Functions/Code/Facebook/FacebookUtilityTest/Program.cs
1,306
C#
using System; using Sugar.Language.Parsing.Nodes.Enums; namespace Sugar.Language.Parsing.Nodes.CtrlStatements { internal sealed class BreakNode : ControlStatement { public override NodeType NodeType => NodeType.Break; public BreakNode() { } public override string To...
18.684211
60
0.656338
[ "MIT" ]
kokonut27/Sugar.lang
Sugar/Sugar.Language/Parsing/Nodes/CtrlStatements/BreakNode.cs
357
C#
using System; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// SpecEntity Data Structure. /// </summary> [Serializable] public class SpecEntity : AlipayObject { /// <summary> /// 新增不用传,修改必须传 /// </summary> [JsonProp...
22.513514
52
0.516206
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/SpecEntity.cs
931
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
32.58
96
0.589932
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/DocumentTypes/Pages/Development/DocumentType_Edit_AllowedTypes.aspx.designer.cs
1,631
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; 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.Win...
33.537383
182
0.536157
[ "MIT" ]
Lulzphantom/Nova-Pymes-Public
Nova/Pages/Configuration/UserRolPage.xaml.cs
14,361
C#
using LuKaSo.Zonky.Models.Markets; using System; using System.Net.Http; using System.Runtime.Serialization; namespace LuKaSo.Zonky.Exceptions { [Serializable] public class PrimaryMarketInvestmentException : Exception { /// <summary> /// Primary market investment failed /// The inpu...
57.884615
381
0.69402
[ "MIT" ]
lkavale/LuKaSo.Zonky
src/LuKaSo.Zonky/Exceptions/PrimaryMarketInvestmentException.cs
3,012
C#
using System; using System.Threading.Tasks; using Volo.Abp.DependencyInjection; using Volo.Abp.Account; namespace GrpcDemo.HttpApi.Client.ConsoleTestApp { public class ClientDemoService : ITransientDependency { private readonly IProfileAppService _profileAppService; public ClientDemoService(I...
30.923077
70
0.64801
[ "MIT" ]
271943794/abp-samples
GrpcDemo/test/GrpcDemo.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs
806
C#
using SlimDX; using SlimDX.Direct3D11; using SlimDX.DXGI; using System; using System.Drawing; using Buffer = SlimDX.Direct3D11.Buffer; using MapFlags = SlimDX.Direct3D11.MapFlags; namespace MultiRes3d { /// <summary> /// Repräsentiert ein renderbares Progressive Mesh Objekt. /// </summary> public class PM : Entit...
30.555147
84
0.680183
[ "MIT" ]
qwert9001/MultiRes3d
MultiRes3d/Datastructures/PM.cs
8,334
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AcademyRPG { class Program { static Engine GetEngineInstance() { return new ExtendedEngine(); } static void Main(string[] ...
22.771429
69
0.484316
[ "MIT" ]
evlogihr/TelerikAcademy-Exercises
Workshop-OOP-ExamPrep/AcademyRPG/Program.cs
799
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Framework.Core { /// <summary> /// Providers Extension Methods that are a special kind of static method, /// but they are called as if they were instance methods on the extended type. /// </summary> publ...
20
83
0.666667
[ "MIT" ]
juninhodigital/Framework.Core
Framework.Core/Extensions/Extensions.File.cs
422
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Web; using System.Xml.Linq; using ClientDependency.Core.CompositeFiles.Providers; using ClientDependency.Core.Config; using Semver; using Umbraco.Core.IO; ...
44.312849
185
0.578669
[ "MIT" ]
AzzA-D/Umbraco-CMS
src/Umbraco.Core/Configuration/ClientDependencyConfiguration.cs
7,934
C#
using System; using System.Collections.Generic; using System.Diagnostics; 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 Sys...
38.2875
110
0.594842
[ "MIT" ]
WinterMagician-2ZGRG/NowPlayingV2
NowPlayingV2/UI/VersionInfoUI.xaml.cs
3,227
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq.Expressions; using System.Threading.Tasks; using AntDesign.Forms; using AntDesign.Internal; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; namespace AntDesign { /// <summary> /// ...
35.496711
148
0.554722
[ "MIT" ]
BlazorHub/ant-design-blazor
components/core/Base/AntInputComponentBase.cs
10,793
C#
using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Construction.Components { /// <summary> /// Used for construction graphs in building computers. /// </summary> [RegisterComponent] public sealed class Comput...
32
101
0.727941
[ "MIT" ]
14th-Batallion-Marine-Corps/14-Marine-Corps
Content.Server/Construction/Components/ComputerBoardComponent.cs
546
C#
using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using Umbrella.Utilities.Encryption.Abstractions; using Umbrella.Utilities.Extensions; namespace Umbr...
40.089623
218
0.530298
[ "MIT" ]
Zinofi/umbrella
Core/src/Umbrella.Utilities/Encryption/SecureStringGenerator.cs
8,501
C#
using UnityEngine.Audio; using UnityEngine; [System.Serializable] public class Sound { public string name; public AudioClip clip; [Range(0f,1f)] public float volume; [Range(.1f,3f)] public float pitch; public bool loop; [HideInInspector] public AudioSource source; }
9.8
28
0.710884
[ "Apache-2.0" ]
Muhammad-Taimur/Dangerous-Lane-3D-Game
Assets/Sound.cs
296
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...
49.190476
178
0.688448
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/ReservedNodeQuotaExceededException.cs
6,198
C#
using ChocolArm64.Decoders; using ChocolArm64.IntermediateRepresentation; using ChocolArm64.State; using ChocolArm64.Translation; using System; using System.Reflection.Emit; namespace ChocolArm64.Instructions { static class InstEmit32Helper { public static bool IsThumb(OpCode64 op) { ...
33.414966
93
0.525448
[ "Unlicense" ]
huangweiboy/Ryujinx
ChocolArm64/Instructions/InstEmit32Helper.cs
4,912
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("We...
38.513514
84
0.750175
[ "MIT" ]
arunsatyarth/SimpleWeatherApp
WeatherController/Properties/AssemblyInfo.cs
1,428
C#
using System; using System.Collections; using System.Collections.Generic; namespace CaboodleES.Utils { /// <summary> /// Table collection /// </summary> /// <typeparam name="T"></typeparam> public class Table<T> { private T[] elements; private int count; public int Cou...
21.121622
59
0.427383
[ "MIT" ]
HellFire13/CaboodleES
CaboodleES/Source/CaboodleES/Utils/Table.cs
1,565
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Routing; using Autofac; using Autofac.Integration.WebApi; using CacheSharp.Redis; using CacheSharp.WebApi.Example.Controllers; using CacheSharp.WebApi.Example.Mocks; ...
31.679245
114
0.672424
[ "MIT" ]
paulfryer/CacheSharp
CacheSharp.WebApi.Example/Global.asax.cs
1,681
C#
using System; using System.Linq; using System.Collections.Generic; namespace Proxy.Core { public class Availabilities { /**/ #region variables /**/ public int Bikes; public int Stands; public int MechanicalBikes; public int ElectricalBikes; public in...
32.566667
168
0.636643
[ "MIT" ]
sana-dibe/eiin839
project/Biking/Biking/Proxy/Core/Availabilities.cs
979
C#
using System; using System.Collections; using System.Runtime.InteropServices; namespace OrionSparkLedTestBed { public enum KeyboardNames { ESC = 0x01, F1 = 0x3b, F2 = 0x3c, F3 = 0x3d, F4 = 0x3e, F5 = 0x3f, F6 = 0x40, F7 = 0x41, F8 = 0x42...
37.306122
265
0.652626
[ "MIT" ]
Eld1nH/spectrograph
Spectrograph/LogitechGsdk.cs
7,314
C#
using DataReadWrite.Interface; using JSONService; using Newtonsoft.Json; 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 LeavePla...
32.608696
121
0.655556
[ "MIT" ]
madhurmishra33/LeaveManagementApp
sprintPage.cs
2,252
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Azure.Messaging.ServiceBus.Amqp; using Azure.Messaging.ServiceBus.Primitives; namespace Azure.Messaging.ServiceBu...
43.03125
199
0.635924
[ "MIT" ]
Kishp01/azure-sdk-for-net
sdk/servicebus/Azure.Messaging.ServiceBus/src/Core/TransportClient.cs
4,133
C#
using System.Web.Mvc; namespace PizzaFactory.WebClient.Areas.Api { public class ApiAreaRegistration : AreaRegistration { public override string AreaName { get { return "Api"; } } public override void RegisterArea(AreaRegis...
23.625
75
0.500882
[ "MIT" ]
pavelhristov/PizzaFactory
PizzaFactory/PizzaFactory.WebClient/Areas/Api/ApiAreaRegistration.cs
569
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
33.769231
84
0.52221
[ "MIT" ]
pedrofernandesfilho/ACTReorderList
src/UI/ACTReorderList.UI.WebForms/UsingSqlDataSource.aspx.designer.cs
1,758
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...
30.35
124
0.762768
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/RuleGroupRuleStatementSizeConstraintStatementFieldToMatchAllQueryArgumentsArgs.cs
607
C#
using Lucene.Net.Analysis.TokenAttributes; using System; using System.IO; using System.Text; namespace Lucene.Net.Analysis.Wikipedia { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this wor...
52.54
218
0.557047
[ "Apache-2.0" ]
NikolayXHD/Lucene.Net.Contrib
Lucene.Net.Analysis.Common/Analysis/Wikipedia/WikipediaTokenizerImpl.cs
57,796
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0// #endregion // This file is auto-generated by the ClearCanv...
40.379421
125
0.568164
[ "Apache-2.0" ]
SNBnani/Xian
ImageServer/Model/EntityBrokers/StudySelectCriteria.gen.cs
12,558
C#
using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; namespace GrpcNetProxyTest.Setup { /// <summary> /// Test logger provider /// </summary> public class TestLoggerProvider : ILoggerProvider { /// <summary> /// Test log sink /// </summary> ...
26.027397
149
0.552632
[ "MIT" ]
jrozac/GrpcNetProxy
test/GrpcNetProxyTest/Setup/TestLoggerProvider.cs
1,902
C#
using System; using System.ComponentModel; using System.Reflection; using System.Text; using System.Windows.Forms; using System.Xml.Serialization; namespace Rawr.RestoSham { public enum Faction { None, Aldor, Scryers } public partial class CalculationOptionsP...
35.74415
131
0.53077
[ "Apache-2.0" ]
satelliteprogrammer/rawr
Rawr.RestoSham/CalculationOptionsPanelRestoSham.cs
22,914
C#
using System; using System.Collections.Generic; using System.Linq; using Coderr.Client.Config; using Coderr.Client.ContextCollections; using Coderr.Client.Contracts; using Coderr.Client.Reporters; namespace Coderr.Client.Processor { /// <summary> /// Will process the exception to generate conte...
39.395604
124
0.558345
[ "Apache-2.0" ]
aTiKhan/Coderr.Client
src/Coderr.Client/Processor/ExceptionProcessor.cs
10,757
C#
using NAudio.Wave; using NAudio.Wave.SampleProviders; using System; using System.Threading; 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; using System.Collections.Ob...
34.737443
135
0.4558
[ "MIT" ]
JoaoLuizSevero/Basic-Music-Player
NAudioTests/Form1.cs
15,217
C#
using System; using System.Globalization; using System.Linq; using System.Net; using System.Net.NetworkInformation; using System.Reactive; using System.Reactive.Linq; using System.Security.Cryptography; using System.Text; using GitHub.Authentication; using GitHub.Primitives; using NLog; using NullGuard; using Octokit; ...
35.950739
117
0.586325
[ "MIT" ]
Acidburn0zzz/Github-io-VisualStudio
src/GitHub.App/Api/ApiClient.cs
7,298
C#