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 Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.SpaServices.AngularCli;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration... | 39.63354 | 143 | 0.596615 | [
"MIT"
] | FlorianMeinhart/ASP.NET-Core-5-and-Angular | Chapter_10/WorldCities/Startup.cs | 6,381 | C# |
using ClangAggregator.Types;
namespace ClangCaster
{
class CSEnumTemplate : CSTemplateBase
{
protected override string TemplateSource => @" // {{ type.Location.Path.Path }}:{{ type.Location.Line }}
public enum {{ type.Name }}
{
{% for value in type.Values -%}
{{ value.Name ... | 29.075 | 116 | 0.460877 | [
"MIT"
] | ousttrue/ClangCaster | ClangCaster/CSEnumTemplate.cs | 1,163 | C# |
using IronBrew2.Bytecode_Library.Bytecode;
using IronBrew2.Bytecode_Library.IR;
namespace IronBrew2.Obfuscator.Opcodes
{
public class OpVarArg : VOpcode
{
public override bool IsInstruction(Instruction instruction) =>
instruction.OpCode == Opcode.VarArg && instruction.B != 0;
public override string GetObfusc... | 22.170732 | 69 | 0.726073 | [
"MIT"
] | CompilerErrorRBX/ironbrew-2 | IronBrew2/Obfuscator/Opcodes/OpVarArg.cs | 909 | C# |
//
// ExtAudioFile.cs: ExtAudioFile wrapper class
//
// Authors:
// AKIHIRO Uehara (u-akihiro@reinforce-lab.com)
// Marek Safar (marek.safar@gmail.com)
//
// Copyright 2010 Reinforce Lab.
// Copyright 2012 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this sof... | 38.703529 | 174 | 0.599368 | [
"MIT"
] | Terricide/monomac | src/AudioUnit/ExtAudioFile.cs | 16,449 | C# |
// Copyright(c) 2020 Pixel Precision LLC
//
// 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, p... | 35.314286 | 137 | 0.600728 | [
"Unlicense"
] | Reavenk/PxPre-Phonics | GenS/GenInvert.cs | 2,474 | C# |
using MediatR;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Dddify.DependencyInjection;
namespace MyCompany.MyProject.Application.Behaviours;
public class LoggingBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>, ITransientDependency
where T... | 28 | 134 | 0.752747 | [
"MIT"
] | esofar/dddify | samples/MyCompany.MyProject.Application/Behaviours/LoggingBehavior.cs | 730 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using Abp.Dependency;
namespace Schruted.Authentication.External
{
public class ExternalAuthManager : IExternalAuthManager, ITransientDependency
{
private readonly IIocResolver _iocResolver;
private readonly IExternalAuthConfigurat... | 36.367347 | 119 | 0.672278 | [
"MIT"
] | KaanYilmazz/Schruted | aspnet-core/src/Schruted.Web.Core/Authentication/External/ExternalAuthManager.cs | 1,784 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Data;
using bv.model.BLToolkit;
namespace bv.model.Model.Extenders
{
public class GetNextNumberExtender<T> : IGetScalarExtender<T, string>
{
#region IGetScalarExtender<T,R> Members
... | 27.772727 | 157 | 0.685761 | [
"BSD-2-Clause"
] | EIDSS/EIDSS-Legacy | EIDSS v5/bv.model/Model/Extenders/GetNextNumberExtender.cs | 613 | C# |
using MixERP.Net.ApplicationState.Cache;
using MixERP.Net.i18n.Resources;
using MixERP.Net.WebControls.AttachmentFactory;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace MixERP.Net.WebControls.StockTransactionFactory
{
public partial class StockTransactionForm
{
private static void Cr... | 35.028571 | 91 | 0.619086 | [
"MPL-2.0"
] | asine/mixerp | src/Libraries/Server Controls/Project/MixERP.Net.WebControls.StockTransactionFactory/Control/Form/Attachment.cs | 1,228 | C# |
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// --------------------------------------------------------------------------------------------
// NOTE: DO NOT IMPORT ANYTHING BESIDES SYSTEM IMPORTS INTO THIS F... | 46.995708 | 177 | 0.597534 | [
"MIT"
] | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-leritwo | VSCode-win32-x64-1.53.2/resources/app/extensions/typescript-language-features/node_modules/typescript-vscode-sh-plugin/.github/workflows/PrebuildSteps.cs | 10,950 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using Microsoft.AspNetCore.Mvc;
namespace Miru.Mvc
{
public abstract class ExceptionResultConfiguration
{
public readonly List<ExceptionResultExpression> Rules = new List<ExceptionResultExpression>();
public ExceptionResultExpre... | 24.458333 | 102 | 0.626917 | [
"MIT"
] | MiruFx/Miru | src/Miru/Mvc/ExceptionResultConfiguration.cs | 587 | 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.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.EntityFrameworkCore.Design.Tests, PublicKey=002400000480000094000000060... | 88.142857 | 408 | 0.901135 | [
"Apache-2.0"
] | EasonDongH/EntityFrameworkCore | src/EFCore.Design/Properties/InternalsVisibleTo.cs | 617 | C# |
using UnityEngine;
public class TE_ObjectManipulator : MonoBehaviour
{
EntityAlive _EntityAlive;
EntityPlayerLocal _Player;
PlayerMoveController _PlayerMoveController;
Animator _Animator;
AvatarLocalPlayerController _AvatarLocalPlayerController;
Transform _currentTarget;
string _LocalPosX;
string _Lo... | 27.561713 | 139 | 0.611131 | [
"MIT"
] | TormentedEmu/7DTD-A19-DMTMods | TE_ObjectManipulator/Scripts/TE_ObjectManipulator.cs | 10,944 | C# |
namespace CodeCamp.Domain
{
using Magnum.ObjectExtensions;
using MassTransit;
using Microsoft.Practices.ServiceLocation;
public static class DomainContext
{
private static IServiceBus _serviceBus;
private static IServiceLocator _serviceLocator;
public static ISer... | 26.709677 | 87 | 0.603865 | [
"Apache-2.0"
] | DavidChristiansen/MassTransit | src/Samples/Audit/CodeCamp.Domain/DomainContext.cs | 828 | C# |
using AutoMapper;
using Pokebook.core.Data;
using Pokebook.core.Models;
using Pokebook.core.Models.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Pokebook.core.Repositories.Specific
{
public class FriendshipRepository : MappingRepository<Friendship>, IFriendsh... | 34.431373 | 105 | 0.615034 | [
"MIT"
] | PhilibertJens/Pokebook | Pokebook.core/Repositories/Specific/FriendshipRepository.cs | 1,758 | C# |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class gamestateMachineTransitionDefinition : graphGraphConnectionDefinition
{
[Ordinal(0)] [RED("priority")] public CFloat Priority { get; set; }
public g... | 27.5625 | 123 | 0.743764 | [
"MIT"
] | Eingin/CP77Tools | CP77.CR2W/Types/cp77/gamestateMachineTransitionDefinition.cs | 426 | C# |
namespace Amazon.Route53;
public sealed class TestDNSAnswerRequest { }
| 19 | 45 | 0.776316 | [
"MIT"
] | TheJVaughan/Amazon | src/Amazon.Route53/Actions/TestDNSAnswerRequest.cs | 78 | C# |
using System.Collections.Generic;
using System.Linq;
using ESFA.DC.Data.AppsEarningsHistory.Model;
using ESFA.DC.ILR.FundingService.FM36.FundingOutput.Model.Output;
using ESFA.DC.ILR1819.DataStore.Interface;
using ESFA.DC.ILR1819.DataStore.Interface.Mappers;
using ESFA.DC.ILR1819.DataStore.Model.History;
namespace ES... | 55.044776 | 146 | 0.661334 | [
"MIT"
] | SkillsFundingAgency/DC-ILR-1819-DataStore | src/ESFA.DC.ILR1819.DataStore.PersistData/Mapper/FM36HistoryMapper.cs | 3,690 | C# |
// <copyright file="LoggingEventSourceTests.cs" company="Marc A. Modrow">
// Copyright (c) 2018 All Rights Reserved
// <author>Marc A. Modrow</author>
// </copyright>
using CoreSkills.Examples.Project.Logging;
using Xunit;
namespace CoreSkills.Examples.Project.LoggingTests
{
/// <summary>
/// Tests ... | 32.382353 | 82 | 0.594005 | [
"MIT"
] | mmodrow/CoreSkills-Examples | 2018/03/28_dependency-injection/CoreSkills.Examples.Project.LoggingTests/LoggingEventSourceTests.cs | 1,103 | C# |
////////////////////////////////////////////////////////////////////////////////
//
// @module Texture Packer Plugin for Unity3D
// @author Osipov Stanislav lacost.st@gmail.com
//
////////////////////////////////////////////////////////////////////////////////
using UnityEngine;
using UnityEditor;
using System.Col... | 19.183486 | 81 | 0.499283 | [
"Apache-2.0"
] | eaheckert/Asteroid | Assets/Extensions/TexturePacker/TPCore/Editor/TexturePackerEditor/TexturePackerEditor.cs | 2,093 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Challenge2_Library
{
public class ClaimRepo
{
// FIELD to use in CRUD methods
private Queue<Claim> _queuOfClaims = new Queue<Claim>();
//Functions needed - ... | 23.333333 | 112 | 0.616807 | [
"Unlicense",
"MIT"
] | JoshuaCHartman/GoldBadge_Challenges | Challenge2_Library/ClaimRepo.cs | 1,192 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Compass : MonoBehaviour
{
private RectTransform _rectTransform;
private Camera _camera;
private float _first;
// Start is called before the first frame update
void Start()
{
_rectTransform = GetComponent<RectT... | 20.896552 | 94 | 0.712871 | [
"Unlicense"
] | kurokurogamer/MAKINAS | MACHINA/Assets/Scripts/Compass.cs | 608 | C# |
using TMPro;
using UnityEngine;
using UnityEngine.Events;
using UnitySceneLoaderManager;
namespace SonarSpaceship.Controllers
{
public class ProfileNameInputFieldUIControllerScript : MonoBehaviour, IProfileNameInputFieldUIController
{
[SerializeField]
private TMP_InputField profileNameInputFie... | 31.5 | 108 | 0.589226 | [
"MIT"
] | BigETI/SonarSpaceship | Assets/SonarSpaceship/Scripts/Controllers/ProfileNameInputFieldUIControllerScript.cs | 2,081 | C# |
using System;
using Nirvana.Configuration;
using Nirvana.CQRS;
namespace TechFu.Nirvana.EventStoreSample.Services.Shared.Services.Infrastructure.UiNotifications
{
[InfrastructureRoot(typeof(TestUiEvent))]
public class TestUiEvent : UiEvent<TestUiEvent>
{
public string Message { get; set; }
... | 31.461538 | 97 | 0.762836 | [
"MIT"
] | nirvana-framework/Samples | src/EventStore/TechFu.Nirvana.EventStoreSample.Services/Services/Infrastructure/UiNotifications/TestUiEvent.cs | 411 | 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... | 31.08 | 115 | 0.616152 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/GlobalAccelerator/Generated/Model/ListCustomRoutingListenersRequest.cs | 3,108 | C# |
/*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using System.Globalization;
using System.Linq;
using System.Runtime.Caching;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sportradar.OddsFeed.SDK.Common.Internal;
using Sportradar.OddsFeed.S... | 44.751037 | 270 | 0.6586 | [
"Apache-2.0"
] | Honore-Gaming/UnifiedOddsSdkNetCore | src/Tests/Sportradar.OddsFeed.SDK.Entities.REST.Test/SportEventCacheItemTests.cs | 10,787 | C# |
// <copyright file="GoogleSignInImpl.cs" company="Google Inc.">
// Copyright (C) 2017 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://ww... | 34.761421 | 83 | 0.688084 | [
"Apache-2.0"
] | strike-zero/google-signin-unity | GoogleSignInPlugin/Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs | 6,850 | C# |
using DCSoft.Common;
using DCSoft.Drawing;
using DCSoft.Printing;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace DCSoft.Writer.Controls
{
/// <summary>
/// 支持文本编辑的分页视图控件
/// </summary>
[Guid("00012345-6789-ABC... | 19.364662 | 115 | 0.605708 | [
"MIT"
] | h1213159982/HDF | Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoft.Writer.Controls/TextPageViewControl.cs | 5,613 | 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... | 31.411765 | 104 | 0.607366 | [
"Apache-2.0"
] | Melvinerall/aws-sdk-net | sdk/src/Services/Macie2/Generated/Model/S3Destination.cs | 3,204 | C# |
using System;
using Bunit.TestAssets.SampleComponents;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Bunit.Extensions.WaitForHelpers
{
public class RenderedFragmentWaitForHelperExtensionsTest : TestContext
{
public RenderedFragmentWaitForHelperExtensionsTest(ITestOutputHelper testOutput)
{
... | 32.885246 | 98 | 0.715852 | [
"MIT"
] | HamedMoghadasi/bUn | tests/bunit.core.tests/Extensions/WaitForHelpers/RenderedFragmentWaitForHelperExtensionsTest.cs | 4,012 | C# |
//-----------------------------------------------------------------------
// <copyright file="SqlReadJournalProvider.cs" company="Akka.NET Project">
// Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copy... | 31 | 87 | 0.554839 | [
"Apache-2.0"
] | hueifeng/akka.net | src/contrib/persistence/Akka.Persistence.Query.Sql/SqlReadJournalProvider.cs | 932 | C# |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class SRequiredSwitch : CVariable
{
[Ordinal(1)] [RED("requiredSwitchTag"... | 32.111111 | 123 | 0.72549 | [
"MIT"
] | DerinHalil/CP77Tools | CP77.CR2W/Types/W3/RTTIConvert/SRequiredSwitch.cs | 841 | 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.ComponentModel.Composition;
using System.Diagnostics.CodeAnalysis;
using Microsoft.CodeAnalysis.Editor... | 43.592593 | 194 | 0.784197 | [
"MIT"
] | BertanAygun/roslyn | src/EditorFeatures/CSharp/ExtractInterface/ExtractInterfaceCommandHandler.cs | 1,179 | C# |
//
// MustUnderstandBehavior.cs
//
// Author: Atsushi Enomoto (atsushi@ximian.com)
//
// Copyright (C) 2006 Novell, Inc (http://www.novell.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 the So... | 32.058824 | 73 | 0.761927 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/System.ServiceModel/System.ServiceModel.Description/MustUnderstandBehavior.cs | 2,180 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities;
using Microsoft.MixedReality.Toolkit.XRSDK.Input;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine.XR;
#if WMR_ENABLED
using Unity.XR... | 40.402597 | 209 | 0.653809 | [
"MIT"
] | AMUZA668/MixedRealityToolkit-Unity | Assets/MRTK/Providers/WindowsMixedReality/XRSDK/Controllers/BaseWindowsMixedRealityXRSDKSource.cs | 3,113 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------... | 33.0625 | 84 | 0.541588 | [
"MIT"
] | CMeeg/kentico-contrib | src/CMS/CMSModules/CustomTables/FormControls/CustomTableItemSelector.ascx.designer.cs | 1,060 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Adv.Class02.Exercise.Entities
{
public class Student : User, IStudent
{
public List<int> Grades { get; set; }
public void PringGrades()
{
foreach (int grade in Grades)
{
Console.WriteLine(grade);
}
}... | 19.52 | 117 | 0.688525 | [
"MIT"
] | sedc-codecademy/skwd8-06-csharpadv | g4/03-Abstracting/Adv.Class01/Adv.Class01.Exercise/Entities/Student.cs | 490 | 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("DefiningClasses_Exercise")]
[assembly: Ass... | 39.314286 | 84 | 0.749273 | [
"MIT"
] | mayapeneva/C-Sharp-OOP-Basic | 01.DefiningClasses/DefiningClasses_Exercise/Properties/AssemblyInfo.cs | 1,379 | C# |
namespace CDSPracticalTests
{
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using CDSPractical;
using Xunit;
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Unit test class")]
public sealed class GenerateListTests
{
... | 21.777778 | 129 | 0.612245 | [
"Apache-2.0"
] | ciprian-vilcan/interview-questions | csharp/CDSPracticalTests/GenerateListTests.cs | 588 | C# |
/*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see LICENSE
*/
using System;
using System.Collections.Generic;
namespace Thinktecture.IdentityModel.Client
{
public class AuthorizeResponse
{
public enum ResponseTypes
{
AuthorizationCode,
Token... | 22.862745 | 83 | 0.435678 | [
"BSD-3-Clause"
] | BadriL/Thinktecture.IdentityModel | source/Client/AuthorizeResponse.cs | 3,500 | 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("Ta... | 38.891892 | 84 | 0.749826 | [
"MIT"
] | AxelUser/dis-final-work | TaskManager/TaskManager.ServiceBus.WinService/Properties/AssemblyInfo.cs | 1,442 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ajkControls
{
public partial class TextView : UserControl
{
public TextView()
... | 22.106383 | 108 | 0.564004 | [
"MIT"
] | ajkfds/ajkControls | TextView/TextView.cs | 1,041 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
namespace RogueGame.GameSystems.Items
{
public class ItemTemplateLoader: IItemTemplateLoader
{
private const string ItemTemplateXml = "Content\\ItemTemplates.xml";
public Dictionary<string, ItemTemplate> Load(... | 31.333333 | 76 | 0.636968 | [
"MIT"
] | bzz445/RogueGame | GameSystems/Items/ItemTemplateLoader.cs | 752 | C# |
using Assistant.Logging;
using Assistant.Logging.Interfaces;
using System.Threading.Tasks;
using Unosquare.RaspberryIO;
using static Assistant.Logging.Enums;
namespace Assistant.Gpio {
/// <summary>
/// This class is only allowed to be used if we have the Generic driver (RaspberryIO driver)
/// </summary>
public ... | 25.484848 | 108 | 0.70868 | [
"MIT"
] | k3nw4y/HomeAssistant | Assistant.Gpio/BluetoothController.cs | 2,523 | C# |
//
// Copyright (c) Microsoft and contributors. 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 ... | 40.496552 | 137 | 0.631812 | [
"MIT"
] | Cesarfgc/azure-powershell | src/Compute/Compute/Generated/VirtualMachineScaleSet/Config/AddAzureRmVmssDataDiskCommand.cs | 5,728 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Security;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// as... | 42.594595 | 122 | 0.760787 | [
"MIT"
] | AndyButland/Umbraco-CMS | src/UmbracoExamine/Properties/AssemblyInfo.cs | 1,579 | C# |
//
// Copyright (C) DataStax Inc.
//
// 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 la... | 33.822222 | 141 | 0.679369 | [
"Apache-2.0"
] | CassOnMars/csharp-driver | src/Cassandra/Data/Linq/CqlUpdate.cs | 1,522 | C# |
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using Sfa.Tl.ResultsAndCertification.Common.Helpers;
using Sfa.Tl.ResultsAndCertification.Web.ViewModel.Result;
using System.Linq;
using Xunit;
using BreadcrumbContent = Sfa.Tl.ResultsAndCertification.Web.Content.ViewComponents.Breadcrumb;
namespace Sfa.Tl.Resul... | 43.857143 | 111 | 0.718567 | [
"MIT"
] | SkillsFundingAgency/tl-result-and-certification | src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/ResultControllerTests/UploadResultsFileGet/When_Action_Called.cs | 1,537 | C# |
/*
* Overture API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collectio... | 40.531915 | 411 | 0.562992 | [
"MIT"
] | Yaksa-ca/eShopOnWeb | src/Yaksa.OrckestraCommerce.Client/Model/InventorySchedule.cs | 11,430 | 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... | 43.230263 | 115 | 0.551058 | [
"Apache-2.0"
] | GitGaby/aws-sdk-net | sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/DefaultCacheBehaviorUnmarshaller.cs | 6,571 | C# |
using System;
using System.Collections.Generic;
using log4net;
namespace CKAN.NetKAN.Services
{
internal sealed class CachingHttpService : IHttpService
{
private readonly NetFileCache _cache;
private HashSet<Uri> _requestedURLs = new HashSet<Uri>();
private bool ... | 33.295455 | 105 | 0.480091 | [
"MIT"
] | blowfishpro/CKAN | Netkan/Services/CachingHttpService.cs | 4,397 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace vroom.Areas.Identity.Pages.Account
{
public class AccessDeniedModel : PageModel
{
public void OnGet()
{
}
}
}
| 16.666667 | 46 | 0.693333 | [
"MPL-2.0"
] | kvolodymyr/Clout-It-C-19-04 | Students/OleksandrP/CourseProject/BikeShopProject/vroom/Areas/Identity/Pages/Account/AccessDenied.cshtml.cs | 302 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... | 59.004425 | 516 | 0.668841 | [
"MIT"
] | 594270461/LandlordsCore | Unity/Assets/Model/ILBinding/System_Collections_Generic_Dictionary_2_String_List_1_ILTypeInstance_Binding.cs | 13,335 | C# |
// Copyright © 2017 Dmitry Sikorsky. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using ExtCore.Infrastructure;
namespace ExtCore.Data.Dapper
{
/// <summary>
/// Overrides the <see cref="ExtensionBase">ExtensionBase</see> cla... | 29.794118 | 111 | 0.653504 | [
"Apache-2.0"
] | masums/ExtCore | src/ExtCore.Data.Dapper/Extension.cs | 1,016 | 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("Co... | 37.324324 | 84 | 0.742216 | [
"Apache-2.0"
] | DefectiveCube/IDE | IDE/Core/Properties/AssemblyInfo.cs | 1,384 | C# |
#pragma checksum "..\..\..\..\Components\ProjectView\ProjectManager.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "617F76E4B53F542C5CF85E01FEE955FE"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致... | 39.657895 | 150 | 0.673192 | [
"MIT"
] | Asixa/ACS-Creator | ACS-Creator/ACS-Creator/obj/Debug/Components/ProjectView/ProjectManager.g.i.cs | 3,122 | C# |
namespace StatTracker.Areas.HelpPage.ModelDescriptions
{
public class CollectionModelDescription : ModelDescription
{
public ModelDescription ElementDescription { get; set; }
}
} | 29.142857 | 65 | 0.730392 | [
"MIT"
] | mdewey/StatTracker | StatTracker/StatTracker/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs | 204 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Cube : MonoBehaviour {
// enum SlotDir {
// x = 0,
// _x = 1,
// z = 2,
// _z = 3,
// };
public Slot[] slots = new Slot[4];
void OnDrawGizmos()
{
Gizmos.matrix = transform.localToWorldMatrix;
Gizmos.color = Color... | 16.90625 | 63 | 0.648799 | [
"MIT"
] | wdmir/MonumentVally-Demo | Assets/Script/Cube.cs | 543 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace MicroElements.Metadata.SampleApp
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder... | 25.666667 | 70 | 0.589981 | [
"MIT"
] | micro-elements/MicroElements.Metadata | sample/MicroElements.Metadata.SampleApp/Program.cs | 539 | C# |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Quasardb.Exceptions;
using Quasardb.TimeSeries;
namespace Quasardb.Tests.Entry.Table.Double
{
[TestClass]
public class Max
{
readonly QdbDoublePointCollection _points = new QdbDoublePointCollection
{... | 29.590909 | 99 | 0.547158 | [
"BSD-3-Clause"
] | bureau14/qdb-api-dotnet | Quasardb.Tests/Entry/Table/Double/Max.cs | 3,257 | 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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Classification;
us... | 42.020408 | 124 | 0.70034 | [
"MIT"
] | IanKemp/roslyn | src/Workspaces/Remote/ServiceHub/Services/SemanticClassification/RemoteSemanticClassificationService.cs | 2,061 | C# |
using System.Collections.Generic;
using MiniPay.App.User;
namespace MiniPay.App.Requests
{
public sealed class AppActor
{
public string Id { get; }
public IEnumerable<UserRoles> Roles { get; }
public AppActor(string id, HashSet<UserRoles> roles)
{
Id = id;
... | 19.833333 | 60 | 0.582633 | [
"MIT"
] | SilasReinagel/MiniPay | src/MiniPay.App/Requests/AppActor.cs | 359 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
namespace AutomationTool
{
[Help("Merge one or more remote DDC shares into a local sh... | 33.537143 | 187 | 0.673198 | [
"MIT"
] | CaptainUnknown/UnrealEngine_NVIDIAGameWorks | Engine/Source/Programs/AutomationTool/Scripts/SyncDDC.cs | 17,609 | C# |
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System.IO;
namespace DotSpatial.Data.Forms
{
/// <summary>
/// FolderItem.
/// </summary>
internal class FolderItem : Directo... | 27.522727 | 112 | 0.553262 | [
"MIT"
] | eapbokma/DotSpatial | Source/DotSpatial.Data.Forms/FolderItem.cs | 1,211 | C# |
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SmartSorting.Algorithms;
using SmartSorting.Structure;
using SmartSorting.Tests.Extensions;
namespace SmartSorting.Tests.Algorithms
{
[TestClass]
public class MergeSortTests
{
[TestMethod]... | 35.514644 | 90 | 0.553605 | [
"MIT"
] | evgomes/smart-sorting | SmartSorting.Tests/Algorithms/MergeSortTests.cs | 8,488 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.YamlSerialization.ObjectFactories
{
using System;
using System.Collections.Generic;
using System.Reflection;
usin... | 40.078652 | 102 | 0.477152 | [
"MIT"
] | Algorithman/docfx | src/Microsoft.DocAsCode.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs | 3,481 | C# |
// Copyright (c) 2021 Salzschneider and others
//
// 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, mer... | 35.222222 | 94 | 0.660658 | [
"MIT"
] | salzschneider/Metal.Weight.Calculator | src/MetalWeightCalculator/Validation/ValidationError.cs | 2,221 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
namespace EntityFrameworkCore.Triggered.Internal
{
public class NonCascadingTriggerContextDiscoveryStrategy : ITriggerContextDiscoveryStrategy
{
readonly static Action<ILogger, int, string, Exception... | 38.685714 | 253 | 0.697194 | [
"MIT"
] | ScriptBox21/EntityFrameworkCore.Triggered | src/EntityFrameworkCore.Triggered/Internal/NonCascadingTriggerContextDiscoveryStrategy.cs | 1,356 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Jeelu.KeywordResonator.Client
{
public partial class ProgressBarForm : Form
{
private long iSecond = 0;
public Progre... | 33.493671 | 158 | 0.57483 | [
"Apache-2.0"
] | xknife-erian/nknife.jeelusrc | NKnife.App.WebsiteBuilder/KeywordResonator/Client/Win/WordManage/ProgressBarForm.cs | 2,706 | C# |
using System;
using UltimaOnline;
namespace UltimaOnline.Items
{
public class GwennosHarp : LapHarp
{
public override int LabelNumber { get { return 1063480; } }
public override int InitMinUses { get { return 1600; } }
public override int InitMaxUses { get { return 1600; } }
... | 24.410256 | 68 | 0.544118 | [
"MIT"
] | netcode-gamer/game.ultimaonline.io | UltimaOnline.Data/Items/Minor Artifacts/GwennosHarp.cs | 952 | C# |
// Copyright (c) 2021 Ingenium Software Engineering. All rights reserved.
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
namespace Build
{
/// <summary>
/// Defines the required
/// </summary>
public interface ITaskHook
{
}
}
| 20.466667 | 74 | 0.697068 | [
"MIT"
] | IngeniumSE/Build | apps/Build.Abstractions/Hooks/ITaskHook.cs | 309 | C# |
using Amazon.JSII.JsonModel.Spec;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NSubstitute;
using Xunit;
namespace Amazon.JSII.Generator.UnitTests
{
public class TypeExtensionsTests
{
const string Prefix = nameof(Generator) + "." + nameof(TypeExtensions) + ".";
... | 37.691729 | 100 | 0.528027 | [
"Apache-2.0"
] | costleya/jsii | packages/jsii-dotnet-generator/src/Amazon.JSII.Generator.UnitTests/TypeExtensionsTests.cs | 5,015 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace TowerSoft.HtmlToExcel {
internal static class Extensions {
internal static string SafeTrim(this string thisString) {
if (!string.IsNullOrWhiteSpace(thisString)) {
return thisString.Trim();
... | 24.866667 | 65 | 0.627346 | [
"MIT"
] | JordanMarr/HtmlToExcel | HtmlToExcel/Extensions.cs | 375 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PingMessage.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project ro... | 37.318182 | 120 | 0.477467 | [
"MIT"
] | kephas-software/kephas | src/Kephas.Messaging.Messages/Messages/PingMessage.cs | 823 | C# |
// -----------------------------------------------------------------------
// <copyright file="MsSql2005Dialect.cs" company="MicroLite">
// Copyright 2012 - 2015 Project Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Li... | 43.291667 | 236 | 0.603144 | [
"Apache-2.0"
] | CollaboratingPlatypus/MicroLite | MicroLite/Dialect/MsSql2005Dialect.cs | 3,048 | C# |
/*
* LeagueClient
*
* 7.23.209.3517
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Text;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations... | 35.825806 | 158 | 0.56618 | [
"MIT"
] | wildbook/LeagueClientApi | Model/LolChatTeamPlayerEntry.cs | 5,553 | 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("Web... | 37.722222 | 84 | 0.752577 | [
"MIT"
] | ranjithmurthy/CrossPlatfomfeedbackMobileApp | WebServicesDemo/Properties/AssemblyInfo.cs | 1,361 | 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... | 31.771812 | 117 | 0.58365 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/ElasticBeanstalk/Generated/Model/PlatformBranchSummary.cs | 4,734 | C# |
using FluentNHibernate.MappingModel.ClassBased;
namespace FluentNHibernate.Visitors
{
/// <summary>
/// Visitor that performs validation against the mapping model.
/// </summary>
public class ValidationVisitor : DefaultMappingModelVisitor
{
public ValidationVisitor()
{
... | 32.322581 | 106 | 0.551896 | [
"BSD-3-Clause"
] | JamesKovacs/fluent-nhibernate | src/FluentNHibernate/Visitors/ValidationVisitor.cs | 1,002 | C# |
#region license
// Copyright (c) HatTrick Labs, LLC. 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 re... | 47.717391 | 211 | 0.691572 | [
"Apache-2.0"
] | HatTrickLabs/dbExpression | src/HatTrick.DbEx.Sql/_api/UpdateEntities.cs | 2,197 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Abp.Application.Navigation;
using Abp.Runtime.Session;
namespace WeixinProject.Web.Views.Shared.Components.SideBarNav
{
public class SideBarNavViewComponent : WeixinProjectViewComponent
{
private readonly IUserNavigationManager _userN... | 31.090909 | 113 | 0.67154 | [
"MIT"
] | Yuexs/WeixinProject | src/WeixinProject.Web.Mvc/Views/Shared/Components/SideBarNav/SideBarNavViewComponent.cs | 1,028 | C# |
namespace VkLibrary.Tests.Helpers
{
/// <summary>
/// To get your own constants consider creating a new Vkontakte application
/// at https://dev.vk.com/apps, get Application Id from there, procceed OAuth to get
/// your access token, change Password and Login constant to your own vkontakte login
... | 42.307692 | 90 | 0.677273 | [
"MIT"
] | FrediKats/VkLibrary | VkLibrary.Tests/Helpers/Constants.cs | 1,102 | C# |
using System;
using System.Reflection;
namespace ValidationService.Areas.HelpPage.ModelDescriptions
{
public interface IModelDocumentationProvider
{
string GetDocumentation(MemberInfo member);
string GetDocumentation(Type type);
}
} | 21.833333 | 60 | 0.755725 | [
"MIT"
] | ongzhixian/credit-card | ValidationService/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs | 262 | C# |
/*
* Copyright 2010-2013 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.425532 | 151 | 0.636336 | [
"Apache-2.0"
] | virajs/aws-sdk-net | AWSSDK_DotNet35/Amazon.OpsWorks/Model/DescribeCommandsRequest.cs | 3,330 | C# |
using Microsoft.AspNetCore.Components.Rendering;
using Microsoft.AspNetCore.Html;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Maincotech.Web.Components.DocumentMetadata.Renderers
{
[Flags]
enum RendererFlag
{
... | 37.45082 | 119 | 0.610199 | [
"MIT"
] | maincotech/webcomponents | src/Maincotech.Web.Components/DocumentMetadata/Renderers/Renderer.cs | 4,571 | 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.Threading.Tasks;
using Contoso.GameNetCore.Server.IntegrationTesting;
using Contoso.GameNetCore.Testing.xunit;
using M... | 42.972973 | 138 | 0.498113 | [
"Apache-2.0"
] | bclnet/GameNetCore | src/Servers/test/FunctionalTests/HelloWorldTest.cs | 4,770 | C# |
//
// TransactionId.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2019 Alan McGovern
//
// 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 restricti... | 34.085106 | 73 | 0.71161 | [
"MIT"
] | Peichoto/monotorrent | src/MonoTorrent/MonoTorrent.Dht/TransactionId.cs | 1,602 | C# |
// Method.cs
// jQueryUIGenerator/Model
//
// Copyright 2012 Ivaylo Gochkov
//
// 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
//
// Unle... | 29.548387 | 75 | 0.733624 | [
"Apache-2.0"
] | Saltarelle/SaltarelleJQueryUI | Generator/Model/Method.cs | 918 | C# |
using System;
using System.IO;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace extractor;
/// <summary>
/// Certain HTTP calls require an HTTP client that is not authenticated. For instance, calls to download a blob with a SAS token.
/// </summary>
internal class NonAuthenticat... | 32.317073 | 139 | 0.700377 | [
"MIT"
] | Azure/apiops | tools/code/extractor/CommonTypes.cs | 1,327 | C# |
/*
Copyright 2015 Shane Lillie
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 w... | 27.189655 | 81 | 0.590996 | [
"Apache-2.0"
] | Luminoth/BackpackPlanner | BackpackPlanner/BackpackPlanner/Core/HockeyApp/HockeyAppManager.cs | 1,579 | C# |
using System.Collections.Generic;
using Cheque.DomainClasses.Entities.Common;
namespace Cheque.DomainClasses.Entities
{
/// <summary>
/// </summary>
public class Status : BaseEntity
{
#region NavigationProperties
/// <summary>
/// </summary>
public virtual ICollection<... | 20.733333 | 64 | 0.569132 | [
"Apache-2.0"
] | ImanGit/Cheque | Cheque/Cheque.DomainClasses/Entities/Status.cs | 624 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTLib2.Bioinfo
{
partial class PdbDepreciated
{
public partial class Struct
{
public interface IRes
{
string Name { get; }
}
... | 65.032258 | 111 | 0.295139 | [
"MIT"
] | htna/HCsbLib | HCsbLib/HCsbLib/HTLib2.Bioinfo/Pdb/Depreciated/Struct.BuildBond/Pdb.Struct.BuildBond.cs | 6,050 | C# |
using System;
using System.Collections.Generic;
namespace EZOper.NetSiteUtilities.AopApi
{
/// <summary>
/// AOP API: alipay.marketing.card.query
/// </summary>
public class AlipayMarketingCardQueryRequest : IAopRequest<AlipayMarketingCardQueryResponse>
{
/// <summary>
/// 会员卡查询
... | 23.063636 | 96 | 0.600709 | [
"MIT"
] | erikzhouxin/CSharpSolution | NetSiteUtilities/AopApi/Request/AlipayMarketingCardQueryRequest.cs | 2,547 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Reflection.Metadata;
usi... | 53.012133 | 227 | 0.653396 | [
"Apache-2.0"
] | bgrainger/roslyn | src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs | 83,019 | C# |
using System;
using System.Collections;
using CMS.Ecommerce;
using CMS.Helpers;
using CMS.UIControls;
public partial class CMSModules_Ecommerce_FormControls_Cloning_Ecommerce_AddressSettings : CloneSettingsControl
{
#region "Properties"
/// <summary>
/// Gets properties hashtable.
///... | 23.151515 | 112 | 0.588351 | [
"MIT"
] | CMeeg/kentico-contrib | src/CMS/CMSModules/Ecommerce/FormControls/Cloning/Ecommerce_AddressSettings.ascx.cs | 1,530 | C# |
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
namespace IdentityServerHost.Quickstart.UI
{
public class AccountOptions
{
public static bool AllowLocalLogin = true;
public static bool AllowRememberLogin = true;... | 29.666667 | 93 | 0.731942 | [
"Apache-2.0"
] | AthosSchrapett/erudio-microservices-dotnet6 | GeekShopping/GeekShopping.IdentityServer/MainModule/Account/AccountOptions.cs | 625 | C# |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Red.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Red.Formats.Red.Records.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CBTTaskHorseUncontrolableDef ... | 33.869565 | 140 | 0.761232 | [
"MIT"
] | bclnet/GameEstate | src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CBTTaskHorseUncontrolableDef.cs | 779 | C# |
// Copyright (c) Jan Škoruba. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
using System;
namespace Skoruba.Duende.IdentityServer.Admin.BusinessLogic.Shared.ExceptionHandling
{
public class UserFriendlyErrorPageException : Exception
{
public string ErrorKey { get; set; }
... | 27.769231 | 119 | 0.67313 | [
"Apache-2.0"
] | CentauriConsulting/Duende.IdentityServer.Admin | src/Skoruba.Duende.IdentityServer.Admin.BusinessLogic.Shared/ExceptionHandling/UserFriendlyErrorPageException.cs | 725 | C# |
using Newtonsoft.Json;
namespace JsonApiDotNetCore.Models.JsonApiDocuments
{
public sealed class ResourceLinks
{
/// <summary>
/// https://jsonapi.org/format/#document-resource-object-links
/// </summary>
[JsonProperty("self", NullValueHandling = NullValueHandling.Ignore)]
... | 26 | 76 | 0.651099 | [
"MIT"
] | bjornharrtell/JsonApiDotNetCore | src/JsonApiDotNetCore/Models/JsonApiDocuments/ResourceLinks.cs | 364 | C# |
using System;
using CCLLC.Telemetry;
namespace CCLLC.Xrm.AppInsights
{
public class XrmAppInsightsClient : IXrmAppInsightsClient
{
private IEventLogger logger;
public ITelemetryClient TelemetryClient { get; private set; }
public ITelemetryFactory TelemetryFactory { get; private set; }
... | 34.010417 | 183 | 0.524043 | [
"MIT"
] | ScottColson/CCLCC | XrmAppInsightsConnector/XrmAppInsightsClient.cs | 3,267 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.