content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Diagnostics; using System.IO; using System.Linq; using Celeste.Mod; using Ionic.Zip; namespace PlattekMod.EverestInterop { public static class StudioHelper { private const string StudioName = "PlattenTek"; private static EverestModuleMetadata Metadata => PlattenTekModule....
43.932836
127
0.521828
[ "MIT" ]
IsaGoodFriend/PlattenTek
PlattenTek-Everest/EverestInterop/StudioHelper.cs
5,887
C#
namespace ProActive.SharePoint.Build.Services.Strings { public static class Files { public const string AppManifest = "AppManifest.xml"; public const string WebPartProduct = "product.json"; public const string WebPartMainModuleFileName = "module.webpart.main.js"; public const st...
41.5
110
0.732932
[ "Apache-2.0" ]
phaetto/proactive-sharepoint-build
ProActive.SharePoint.Build/Services/Strings/Files.cs
500
C#
using System; using System.Text; using System.Transactions; using Rhino.Queues; using Rhino.Queues.Model; using Rhino.ServiceBus.DataStructures; using Rhino.ServiceBus.Impl; using Rhino.ServiceBus.Internal; using Rhino.ServiceBus.Transport; namespace Rhino.ServiceBus.RhinoQueues { public class ErrorAct...
38.596774
123
0.570832
[ "BSD-3-Clause" ]
EzyWebwerkstaden/rhino-esb
Rhino.ServiceBus.RhinoQueues/RhinoQueues/ErrorAction.cs
4,786
C#
using System; using System.Collections.Generic; using System.Text; namespace ByteStream.Interfaces { public interface IByteStream { int Offset { get; } int Length { get; } SerializationMode Mode { get; } void Serialize<T>(ref T value) where T : unmanaged; void Seriali...
20.833333
66
0.653333
[ "MIT" ]
DennisCorvers/ByteStream
ByteStream/ByteStream/Interfaces/IByteStream.cs
377
C#
using CaseManagement.HumanTask.Domains; using System.Collections.Concurrent; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace CaseManagement.HumanTask.Persistence.InMemory { public class HumanTaskDefCommandRepository : IHumanTaskDefCommandRepository { private readonly...
32.5
103
0.656615
[ "Apache-2.0" ]
lulzzz/CaseManagement
src/CaseManagement.HumanTask/Persistence/InMemory/HumanTaskDefCommandRepository.cs
1,627
C#
using System.Diagnostics.CodeAnalysis; namespace Gee.External.Capstone.Mips { /// <summary> /// MIPS Instruction Group Unique Identifier. /// </summary> [SuppressMessage("ReSharper", "IdentifierTypo")] [SuppressMessage("ReSharper", "InconsistentNaming")] public enum MipsInstructionGroupId ...
27.854545
77
0.625326
[ "MIT" ]
9ee1/Capstone.NET
Gee.External.Capstone/Mips/MipsInstructionGroupId.cs
1,534
C#
/******************************************************************************* * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License...
44.875576
280
0.612549
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/Personalize/Basic/Get-PERSRecipe-Cmdlet.cs
9,738
C#
using FluentValidation; namespace Lab.Business.Models.Validations { public class EnderecoValidation : AbstractValidator<Endereco> { public EnderecoValidation() { RuleFor(c => c.Logradouro) .NotEmpty().WithMessage("O campo {PropertyName} precisa ser fornecido") ...
49.352941
125
0.620381
[ "MIT" ]
edulima2412/mvc-completa
src/Lab.Business/Models/Validations/EnderecoValidation.cs
1,680
C#
using static BuckarooSdk.Constants.Services; namespace BuckarooSdk.Services.PayPal.Push { public class PayPalPayPush : ActionPush { public override ServiceNames ServiceNames => ServiceNames.PayPal; public string PayerStatus { get; set; } public string NoteText { get; set; } public string PayerEmail { get; ...
28.5
67
0.738791
[ "MIT" ]
buckaroo-it/BuckarooSdk_DotNet
BuckarooSdk/Services/PayPal/Push/PayPalPayPush.cs
515
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Imaging; namespace Ev3Controller.Model { public enum ConnectionState { /// <summary> /// Device is disconnected. /// </summary> ...
31.910112
85
0.554225
[ "MIT" ]
CountrySideEngineer/Ev3Controller
dev/src/Ev3Controller/Model/ConnectState.cs
2,842
C#
// Copyright (c) Isaiah Williams. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Store.PartnerCenter.Analytics { using System; using System.Threading; using System.Threading.Tasks; using Models; using M...
47.175
152
0.697933
[ "MIT" ]
erickbp/partner-center-dotnet
src/PartnerCenter/Analytics/PartnerLicensesUsageInsightsCollectionOperations.cs
1,889
C#
using System; using System.Collections.Generic; using System.Numerics; using System.Text; namespace InteropTypes.Graphics.Drawing { /// <summary> /// Represents a Camera transform in 2D space. /// </summary> [System.Diagnostics.DebuggerDisplay("")] public struct CameraTransform2D : IEquata...
32.962963
139
0.563483
[ "MIT" ]
vpenades/InteropBitmaps
src/InteropTypes.Graphics.Drawing.Core/Types/CameraTransform2D.cs
10,682
C#
#region --- License & Copyright Notice --- /* Custom collections and collection extensions for .NET Copyright (c) 2018-2020 Jeevan James 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 Li...
42.80914
131
0.554474
[ "Apache-2.0" ]
JeevanJames/Collections
src/Collections/ListExtensions.cs
15,927
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace SitemapAspNet.Extensions { /// <summary> /// Extension class for <see cref="ICustomAttributeProvider" />. /// </summary> [CLSCompliant(true)] public static class ICustomAttributeProviderExtens...
34.243243
125
0.637727
[ "MIT" ]
cyrilschumacher/SitemapAspNet
SitemapAspNet/Extensions/ICustomAttributeProviderExtensions.cs
1,269
C#
// Copyright (c) Nate McMaster. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace McMaster.Extensions.CommandLineUtils { /// <summary> /// Represents a subcommand. /// </summary> [AttributeUsage(AttributeTargets.Clas...
29.804348
111
0.582786
[ "Apache-2.0" ]
adamskt/CommandLineUtils
src/CommandLineUtils/Attributes/SubcommandAttribute.cs
1,371
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.Linq; using System.Threading.Tasks; using FluentAssertions; using Microsoft.Its.Recipes; using Microsoft.MockService; using Microsoft.Mock...
43.276316
184
0.633323
[ "MIT" ]
OfficeDev/Vipr
test/CSharpWriterUnitTests/Given_an_OdcmClass_Entity_Collection_AddAsync_Method.cs
6,580
C#
// WARNING // // This file has been generated automatically by Xamarin Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace ApiDemoIos { [Register ("ApiDe...
25.860656
84
0.68019
[ "MIT" ]
eclipsed4utoo/GrokBinding
Components/ugrokitapi-1.7.3/samples/ApiDemoIos/ApiDemoIosViewController.designer.cs
3,155
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ParticleSpawner : MonoBehaviour { public GameObject particle; public int spawnSize; public float spawnDistance; public float rotateSpeed, moveSpeed; private List<Transform> particles = new List<Transform>(); voi...
37.323529
176
0.724586
[ "Unlicense" ]
TheNumber5/huygens-principle-unity
ParticleSpawner.cs
2,538
C#
namespace IoT.Web.Areas.HelpPage.ModelDescriptions { public class SimpleTypeModelDescription : ModelDescription { } }
21.5
62
0.75969
[ "MIT" ]
msmcdx/iotworkshop
IoT.Web/Areas/HelpPage/ModelDescriptions/SimpleTypeModelDescription.cs
129
C#
using System; using System.Collections.Generic; using System.Text; namespace IdentityServer4.Models.ViewModels { public class RolesDto { public RolesDto(Roles roles,List<PermissionRecord> permission) { if (roles != null) { this.Id = roles.Id.ToString(); ...
29.148148
70
0.56798
[ "Apache-2.0" ]
radyatamaa/identity-server-4-bknri
src/Models/ViewModels/RolesDto.cs
787
C#
using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.Common; using System.Data.SqlClient; using System.Text; using Syst...
40.340741
191
0.447117
[ "MIT" ]
jlpatton/AuditBenefits
App_Code/HRA/QueryBuilder.cs
16,338
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Pathfinding : MonoBehaviour { public Transform seeker, target; Grid grid; void Awake() { grid = GetComponent<Grid>(); } void Update() { FindPath(seeker.position,target.position); } void FindPath(Vector3 startP...
23.376471
93
0.690488
[ "MIT" ]
Citem7/Pathfinding
Episode 04 - heap/Assets/Scripts/Pathfinding.cs
2,049
C#
using System; using System.Collections.Generic; using Rubeus.lib.Interop; namespace Rubeus.Commands { public class Purge : ICommand { public static string CommandName => "purge"; public void Execute(Dictionary<string, string> arguments) { Console.WriteLine("\...
24.472222
96
0.444949
[ "BSD-3-Clause" ]
0Nightsedge0/Rubeus
Rubeus/Commands/Purge.cs
883
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 Microsoft.DotNet.Cli.CommandLine; using LocalizableStrings = Microsoft.DotNet.Tools.Tool.Restore.LocalizableStrings; namespace Microsoft.D...
44.219512
101
0.613348
[ "MIT" ]
5l1v3r1/sdk-1
src/Cli/dotnet/commands/dotnet-tool/restore/ToolRestoreCommandParser.cs
1,813
C#
namespace BaristaLabs.Skrapr.Schedules { using Newtonsoft.Json; /// <summary> /// Represents a schedule defined as a Cron Expression. /// </summary> public class CronSchedule : SkraprSchedule { public override string Type { get { return "cron"; } } ...
20.869565
68
0.552083
[ "MIT" ]
BaristaLabs/BaristaLabs.Skrapr
src/BaristaLabs.Skrapr.Core/Schedules/CronSchedule.cs
482
C#
using Nuke.Common.Tooling; using Nuke.Common.Utilities.Collections; using System; using System.Collections.Generic; using System.Text; using Tool.Deploy.Utilities; namespace Tool.Deploy.AwsCdk { [Serializable] public class AwsCdkSynthSettings : ToolSettings { public override string ProcessToolPath...
40.392857
150
0.668435
[ "MIT" ]
bulsatar/nukacola
Deploy/AwsCdk/AwsCdkSynthSettings.cs
2,264
C#
using Quartz; using Quartz.Impl; using TrueOrFalse.Infrastructure; namespace TrueOrFalse.Utilities.ScheduledJobs { public static class JobScheduler { static readonly IScheduler _scheduler; static JobScheduler() { var container = AutofacWebInitializer.Run(); ...
42.891566
154
0.583989
[ "MIT" ]
memucho/webapp
src/TrueOrFalse/Tools/ScheduledJobs/JobScheduler.cs
7,122
C#
using System; using Super.Compose; using Super.Model.Selection; using Super.Model.Selection.Conditions; using Super.Reflection; namespace Super.Runtime { public class AssignedGuard<T> : AssignedGuard<T, InvalidOperationException> { protected AssignedGuard(Func<Type, string> message) : base(message) {} public A...
35.230769
94
0.631004
[ "MIT" ]
SuperDotNet/Super.NET
Super/Runtime/AssignedGuard.cs
918
C#
#region License // Copyright (c) 2007 James Newton-King // // 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, /...
35.235294
86
0.695604
[ "Apache-2.0" ]
bewood/OpenAdStack
External/Json45r7/Source/Src/Newtonsoft.Json/ReferenceLoopHandling.cs
1,799
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200614 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// <summary>Class representing an update to a Kusto cluster.</summary> public partial class ClusterUpdate { /// <summary> /// <c>A...
76.504505
272
0.690886
[ "MIT" ]
Click4PV/azure-powershell
src/Kusto/generated/api/Models/Api20200614/ClusterUpdate.json.cs
8,382
C#
namespace BeautySalon.Data.Repositories { using System; using System.Linq; using System.Threading.Tasks; using BeautySalon.Data.Common.Models; using BeautySalon.Data.Common.Repositories; using Microsoft.EntityFrameworkCore; public class EfDeletableEntityRepository<TEntity> : EfRepository...
32.745098
114
0.659281
[ "MIT" ]
ChristinaNikolova/BeautySalon
Data/BeautySalon.Data/Repositories/EfDeletableEntityRepository.cs
1,672
C#
using System; namespace CacheRepository.Configuration { public class EntityPropertiesForFile { public enum FileMode { Overwrite, Append } public EntityPropertiesForFile(Type entityType) { if (entityType == null) throw new ArgumentNullException("entityType"); EntityType = entity...
23.694444
112
0.676436
[ "Apache-2.0" ]
gbrunton/CacheRepository
CacheRepository/Configuration/EntityPropertiesForFile.cs
855
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.IO; using System.Security.Cryptography; using System.Threading; using System.Threading.Tasks; using Azure.Core.Cryptography; using Azure.Storage.Cryptography.Models; namespace Azure.Storage.Cryptography { ...
40.965278
139
0.609595
[ "MIT" ]
DiskRP-Swagger/azure-sdk-for-net
sdk/storage/Azure.Storage.Common/src/Shared/ClientsideEncryption/ClientSideEncryptor.cs
5,899
C#
 using Xamarin.Forms; namespace XamarinEvolve.Clients.UI { public class EvolveNavigationPage : NavigationPage { public EvolveNavigationPage(Page root) : base(root) { Init(); Title = root.Title; Icon = root.Icon; } public Evolve...
23.057143
87
0.477076
[ "MIT" ]
BeeLabs/app-evolve
src/XamarinEvolve.Clients.UI/Controls/EvolveNavigationPage.cs
809
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: AssemblyTi...
39.27027
85
0.72746
[ "MIT" ]
Gyokay/Telerik-Academy-Exam-Solutions
C_Sharp_2_Exam_Solutions/Variable-Length-Coding/Properties/AssemblyInfo.cs
1,456
C#
using System; using System.Linq; using System.Threading.Tasks; using Edelstein.Core; using Edelstein.Core.Extensions; using Edelstein.Core.Gameplay.Constants; using Edelstein.Core.Gameplay.Inventories; using Edelstein.Core.Gameplay.Inventories.Operations; using Edelstein.Core.Gameplay.Skills; using Edelstein.Core.Gamep...
34.85
116
0.539124
[ "MIT" ]
Bia10/Edelstein
src/Edelstein.Service.Game/Fields/Objects/User/FieldUserModify.cs
9,061
C#
namespace maskx.ARMOrchestration.Activities { public class AsyncRequestActivityInput { public string InstanceId { get; set; } public string ExecutionId { get; set; } public ProvisioningStage ProvisioningStage { get; set; } } }
29.222222
64
0.680608
[ "MIT" ]
maskx/ARMOrchestration
src/ARMOrchestration/Activities/AsyncRequestActivityInput.cs
265
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Collections; using System.Collections.Generic; using System.ComponentModel; using S...
38.915909
248
0.510313
[ "MIT" ]
SergeySmirnov-Akvelon/winforms
src/System.Windows.Forms/src/System/Windows/Forms/ToolStrip.cs
226,771
C#
/* SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * * Licensed to Elasticsearch B.V. unde...
34.54321
117
0.731951
[ "Apache-2.0" ]
opensearch-project/opensearch-net
src/OpenSearch.Client/Analysis/Analyzers/StopAnalyzer.cs
2,798
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; using System.Reflection; using Xunit; namespace System.Linq.Expressions.Tests { ...
44.198391
171
0.539185
[ "MIT" ]
OceanYan/corefx
src/System.Linq.Expressions/tests/Unary/UnaryConvertTests.cs
16,488
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...
39.275591
185
0.579391
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/PendingMaintenanceActionUnmarshaller.cs
4,988
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; using System.Collections; using UnityEngine.Events; using HoloToolkit.Unity.InputModule; namespace HoloToolkit.Examples.InteractiveElemen...
32.42029
152
0.60751
[ "MIT" ]
UBCHiveLab/SpectatorBrain
UnityProject/Assets/HoloToolkit-Examples/UX/Scripts/InteractiveToggleButton.cs
2,239
C#
using MediatR; using VideoCollection.Data; using VideoCollection.Data.Models; using VideoCollection.Utilities; using System.Threading.Tasks; using System.Data.Entity; namespace VideoCollection.Features.Blog { public class AddOrUpdateAuthorAvatarCommand { public class AddOrUpdateAuthorAvatarRequest : IR...
35.790698
139
0.666667
[ "MIT" ]
QuinntyneBrown/video-collection
src/Backend/VideoCollection/Features/Blog/AddOrUpdateAuthorAvatarCommand.cs
1,539
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Shopping_cart.Migrations { public partial class Added_Description_And_IsActive_To_Role : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "...
28.205882
75
0.547445
[ "MIT" ]
vishnupriya55/Shopping_cart
aspnet-core/src/Shopping_cart.EntityFrameworkCore/Migrations/20170621153937_Added_Description_And_IsActive_To_Role.cs
961
C#
using System; using System.Collections.Generic; using System.Text; using UnityEngine; namespace LC_Tools { public sealed class BinaryMessage { private readonly List<byte[]> _sendList = new List<byte[]>(); private int _readOffset; private byte[] _receiveArray; public int SendMsg...
32.364486
118
0.470786
[ "BSD-3-Clause" ]
LacusCon/ILHotFix
Assets/Scripts/LC_Tools/Message/BinaryMessage.cs
10,389
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace SharpMessaging.Persistence { /// <summary> /// Facade for the queue files /// </summary> /// <remarks> /// <para> /// Persistant coordinates the reader and writer cla...
35.984962
137
0.533849
[ "Apache-2.0" ]
gauffininteractive/SharpMessaging
src/lib/SharpMessaging/Persistence/PersistantQueue.cs
9,572
C#
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Linq; namespace DemoV3.Model.Base { /// AUTOGENERED BY caffoa /// [JsonObject(MemberSerialization.OptIn)] public partial class Address { public const string AddressObjectName = "address";...
34.276596
138
0.641217
[ "MIT" ]
claasd/caffoa.net
demo/DemoV3/Model/Base/Address.generated.cs
1,611
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
28.901639
79
0.485536
[ "BSD-3-Clause" ]
0xCM/z0
src/relations/src/models/NodeKT.cs
1,763
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2020 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file ...
35.037559
121
0.51293
[ "Apache-2.0" ]
AlbertoP57/YAFNET
yafsrc/YetAnotherForum.NET/Modules/PageTitleForumModule.cs
7,252
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly...
42.216216
107
0.745198
[ "MIT" ]
PatrickKranig/basics-C-console
Abfagen - If - Wenn/Login (If verschachteln)/Login (If verschachteln)/Properties/AssemblyInfo.cs
1,578
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...
26.4125
111
0.592522
[ "Apache-2.0" ]
mikemissakian/aws-sdk-net
sdk/src/Services/Organizations/Generated/AmazonOrganizationsConfig.cs
2,113
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 Xunit; namespace System.Windows.Forms.Tests { public class ToolStripTests { [Fact] p...
31.829787
78
0.588235
[ "MIT" ]
0xflotus/winforms
src/System.Windows.Forms/tests/UnitTests/ToolStrip.cs
1,498
C#
// Copyright © 2017 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using CefSharp.Example; using CefSharp.Exampl...
36.517647
128
0.5625
[ "BSD-3-Clause" ]
kevinnet37/CefSharp
CefSharp.Test/OffScreen/OffScreenBrowserBasicFacts.cs
12,417
C#
// SPDX-License-Identifier: BSD-3-Clause // // Copyright 2020 Raritan Inc. All rights reserved. // // This file was generated by IdlC from NumericSensor.idl. using System; using System.Linq; using LightJson; using Com.Raritan.Idl; using Com.Raritan.JsonRpc; using Com.Raritan.Util; #pragma warning disable 0108, 0219, ...
41.928416
215
0.680377
[ "BSD-3-Clause" ]
gregoa/raritan-pdu-json-rpc-sdk
pdu-dotnet-api/_idlc_gen/dotnet/Com/Raritan/Idl/sensors/NumericSensor_4_0_0.cs
19,329
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Web; using System.Xml.Serialization; using NewLife; using NewLife.Data; using NewLife.Log; using NewLife.Model; using Ne...
30.243902
83
0.520565
[ "MIT" ]
NewLifeX/comcms
XCoder/Entity/商家.Biz.cs
5,504
C#
using System; using System.Collections.Generic; using Umbraco.Core; using Umbraco.Core.Configuration; using Umbraco.Core.Models.PublishedContent; using Umbraco.Core.PropertyEditors; namespace Umbraco.Core.PropertyEditors.ValueConverters { /// <summary> /// The upload property value converter. /// </summar...
32.964912
117
0.600852
[ "MIT" ]
Abhith/Umbraco-CMS
src/Umbraco.Core/PropertyEditors/ValueConverters/UploadPropertyConverter.cs
1,881
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class State<T> { public Action OnEnter { get; protected set; } public Func<T> OnStay { get; protected set; } public Action OnLeave { get; protected set; } public T Na...
22.791667
73
0.619744
[ "MIT" ]
182719/Bachelor-Oppgave
BachelorScene/Assets/Scripts/State.cs
549
C#
// 283. Move Zeroes Easy // Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. // Example: // Input: [0,1,0,3,12] // Output: [1,3,12,0,0] // Note: // You must do this in-place without making a copy of the array. // Minimize the ...
30.857143
136
0.431019
[ "MIT" ]
Yqdbbh/LeetCode
Src/src/Array/MoveZeroes.cs
2,288
C#
using System; using FluentAssertions; using Xunit; namespace KubeOps.Templates.Test.Templates; [Collection("Template Tests")] public class OperatorCSharpTest : IDisposable { private readonly TemplateExecutor _executor = new(); public OperatorCSharpTest(TemplateInstaller _) { } [Fact] public ...
34.121212
133
0.618709
[ "Apache-2.0" ]
hypnopotamus/dotnet-operator-sdk
tests/KubeOps.Templates.Test/Templates/Operator.CSharp.Test.cs
3,378
C#
// ReSharper disable once CheckNamespace namespace Fluent { using System; /// <summary> /// Represents the result of <see cref="IKeyTipedControl.OnKeyTipPressed"/>. /// </summary> public class KeyTipPressedResult : EventArgs { /// <summary> /// An empty default instance. ...
34.219512
113
0.631504
[ "MIT" ]
DevTown/Fluent.Ribbon
Fluent.Ribbon/Data/KeyTipPressedResult.cs
1,405
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
37.301282
171
0.537163
[ "BSD-3-Clause" ]
Michelle-Argus/ArribasimExtract
OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs
23,276
C#
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
45.320482
159
0.619843
[ "MIT" ]
Microshaoft/Microshaoft.Common.Utilities.Net
SharedSources/Encoding/Ude/Core/Probers/SBCSGroupProber.cs
18,808
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System.Collections.Generic; using System.Collections.Immutable; using System.ComponentModel...
45.83871
194
0.766362
[ "MIT" ]
Dean-ZhenYao-Wang/roslyn
src/EditorFeatures/Core/Implementation/Diagnostics/DiagnosticsSuggestionTaggerProvider.cs
2,844
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 ...
20.449438
104
0.649176
[ "Apache-2.0" ]
fossabot/aliyun-openapi-net-sdk
aliyun-net-sdk-rds/Rds/Model/V20140815/ModifyDBInstanceTDERequest.cs
3,640
C#
using System.Collections.Generic; using System.Reflection.Emit; using System.Linq; using HarmonyLib; namespace LifecycleRebalance { /// <summary> /// Harmony transpiler to remove 'vanishing corpse' check from ResidentAI.UpdateHealth and replace it with this mod's custom probabilities. /// </sum...
47.545455
255
0.582537
[ "Apache-2.0" ]
algernon-A/Lifecycle-Rebalance-Revisited
Code/Patches/UpdateHealthTranspiler.cs
3,140
C#
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; using Sce.Atf.Applications; using Sce.Atf.VectorMath; namespace Sce.Atf.Controls.Adaptable { /// <summary> /// OBSOLETE. P...
35.505976
144
0.542639
[ "Apache-2.0" ]
StirfireStudios/ATF
Framework/Atf.Gui.WinForms/Controls/Adaptable/GridAdapter.cs
8,665
C#
using System; using System.Collections.Concurrent; using System.Reflection; using System.Runtime.Serialization; using System.Text.Json; using System.Text.Json.Serialization; namespace JsonNetMigrate.Json.Converters { /// <summary> /// An converter that extends <see cref="System.Text.Json.Serializati...
43.221402
157
0.557415
[ "MIT", "Unlicense" ]
22222/JsonNetMigrate
JsonNetMigrate/Converters/StringEnumConverter.cs
11,715
C#
#pragma checksum "D:\software engineering\вту софтуерно инженерство\1-ви курс\2-ри семестър\Уеб програмиране с .NET\Упражнения\PicturesShop mvc web asp net\PicturesShop\PicturesShop\Views\Admin\DeleteGenre.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "25606a974638b5a9bbb18f947573fc35216f4c79" // <auto-generated/> #...
80.180791
350
0.754932
[ "MIT" ]
ruydiy/PicturesShop
PicturesShop/obj/Debug/net5.0/Razor/Views/Admin/DeleteGenre.cshtml.g.cs
14,647
C#
namespace CsIRC.Core { public enum MessageTarget { User = 0, Channel = 1 } public enum ModeType { List = 0, ParamUnset = 1, ParamSet = 2, NoParam = 3, Status = 4 } public enum MessageCommandType { Privmsg = 0, Not...
14
34
0.46131
[ "MIT" ]
Heufneutje/CsIRC
CsIRC/CsIRC.Core/Enums.cs
338
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ressy.Utils; namespace Ressy.HighLevel.Versions; /// <summary> /// Version information associated with a portable executable file. /// </summary> // https://docs.microsoft.com/en-us/windows/win32/menurc/vs-versioninfo public p...
31.29703
114
0.655489
[ "MIT" ]
Tyrrrz/Ressy
Ressy/HighLevel/Versions/VersionInfo.cs
3,161
C#
using System; using System.Collections.Generic; using System.Text; namespace ReactorUI.Primitives { public struct CornerRadius { public CornerRadius(double uniformRadius) { TopLeft = TopRight = BottomRight = BottomLeft = uniformRadius; } public CornerRadius(double t...
27.296296
99
0.61194
[ "MIT" ]
adospace/ReactorUI
src/ReactorUI/Primitives/CornerRadius.cs
739
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 ...
30.797468
134
0.693794
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-sgw/Sgw/Model/V20180511/EnableGatewayLoggingRequest.cs
2,433
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using ...
24.95
103
0.714429
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionsBulbControl.xaml.cs
1,998
C#
using System; using CampgaignPOC.iOS.Resources; using CoreAnimation; using CoreGraphics; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(Entry), typeof(BorderlessEntryRenderer))] namespace CampgaignPOC.iOS.Resources { public class BorderlessEntryRenderer: EntryR...
28.885714
82
0.622156
[ "MIT" ]
malikabaglan/FundriseApp
CampgaignPOC/CampgaignPOC.iOS/Resources/BorderlessEntryRenderer.cs
1,013
C#
// ------------------------------------------------------------------------ // Muragatte - A Toolkit for Observation of Swarm Behaviour // Core Library // // Copyright (C) 2012 Jiří Vejmola. // Developed under the MIT License. See the file license.txt for details. // // Muragatte on the internet: h...
31.621212
129
0.57978
[ "MIT" ]
yuqiora/muragatte
MuragatteCore/src/Core.Environment/RectangleObstacle.cs
2,091
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Plugin.Permissions; using Plugin.Permissions.Abstractions; using Permission = Android.Content.PM.Permission; namespace QiMata.AlternativeInterfaces.Droid { [Activi...
32.567568
205
0.720332
[ "Apache-2.0" ]
QiMata/Alternative-Device-Interfaces-and-Machine-Learning
src/QiMata.AlternativeInterfaces/Android/MainActivity.cs
1,207
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: AssemblyTitl...
38.777778
85
0.730659
[ "MIT" ]
Ashram56/DirectOutput
DOFSetupB2SFixup/Properties/AssemblyInfo.cs
1,397
C#
using Content.Server.Cuffs.Components; using Content.Server.Hands.Components; using Content.Shared.ActionBlocker; using Content.Shared.Cuffs; using Content.Shared.Hands.Components; using Content.Shared.MobState.Components; using Content.Shared.Popups; using Content.Shared.Verbs; using JetBrains.Annotations; using Robus...
36.767123
155
0.583271
[ "MIT" ]
AzzyIsNotHere/space-station-14
Content.Server/Cuffs/CuffableSystem.cs
5,368
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using SweetTooth.Models; using Microsoft.AspNetCore.Identity; namespace SweetTooth { ...
27.869565
74
0.678107
[ "MIT" ]
jamisoncozart/Sweet-Tooth
SweetTooth/Startup.cs
1,923
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CSharpWebResourceProjectTemplate")] [assembly: AssemblyDescription("CSharpWebResourceProjectTemplate")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif [assembly: Ass...
35.4
67
0.786723
[ "MIT" ]
Kayserheimer/Dynamics-Crm-DevKit
v2/ProjectTemplates/CSharp/05.WebResourceProjectTemplate/Properties/AssemblyInfo.cs
711
C#
// Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary f...
47.864407
84
0.692989
[ "BSD-3-Clause" ]
Key4ce/Websitepanel
WebsitePanel/Sources/WebsitePanel.Providers.Base/Virtualization/Replication/ReplicationDetailInfo.cs
2,824
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Web; namespace Incubadora.Helpers.Exportacion { public class ListtoDataTableConverter { /// <summary> /// Esta clase se encarga de pintar las listas de objetos a un DataTable...
33.333333
108
0.512143
[ "MIT" ]
IncubadoraUniversidad/Incubadora
Incubadora/Helpers/Exportacion/ListtoDataTableConverter.cs
1,402
C#
using System; using System.Collections.Generic; namespace OpenRpg.AdviceEngine.Extensions { public static class IDisposableExtensions { public static void DisposeAll(this IEnumerable<IDisposable> disposables) { foreach(var disposable in disposables) { disposable.Dispose...
31.96875
126
0.638319
[ "MIT" ]
openrpg/OpenRpg.AdviceEngine
src/OpenRpg.AdviceEngine/Extensions/IDisposableExtensions.cs
1,025
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO.Pipelines; using System.Linq; using System.Net.Http; using System.Runtime.InteropService...
42.076299
183
0.576102
[ "Apache-2.0" ]
Deckhandfirststar01/AspNetCore
src/SignalR/clients/csharp/Http.Connections.Client/src/HttpConnection.cs
25,919
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Crosshair : MonoBehaviour { public float PosX = 0; public float PosY = 0; public Text debug; // Use this for initialization void Start () { } // Update is called once per frame...
23.771429
75
0.533654
[ "MIT" ]
azakhi/JASG
Assets/Scripts/Crosshair.cs
834
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.IO; using System.Linq; using Microsoft.DotNet.TestFramework; using Microsoft.DotNet...
38.78169
140
0.583802
[ "MIT" ]
crummel/dotnet_cli
test/Kestrel.Tests/DotnetTest.cs
5,509
C#
// <auto-generated /> using System; using JjOnlineStore.Data.EF; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace...
34.135802
125
0.480832
[ "MIT" ]
profjordanov/JJ-Online-Store
Data/JjOnlineStore.Data.EF/Migrations/20180922172757_AddProducts.Designer.cs
11,062
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.933538
221
0.676308
[ "Apache-2.0" ]
GitGaby/aws-sdk-net
sdk/src/Services/DataPipeline/Generated/_bcl45/AmazonDataPipelineClient.cs
90,892
C#
using DCL.Controllers; using DCL.Helpers; using DCL.Models; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Assertions; using UnityEngine.UI; namespace DCL.Components { public class UIContainerStack : UIShape<UIContainerRectReferencesContainer, UIContainerStack.Mode...
36.941176
118
0.636943
[ "Apache-2.0" ]
maraoz/explorer
unity-client/Assets/Scripts/MainScripts/DCL/Components/UI/UIContainer/UIContainerStack.cs
5,652
C#
using System.Collections.Generic; using System.Threading.Tasks; using Amazon.Lambda.SQSEvents; namespace Xerris.DotNet.Core.Aws.Sqs { public abstract class SqsMessageProcessor<T> : IConsumeSqsMessages<T> where T : class { private readonly IConsumeSqsMessages<T> consumer; private readonly IPubli...
29.787879
104
0.660224
[ "MIT" ]
xerris/Xerris.DotNet.Core.Aws
src/Xerris.DotNet.Core.Aws/Sqs/SqsMessageProcessor.cs
983
C#
/* Copyright (C) Olivier Nizet https://github.com/onizet/html2openxml - All Rights Reserved * * This source is subject to the Microsoft Permissive License. * Please see the License.txt file for more information. * All other rights reserved. * * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRA...
25.153846
97
0.654179
[ "MIT" ]
Avnio/html2openxml
src/Html2OpenXml/Utilities/Logging.cs
3,926
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...
30.49
185
0.596917
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ConfidentialLedger/V20210513Preview/GetLedger.cs
3,049
C#
using AgendaContatos.Models; using System.Collections.Generic; using System.Web.Mvc; namespace AgendaContatos.Controllers { public class ContatosController : Controller { // GET: Contatos/AdicionarContato public ActionResult AdicionarContato() { var contato = new Contato();...
26.326087
79
0.546656
[ "Apache-2.0" ]
MSavioti/Estudo-AgendaContatos
AgendaContatos/Controllers/ContatosController.cs
1,213
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. namespace Microsoft.CodeAnalysis.CSharp { internal sealed class NameofBinder : Binder { private readonly SyntaxNode _nameofArgument; ...
32.411765
161
0.709619
[ "Apache-2.0" ]
0x53A/roslyn
src/Compilers/CSharp/Portable/Binder/NameofBinder.cs
553
C#
using System; using System.Collections.Generic; using Reloaded.Messaging.Interfaces; namespace Reloaded.Messaging { /// <summary> /// Class which provides, client-side the ability to override serializers and compressors for specified types. /// Use either for testing or benchmarking. /// </summary> ...
35.588235
118
0.715702
[ "MIT" ]
Reloaded-Project/Reloaded.Messaging
Source/Reloaded.Messaging/Overrides.cs
607
C#
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.a...
45.656863
195
0.648701
[ "MIT" ]
BurgerZ/azure-powershell
src/Cdn/Cdn/AfdProfile/RemoveAzAfdProfile.cs
4,558
C#
#region BSD License /* * * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) * © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved. * * New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE) * ...
39.873874
119
0.546317
[ "BSD-3-Clause" ]
Krypton-Suite/Standard-Toolkit
Source/Krypton Components/Krypton.Toolkit/ButtonSpec/ButtonSpecFormWindowClose.cs
4,429
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System; using System.Diagnostics.Contracts; using Sportradar.OddsFeed.SDK.Common.Internal; using Sportradar.OddsFeed.SDK.Entities.REST.Internal.DTO; using Sportradar.OddsFeed.SDK.Entities.REST.Internal.Mapping; using Sportradar...
47.333333
201
0.677465
[ "Apache-2.0" ]
Furti87/UnifiedOddsSdkNet
src/Sportradar.OddsFeed.SDK.Entities.REST/Internal/DateScheduleProvider.cs
3,552
C#
using Quaver.Server.Common.Objects.Multiplayer; using Quaver.Shared.Online; using Wobble.Graphics; namespace Quaver.Shared.Screens.Result.UI.Multiplayer { public class ResultMultiplayerContainer : Container { /// <summary> /// </summary> private ResultScreen Screen { get; } ///...
28.265306
82
0.530686
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Adrriii/Quaver
Quaver.Shared/Screens/Result/UI/Multiplayer/ResultMultiplayerContainer.cs
1,385
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Assertions; namespace ViewerOption { public enum EyeOption { Left, Right, Both }; public enum HandOption { Right, Left }; } public class ViewerOptionSelector : MonoBehaviour { ...
29.655556
109
0.675909
[ "MIT" ]
GeometricFishTankVR/ViewpointCalibration
Unity_Projects/cubee-user-calibration/Assets/Spheree/Scripts/ViewerOptionSelector.cs
2,671
C#