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; //library namespace TutorialCSharp //namespace { class Program //class { static void Main(string[] args) //method special, automatic run program on this Main method and call a statement { var user = Enum.GetNames(typeof(User)); string userFind = Enum.GetNam...
24.6
120
0.549593
[ "MIT" ]
fauzigalih/TutorialCSharp
data/088 Enum.cs
615
C#
// ************************************************************* // project: graphql-aspnet // -- // repo: https://github.com/graphql-aspnet // docs: https://graphql-aspnet.github.io // -- // License: MIT // ************************************************************* namespace GraphQL.AspNet.Configuration { u...
55.079545
198
0.689911
[ "MIT" ]
NET1211/aspnet-archive-tools
src/graphql-aspnet/Configuration/SchemaBuilder.cs
4,849
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; namespace Microsoft.ML.AutoML.Test { internal static class MLNetUtils { ...
28.708333
101
0.616836
[ "MIT" ]
1Crazymoney/machinelearning
test/Microsoft.ML.AutoML.Tests/Utils/MLNetUtils/MLNetUtils.cs
691
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Threading.Tasks; using Microsoft.Maui.Controls.Internals; namespace Microsoft.Maui.Controls { // Don't add IElementConfiguration<Cell> because it kills ...
32.267267
178
0.730479
[ "MIT" ]
AlexanderSemenyak/maui
src/Controls/src/Core/Cells/Cell.cs
10,745
C#
// ----------------------------------------------------------------------- // <copyright file="PartnerServiceRequestOperations.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace ...
50.362637
152
0.630373
[ "MIT" ]
vijayraavi/Partner-Center-PowerShell
src/PartnerCenter/ServiceRequests/PartnerServiceRequestOperations.cs
4,585
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
34.451613
150
0.582397
[ "BSD-2-Clause" ]
limao777/chatroom-based-onenet
onenet_chatroom/Properties/Settings.Designer.cs
1,070
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using System.Reflection; using Unity.Collections; namespace Unity.Netcode { /// <summary> /// The base class to override to write network code. Inherits MonoBehaviour /// </summary> public abstract class NetworkBehavi...
41.884076
191
0.563247
[ "MIT" ]
wackoisgod/com.unity.netcode.gameobjects
com.unity.netcode.gameobjects/Runtime/Core/NetworkBehaviour.cs
32,879
C#
using Microsoft.EntityFrameworkCore; using Abp.Zero.EntityFrameworkCore; using LinXiDecorate.Authorization.Roles; using LinXiDecorate.Authorization.Users; using LinXiDecorate.MultiTenancy; using LinXiDecorate.Persons; namespace LinXiDecorate.EntityFrameworkCore { public class LinXiDecorateDbContext : AbpZeroDbCon...
29.227273
102
0.732504
[ "MIT" ]
FayneLi/LinXiDecorate
aspnet-core/src/LinXiDecorate.EntityFrameworkCore/EntityFrameworkCore/LinXiDecorateDbContext.cs
645
C#
using MovieMeter.Repository.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MovieMeter.Model; using MovieMeter.Data.Context; using AutoMapper; using System.Data.Entity; using MovieMeter.WebHarvester.Harvester; using MovieMe...
39.63745
173
0.557242
[ "MIT" ]
brugi82/MovieMeter
MovieMeter/MovieMeter.Repository/Repositories/MovieMeterEFRepository.cs
9,951
C#
using System.Reflection; 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("MSSQLReplicationMonitorService")] [assemb...
39.388889
84
0.751058
[ "MIT" ]
RobThree/NMSSQLReplication
MSSQLReplicationMonitorService/Properties/AssemblyInfo.cs
1,421
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BillboardTie : MonoBehaviour { public HackingGame hackingGame; public GameObject billboard; public Material newTexture; // Use this for initialization void Start () { } // Update is called once per frame void U...
19.304348
65
0.740991
[ "MIT" ]
wickedlyethan/GGJ-18
Global-Game-Jam-2018/Assets/WebPlayerTemplates/BillboardTie.cs
446
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("BA...
38.189189
84
0.745223
[ "MIT" ]
LorenVS/bacstack
BACnet.Tagging.Tests/Properties/AssemblyInfo.cs
1,416
C#
#if NETFX_CORE using System; using System.Threading.Tasks; using Windows.Foundation; using Windows.UI.Xaml.Controls; namespace WinRTXamlToolkit.AwaitableUI { /// <summary> /// Extension methods for WebView class. /// </summary> public static class WebViewExtensions { /// <summary> ...
25.918919
92
0.597497
[ "MIT" ]
hermz365/WODTimer
WODTimer/WinRTXamlToolkit/AwaitableUI/WebViewExtensions 8.1.cs
961
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 ...
24.625
100
0.678819
[ "Apache-2.0" ]
xueandfeng/aliyun-openapi-net-sdk
aliyun-net-sdk-live/Live/Model/V20161101/StopCasterSceneRequest.cs
2,167
C#
using System; using System.IO; using System.Text; using NUnit.Framework; // Most CSV test data came from csv-spectrum: https://github.com/maxogden/csv-spectrum namespace ExcelDataReader.Tests { [TestFixture] public class ExcelCsvReaderTest { [Test] public void CsvCommaInQuotes() ...
37.830882
138
0.475154
[ "MIT" ]
60071jimmy/ExcelDataReader
test/ExcelDataReader.Tests/ExcelCsvReaderTest.cs
15,444
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.ComponentModel; using Pulumi; namespace Pulumi.AzureNative.CognitiveServices.V20160201Preview { /// <summary> /// Required. Indi...
45.71875
107
0.642288
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/CognitiveServices/V20160201Preview/Enums.cs
4,389
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> //--...
30.26087
81
0.5
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/PayrollArrearLimitMethod.cs
698
C#
namespace Xamarin.Forms.GoogleMaps { public enum MapType { Street, Satellite, Hybrid, Terrain, None } }
14.181818
35
0.512821
[ "MIT" ]
Bhekinkosi12/Xamarin.Forms.GoogleMaps
Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/MapType.cs
158
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; namespace Bamboo.Attendance.Blazor.Host { public class Program { public static async Task Main(string[] args) { var builder = WebAssemblyHostBuilder.CreateDefault(args); var applica...
24.6
91
0.614634
[ "MIT" ]
BlazorHub/bamboomodules
Bamboo.Attendance/host/Bamboo.Attendance.Blazor.Host/Program.cs
615
C#
using System; using Newtonsoft.Json; namespace TrackApartments.Auth { public class AuthenticationModel { [JsonProperty("access_token", NullValueHandling = NullValueHandling.Ignore)] public string AccessToken { get; set; } [JsonProperty("provider_name", NullValueHandling = NullValueHan...
37.555556
92
0.700444
[ "MIT" ]
EvilAvenger/TrackApartmentsApp
TrackApartments.Auth/AuthenticationModel.cs
1,354
C#
// Copyright 2020 The Tilt Brush Authors // // 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 ...
30.702703
75
0.696303
[ "Apache-2.0" ]
Babouchot/open-brush
Assets/Scripts/Clock.cs
1,138
C#
namespace ShoppingWebCrawler.Cef.Core { using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using ShoppingWebCrawler.Cef.Core.Interop; /// <summary> /// Callback interface for asynchronous continuation of print job requests. /...
26.217391
79
0.641791
[ "Apache-2.0" ]
dongshengfengniaowu/ShoppingWebCrawler
ShoppingWebCrawler.Cef.Core/Classes.Proxies/CefPrintJobCallback.cs
605
C#
using System.Reflection; using Jasper; using Microsoft.AspNetCore.Hosting; using Shouldly; using TestingSupport; using Xunit; namespace HttpTests.AspNetCoreIntegration { public class integration_with_hosting_environment { public class FakeSettings { public string Environment { get;...
29.378788
118
0.580712
[ "MIT" ]
JasperFx/JasperHttp
src/HttpTests/AspNetCoreIntegration/integration_with_hosting_environment.cs
1,941
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.ML.Runtime; using Microsoft.ML.Runtime.CommandLine; using Microsoft.ML.Runtime.Data; using Microsoft...
45.444668
196
0.561056
[ "MIT" ]
Caraul/machinelearning
src/Microsoft.ML.Transforms/Text/WordHashBagTransform.cs
22,588
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MvvmCross.Forms.Presenters.Attributes; using MvvmCross.Forms.Views; using MvxFormsTemp.Core.ViewModels.Home; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace MvxFormsTemp.UI.Pages { [Xa...
27.485714
105
0.681913
[ "MIT" ]
3factr/3factr-scaffolding
src/Templates/MvxForms/Blank/src/MvxFormsTemp.UI/Pages/HomePage.xaml.cs
962
C#
namespace buildeR.Common.DTO { public class UserLetterDTO { public string UserName { get; set; } public string UserEmail { get; set; } public string Subject { get; set; } public string Description { get; set; } public int Rating { get; set; } public bool IsRespond...
28.5
47
0.590643
[ "MIT" ]
yermolenko-d/bsa-2020-buildeR
backend/buildeR.Common/DTO/UserLetterDTO.cs
342
C#
namespace JoinRpg.Web.Models.FieldSetup { /// <summary> /// Navigation in fields area /// </summary> public class FieldNavigationModel : IProjectIdAware { /// <see cref="FieldNavigationPage"/> public FieldNavigationPage Page { get; set; } /// <inheritdoc /> public in...
23.54902
55
0.486261
[ "MIT" ]
HeyLaurelTestOrg/joinrpg-net
src/JoinRpg.WebPortal.Models/FieldSetup/FieldNavigationModel.cs
1,201
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
49.34127
166
0.64211
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/Display.cs
6,233
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/Uxtheme.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows;...
44.928571
145
0.766296
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/Uxtheme/TA_TIMINGFUNCTION.cs
631
C#
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 //...
32.682353
94
0.62059
[ "Apache-2.0" ]
awesome-archive/PTVS
Python/Product/Django/TemplateParsing/TemplateArtifactProcessor.cs
2,778
C#
// <auto-generated> /* * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generato...
31.852459
159
0.576171
[ "Apache-2.0" ]
1inker/openapi-generator
samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/Foo.cs
3,886
C#
// -------------------------------------------------------------------------------------------------------------------- // <summary> // The widget. // </summary> // -------------------------------------------------------------------------------------------------------------------- namespace Widgets.VisitorInfo { ...
30.071856
154
0.459578
[ "MIT" ]
blee-usa/BlogEngine28
widgets/Visitor info/widget.ascx.cs
5,024
C#
using System; using System.Threading.Tasks; namespace Pop3.IO { internal interface INetworkOperations : IDisposable { #region Methods #if FULL void Open(string hostName, int port); void Open(string hostName, int port, bool useSsl); void Open(string hostName, int port, bool u...
18.15
81
0.626722
[ "MIT" ]
rfinochi/pop3dotnet
LibraryCore/IO/INetworkOperations.cs
728
C#
/* Copyright (C) 2013-present The DataCentric Authors. 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 to ...
43.323529
128
0.636117
[ "Apache-2.0" ]
datacentricorg/datacentric-cs
cs/src/DataCentric.Test/Serialization/Xml/XmlTreeReaderTest.cs
2,946
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 26.03.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
24.150485
132
0.526633
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_002__AS_STR/Add/Complete/Double/Double/TestSet_R504AAB004__param____NV.cs
4,977
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Data.Common; using System.Data.SqlTypes; using System.Diagnostics; using System.Runtime.CompilerService...
39.588292
253
0.504347
[ "MIT" ]
dpaoliello/SqlClientSlim
src/SqlClientSlim/System/Data/SqlClient/SqlCommand.cs
123,080
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Translator { public static class StatusReporter { private static TextWriter writer = null; // Progress step variables private static string stepMsg ...
26.982955
108
0.464308
[ "MIT" ]
B1SA/HanaTranslator-Src
Translator/StatusReporter.cs
4,751
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using ISTS.Domain.PostalCodes; using ISTS.Infrastructure.Model; namespace ISTS.Infrastructure.Repository { public class PostalCodeRepository : IPostalCodeRepository { private readonly Ist...
27.891304
124
0.623539
[ "MIT" ]
meutley/ISTS
src/Infrastructure/Repository/PostalCodeRepository.cs
1,283
C#
namespace FileTypeChecker.Types { using FileTypeChecker.Abstracts; public class PortableNetworkGraphic : FileType, IFileType { private const string name = "Portable Network Graphic"; private const string extension = FileExtension.Png; private static readonly byte[] magicBytes = new...
30.3125
114
0.668041
[ "MIT" ]
Adelzu/AyncFileTypeChecker
FileTypeChecker/Types/PortableNetworkGraphic.cs
487
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201 { using Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="ServerPrivateEndpointConnection" /> /// </summary>...
52.71831
251
0.592706
[ "MIT" ]
3quanfeng/azure-powershell
src/PostgreSql/generated/api/Models/Api20171201/ServerPrivateEndpointConnection.TypeConverter.cs
7,345
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; namespace Newtonsoft.Json.Utilities { // Token: 0x0200006C RID: 108 internal static class EnumUtils { // Token: 0x060005AE RID: 1454 RVA: 0x00014376 File Offset: 0x00012576 public static T Pa...
35.40625
213
0.705502
[ "MIT" ]
zcfsky/Newtonsoft.Json.Compact
Newtonsoft.Json.Compact/Newtonsoft/Json/Utilities/EnumUtils.cs
6,800
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DotNetty.Codecs.Http.Tests.WebSockets { using System; using DotNetty.Codecs.Http.WebSockets; using DotNetty.Common.Utilities; public class W...
36.714286
144
0.686381
[ "MIT" ]
cuteant/SpanNetty
test/DotNetty.Codecs.Http.Tests/WebSockets/WebSocketClientHandshaker00Test.cs
1,287
C#
using McMaster.Extensions.CommandLineUtils; using StrawberryShake.Tools.OAuth; namespace StrawberryShake.Tools { public static class UpdateCommand { public static void Build(CommandLineApplication update) { update.Description = "Update local schema"; CommandOption pathA...
35
105
0.565476
[ "MIT" ]
johan-lindqvist/hotchocolate
src/StrawberryShake/Tooling/src/dotnet-graphql/UpdateCommand.cs
1,680
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; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; usin...
49.415905
295
0.544884
[ "Apache-2.0" ]
sharadagrawal/NameDidntPrePopulate
src/Workspaces/CSharp/Portable/Simplification/CSharpSimplificationService.Expander.cs
54,063
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/mfidl.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
37.057692
145
0.63726
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/mfidl/IMFClockStateSinkTests.cs
1,929
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Choosability.Utility { public static class LinqExtensions { public static IEnumerable<Tuple<T, T>> CartesianProduct<T>(this IEnumerable<T> a, IEnumerable<T> b) { return CartesianProduct(...
32.316667
113
0.537906
[ "MIT" ]
landon/WebGraphs
Choosability/Utility/LinqExtensions.cs
1,941
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UiInGameMenu : MonoBehaviour { public Button saveBtn, exitBtn; public GameObject gameMenuPanel, loadingPanel; public bool MenuVisible { get => gameMenuPanel.activeSelf; } private void St...
24.806452
64
0.708713
[ "MIT" ]
SunnyValleyStudio/SGC
UiInGameMenu.cs
771
C#
using System.Collections.Generic; using System.Linq; using CallMeMaybe; using ComponentBasedTestTool.Domain; using ComponentBasedTestTool.Domain.OperationStates; using ComponentBasedTestTool.ViewModels.Ports; using ExtensionPoints; using ExtensionPoints.ImplementedByComponents; using ExtensionPoints.ImplementedByContex...
33.205128
125
0.80695
[ "MIT" ]
grzesiek-galezowski/component-based-test-tool
ComponentBasedTestTool/ViewModels/ViewModels/OperationEntries.cs
1,295
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraController : MonoBehaviour { Camera playerCam; public float dampTime = 0.15f; private Vector3 velocity = Vector3.zero; public Transform player; public float shakeDuration = 0f; public float shakeMagnitude = 0.2f;...
21.609929
112
0.703315
[ "MIT" ]
msummersBU/Cursed-Plains
Assets/Scripts/Entities/Player/CameraController.cs
3,049
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. #nullable disable using System.Threading; using System.Threading.Tasks; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.LanguageServer.Protocol.Models;...
43.37931
103
0.786169
[ "MIT" ]
50Wliu/razor-tooling
src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/ClientNotifierServiceBase.cs
1,260
C#
using OrderCloud.SDK; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ordercloud.integrations.avalara { public static class ShipEstimateMapper { public static ShipMethod GetSelectedShippingMethod(this ShipEstimate estimates) { return estimates.ShipMethods.First...
30.25
102
0.787879
[ "MIT" ]
Labedlam/headstart
src/Middleware/integrations/ordercloud.integrations.avalara/Mappers/ShipEstimateMapper.cs
728
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Threading; using Microsoft.Bot.Builder.Dialogs; namespace Microsoft.Bot.Builder.TestBot.Json { public class TestBotAccessors { public IStatePropertyAccessor<DialogState> ConversationDialogStat...
27
88
0.716667
[ "MIT" ]
Acidburn0zzz/botbuilder-dotnet
tests/Microsoft.Bot.Builder.TestBot.Json/TestBotAccessors.cs
542
C#
using DestinyMod.Common.Items.ItemTypes; using Microsoft.Xna.Framework; using Terraria; using Terraria.DataStructures; using Terraria.ID; using Terraria.Audio; using Terraria.ModLoader; namespace DestinyMod.Content.Items.Weapons.Ranged { public class DeadMansTale : Gun { public override void SetStaticDefaults() ...
29.704545
157
0.731446
[ "MIT" ]
MikhailMCraft/DestinyMod
Content/Items/Weapons/Ranged/DeadMansTale.cs
1,309
C#
using AL.Core.Interfaces; using Newtonsoft.Json; namespace AL.APIClient.Model { /// <summary> /// Represents a character this user owns. /// </summary> /// <seealso cref="IInstancedLocation" /> public record CharacterInfo : IInstancedLocation { /// <summary> /// The id ...
32.407407
127
0.549714
[ "MIT" ]
Sichii/ALClientCS
AL.APIClient/Model/CharacterInfo.cs
1,752
C#
using Adventures; using Classes; using Companions; using Equipment; using GroupFinder; using LobotJR.Command; using LobotJR.Data; using LobotJR.Data.Import; using LobotJR.Data.Migration; using LobotJR.Data.User; using LobotJR.Modules; using LobotJR.Modules.Fishing; using LobotJR.Shared.Authentication; using LobotJR.Sh...
56.224068
320
0.335763
[ "MIT" ]
lobosjrgaming/lobotjr
LobotJR/Program.cs
263,974
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2022 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE fil...
41.780952
117
0.610212
[ "Apache-2.0" ]
correaAlex/YAFNET
yafsrc/YetAnotherForum.NET/Modules/FaviconModule.cs
4,286
C#
/* * Copyright (c) 2013 Calvin Rien * * Based on the JSON parser by Patrick van Bergen * http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html * * Simplified it so that it doesn't throw exceptions * and can be used in Unity iPhone with maximum code stripping. * * P...
34.202128
148
0.392691
[ "Apache-2.0" ]
RichLogan/CiscoSpark-UnityProject
SparkUnity/Assets/Plugins/MiniJSON.cs
19,290
C#
namespace CustomScriptableObjects.Core.Collections { using System; using UnityEngine; [CreateAssetMenu(menuName = MenuPath.COLLECTIONS + "SByte")] [Serializable] public class CollectionSByte : BaseCollection<sbyte> { } }
25.111111
61
0.787611
[ "MIT" ]
cordonez/CustomScriptableObjects
Core/Collections/CollectionSByte.cs
226
C#
using System.Diagnostics; using Sitecore.DataBlaster.Load.Sql; namespace Sitecore.DataBlaster.Load.Processors { public class SyncPublishQueue : ISyncInTransaction { public void Process(BulkLoadContext loadContext, BulkLoadSqlContext sqlContext) { if (!loadContext.UpdatePublishQueue...
37.545455
111
0.682809
[ "MIT" ]
Elyseum/sitecore-data-blaster
src/Sitecore.DataBlaster/Load/Processors/SyncPublishQueue.cs
828
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Data.API.Interfaces.DO; namespace Data.DO { public class Translation : ITranslation { public long ID { get; set; } public String Source { get; set; } public Dictionary<String, String> Results {...
24.95
62
0.655311
[ "MIT" ]
SwiftAusterity/BuzzMyResume
Data/DO/Translation.cs
501
C#
namespace Schema.NET { using System; using System.Runtime.Serialization; using Newtonsoft.Json; /// <summary> /// This type covers computer programming languages such as Scheme and Lisp, as well as other language-like computer representations. Natural languages are best represented with the...
35.882353
272
0.596175
[ "MIT" ]
csdecrypt/Schema.NET
Source/Schema.NET/core/ComputerLanguage.cs
1,832
C#
namespace Community.CsharpSqlite { using System.Diagnostics; using System.IO; using System.Text; using Bitmask = System.UInt64; using FILE = System.IO.TextWriter; using i16 = System.Int16; using i32 = System.Int32; using i64 = System.Int64; using u8 = System.Byte; u...
35.449275
110
0.540474
[ "MIT" ]
ArsenShnurkov/csharp-sqlite
Community.CsharpSqlite/src/parsing/WhereClause.cs
2,448
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Native.Csharp.App.Gameplay.AbstractTool; using Native.Csharp.App.UserInteract; namespace Native.Csharp.App.Gameplay.CharacterUtil.Skills { public abstract class Skill : IElement { ...
28.508475
77
0.577883
[ "MIT" ]
apflu/DungeonBot
Native.Csharp/App/Gameplay/CharacterUtil/Skills/Skill.cs
1,762
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.Management.Compute.Fluent.Models; using Microsoft.Azure.Management.Graph.RBAC.Fluent; using Microsoft.Azure.Management.Msi.Fluent; using Micr...
44.015193
230
0.622478
[ "MIT" ]
HarveyLink/azure-libraries-for-net
src/ResourceManagement/Compute/VirtualMachineImpl.cs
127,468
C#
using System.Collections.Generic; using Oakton; namespace NSwagen.Cli.Inputs { public class ConfigInput : BaseInput { public CommandAction Action { get; set; } = CommandAction.init; [FlagAlias('d')] [Description("Generates configurations with default values.")] public bool Def...
42.041667
140
0.699703
[ "MIT" ]
prathimanm/NSwagen
src/NSwagen/Inputs/ConfigInput.cs
2,020
C#
using Portal.CMS.Entities; using Portal.CMS.Entities.Entities; using System; using System.Collections.Generic; using System.Linq; namespace Portal.CMS.Services.PageBuilder { public interface IPageAssociationService { List<PagePartial> Get(); PageAssociation Get(int pageAssociationId); ...
35.375
172
0.606537
[ "MIT" ]
garora/PortalCMS
Portal.CMS.Services/PageBuilder/PageAssociationService.cs
5,662
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.ComponentModel; namespace System.Diagnostics { [Flags] public enum SourceLevels ...
21.583333
71
0.640927
[ "MIT" ]
OceanYan/corefx
src/System.Diagnostics.TraceSource/src/System/Diagnostics/SourceLevels.cs
518
C#
// --------------------------------------------------------------------------------------- // <copyright file="KeypadStaticTests.cs" company="Corale"> // Copyright © 2015-2021 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this so...
35.295455
90
0.592402
[ "MIT" ]
CoraleStudios/Colore
tests/Colore.Tests/Effects/Keypad/Effects/KeypadStaticTests.cs
4,660
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Services; using System.Web.Script.Services; using System.Data.SqlClient; using System.Configuration; using System.IO; using System.Data; using System.T...
40.232932
224
0.62767
[ "MIT" ]
spexcertigit/spexcertiprep
admin/product-images/default.aspx.cs
10,024
C#
using Foundation; using UIKit; using System.IO; using Styles.Color; using Styles.Text; namespace ColorStyleDemo.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to application ev...
34.830769
122
0.760159
[ "MIT" ]
ClintFrancis/Styles.Color
samples/ColorStyleDemo.iOS/AppDelegate.cs
2,266
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...
53.388889
540
0.700312
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Compute/V20180601/Outputs/VaultCertificateResponse.cs
1,922
C#
using System; using System.Collections; namespace UniRx { public sealed class MultipleAssignmentDisposable : IDisposable, ICancelable { static readonly BooleanDisposable True = new BooleanDisposable(true); object gate = new object(); IDisposable current; public bool IsDispose...
22.927536
79
0.350822
[ "MIT" ]
142333lzg/jynew
jyx2/Assets/Plugins/UniRx/Scripts/Disposables/MultipleAssignmentDisposable.cs
1,584
C#
// Copyright (c) 2015-present, Parse, LLC. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. using System; using System.Collec...
27.055556
285
0.448551
[ "BSD-3-Clause" ]
RxParse/Parse-SDK-dotNET
Parse/Internal/ParseCorePlugins.cs
8,766
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.Collections.Generic; using System.Runtime.Serialization; using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.ModelB...
35.083799
116
0.632803
[ "Apache-2.0" ]
Kartikexp/MvcDotnet
test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Internal/DataMemberRequiredBindingMetadataProviderTest.cs
6,280
C#
namespace Oasis.EntityFramework.Mapper.Exceptions; public sealed class TypeConfiguratedException : EfCoreMapperException { public TypeConfiguratedException(Type type) : base($"Type {type} has been configurated already.") { } }
24.9
69
0.742972
[ "MIT" ]
keeper013/Oasis
EntityFramework/Oasis.EntityFramework.Mapper/Exceptions/TypeConfiguratedException.cs
251
C#
// This file is part of Hangfire. // Copyright © 2013-2014 Sergey Odinokov. // // Hangfire is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation, either version 3 // of the License, or any later version....
35.72
75
0.742441
[ "MIT" ]
777Eternal777/Storm
Storm/Storm.Core/States/IStateMachineFactory.cs
896
C#
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Synta...
49.592593
156
0.606983
[ "Apache-2.0" ]
onexey/Roslynator
src/Refactorings/CSharp/Refactorings/ExtractGenericTypeRefactoring.cs
5,358
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace timw255.Sitefinity.RestClient.Model { public class CurrentPageState { public ItemState ItemState { get; set; } public string Message...
21.222222
48
0.709424
[ "MIT" ]
timw255/timw255.Sitefinity.RestClient
timw255.Sitefinity.RestClient/Model/CurrentPageState.cs
384
C#
using System.Threading.Tasks; namespace Hestia.Model.Wrappers { public interface ICommandLineExecutor { string[] Execute(string commandToExecute, string args, string workingDirectory); string ExecuteNoSplit(string commandToExecute, string args, string workingDirectory); Task<string[]...
32.0625
104
0.756335
[ "MIT" ]
marczinusd/hestia
src/Hestia.Model/Wrappers/ICommandLineExecutor.cs
515
C#
namespace CaptchaSharp.Enums { /// <summary></summary> public enum CaptchaLanguage { /// <summary></summary> NotSpecified, /// <summary></summary> English, /// <summary></summary> Russian, /// <summary></summary> Spanish, /// <summ...
16.714286
31
0.431453
[ "MIT" ]
542980940984363224858439616269115634540/CaptchaSharp
CaptchaSharp/Enums/CaptchaLanguage.cs
2,927
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.AspNetCore.Routing.Template; namespace Microsoft.AspNetCore.Routing.Tree { /// <summary> /// A candidate match for link genera...
31.083333
111
0.631367
[ "Apache-2.0" ]
06b/AspNetCore
src/Http/Routing/src/Tree/OutboundMatch.cs
748
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Filmary.Common.Interfaces { /// <summary> /// Generic repository provide all base needed methods (CRUD) /// </summary> /// <typeparam name="T"></typeparam> publ...
30.185714
83
0.558921
[ "MIT" ]
teachmeskills-dotnet/TMS-DotNet03-Bandarenka
src/Filmary.Common/Interfaces/IRepository.cs
2,115
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...
36.186047
222
0.676735
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Devices/V20190701Preview/Outputs/StorageEndpointPropertiesResponse.cs
1,556
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; namespace Microsoft.Xna.Framework.Graphics.PackedVector { /// <summary> /// Packed vector type containing four 8-bit uns...
37.974843
122
0.56691
[ "MIT" ]
jocamar/Caravel
Libs/MonoGame.Framework/Graphics/PackedVector/Byte4.cs
6,040
C#
// Copyright (c) Microsoft Corporation. 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; #nullable disable namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection; /// <summary...
35.25
120
0.758865
[ "MIT" ]
Evangelink/vstest
src/Microsoft.TestPlatform.ObjectModel/DataCollector/IDataCollectorAttachments.cs
989
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...
36.017241
152
0.668262
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Media/Outputs/MediaGraphTlsEndpointResponse.cs
2,089
C#
using CharacterGen.CharacterClasses; using CharacterGen.Domain.Tables; using NUnit.Framework; using System.Linq; namespace CharacterGen.Tests.Integration.Tables.Magics.Spells.Known.Adepts { [TestFixture] public class Level18AdeptKnownSpellsTests : AdjustmentsTests { protected override string table...
27.105263
139
0.602913
[ "MIT" ]
DnDGen/CharacterGen
CharacterGen.Tests.Integration.Tables/Magics/Spells/Known/Adepts/Level18AdeptKnownSpellsTests.cs
1,032
C#
using System; using OperationMicrosoft.DataStructures.Objects.Nodes; namespace OperationMicrosoft.DataStructures.Makers { public class LinkedList<TValue> { public ListNode<TValue> Head { get; private set; } public ListNode<TValue> Tail { get; private set; } public int ListSize...
27.833333
86
0.422754
[ "MIT" ]
Foxpips/Algorithms
OperationMicrosoft/DataStructures/Makers/LinkedList.cs
3,342
C#
using UnityEditor; using UnityEngine; namespace DELTation.DIFramework.Editor { [InitializeOnLoad] public static class HierarchyIcons { static HierarchyIcons() => EditorApplication.hierarchyWindowItemOnGUI += UpdateIcons; private static void UpdateIcons(int instanceId, Rect selectionRect) ...
38.0625
119
0.678161
[ "MIT" ]
Delt06/di-framework
Packages/com.deltation.di-framework/Assets/DELTation/DIFramework/Editor/HierarchyIcons.cs
1,220
C#
using System.Reflection; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.Metadata.Conventions; using Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure; using Sprite.Data.Entities.Auditi...
42.272727
175
0.806452
[ "Apache-2.0" ]
beango-project/beango-framework
framework/src/Sprite.Data.EntityFrameworkCore/Metadata/Conventions/Auditing/CreateByAttributeConvention.cs
932
C#
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Runtime; using System.Windows; using Microsoft.Shell; using ReactiveUI; using SimpleMusicPlayer.Core; using SimpleMusicPlayer.Core.Player; using SimpleMusicPlayer.ViewModels; using SimpleMusicPlayer.Views; using Tiny...
35.357143
112
0.637037
[ "Apache-2.0", "MIT" ]
qwe7922142/simple-music-player
src/SimpleMusicPlayer/App.xaml.cs
2,972
C#
using System; using NUnit.Framework; using Plethora.Finance.Bond; using Plethora.Test.Finance.UtilityClasses; namespace Plethora.Test.Finance.Bond { [TestFixture] public class BondInterestCalculator30E_360_Test { [Test] public void Error_EndBeforeStart() { //Setup ...
29.335423
145
0.587305
[ "MIT", "BSD-3-Clause" ]
mikebarker/Plethora.NET
src/Test/Plethora.Test.Finance/Bond/BondInterestCalculator30E_360_Test.cs
9,360
C#
using System.Collections.Generic; using System; namespace Leetspeak.Models { public class LeetspeakTranslator { private string _inputWord; private static List<string> _letters = new List<string> {}; private static List<string> _converted = new List<string> {}; public LeetspeakTranslator(string inp...
23.189655
65
0.528625
[ "Unlicense", "MIT" ]
kailinishihira/Leetspeak-MSTest
Leetspeak/Models/LeetspeakTranslator.cs
1,345
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CovApp3DimScore { class AnswerOption { public string Id { get; set; } public string Text { get; set; } } }
17.533333
40
0.676806
[ "MIT" ]
Brar/CovApp3DimScore
AnswerOption.cs
265
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...
30.184211
109
0.738448
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CognitoIdentityProvider/Generated/Model/AdminForgetDeviceResponse.cs
1,147
C#
using System; using System.Collections.Generic; using Microsoft.Recognizers.Text.Choice; using Microsoft.Recognizers.Text.DateTime; using Microsoft.Recognizers.Text.DateTime.Dutch; using Microsoft.Recognizers.Text.DateTime.English; using Microsoft.Recognizers.Text.DateTime.French; using Microsoft.Recognizers.Text.Date...
66.143799
290
0.685861
[ "MIT" ]
Aliandi/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestContextExtensions.cs
50,139
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { Persona p1 = new Persona("1234","Roger",30); Persona p2 = new Persona("5678","J...
21.25
72
0.560294
[ "MIT" ]
Hikhuj/ULACIT_DisenioAppSoftware
Foro_-_Tarea2_ClasePersona/Foro_-_Tarea2_ClasePersona/Program.cs
682
C#
using Content.Server.Atmos.Monitor.Components; using Content.Server.Atmos.EntitySystems; using Content.Server.Atmos.Piping.EntitySystems; using Content.Server.Atmos.Piping.Components; using Content.Server.DeviceNetwork; using Content.Server.DeviceNetwork.Components; using Content.Server.DeviceNetwork.Systems; using Con...
44.189979
166
0.61251
[ "MIT" ]
LittleBuilderJane/space-station-14
Content.Server/Atmos/Monitor/Systems/AtmosMonitoringSystem.cs
21,167
C#
namespace Kesco.Web.Mvc.UI.Grid { using System; public enum EditType { AutoComplete, CheckBox, Custom, DatePicker, DropDown, Password, TextArea, TextBox } }
14
31
0.512605
[ "MIT" ]
Kesco-m/Kesco.App.Web.MVC.Persons
Kesco.Web.Mvc.UI.Controls/Grid/EditType.cs
238
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
61.487179
1,358
0.711426
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/StrucDocColAlign.cs
2,398
C#