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 Assets.Scripts.Model; using Com.Game.Data; using Com.Game.Manager; using Com.Game.Module; using MobaProtocol; using MobaProtocol.Data; using System; using System.Collections.Generic; using UnityEngine; namespace Assets.Scripts.GUILogic.View.Runes { public class RunesCoalesceMiddle : MonoBehaviour ...
26.794248
359
0.657501
[ "MIT" ]
corefan/mobahero_src
Assets.Scripts.GUILogic.View.Runes/RunesCoalesceMiddle.cs
12,153
C#
using System; using System.Collections.Generic; using Xunit; namespace DesignPatterns.Creational { public class Builder : DesignPattern { public override void Execute() { var chef = new PizzaChef(); chef.SetPizzaRecipe(new PepperoniPizzaRecipe()); chef.Cons...
28.893401
133
0.527231
[ "MIT" ]
Arcxk/DesignPatterns
DesignPatterns/Creational/Builder.cs
5,694
C#
using System; using System.Collections.Generic; using System.Text; namespace BookManager.Domain.Commands.CategoryCommands { public class UpdateCategoryCommand { } }
16.272727
54
0.765363
[ "MIT" ]
thiagocruzrj/BookManager
src/BookManager.Domain/Commands/CategoryCommands/UpdateCategoryCommand.cs
181
C#
using System; using System.Collections.Generic; using System.Web; using Bloom.Api; using Bloom.Book; using Bloom.Edit; using Microsoft.CSharp.RuntimeBinder; namespace Bloom.web.controllers { /// <summary> /// This API handles requests to add new pages and change existing pages to match some other layout. /// </summ...
38.278571
125
0.759097
[ "MIT" ]
nabalone/BloomDesktop
src/BloomExe/web/controllers/AddOrChangePageApi.cs
5,359
C#
using GroupDocs.Annotation.Models; using GroupDocs.Total.WebForms.Products.Annotation.Entity.Web; using System.Collections.Generic; namespace GroupDocs.Total.WebForms.Products.Annotation.Annotator { public abstract class AbstractTextAnnotator : BaseAnnotator { protected AbstractTextAnnotator(Annotatio...
46.5
135
0.655317
[ "MIT" ]
faizin87/GroupDocs.Total-for-.NET
Demos/WebForms/src/Products/Annotation/Annotator/AbstractTextAnnotator.cs
1,676
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace DotNetNinja.Wpf.Commands { public class CommandParametrized<TParameter> : ICommand { public event EventHandler CanExecuteChanged; protected...
24
88
0.567177
[ "MIT" ]
ninjah187/DotNetNinja
DotNetNinja.Wpf.Commands/DotNetNinja.Wpf.Commands/CommandParametrized.cs
1,178
C#
// // RtfCompressedToRtfTests.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2020 Xamarin Inc. (www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in...
37.561798
122
0.721807
[ "MIT" ]
EssentialNRG/MimeKit
UnitTests/Text/RtfCompressedToRtfTests.cs
3,345
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; namespace TalkNotesBack { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in code...
29.59375
165
0.616684
[ "MIT" ]
sebug/TalkNotesBack
TalkNotesBack/TalkNoteService.svc.cs
949
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.Immutable; using System.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; using Mi...
44.080508
161
0.633663
[ "Apache-2.0" ]
GovernessS/roslyn
src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseRangeOperatorCodeFixProvider.cs
10,405
C#
namespace Witter.Services.Data { using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Witter.Data.Common.Repositories; using Witter.Data.Models; using Witter.Data.Models.Enums; using Witter.Services.Data.Contracts; public class FollowerService : ...
34.802326
154
0.590378
[ "MIT" ]
Dreed657/Witter
src/Services/Witter.Services.Data/FollowerService.cs
2,995
C#
using System; using System.Collections.Generic; using System.Linq; using EcsRx.Examples.ExampleApps.Performance.Components.Specific; using EcsRx.Groups; namespace EcsRx.Examples.ExampleApps.Performance.Helper { public class RandomGroupFactory { public IEnumerable<Type> GetComponentTypes => _componentT...
30.675676
118
0.597357
[ "MIT" ]
EcsRx/ecsrx
src/EcsRx.Examples/ExampleApps/Performance/Helper/RandomGroupFactory.cs
1,137
C#
using Microsoft.CodeAnalysis; namespace NSubstitute.Analyzers.Shared.DiagnosticAnalyzers { internal readonly struct NonSubstitutableMemberAnalysisResult { public bool CanBeSubstituted { get; } public bool NonVirtualMemberSubstitution { get; } public bool InternalMemberSubsti...
31.705882
93
0.640074
[ "MIT" ]
nsubstitute/NSubstitute.Analyzers
src/NSubstitute.Analyzers.Shared/DiagnosticAnalyzers/NonSubstitutableMemberAnalysisResult.cs
1,078
C#
///* // link: https://practice.geeksforgeeks.org/problems/largest-bst/1 // set2: https://www.geeksforgeeks.org/largest-bst-binary-tree-set-2/ // set1 (just refer it): https://www.geeksforgeeks.org/find-the-largest-subtree-in-a-tree-that-is-also-a-bst/ //*/ //// ----------------------------------------------...
26.553571
127
0.546738
[ "MIT" ]
harshanu11/Love-Babbar-450-In-CSharp
Love-Babbar-450-In-CSharp/07_binary_search_trees/21_largest_BST_in_binary_tree.cs
2,974
C#
using AutoFixture; using MediatR; using Moq; using NUnit.Framework; using SFA.DAS.CommitmentsV2.Application.Commands.ValidateApprenticeshipForEdit; using SFA.DAS.CommitmentsV2.Domain.Entities.EditApprenticeshipValidation; using SFA.DAS.CommitmentsV2.Domain.Interfaces; using SFA.DAS.CommitmentsV2.Shared.Interfaces; usi...
41.316667
202
0.70956
[ "MIT" ]
SkillsFundingAgency/das-commitments
src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Application/Commands/ValidateApprenticeshipForEditCommandHandlerTests.cs
2,481
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
38.17875
179
0.532986
[ "MIT" ]
belav/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/MultiplyDoublingWideningLowerAndAddSaturate.Vector64.Int32.cs
30,543
C#
/* Copyright 2017 Microsoft 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, sublice...
40.676647
170
0.632563
[ "MIT" ]
mehrdad-shokri/iot-core-azure-dm-client
tests/E2ETestApp/MockObjects/MockDeviceClientApp.cs
6,795
C#
using Maincotech.ExamAssistant; using Maincotech.ExamAssistant.ViewModels; using ReactiveUI; using System; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reactive; using System.Threading.Tasks; namespace Maincotech.ExamAssistant.Pages.Exam { publ...
33.988095
124
0.557501
[ "MIT" ]
maincotech/quizmaker
src/Maincotech.ExamAssistant.Maker/Pages/Exam/Edit.razor.ViewModel.cs
8,567
C#
// Copyright 2021-present Etherna Sagl // // 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 applicabl...
38.607143
98
0.743756
[ "Apache-2.0" ]
Etherna/etherna-credit
src/EthernaCredit/Areas/Api/Services/IUserControllerService.cs
1,083
C#
using Miru.Fabrication; using Miru.Fabrication.FixtureConventions; namespace Corpo.Skeleton.Tests; public class SkeletonFabricator : Fabricator { public SkeletonFabricator(FabSupport context) : base(context) { Fixture.AddConvention(cfg => { cfg.IfPropertyNameIs("Name").Use(f => f.N...
23.733333
69
0.671348
[ "MIT" ]
MiruFx/Miru
samples/Corpo.Skeleton/tests/Corpo.Skeleton.Tests/SkeletonFabricator.cs
356
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2020 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ using GameFramework.Download; using...
47.682489
354
0.516868
[ "MIT" ]
jaysunxiao/zsharp
GameFramework/Resource/ResourceManager.ResourceUpdater.cs
45,842
C#
using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; namespace Microsoft.eShopWeb.Web.API { public class CustomSchemaFilters : ISchemaFilter { public void Apply(OpenApiSchema schema, SchemaFilterContext context) { var excludeProperties = new[] { "CorrelationId" ...
27.944444
76
0.648111
[ "MIT" ]
AccedeLtd/eShopOnWeb
src/Web/API/CustomSchemaFilters.cs
505
C#
namespace Macabresoft.Macabre2D.Framework; using System; using Microsoft.Xna.Framework; /// <summary> /// Wraps a <see cref="GameTime" /> to provide seconds passed in regards to a predefined game speed. /// </summary> public struct FrameTime { /// <summary> /// A <see cref="FrameTime" /> without any time pass...
33.730159
100
0.660235
[ "MIT" ]
BrettStory/Macabre2D
Framework/Time/FrameTime.cs
2,125
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...
47.671458
1,743
0.620176
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPool.cs
23,216
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 ...
40.261905
105
0.775872
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-ddoscoo/Ddoscoo/Transform/V20200101/DescribeDomainOverviewResponseUnmarshaller.cs
1,691
C#
// // Copyright (c) 2019-2020 Ryujinx // // This program 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 // (at your option) any later version. // // This program i...
37.622951
169
0.636601
[ "MIT" ]
AkechiShiro/Ryujinx
Ryujinx.Audio.Renderer/Common/VoiceUpdateState.cs
4,590
C#
using Accounting.Application.Common.Interfaces; using FluentValidation; using Microsoft.EntityFrameworkCore; using System; using System.Threading; using System.Threading.Tasks; namespace Accounting.Application.DetailAccounts.Commands.CreateCommand { public class CreateDetailAccountCommandValidator : AbstractValid...
42.803922
150
0.673843
[ "MIT" ]
shadi-alhaj/Accounting
src/Application/DetailAccounts/Commands/CreateCommand/CreateDetailAccountCommandValidator.cs
2,185
C#
//File automatically generated using robotdotnet-tools. Please do not modify. using System; using System.Runtime.InteropServices; // ReSharper disable CheckNamespace namespace HAL.Base { public partial class HALCanTalonSRX { static HALCanTalonSRX() { HAL.Initialize(); } ...
62.371951
260
0.821244
[ "MIT" ]
Team-1922/OzWPILib.NET
HAL/Delegates/HALCanTalonSRXGenerated.cs
20,458
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.055794
102
0.56076
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Glue/Generated/Model/CsvClassifier.cs
7,003
C#
// Developed by Softeq Development Corporation // http://www.softeq.com using System; using System.Diagnostics.CodeAnalysis; using NSubstitute; using Softeq.XToolkit.Common.Tests.WeakTests.Utils; using Xunit; namespace Softeq.XToolkit.Common.Tests.WeakTests.WeakFuncTests { [SuppressMessage("ReSharper", "xUnit1026...
41.240741
138
0.722048
[ "MIT" ]
Softeq/XToolkit.WhiteLabel
Softeq.XToolkit.Common.Tests/WeakTests/WeakFuncTests/WeakAnonymousFuncWithLocalReferenceTests.cs
2,227
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Activities; using System.Activities.Presentation.Metadata; using System.ComponentModel; using System.Data; using System.Xml.Linq; using Newtonsoft.Json.Linq; using System.IO; using Newtonsoft.Json; namespac...
33.091892
116
0.438909
[ "MIT" ]
vikasrawat911/ReadXmlOrJson
readXmlClass.cs
6,124
C#
using Abp.MultiTenancy; using demoFirstApp.Authorization.Users; namespace demoFirstApp.MultiTenancy { public class Tenant : AbpTenant<User> { public Tenant() { } public Tenant(string tenancyName, string name) : base(tenancyName, name) { ...
18.333333
54
0.569697
[ "MIT" ]
MatiasDevop/abp-netcore
aspnet-core/src/demoFirstApp.Core/MultiTenancy/Tenant.cs
332
C#
//Write a program that reads from the console a sequence of n integer numbers and returns the minimal, the maximal number, the sum and the average of all numbers (displayed with 2 digits after the decimal point). //The input starts by the number n (alone in a line) followed by n lines, each holding an integer number. ...
31.162162
213
0.565481
[ "MIT" ]
ztodorova/Telerik-Academy
C#-part1/Loops/3. MinMaxSumAverageOfNnumbers/MinMaxSumAverageOfNnumbers.cs
1,155
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
44.02
85
0.587006
[ "CC0-1.0" ]
gaybro8777/FM-ULO
Archive/OpenItems/Data/tblMainForExcelImport0325.cs
2,201
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Dynamics365.UIAutomation.Api.UCI; using Microsoft.Dynamics365.UIAutomation.Browser; using System; using System.Security; namespace Microsoft.Dyn...
39.241758
142
0.608513
[ "MIT" ]
operep/Easy-Repro-Example
Microsoft.Dynamics365.UIAutomation.Sample/UCI/SetValue.cs
3,573
C#
public class InterpolatingModule : IDigiModule { public IDigiFilter Filter { get; private set; } public Form Form { get; private set; } public InterpolatingModule() { CreateFilterForProperty("Price"); FillForm(); } public void ApplyForm() { var field = Form.GetEn...
23.675
99
0.598733
[ "MIT" ]
r0ehre/digimart
Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/Model/Modules/InterpolatingModule.cs
949
C#
using NUnit.Framework; using RefactoringEssentials.CSharp.Diagnostics; namespace RefactoringEssentials.Tests.CSharp.Diagnostics { [TestFixture] [Ignore("TODO: Issue not ported yet")] public class ForCanBeConvertedToForeachTests : CSharpDiagnosticTestBase { [Test] public void TestArrayCa...
17.181373
76
0.566334
[ "MIT" ]
Wagnerp/RefactoringEssentials
Tests/CSharp/Diagnostics/ForCanBeConvertedToForeachTests.cs
3,505
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("Qu...
38.72973
84
0.75157
[ "Apache-2.0" ]
qulia/CrackingTheCodingInterview
Question_16_08_EnglishIntTests/Properties/AssemblyInfo.cs
1,436
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.ComponentModel; namespace System.Drawing.Design { /// <summary> /// Provi...
48.978723
155
0.682884
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms/src/System/Drawing/Design/IPropertyValueUIService.cs
2,304
C#
using SimpleTools.App.ViewModels; using System.Linq; using Windows.UI.Xaml.Controls; namespace SimpleTools.App.Views { public sealed partial class YouTubeTimestampLinkerPage : Page { public YouTubeTimestampLinkerPage() { InitializeComponent(); DataContext = ViewModelLoc...
27.2
106
0.605392
[ "MIT" ]
aaron-salisbury/SimpleTools
SimpleTools/SimpleTools.App/Views/Tools/Web/YouTubeTimestampLinkerPage.xaml.cs
818
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Logging; using SimpleIdServer.OpenBankingApi.Exceptions; using System.Net; namespace SimpleIdServer.OpenBankingApi.Infrastructure.Filters { public class HttpGlobalExceptionFilter : I...
41.1875
165
0.670207
[ "Apache-2.0" ]
LaTranche31/SimpleIdServer
src/OpenBankingApi/SimpleIdServer.OpenBankingApi/Infrastructure/Filters/HttpGlobalExceptionFilter.cs
1,979
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Tests.Pagination { using System; using System.Collections.Generic; using System.IO; ...
40.26087
111
0.561555
[ "MIT" ]
Arithmomaniac/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Pagination/ReadFeedPageExtensions.cs
1,854
C#
using TheMovieDbNet.Models.Common; namespace TheMovieDbNet.Models.TVs { /// <summary> /// Represents movie settings used in search. /// </summary> public class TVSearchSettings : SearchSettings { /// <summary> /// Gets or Sets language of search query /// </summary> public string Language { get; set; } ...
24.194444
60
0.657865
[ "MIT" ]
Kerego/TheMovieDbNet
src/TheMovieDBNet/Models/TVs/TVSearchSettings.cs
871
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.972973
85
0.718729
[ "MIT" ]
d3x0r/xperdex
OpenSkiePOS/OpenSkieScheduler/ScheduleDesigner2/Properties/AssemblyInfo.cs
1,482
C#
using Microsoft.AspNetCore.Components.WebAssembly.Authentication; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazingPizza.Client { public class PizzaAuthenticationState : RemoteAuthenticationState { public Order Order { get; set; } } ...
23
69
0.770186
[ "MIT" ]
alberto-bp/blazor-workshop
save-points/00-get-started/BlazingPizza.Client/PizzaAuthenticationState.cs
324
C#
using System; using BenchmarkDotNet.Portability; namespace BenchmarkDotNet.Horology { public static class Chronometer { public static readonly IClock Stopwatch = new StopwatchClock(); public static readonly IClock DateTime = new DateTimeClock(); public static readonly IClock WindowsClo...
37.844444
103
0.630065
[ "MIT" ]
agocke/BenchmarkDotNet
src/BenchmarkDotNet.Core/Horology/Chronometer.cs
1,705
C#
//----------------------------------------------------------------------------- // Filename: STUNv2AddressAttribute.cs // // Description: Implements STUN address attribute as defined in RFC5389. // // Author(s): // Aaron Clauson // // History: // 26 Nov 2010 Aaron Clauson Created (aaron@sipsorcery.com), SIP Sorcery PTY...
36.333333
137
0.584862
[ "BSD-3-Clause" ]
apdevelop/sipsorcery
src/net/STUNv2/STUNAttributes/STUNv2AddressAttribute.cs
3,488
C#
using System; using System.Text.RegularExpressions; namespace ConsoleApp.Validator { public class SimpleEmailValidator : IInputValidator { public SimpleEmailValidator(String invalidMessage) { InvalidMessage = invalidMessage; } const String ValidatePattern = "^[a-zA-Z0-9_-]+(?:\...
38.833333
169
0.622318
[ "Unlicense" ]
asakura89/AspNetMembershipPasswordReset
AspNetMembershipPasswordReset/Vendor/ConsoleApp/Validator/SimpleEmailValidator.cs
699
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.Reflection.Emit; /// <summary> /// OpCodes.Mul [v-minch] /// </summary> public class OpCod...
36.974026
183
0.588339
[ "MIT" ]
AaronRobinsonMSFT/coreclr
tests/src/CoreMangLib/cti/system/reflection/emit/opcodes/opcodesmul.cs
5,694
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("De...
40.081081
84
0.752529
[ "BSD-3-Clause" ]
debug-sharp/example-win-forms
Properties/AssemblyInfo.cs
1,486
C#
using UnityEngine; using System.Collections; using OpenMined.Syft.Tensor; using OpenMined.Network.Controllers; /** * Like CrossEntropyLoss, but follows the spec of Keras implementation * of Categorical cross entropy */ namespace OpenMined.Syft.Layer.Loss { public class CategoricalCrossEntropyLoss...
26.097561
109
0.642056
[ "Apache-2.0" ]
justin1121/OpenMined
UnityProject/Assets/OpenMined/Syft/NN/Loss/CategoricalCrossEntropyLoss.cs
1,070
C#
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities { using System.Activities.Validation; using System.Collection...
35.167442
169
0.493586
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/NetFx40/System.Activities/System/Activities/ActivityLocationReferenceEnvironment.cs
7,561
C#
using OA.Core; using OA.Core.Input; using OA.Core.UI; using OA.Ultima.World; using OA.Ultima.World.Entities; using OA.Ultima.World.Entities.Mobiles; using UnityEngine; namespace OA.Ultima.UI.Controls { class PaperdollInteractable : Gump { bool _isFemale; bool _isElf; Gump...
35.106742
119
0.496559
[ "MIT" ]
BclEx/object-assets
src/ObjectManager/Object.Ultima.Game/UI/Controls/PaperdollInteractable.cs
6,251
C#
using System; using NUnit.Framework; namespace WebGL.UnitTests { [TestFixture] public class FramebufferTest : BaseTest { [Test(Description = "")] public void ShouldDoMagic() { throw new NotImplementedException(); } } }
18.666667
48
0.596429
[ "Apache-2.0" ]
jdarc/webgl.net
WebGL.UnitTests/conformance/v100/FramebufferTest.cs
282
C#
using System; using System.Collections.Generic; using System.Linq; using Akka.Actor; using Akka.Configuration; namespace Akka.Dispatch { /// <summary> /// Class Mailboxes. /// </summary> public class Mailboxes { /// <summary> /// The system /// </summary> pr...
35.077586
128
0.567461
[ "Apache-2.0" ]
HCanber/akka.net
src/core/Akka/Dispatch/Mailboxes.cs
4,071
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
31.9
173
0.670063
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/crossplane/dotnet/Kubernetes/Crds/Operators/Crossplane/Packages/V1Alpha1/Inputs/PackageSpecControllerDeploymentSpecTemplateSpecVolumesFlexVolumeArgs.cs
1,276
C#
using Microsoft.AspNetCore.Mvc; using Senparc.Areas.Admin.Filters; using Senparc.Core.Models.VD; using Senparc.Scf.Core.Models.VD; namespace Senparc.Areas.Admin { public interface IBaseAdminPageModel : IBasePageModel { } //暂时取消权限验证 //[ServiceFilter(typeof(AuthenticationAsyncPageFilterAttribute)...
30.35
201
0.657331
[ "Apache-2.0" ]
502931221/SCF
src/Senparc.Areas.Admin/BaseAdminPageModel.cs
1,288
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2022 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain ...
28.416667
90
0.564726
[ "Apache-2.0" ]
AaronWu666/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Analysis/AnalysisResultJson/InterfaceAnalysisItemJson.cs
2,687
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BE; using System.Data; using System.Data.SqlClient; using Dapper; namespace DAO { public class Det_Evento_ServicioDAO { public static List<Servicio> BuscarDetEvento_Servicio(int id...
29.909091
126
0.49734
[ "MIT" ]
carloseip/ApiEventos
DAO/Det_Evento_ServicioDAO.cs
2,637
C#
using System; using System.Collections.Generic; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using Content.Server.GameObjects.Components.Access; using Content.Server.GameObjects.Components.Movement; using Content.Server.GameObjects.EntitySystems.AI.Pathfinding; using Con...
39.949861
146
0.554595
[ "MIT" ]
FoundVivo/space-station-14
Content.Server/GameObjects/EntitySystems/AI/Steering/AiSteeringSystem.cs
28,684
C#
// Generated by gencs from visualization_msgs/InteractiveMarkerPose.msg // DO NOT EDIT THIS FILE BY HAND! using System; using System.Collections; using System.Collections.Generic; using SIGVerse.RosBridge; using UnityEngine; using SIGVerse.RosBridge.std_msgs; using SIGVerse.RosBridge.geometry_msgs; namespace SIGVers...
22.653846
93
0.736842
[ "MIT" ]
Ohara124c41/TUB-MSc_Thesis
SEK_01_MkI/Assets/SIGVerse/Common/ROSBridge/messaging/visualization_msgs/InteractiveMarkerPose.cs
1,178
C#
// // MusicBrainzQueryJob.cs // // Author: // Aaron Bockover <abockover@novell.com> // Aurélien Mino <aurelien.mino@gmail.com> // // Copyright (C) 2006-2008 Novell, Inc. // Copyright (C) 2010 Aurélien Mino // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and ass...
33.544041
132
0.562249
[ "MIT" ]
Dynalon/banshee-osx
src/Core/Banshee.Services/Banshee.Metadata.MusicBrainz/MusicBrainzQueryJob.cs
6,476
C#
namespace Gripper.ChromeDevTools.Audits { using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime.Serialization; /// <summary> /// HeavyAdReason /// </summary> [JsonConverter(typeof(StringEnumConverter))] public enum HeavyAdReason { [EnumMember(Value = ...
25.6
49
0.648438
[ "MIT" ]
tomaskrupka/Gripper
src/Gripper.ChromeDevTools/Audits/HeavyAdReason.cs
512
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> //---------------------------------...
34.502222
85
0.532011
[ "MIT" ]
UmairHabib/Web-Based-Pharmacy-using-C-Sharp-and-SQL
Pharmacy/MedicalStore/Medicine.aspx.designer.cs
7,765
C#
using Unity.UIWidgets.foundation; using Unity.UIWidgets.ui; using UnityEngine; using Rect = Unity.UIWidgets.ui.Rect; namespace Unity.UIWidgets.flow { public class TextureLayer : Layer { Offset _offset = Offset.zero; public Offset offset { set { this._offset = value ?? Offset.z...
24.615385
87
0.552344
[ "BSD-3-Clause" ]
ServiceStack/script-unity
MyFirstGame/Library/PackageCache/com.unity.uiwidgets@1.0.6-preview/Runtime/flow/texture_layer.cs
1,280
C#
namespace Vyn; /// <summary> /// This class describes the base of every game. This is the main class and entry point for every game. /// It holds specific information and the main entry point to the underlying game's API. /// Every game needs exact one class inheriting this class. /// </summary> public abstract class...
37.076923
103
0.676349
[ "MIT" ]
VynEngine/Vyn
Vyn/VynGame.cs
966
C#
using System; namespace GovernCMS.ViewModels { public class LoginViewModel { public String EmailAddr { get; set; } public String Passwd { get; set; } public String RedirectUrl { get; set; } } }
21
47
0.623377
[ "MIT" ]
ptenn/govern-cms
GovernCMSWeb/ViewModels/LoginViewModel.cs
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/prsht.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime.C...
29.716667
145
0.579921
[ "MIT" ]
Perksey/terrafx.interop.windows
sources/Interop/Windows/um/prsht/PROPSHEETPAGEA_V2.cs
3,568
C#
using Microsoft.CodeAnalysis; using Semmle.Extraction.Kinds; namespace Semmle.Extraction.CSharp.Entities.Expressions { class This : Expression { This(IExpressionInfo info) : base(info) { } public static This CreateImplicit(Context cx, Type @class, Extraction.Entities.Location loc, IExpressionP...
39.8125
157
0.737834
[ "MIT" ]
Abdullahki/codeql
csharp/extractor/Semmle.Extraction.CSharp/Entities/Expressions/This.cs
637
C#
/* * Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ namespace SafeExamBrowser....
34.5625
93
0.734177
[ "MPL-2.0" ]
RickAllMighty8195/seb-win-refactoring
SafeExamBrowser.Browser.Contracts/Events/DownloadRequestedEventHandler.cs
556
C#
using MCTuristic_Centro_Historico.localhost; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace MCTuristic_Centro_Historico.GUI { public partial class Suscripciones : System.Web.UI.Page { int idUser; ...
30.010204
116
0.50561
[ "MIT" ]
JLPuc/TU
Proyecto0.1/MCTuristic_Centro_Historico/MCTuristic_Centro_Historico/GUI/Suscripciones.aspx.cs
2,945
C#
namespace ContosoUniversity.Migrations { using System; using System.Data.Entity.Migrations; public partial class SoftDelete : DbMigration { public override void Up() { AddColumn("dbo.Person", "IsDeleted", c => c.Boolean()); } public override void...
21.421053
67
0.547912
[ "MIT" ]
j-kelly/ContosoUniversity
src/ContosoUniversity.Domain.Core/Repository/Migrations/201509040833136_SoftDelete.cs
407
C#
// Generated class v2.50.0.0, don't modify using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace NHtmlUnit.Svg { public partial class SvgFeTile : NHtmlUnit.Svg.SvgElement, NHtmlUnit.W3C.Dom.INode, NHtmlUnit.W3C.Dom.IElement ...
26.566667
114
0.685069
[ "Apache-2.0" ]
HtmlUnit/NHtmlUnit
app/NHtmlUnit/Generated/Svg/SvgFeTile.cs
797
C#
using Codeplex.Data; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ALVR { class ClientSocket { TcpClient client; Action StartServerCallback; ...
27.954023
88
0.422903
[ "MIT", "BSD-3-Clause" ]
CHOI-HOGI/ALVR
ALVR/ClientSocket.cs
4,866
C#
using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Windows; using System.Windows.Controls; using andrefmello91.Extensions; using andrefmello91.Material.Reinforcement; using andrefmello91.SPMElements.StringerProperties; using SPMTool.Ann...
24.619958
152
0.673508
[ "MIT" ]
andrefmello91/SPMTool
SPMTool/UserInterface/Windows/StringerWindow.xaml.cs
11,599
C#
using System; using System.Collections.Generic; using System.Text; namespace KDTreeDLL { /// <summary> /// Bjoern Heckel's solution to the KD-Tree n-nearest-neighbor problem /// </summary> class NearestNeighborList { public static int REMOVE_HIGHEST = 1; public static int REMOVE_LOW...
24.426829
77
0.510734
[ "MIT" ]
ctyeong/unitytool
Assets/Scripts/KD Tree/NearestNeighborList.cs
2,003
C#
//------------------------------------------------------------------------------ // <auto-generated> // Il codice è stato generato da uno strumento. // Versione runtime:4.0.30319.42000 // // Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se // il c...
45.405405
181
0.622917
[ "MIT" ]
Liquid-S/SDSE1-s-Sidekick
Properties/Resources.Designer.cs
3,366
C#
using System; using System.Collections.Generic; namespace Ystervark.Database.Models { public partial class Journey { public Journey() { JourneyRoute = new HashSet<JourneyRoute>(); } public int Id { get; set; } public DateTime TravelDate { get; set; } ...
31.107143
67
0.628014
[ "Unlicense", "MIT" ]
Programm3r/Ystervark
Ystervark.Database/Models/Journey.cs
873
C#
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
47.346021
100
0.602938
[ "Apache-2.0" ]
googlestadia/vsi-lldb
YetiVSI.Tests/DebugEngine/Variables/FormatSpecifierUtilTests.cs
13,683
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.Text; namespace XUnitWrapperLibrary; public class TestFilter { public interface ISearchClause { bool ...
33.302752
347
0.644077
[ "MIT" ]
333fred/runtime
src/tests/Common/XUnitWrapperLibrary/TestFilter.cs
3,630
C#
/* Write a program that converts a string to a sequence of C# Unicode character literals. Examples: INPUT OUTPUT Hi! \0057\0068\0061\0074\003f\0021\003f What?!? \0057\0068\0061\0074\003f\0021\003f SoftUn...
25.264706
91
0.43539
[ "MIT" ]
idmitrov/CSharp-Part2
Strings and Text Processing/UnicodeCharacters.cs
861
C#
using System; using System.Collections.Generic; using Department.Base.Model.Common; namespace Department.Base.Model.Order { /// <summary> /// Represents operation /// </summary> public partial class Operation { public Operation() { ChildrenOperations = new List<Operation...
32.649635
127
0.565616
[ "Apache-2.0" ]
takemurakimio/department-store
DepartmentStoreOne.Base.Model/Order/Operation.cs
4,473
C#
namespace Command.SwitchExample { using System.Collections.Generic; /// <summary> /// The Invoker class /// </summary> public class Switch { private readonly List<ICommand> history = new List<ICommand>(); public List<ICommand> History { get { ...
20.185185
71
0.515596
[ "MIT" ]
ElenaStaykova/High-Quality-Code
17. Design Patterns/Demo/Behavioral/Command/SwitchExample/Switch.cs
547
C#
namespace ProjectDover { public enum GameType { UNKNOWN = -1, NEW_GAME, LOADED_GAME } }
12.4
24
0.532258
[ "MIT" ]
1kevgriff/ProjectDover
GameType.cs
124
C#
using fourthAplicattion.Models; using fourthAplicattion.Services; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; using Xamarin.Essentials; using fourthAplicattion....
31.82716
157
0.595811
[ "MIT" ]
walase01/MyFouthAplication
fourthAplicattion/fourthAplicattion/ViewModels/MainViewModel.cs
2,580
C#
using System; using UnityEngine; using Variables.Floats; namespace Variables.Vector3s { /// <summary> /// Vector3 reference allowing to switch between constant and variable. /// </summary> [Serializable] public class Vector3Reference : AbstractReference<Vector3, Vector3Variable, Vector3Event> {...
26.764706
106
0.698901
[ "MIT" ]
yanicksenn/unity-variables
Runtime/Vector3s/Vector3Reference.cs
455
C#
namespace ShopManage.Web.Views.Shared.Components.TenantChange { public class ChangeModalViewModel { public string TenancyName { get; set; } } }
20.625
62
0.69697
[ "MIT" ]
DSOY/ShopManage
aspnet-core/src/ShopManage.Web.Mvc/Views/Shared/Components/TenantChange/ChangeModalViewModel.cs
167
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Human { internal class Program { static void Main(string[] args) { int[] array = { 1, 2, 3, }; } } }
15.444444
39
0.589928
[ "CC0-1.0" ]
rahmanashraf/Csharp
Scrawl-test/Namespace_yoxlamag/Human/Program.cs
280
C#
using PixiEditor.Helpers; using PixiEditor.Helpers.Extensions; using PixiEditor.Models.Controllers; using PixiEditor.Models.DataHolders; using PixiEditor.Models.Enums; using PixiEditor.Models.ImageManipulation; using PixiEditor.Models.Position; using PixiEditor.Models.Tools.ToolSettings.Toolbars; using PixiEditor.View...
36.165354
136
0.640322
[ "MIT" ]
rebizu/PixiEditor
PixiEditor/Models/Tools/Tools/SelectTool.cs
4,595
C#
namespace Heroes.Icons.ModelExtensions; /// <summary> /// Contains extensions for <see cref="VoiceLine"/>. /// </summary> public static class VoiceLineExtensions { /// <summary> /// Updates the localized gamestrings to the selected <see cref="Localization"/>. /// </summary> /// <param name="voiceLine"...
39.333333
106
0.720339
[ "MIT" ]
koliva8245/Heroes.Icons
Heroes.Icons/ModelExtensions/VoiceLineExtensions.cs
828
C#
namespace DeepNestLib { public interface IHiddenNfp { void Push(SvgPoint svgPoint); } }
14
33
0.704082
[ "MIT" ]
9swampy/DeepNestSharp
DeepNestLib.Core/IHiddenNfp.cs
100
C#
using ParksApi.Contracts; using ParksApi.Helpers; namespace ParksApi.Repository { public class RepositoryWrapper : IRepositoryWrapper { private ParksApiContext _parksApiContext; private IParkRepository _park; private IStateRepository _state; private IUserRepository _user; public IParkRepository...
17.803279
61
0.581031
[ "MIT" ]
Andrew-Philpott/ParkFinder
ParksApi/Repository/Wrapper.cs
1,086
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...
38.736842
158
0.560753
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/NetworkAclEntryUnmarshaller.cs
5,152
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.CosmosDB.Models { public partial class CassandraTableResource : IUtf8JsonSerializable { voi...
36.081395
140
0.519497
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraTableResource.Serialization.cs
3,103
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using DateObject = System.DateTime; namespace Microsoft.Recognizers.Text.DateTime.Utilities { public class ModAndDateResult { public ModAndDateResult(DateObject ...
28.444444
113
0.599609
[ "MIT" ]
17000cyh/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/Utilities/ModAndDateResult.cs
1,026
C#
namespace CoherentNoise { internal class Constants { public const int MultiplierX = 1619; public const int MultiplierY = 31337; public const int MultiplierZ = 6971; public const int MultiplierSeed = 1013; public const int ValueShift = 8; } }
23.090909
41
0.744094
[ "MIT" ]
djspider117/jacked
Jacked/Assets/__Jacked/Code/CoherentNoise/Constants.cs
254
C#
using System; using System.ComponentModel.DataAnnotations; namespace Construct.Core.Database.Model { public class Permission { /// <summary> /// Primary key used by Entity Framework. Not intended to be used for anything else. /// </summary> [Key] public long Key { get; ...
28.75
133
0.50903
[ "MIT" ]
ChrisFigura/Makerspace-Database-Server
Construct.Core/Database/Model/Permission.cs
1,497
C#
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Avalonia.Input; namespace Avalonia.Controls.Primitives { /// <summary> /// Interface implemented by controls that handle thei...
41.3625
104
0.621336
[ "MIT" ]
Artentus/Avalonia
src/Avalonia.Controls/Primitives/ILogicalScrollable.cs
3,309
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.430556
171
0.601373
[ "MIT" ]
pointearth/dotnet-best-practices
src/DataBase/MSDTC/Properties/Resources.Designer.cs
2,769
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> //----------------------------------...
28.592593
85
0.453368
[ "MIT" ]
yuhengzhou/ZYH.NET
Tester_ZYH.NET_V/T/css_test.aspx.designer.cs
774
C#
using System; namespace AdventureWorksCosmos.Core.Models.Orders { public class OrderRejected : IDocumentMessage { public Guid Id { get; set; } public Guid OrderId { get; set; } } }
21
49
0.652381
[ "MIT" ]
jbogard/AdventureWorksCosmos
AdventureWorksCosmos.Core/Models/Orders/OrderRejected.cs
212
C#