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.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace WebTests
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*path... | 24 | 99 | 0.585069 | [
"MIT"
] | 1804-Apr-USFdotnet/monica-miller-project1 | RestuarantProject/WebTests/App_Start/RouteConfig.cs | 578 | C# |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Exercism.Representers.CSharp.Normalization
{
internal class SimplifyBooleanEquality : CSharpSyntaxRewriter
{
public override SyntaxNode VisitBinaryExpression(BinaryExpressionSyntax n... | 40.15625 | 108 | 0.661479 | [
"MIT"
] | ErikSchierboom/csharp-representer | src/Exercism.Representers.CSharp/Normalization/SimplifyBooleanEquality.cs | 1,285 | C# |
using System;
using System.Text;
using JulMar.Smpp.Utility;
namespace JulMar.Smpp.Elements
{
/// <summary>
/// The short_message parameter contains the user data. A maximum of 254 octets can be
/// sent. ESME's should use the optional message_payload parameter in submit_sm, submit_multi,
/// or deliver_sm to sen... | 22.629213 | 99 | 0.642006 | [
"MIT"
] | JackyChiou/smpp.net | Smpp.NET/Elements/short_message.cs | 2,014 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Syroot.BinaryData.Memory;
namespace GTAdhocTools.Instructions
{
public class OpIntConst : InstructionBase
{
public AdhocCallType CallType { get; set; } = AdhocCallType.INT_CONST;
... | 23.806452 | 78 | 0.632791 | [
"MIT"
] | Nenkai/GTAdhocParser | GTAdhocParser/Instructions/Variables/AdhocIntConst.cs | 740 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter.PowerShell.Commands
{
using System.Management.Automation;
using Models.RateCards;
using PartnerCenter.M... | 41.660377 | 160 | 0.643569 | [
"MIT"
] | arjjsolutions/Partner-Center-PowerShell | src/PowerShell/Commands/GetPartnerAzureRateCard.cs | 2,210 | C# |
// ReSharper disable All
using PetaPoco;
using System;
namespace MixERP.Net.Entities.Office
{
[PrimaryKey("", autoIncrement = false)]
[TableName("office.store_scrud_view")]
[ExplicitColumns]
public sealed class StoreScrudView : PetaPocoDB.Record<StoreScrudView>, IPoco
{
[Column("store_id")]... | 29.903846 | 81 | 0.572347 | [
"MPL-2.0"
] | asine/mixerp | src/Libraries/Entities/Office/StoreScrudView.cs | 1,555 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bridge.MessageSender
{
/// <summary>
/// Concrete implementor
/// </summary>
public class WebServiceSender : IMessageSender
{
public void SendMessage(string subjet,... | 24.047619 | 82 | 0.649505 | [
"MIT"
] | cesthus/consolepatterns | Bridge/MessageSender/WebServiceSender.cs | 507 | C# |
using System;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows;
using WindowsInstaller;
using WixSharp;
using WixSharp.Bootstrapper;
using WixSharp.CommonTasks;
using io = System.IO;
public static class Script
{
static void Main()
... | 33.710526 | 107 | 0.603044 | [
"Apache-2.0"
] | BachLeFPT/SymphonyElectron | installer/win/WixSharpToolset/Samples/Bootstrapper/MultiLanguageSupport/setup.cs | 2,562 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class MusicController : MonoBehaviour
{
private static readonly string FirstPlay = "FirstPlay";
private static readonly string MusicPref = "MusicPref";
static Music... | 27.159091 | 110 | 0.568201 | [
"MIT"
] | elifoksas/DiamondRunner | Assets/Scripts/MusicController.cs | 2,390 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Discord.Menus.Elements
{
public class Button : GUIElement
{
private string EmojiTag { get; set; }
private string LabelText { get; set; }
private Action Action { get; set; }
private bool Inline { get; s... | 22.136364 | 92 | 0.534908 | [
"MIT"
] | knexguy101/Discord.Menus | Elements/Button.cs | 976 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using starbase_nexus_api.DbContexts;
namespace starbase_nexus_api.Migrations... | 37.297429 | 104 | 0.422761 | [
"MIT"
] | WildChild85/starbase-nexus-api | starbase-nexus-api/Migrations/20211012183203_RenameShipClassToRole.Designer.cs | 53,673 | C# |
using System;
namespace MouseNet.Tools.Timers
{
/// <inheritdoc cref="INamedObject" />
/// <summary>
/// Represents the data associated with a timer's <c>Elapsed</c> event.
/// </summary>
/// <seealso cref="EventArgs" />
/// <seealso cref="INamedObject" />
public class ElapsedEventArgs... | 31.333333 | 109 | 0.527128 | [
"MIT"
] | mousebyte/MouseNet | Tools/Timers/EventArgs.cs | 1,882 | C# |
using Xunit;
namespace SplitStringBalancedStrings.Tests
{
public class SolutionShould
{
[Theory]
[MemberData(nameof(SolutionShouldTestData.TestData), MemberType = typeof(SolutionShouldTestData))]
public void CountBalancedSubstrings(string inputString, int expectedNumbersOfBalancedSubstr... | 26.714286 | 106 | 0.659537 | [
"Apache-2.0"
] | codearchive/leetcode | Algorithms/Easy/1221/c-sharp/SplitStringBalancedStrings/SplitStringBalancedStrings.Tests/SolutionShould.cs | 561 | C# |
namespace Xtrimmer.SqlDatabaseBuilder
{
internal class Decimal : ExactFloatingPoint
{
internal Decimal()
{ }
internal Decimal(int precision)
{
Precision = precision;
}
internal Decimal(int precision, int scale) : this(precision)
{
... | 19.227273 | 68 | 0.550827 | [
"Apache-2.0"
] | Xtrimmer/SqlDatabaseBuilder | src/SqlDatabaseBuilder/DataTypes/FloatingPoint/Decimal.cs | 425 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AsyncGenerator.TestCases;
using NUnit.Framework;
namespace AsyncGenerator.Tests.Formatting.Input
{
public class Async
{
public void Test()
{
Assert.DoesNotThrow(
() =>
{
Simp... | 18.19697 | 75 | 0.665279 | [
"MIT"
] | bubdm/AsyncGenerator | Source/AsyncGenerator.Tests/Formatting/Input/Async.cs | 1,203 | C# |
using System;
namespace Afonsoft.SetBox.Url
{
public class NullAppUrlService : IAppUrlService
{
public static IAppUrlService Instance { get; } = new NullAppUrlService();
private NullAppUrlService()
{
}
public string CreateEmailActivationUrlFormat(int? ten... | 24.205882 | 81 | 0.612394 | [
"Apache-2.0"
] | afonsoft/SetBox-VideoPlayer | SetBoxWebUI_New/src/Afonsoft.SetBox.Application/Url/NullAppUrlService.cs | 825 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net.Http.Headers;
using System.Web.Http.Description;
using IDTO.WebAPI.Areas.HelpPage.ModelDescriptions;
namespace IDTO.WebAPI.Areas.HelpPage.Models
{
/// <summary>
/// The model that represents an API displayed on the help pa... | 36.592593 | 123 | 0.614372 | [
"Apache-2.0"
] | OSADP/IDTO | IDTO Azure Hosted Systems/IDTO.WebAPI/Areas/HelpPage/Models/HelpPageApiModel.cs | 3,952 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using HoloToolkit.Unity.InputModule;
using UnityEngine;
#if UNITY_EDITOR || UNITY_WSA
#endif
namespace HoloToolkit.Unity
{
/// <summary>
/// ... | 39.014337 | 154 | 0.569132 | [
"MIT"
] | AhmedAldahshoury/HololensApp | DesignLabs_Unity/Assets/HoloToolkit/Utilities/Scripts/StabilizationPlaneModifier.cs | 10,887 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------------------------
using System;
using System.Coll... | 45.672387 | 217 | 0.524798 | [
"MIT"
] | Microsoft/OpenAPI.NET.OData | src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs | 29,278 | 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.Collections.Generic;
using System.Diagnostics;
using System.Text;
using Standard.Xaml;
u... | 43.639442 | 130 | 0.556534 | [
"MIT"
] | alexander-zhuravlev/Standard.Xaml | src/Standard.Xaml/Standard/Xaml/Context/NameFixupGraph.cs | 21,909 | 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.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.Host... | 34.991379 | 111 | 0.533875 | [
"Apache-2.0"
] | belav/aspnetcore | src/Middleware/HealthChecks/test/UnitTests/HealthCheckMiddlewareSampleTest.cs | 4,059 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
namespace PIToOcsOmfSample.DataIngress
{
/// <summary>
/// Contains a set of properties that map to the OMF message header values and a byte
/// array to hold the OMF message body. These properties and ... | 30.058559 | 137 | 0.487637 | [
"Apache-2.0"
] | GitVivianSo/Qi-Samples | Extended/PIToOcsOmfSample/DataIngress/OmfMessage.cs | 6,675 | C# |
namespace Esprima.Ast
{
public sealed class Directive : ExpressionStatement
{
public readonly string Directiv;
public Directive(Expression expression, string directive) : base(expression)
{
Directiv = directive;
}
}
}
| 21.230769 | 84 | 0.626812 | [
"MIT"
] | Bargest/LogicExtensions | Eprisma/Ast/Directive.cs | 278 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 33.150943 | 131 | 0.590211 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-alicloud | sdk/dotnet/Dcdn/Inputs/DomainSourceGetArgs.cs | 1,757 | C# |
using Mixpanel.NET.Events;
using NSubstitute;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Workshare.Mixpanel.NET.Tests
{
[TestFixture]
public class MixpanelServiceTests
{
[Test]
public void TrackEventSendsE... | 27.107692 | 140 | 0.713961 | [
"Apache-2.0"
] | workshare/Mixpanel.NET | src/Workshare.Mixpanel.NET.Tests/MixpanelServiceTests.cs | 1,764 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace Microsoft.AspNet.Mvc.HeaderValueAbstractions
{
public class MediaTypeWit... | 35.204545 | 111 | 0.591995 | [
"Apache-2.0"
] | Shazwazza/Mvc | src/Microsoft.AspNet.Mvc.HeaderValueAbstractions/MediaTypeWithQualityHeaderValue.cs | 1,549 | 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... | 28.121212 | 74 | 0.605603 | [
"MIT"
] | alexsaff/azure-sdk-for-net | src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/IFaceClient.cs | 1,856 | C# |
using System.Collections.Generic;
using System.Web.Mvc;
namespace PeanutButter.RandomGenerators.Tests.PerformanceTest
{
public class ReportScheduleViewModel : ViewModelBase
{
public ReportType ReportType { get; set; }
public SelectList Schedules { get; set; }
public SelectList ContactL... | 39.166667 | 92 | 0.692199 | [
"BSD-3-Clause"
] | Geosong/PeanutButter | source/TestUtils/PeanutButter.RandomGenerators.Tests/PerformanceTest/ReportScheduleViewModel.cs | 707 | 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("Paragon.GoogleAnalytics.Factory")]
[assem... | 38.777778 | 84 | 0.745702 | [
"Unlicense"
] | gillissm/Paragon.Sitecore.ChartByGoogle | src/Paragon.GoogleAnalytics.Factory/Properties/AssemblyInfo.cs | 1,399 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列特性集
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Utg.ServerWeb.Admin")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly... | 25.694444 | 56 | 0.721081 | [
"Apache-2.0"
] | heqinghua/lottery-code-qq-814788821- | YtgProject/Utg.ServerWeb.Admin/Properties/AssemblyInfo.cs | 1,305 | C# |
using ActionsList;
using System.Collections.Generic;
using Upgrade;
namespace Ship
{
namespace SecondEdition.T70XWing
{
public class KareKun : T70XWing
{
public KareKun() : base()
{
PilotInfo = new PilotCardInfo(
"Kare Kun",
... | 30.156863 | 145 | 0.595579 | [
"MIT"
] | mattgoudge/FlyCasual | Assets/Scripts/Model/Content/SecondEdition/Pilots/T70XWing/KareKun.cs | 1,540 | C# |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO.MemoryMappedFiles;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;
using LinqToDB.Tools;
namespace LinqToDB.Expres... | 30.389726 | 160 | 0.645 | [
"MIT"
] | Feroks/linq2db | Source/LinqToDB/Expressions/InternalExtensions.cs | 42,912 | C# |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | 35.011834 | 146 | 0.548814 | [
"Apache-2.0"
] | 1orenz0/sandbox-attacksurface-analysis-tools | NtApiDotNet/NtObjectUtils.cs | 17,753 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace DotNetNuke.Extensions.Data
{
public static class DataExtensions
{
/// <summary>
/// Simple recordset field routines. Returns results as type value.
/// </summary>
... | 34.691358 | 128 | 0.476512 | [
"Unlicense"
] | JonHaywood/DotNetNuke.Extensions | DotNetNuke.Extensions/Data/DataExtensions.cs | 2,812 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Framework.Core;
using Framework.Persistent;
using Framework.SecuritySystem.Exceptions;
namespace Framework.SecuritySystem
{
public class AccessDeniedExceptionService<TPersistentDomainObjectBase, TIdent> : IAccessDeniedExceptionS... | 45.108108 | 210 | 0.641102 | [
"MIT"
] | Luxoft/BSSFramework | src/Framework.SecuritySystem/AccessDeniedExceptionService/AccessDeniedExceptionService.cs | 3,267 | C# |
using System;
using UnityEngine;
using uPalette.Runtime.Foundation.Observable.ObservableCollection;
using uPalette.Runtime.Foundation.Observable.ObservableProperty;
namespace uPalette.Runtime.Core
{
[Serializable]
public class UPaletteStore
{
[SerializeField] private ObservableList<ColorEntry> _en... | 32.75 | 104 | 0.757634 | [
"MIT"
] | Haruma-K/uPalette | Assets/uPalette/Runtime/Core/UPaletteStore.cs | 526 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Edit;
using osu.Game.Rule... | 44.366154 | 166 | 0.524863 | [
"MIT"
] | 02Naitsirk/osu | osu.Game.Rulesets.Osu.Tests/Editor/Checks/CheckTimeDistanceEqualityTest.cs | 14,095 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
namespace GameCore.Render.Materials
{
public class MateriaParamAttribute : Attribute
{
}
public abstract class MaterialBase
... | 34.547445 | 119 | 0.499261 | [
"MIT"
] | mrkriv/VoxelWorld | GameCore/Render/Materials/MaterialBase.cs | 4,753 | C# |
namespace BUTR.CrashReportViewer.Shared.Models.API
{
public record PagingMetadata
{
public int CurrentPage { get; set; }
public int TotalPages { get; set; }
public int PageSize { get; set; }
public int TotalCount { get; set; }
public bool HasPrevious => CurrentPage > 1;
... | 32 | 56 | 0.627604 | [
"MIT"
] | BUTR/BUTR.CrashReportViewer | src/BUTR.CrashReportViewer/Shared/Models/API/PagingMetadata.cs | 386 | C# |
using System.IO;
namespace TeleSharp.TL
{
[TLObject(-1892568281)]
public class TLMessageActionPaymentSentMe : TLAbsMessageAction
{
public override int Constructor
{
get
{
return -1892568281;
}
}
public int Flags { get; set;... | 26.626506 | 81 | 0.48552 | [
"MIT"
] | cobra91/TelegramCSharpForward | TeleSharp.TL/TL/TLMessageActionPaymentSentMe.cs | 2,210 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 31.722222 | 226 | 0.648862 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-cloudflare | sdk/dotnet/Outputs/LoadBalancerPopPool.cs | 1,142 | C# |
namespace DesignPatternStudy.Creational.Factory
{
public interface IApp
{
void Run();
}
} | 15.714286 | 48 | 0.636364 | [
"Unlicense"
] | guigsc/design-pattern-study | DesignPatternStudy/DesignPatternStudy.Creational.Factory/IApp.cs | 112 | 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... | 35.144737 | 152 | 0.68289 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/Elasticsearch/Generated/Model/DescribeReservedElasticsearchInstanceOfferingsResponse.cs | 2,671 | C# |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace TomKerkhove.Demos.KeyVault.API
{
public class Program
{
public static IWebHost BuildWebHost(string[] args)
{
return WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.U... | 23.47619 | 58 | 0.56998 | [
"MIT"
] | tomkerkhove/demo-azure-key-vault-auth | src/TomKerkhove.Demos.KeyVault.API/Program.cs | 495 | C# |
/*
* The MIT License
*
* Copyright 2019 Palmtree Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, co... | 34.039216 | 80 | 0.700461 | [
"MIT"
] | rougemeilland/Palmtree.Math.Core.Uint | Palmtree.Math.Core.Uint.Test/Plugin/ComponentTestPlugin_op_LesserThan_I_X.cs | 1,738 | 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.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Embed... | 45.039474 | 111 | 0.69033 | [
"MIT"
] | BrianFreemanAtlanta/roslyn | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/EmbeddedLanguages/Common/EmbeddedSyntaxToken.cs | 3,425 | C# |
namespace CoreLayer.Citrix.Adc.NitroClient.Api.Configuration.LoadBalancing.LbvserverBinding
{
public class LbvserverBindingGetServicegroupRequestOptions : NitroRequestOptions
{
public override string ToString()
{
return base.ToString() == string.Empty ? "?bulkbindings=yes" : base.ToS... | 29.333333 | 91 | 0.697727 | [
"Apache-2.0"
] | CoreLayer/CoreLayer.Citrix.Adc.Nitro | src/CoreLayer.Citrix.Adc.NitroClient/Api/Configuration/LoadBalancing/LbvserverBinding/LbvserverBindingGetServicegroupRequestOptions.cs | 440 | C# |
//
// System.Data.Odbc.OdbcRowUpdatedEventHandler.cs
//
// Author:
// Rodrigo Moya (rodrigo@ximian.com)
// Daniel Morgan (danmorg@sc.rr.com)
//
// (C) Ximian, Inc 2002
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a co... | 37.435897 | 92 | 0.749315 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/System.Data/System.Data.Odbc/OdbcRowUpdatedEventHandler.cs | 1,460 | C# |
using System.Runtime.InteropServices;
using Modbus.Core.Converters;
namespace Modbus.Core.DataTypes
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct RequestFunc06
{
[Endian(Endianness.BigEndian)]
public ushort registerAddress;
[Endian(Endianness.BigEndian)]
... | 23.133333 | 51 | 0.694524 | [
"Apache-2.0"
] | sontx/modbus | Core/DataTypes/RequestFunc06.cs | 349 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using SimplCommerce.Infrastructure.Data;
using SimplCommerce.Infrastructure.Web.SmartTable;
using SimplCommerce.Module.Core.Extensions.Constants;... | 32.387879 | 116 | 0.506737 | [
"Apache-2.0"
] | vtkhanh/SimplCommerce | src/Modules/SimplCommerce.Module.Vendors/Controllers/VendorApiController.cs | 5,346 | C# |
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Authorization;
using Abp.BackgroundJobs;
using Abp.Runtime.Session;
using ABD.Hangfire.Dto;
using Microsoft.AspNetCore.Hosting;
using MimeKit;
namespace ABD.Hangfire
{
[AbpAuthorize]
public class EmailAppService : ApplicationService, IEma... | 29.410256 | 85 | 0.622493 | [
"MIT"
] | aansadiqul/New | aspnet-core/src/ABD.Application/Hangfire/EmailAppService.cs | 1,149 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 04.07.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 25.495652 | 149 | 0.550136 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/NotEqual/Complete/NullableTimeOnly/NullableTimeOnly/TestSet_504__param__01__VV.cs | 14,662 | C# |
using Harmonic.Buffers;
using System;
using System.Collections.Generic;
using System.Text;
namespace Harmonic.Networking.Amf.Data
{
public interface IExternalizable
{
bool TryDecodeData(Span<byte> buffer, out int consumed);
bool TryEncodeData(ByteBuffer buffer);
}
}
| 19.866667 | 64 | 0.728188 | [
"MIT"
] | CoreDX9/Harmonic | Harmonic/Networking/Amf/Data/IExternalizable.cs | 300 | 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... | 42.779753 | 162 | 0.533284 | [
"BSD-3-Clause"
] | TheSyncer/OpenSim | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 55,357 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Controls
{
#if false || false || false || false || false
[global::Uno.NotImplemented]
#endif
public partial class HyperlinkButton : global::Windows.UI.Xaml.Controls.Primitives.ButtonBase
{... | 47.210526 | 96 | 0.793757 | [
"Apache-2.0"
] | 06needhamt/uno | src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/HyperlinkButton.cs | 897 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Unity.Collections;
namespace UniGLTF
{
public static class Pin
{
public static Pin<T> Create<T>(ArraySegment<T> src) where T : struct
{
return new Pin<T>(src);
}
... | 26.061538 | 96 | 0.501476 | [
"MIT"
] | 0b5vr/UniVRM | Assets/UniGLTF/Runtime/Extensions/ArrayExtensions.cs | 4,006 | C# |
/***
* Author: Yunhan Li
* Any issue please contact yunhn.lee@gmail.com
***/
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace VRKeyboard.Utils
{
public class GazeRaycaster : MonoBehaviour
{
#region Public Variables
public float delayInSeconds = 0.5f;
pub... | 28.544 | 94 | 0.462164 | [
"MIT"
] | PieterQLovesu/UnityVREscapeRoom | Assets/VRKeyboard/Scripts/GazeRaycaster.cs | 3,570 | C# |
namespace Chocolatey.Explorer.Services.PackageVersionService
{
public interface IODataPackageVersionService : IPackageVersionService
{
}
} | 23 | 73 | 0.745342 | [
"Apache-2.0"
] | mwrock/ChocolateyGUI | Chocolatey.Explorer/Services/PackageVersionService/IODataPackageVersionService.cs | 163 | C# |
// <copyright file="SearchViewActivity.cs">
// Copyright (c) 2017 Jacob Ebey
// </copyright>
using Android.App;
using Android.Content.PM;
using Android.Widget;
using MovieExplorer.Droid.Adapters;
using MovieExplorer.Droid.Extensions;
using MovieExplorer.ViewModels;
namespace MovieExplorer.Droid.Activities
{
... | 35.413793 | 224 | 0.717624 | [
"MIT"
] | jacob-ebey/MovieExplorer | MovieExplorer.Droid/Activities/SearchViewActivity.cs | 1,029 | C# |
namespace Crash.UI
{
public sealed class NormalChunkController : EntryChunkController
{
public NormalChunkController(NSFController up,NormalChunk chunk) : base(up,chunk)
{
Chunk = chunk;
}
public new NormalChunk Chunk { get; }
public override stri... | 26.466667 | 94 | 0.639798 | [
"MIT",
"BSD-3-Clause"
] | Aedhen/CrashEdit | Crash.UI/Controllers/Normal/NormalChunkController.cs | 397 | C# |
using PrivateSquareWeb.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PrivateSquareWeb.Controllers
{
public class SidebarProfileController : Controller
{
JwtTokenManager _JwtTokenManager = new JwtTokenManager();
// ... | 20.673469 | 108 | 0.595262 | [
"Unlicense"
] | amitjind/nearbycart | PrivateSquareWeb/Controllers/SidebarProfileController.cs | 1,015 | C# |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014 Ingo Herbote
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* d... | 36.716667 | 114 | 0.618248 | [
"Apache-2.0"
] | azarbara/YAFNET | yafsrc/YAF.Types/CodeContracts.cs | 2,145 | C# |
using System;
using System.Linq;
using NUnit.Framework;
using Orchard.Logging;
namespace Orchard.Tests {
[TestFixture]
public class EventsTests {
[Test]
public void AllEventsAreCalled() {
var events = new ITestEvents[] { new FooSink(), new BarSink() };
even... | 33.118421 | 104 | 0.540326 | [
"MIT"
] | AccentureRapid/OrchardCollaboration | src/Orchard.Tests/EventsTests.cs | 2,519 | C# |
namespace Cogs.ActiveExpressions.Tests;
class AsyncDisposableTestPerson : AsyncDisposable
{
public AsyncDisposableTestPerson()
{
}
public AsyncDisposableTestPerson(string name) => this.name = name;
string? name;
long nameGets;
protected override ValueTask<bool> DisposeAsync(bool disposin... | 34.725 | 216 | 0.705544 | [
"Apache-2.0"
] | Epiforge/Cogs | Cogs.ActiveExpressions.Tests/AsyncDisposableTestPerson.cs | 1,389 | C# |
using System;
using static Vanara.PInvoke.FirewallApi;
using WindowsFirewallHelper.InternalHelpers;
namespace WindowsFirewallHelper.FirewallRules
{
/// <inheritdoc cref="FirewallWASRuleWin7" />
/// <summary>
/// Contains properties of a Windows Firewall with Advanced Security rule in Windows 8 and abo... | 39.175 | 113 | 0.584556 | [
"MIT"
] | dahall/WindowsFirewallHelper | WindowsFirewallHelper/FirewallRules/FirewallWASRuleWin8.cs | 9,404 | C# |
using System;
using System.Collections.Generic;
using System.IO.Abstractions.TestingHelpers;
using EawModinfo.Spec;
using Moq;
using PetroGlyph.Games.EawFoc.Games;
using PetroGlyph.Games.EawFoc.Services.Language;
using Xunit;
namespace PetroGlyph.Games.EawFoc.Test.GameServices;
public class GameLanguageFinderTest
{
... | 31.584615 | 92 | 0.656113 | [
"MIT"
] | AlamoEngine-Tools/PetroglyphGameInfrastructure | src/PetroGlyph.Games.EawFoc/test/GameServices/GameLanguageFinderTest.cs | 2,055 | C# |
using MB.Business.Transaction;
using MB.Business.User;
using MB.Data.Entities;
using Microsoft.AspNet.OData.Query;
using Microsoft.AspNetCore.Mvc;
using Minded.Mediator;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MB.Application.Api
{
[Route("api/[controller]")]
... | 28.263158 | 109 | 0.662011 | [
"MIT"
] | norcino/MindedBanking | MB.Application.Api/Controllers/TransactionsController.cs | 1,076 | C# |
using EPlast.BLL.Interfaces.AzureStorage.Base;
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Blob;
using Microsoft.Extensions.Configuration;
using System;
using System.Threading.Tasks;
namespace EPlast.BLL.Services.AzureStorage.Base
{
public class AzureBlobConnectionFactory : IAzureBlobConnectionFa... | 33.581818 | 123 | 0.664321 | [
"MIT"
] | Toxa2202/plast | EPlast/EPlast.BLL/Services/AzureStorage/Base/AzureBlobConnectionFactory.cs | 1,849 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PlotModelExtensions.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Provides extension methods to the <see cref="PlotModel" />... | 39.95122 | 121 | 0.492063 | [
"MIT"
] | rafntor/OxyPlot.EtoForms | OxyPlot.EtoForms/PlotModelExtensions.cs | 1,638 | C# |
using System;
using System.Collections.Generic;
using Fhi.Controls.Wizard;
namespace Fhi.Controls.Indicators.Governance.Wizard
{
public class Step1ViewModel : WizardStepViewModel
{
private String _userColumn = ColumnChoices[0];
private String _questionColumn = ColumnChoices[10];
private... | 28.5 | 140 | 0.542013 | [
"MIT"
] | sustainable-software/FHI-Toolbox | Desktop/Fhi/Controls/Indicators/Governance/Wizard/Step1ViewModel.cs | 1,083 | 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>
//----------------------------------------... | 37.43311 | 119 | 0.570773 | [
"MIT"
] | INNO-Software/Dnn.Platform | Website/DesktopModules/Admin/HostSettings/HostSettings.ascx.designer.cs | 89,542 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace FedtWebAPIService.Areas.HelpPage.ModelDescriptions
{
public class EnumTypeModelDescription : ModelDescription
{
public EnumTypeModelDescription()
{
Values = new Collection<EnumValueDescription>();
... | 27.4 | 76 | 0.712895 | [
"Unlicense"
] | vladandrei228/FedtFitness | FedtWebAPIService/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs | 411 | C# |
using System;
using System.Collections.Generic;
using SystemsRx.Executor.Handlers;
using SystemsRx.Infrastructure.Dependencies;
using SystemsRx.Infrastructure.Extensions;
using SystemsRx.Infrastructure.Plugins;
using SystemsRx.Systems;
using EcsRx.Plugins.ReactiveSystems.Handlers;
namespace EcsRx.Plugins.ReactiveSyste... | 40.607143 | 112 | 0.746702 | [
"MIT"
] | Fijo/ecsrx | src/EcsRx.Plugins.ReactiveSystems/ReactiveSystemsPlugin.cs | 1,137 | C# |
using System.Runtime.Serialization;
namespace Nest
{
public enum GeoPointFielddataFormat
{
[EnumMember(Value = "array")]
Array,
[EnumMember(Value = "doc_values")]
DocValues,
[EnumMember(Value = "compressed")]
Compressed,
[EnumMember(Value = "disabled")]
Disabled
}
}
| 16.941176 | 36 | 0.701389 | [
"Apache-2.0"
] | RossLieberman/NEST | src/Nest/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddataFormat.cs | 290 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace Xamarin.CommunityToolkit.UI.Views
{
public class SemanticOrderView : ContentView
{
public static readonly BindableProperty ViewOrderProperty =
BindableProperty.Create(nameof(ViewOrder), t... | 23.375 | 107 | 0.768271 | [
"MIT"
] | 3vilN355/XamarinCommunityToolkit | src/CommunityToolkit/Xamarin.CommunityToolkit/Views/SemanticOrderView/SemanticOrderView.shared.cs | 563 | C# |
using Cake.Core.Diagnostics;
using Moq;
using NUnit.Framework;
namespace Cake.Path.UnitTests.GivenAProcessPath
{
[TestFixture]
public class WhenFetching
{
[Test]
public void ThenTheCorrectPathIsReturned()
{
var environmentWrapper = new Mock<IEnvironmentWrapper>();
... | 39.625 | 130 | 0.669821 | [
"MIT"
] | CleanKludge/Cake | tests/Cake.Path.UnitTests/GivenAProcessPath/WhenFetching.cs | 953 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class ExitButtonScript : MonoBehaviour {
float pressed_for = 0f;
public Canvas levelCanvas;
public Button other_button;
bool isPressed = false;
... | 23.388889 | 123 | 0.544893 | [
"MIT"
] | surbhit21/Autism-Games | Assets/Scripts/ShareAmongAllGames/ExitButtonScript.cs | 2,107 | C# |
using MinecraftTypes;
namespace SmartBlocks.Entities.Particles;
public class Sneeze : Particle
{
public override VarInt Id => 48;
public override Identifier Name => "sneeze";
} | 18.8 | 48 | 0.739362 | [
"MIT"
] | CopperPenguin96/SmartBlocks | SmartBlocks/Entities/Particles/Sneeze.cs | 190 | C# |
namespace LearningCenter.Web.Controllers
{
using LearningCenter.Data.Models;
using LearningCenter.Services.Data;
using LearningCenter.Web.ViewModels.Account;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
public class AccountC... | 38.5 | 140 | 0.691198 | [
"MIT"
] | NikolayStefanov/Learning-Center | Web/LearningCenter.Web/Controllers/AccountController.cs | 1,388 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutoUpdateTool
{
/// <summary>
/// 项目信息
/// </summary>
public class RepositoryInfo
{
private const string UserName="li-zheng-hao";
private const string Proj... | 22.52381 | 119 | 0.689218 | [
"MIT"
] | dorisoy/StickyNotes | AutoUpdateTool/RepositoryInfo.cs | 483 | C# |
// *********************************************************************************
// Copyright @2021 Marcus Technical Services, Inc.
// <copyright
// file=Tests.cs
// company="Marcus Technical Services, Inc.">
// </copyright>
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtai... | 38.54848 | 136 | 0.612907 | [
"MIT"
] | marcusts/ResponsiveTasks.UnitTests | Tests.cs | 26,637 | C# |
using AutoMapper;
using Pds.Core.Utils.Helpers;
using Pds.Shared.Audit.Repository.Interfaces;
using Pds.Shared.Audit.Services.Interfaces;
using System;
using System.Threading.Tasks;
using DataModel = Pds.Shared.Audit.Repository.DataModels;
using ServiceModel = Pds.Shared.Audit.Services.Models;
namespace Pds.Shared.Au... | 34.375 | 84 | 0.632121 | [
"MIT"
] | SkillsFundingAgency/pds-shared-audit-api | Pds.Shared.Audit/Pds.Shared.Audit.Services/Implementations/AuditService.cs | 1,652 | C# |
using System;
using System.IO;
using System.Net;
using System.Text.Json;
namespace SpotiSharp
{
public static class DependencyHelpers
{
public static bool IsFFmpegPresent()
{
var files = Directory.GetFiles(Config.Properties.FFmpegPath, "*", SearchOption.TopDirectoryOnly);
... | 30.609756 | 121 | 0.575299 | [
"MIT"
] | L0um15/SpotiSharp | DependencyHelpers.cs | 1,257 | C# |
using System;
using Semmle.Util.Logging;
using System.Linq;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
using Semmle.Util;
namespace Semmle.Autobuild
{
/// <summary>
/// A build rule where the build command is of the form "dotnet build".
/// Currently unused because the t... | 44.468635 | 149 | 0.547423 | [
"ECL-2.0",
"Apache-2.0"
] | educativ/ql | csharp/autobuilder/Semmle.Autobuild/DotNetRule.cs | 12,051 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Net;
using System.Runtime.Serialization;
using System.Web;
using Funq;
using ServiceStack.Caching;
using ServiceStack.Configuration;
using ServiceStack.Host;
using ServiceStack.IO;
using ServiceStack.Me... | 38.10479 | 142 | 0.628271 | [
"Apache-2.0"
] | zengdl/ServiceStack | src/ServiceStack/HostContext.cs | 12,394 | C# |
using Silverpop.Core;
using System.Collections.Generic;
namespace Silverpop.Client.WebTester.Models
{
public class SendModel
{
public SendModel()
{
PersonalizationTags = new List<TransactMessageRecipientPersonalizationTag>();
}
public string CampaignId { get; set; ... | 25.368421 | 104 | 0.680498 | [
"MIT"
] | Fbiss/silverpop-dotnet-api | samples/Silverpop.Client.WebTester/Models/SendModel.cs | 484 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System;
using System.Globalization;
public class SetDebugBuildDate : Editor
{
public class SceneViewExtenderEditorIOHooks : UnityEditor.AssetModificationProcessor
{
public static string[] OnWillSave... | 28.033333 | 105 | 0.649227 | [
"MIT"
] | EchoArray/Numerous-Ninjas | Source/Editor/SetDebugBuildDate.cs | 843 | C# |
namespace LlamaUtilities.LlamaUtilities
{
partial class Utilities
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... | 48.410296 | 126 | 0.60678 | [
"MIT"
] | nt153133/LlamaUtilities | LlamaUtilities/Utilities.Designer.cs | 31,033 | C# |
using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
namespace Discord.Commands.Builders
{
public class ParameterBuilder
{
private readonly List<ParameterPreconditionAttribute> _preconditions;
private readonly List<Attribute> _attributes;
public ... | 33.759124 | 213 | 0.577946 | [
"MIT"
] | KrAyXMaximum/DNetPlus | DNetPlus/Commands/Builders/ParameterBuilder.cs | 4,625 | C# |
using System;
using System.Diagnostics;
using System.Security.Cryptography;
using Lokad.Cqrs.Feature.TapeStorage;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;
using NUnit.Framework;
namespace Lokad.Cqrs.TapeStorage
{
[TestFixture]
public class BlobTapeStorageTests : TapeStorageTes... | 33.778947 | 133 | 0.603303 | [
"BSD-3-Clause"
] | EventDay/lokad-cqrs | Cqrs.Azure.Tests/TapeStorage/BlobTapeStorageTests.cs | 3,211 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using AdventureWorksCosmos.Core.Models.Inventory;
using AdventureWorksCosmos.Core.Models.Orders;
namespace AdventureWorksCosmos.Core.Models.Fulfillments
{
public class OrderSaga : DocumentBase
{
public Guid OrderId { get; set; }
... | 27.63125 | 83 | 0.444922 | [
"MIT"
] | rbmathis/AdventureWorksCosmos | AdventureWorksCosmos.Core/Models/OrderSaga.cs | 4,423 | C# |
using System;
using ZKWeb.Cache;
using ZKWeb.Cache.Policies;
using ZKWebStandard.Collections;
using ZKWebStandard.Extensions;
using ZKWebStandard.Testing;
using ZKWebStandard.Utils;
namespace ZKWeb.Tests.Cache {
[Tests]
class IsolatedKeyValueCacheTest {
public void All() {
var cache = new IsolatedK... | 33 | 60 | 0.696151 | [
"MIT"
] | 1306479602/ZKWeb | ZKWeb/ZKWeb/Tests/Cache/IsolatedKeyValueCacheTest.cs | 1,223 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace DamienTheUnbeliever.System.Linq.Tests
{
public class ElementAtOrDefault
{
[Fact]
public void Eagerly_Validates_Source()
{
Assert.Throws<ArgumentNullException... | 22.538462 | 86 | 0.673208 | [
"Apache-2.0"
] | Damien-The-Unbeliever/Linq.AsyncEnumerable | DamienTheUnbeliever.System.Linq.Tests/ElementAtOrDefault.cs | 1,174 | C# |
using CsvHelper;
using Microsoft.AspNetCore.Mvc;
using Nager.Date.WebsiteCore.Model;
using Nager.Date.WebsiteCore.Models;
using System;
using System.Globalization;
using System.IO;
using System.Linq;
namespace Nager.Date.WebsiteCore.Controllers
{
/// <summary>
/// Public Holiday
/// </summary>
[Route(... | 29.25 | 91 | 0.525438 | [
"MIT"
] | cgvdw/Nager.Date | Src/Nager.Date.WebsiteCore/Controllers/PublicHolidayController.cs | 2,459 | C# |
// <auto-generated />
using System;
using MRPanel.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
name... | 36.795322 | 125 | 0.444904 | [
"MIT"
] | iPazooki/MRPanel | aspnet-core/src/MRPanel.EntityFrameworkCore/Migrations/20180726102703_Upgrade_ABP_3.8.0.Designer.cs | 56,628 | C# |
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Roslynator.CSharp.Refactorings.Test
{
internal class ExtractExpressionFromConditionRefactoring
{
public static void M... | 22.111111 | 160 | 0.380474 | [
"Apache-2.0"
] | TechnoridersForks/Roslynator | source/Test/RefactoringsTest/ExtractExpressionFromConditionRefactoring.cs | 1,395 | C# |
using System;
using System.Web.UI;
using Umbraco.Web.Install;
namespace Umbraco.Web.UI.Install.Steps
{
public abstract class StepUserControl : UserControl
{
protected string GetCurrentStep()
{
var defaultPage = (Default) Page;
return defaultPage.step.Value;
... | 25.35 | 72 | 0.61144 | [
"MIT"
] | AndyButland/Umbraco-CMS | src/Umbraco.Web.UI/install/steps/StepUserControl.cs | 509 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Servic... | 43.270087 | 189 | 0.579823 | [
"MIT"
] | sunil-indoria/service-fabric-services-and-actors-dotnet | src/Microsoft.ServiceFabric.Actors/Generator/ManifestGenerator.cs | 70,011 | C# |
namespace FitnessBuddy.Web.Controllers
{
using FitnessBuddy.Web.Infrastructure.Filters;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
[Authorize]
[TypeFilter(typeof(RestrictBannedUsersAttribute))]
public class BaseController : Controller
{
}
}
| 23.538462 | 54 | 0.745098 | [
"MIT"
] | beshev/FitnessBuddy | src/Web/FitnessBuddy.Web/Controllers/BaseController.cs | 308 | 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>
//---... | 42.458333 | 81 | 0.654563 | [
"MIT"
] | PacktPublishing/DotNET-Standard-2-Cookbook | Chapter08/Chapter8.Xamarin/Chapter8.Xamarin.iOSLib/obj/Debug/netstandard2.0/Chapter8.Xamarin.iOSLib.AssemblyInfo.cs | 1,019 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.