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 |
|---|---|---|---|---|---|---|---|---|
// 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.Diagnostics;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
us... | 43.085586 | 225 | 0.576163 | [
"MIT"
] | hgGeorg/corefx | src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Windows/CertificatePal.PrivateKey.cs | 9,565 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using LsifDotnet.Lsif;
using LsifDotnet.Roslyn;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileSystemGlobbing;
using... | 40.991453 | 187 | 0.613636 | [
"Apache-2.0"
] | tcz717/LsifDotnet | LsifDotnet.Tests/KeywordTest.cs | 4,796 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using Model;
namespace QueueClient
{
public class PrintHelper
{
#region
#region TxDoFunction的func参数
UInt32 TX_FONT_SIZE = 1; /*放大系数,0为原始大小,1为增大1倍,如此类推,最大为7;参数1为宽... | 36.583815 | 97 | 0.584611 | [
"MIT"
] | 1059444127/QueueSystem | QueueClient/QueueClient/PrintHelper.cs | 7,435 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace K3DoNetPlug
{
public interface IToolsButton
{
BaseBiller CurrentBiller { get; }
void AddToolsButton(string name, string parent);
}
}
| 18.461538 | 56 | 0.7 | [
"Apache-2.0"
] | vebin/Kingdee.K3Wise.Plug | K3DoNetPlug/ToolsButton/IToolsButton.cs | 242 | C# |
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
using System;
using System.Collections.Generic;
namespace O3DWB
{
[Serializable]
public class ObjectPlacementPathTileConnectionSettingsView : SettingsView
{
#region Private Variables
[NonSerialized]
private ObjectPlacementPathT... | 42.648352 | 244 | 0.663038 | [
"MIT"
] | AestheticalZ/Faithful-SCP-Unity | Assets/Octave3D World Builder/Scripts/Inspector GUI/Views/Settings Views/Objects/Object Placement/Path/Tile Connections/ObjectPlacementPathTileConnectionSettingsView.cs | 15,526 | C# |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data.Objects.DataClasses;
namespace Cats.Models.Hubs.MetaModels
{
public sealed class GiftCertificateDetailMetaModel
{
[Required(ErrorMessage="Gift Certificate Detail is required")]
public Int32 GiftCe... | 30.5 | 81 | 0.699454 | [
"Apache-2.0"
] | IYoni/cats | Models/Cats.Models.Hub/MetaModels/GiftCertificateDetailMetaModel.cs | 2,196 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... | 30.184615 | 83 | 0.609582 | [
"Apache-2.0"
] | ImEdisonJiang/tencentcloud-sdk-dotnet | TencentCloud/Cdb/V20170320/Models/ModifyParamTemplateRequest.cs | 1,998 | C# |
using System.Web;
using System.Web.Optimization;
namespace Stardust.Continuum
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(ne... | 42.566667 | 112 | 0.5787 | [
"Apache-2.0"
] | JonasSyrstad/Stardust.Interstellar.Rest | Stardust.Continuum/App_Start/BundleConfig.cs | 1,279 | C# |
using DiscoverValidationTest.Model.Animals.Interface;
namespace DiscoverValidationTest.Model.Animals
{
public class Dog : IAnimal
{
public string Name { get; set; }
public int Age { get; set; }
public bool CanFly { get; set; }
public string Type { get; set; }
public Do... | 23.761905 | 66 | 0.551102 | [
"Apache-2.0"
] | toni90acg/DiscoverValidation | DiscoverValidationTest/Model/Animals/Dog.cs | 499 | C# |
using System;
using System.IO;
using System.Text;
using Newtonsoft.Json;
namespace Nebula
{
/// <summary>
/// A builder for <see cref="AttachmentTypeMapping{TDocument,TAttachment}"/> classes.
/// </summary>
/// <typeparam name="TDocument">The type of document.</typeparam>
/// <typeparam name="TAtt... | 36.760684 | 130 | 0.595908 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | cloud-maker-ai/Nebula | Nebula/AttachmentTypeMappingBuilder.cs | 4,303 | C# |
#region Copyright
//=======================================================================================
// Author: Paolo Salvatori
// GitHub: https://github.com/paolosalvatori
//=======================================================================================
// Copyright © 2021 Microsoft Corporation. A... | 41.937079 | 139 | 0.48221 | [
"MIT"
] | paolosalvatori/web-app-redis-sql-db | src/Controllers/ProductsController.cs | 18,665 | C# |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace SlipeServer.Packets.Builder;
public static class ElementBuilderExtensions
{
public static void WritePlayerHealth(this PacketBuilder builder, float health)
=> builder.WriteFloatFromBits(health, 8, 0, 255, t... | 30.625 | 82 | 0.763265 | [
"MIT"
] | correaAlex/Slipe-Server | SlipeServer.Packets/Builder/ElementBuilderExtensions.cs | 492 | C# |
using System;
namespace Avalara.AvaTax.RestClient
{
/// <summary>
///
/// </summary>
public enum LocalNexusTypeId
{
/// <summary>
///
/// </summary>
Selected,
/// <summary>
///
/// </summary>
StateAdministered,
/// <summar... | 13.642857 | 35 | 0.400524 | [
"Apache-2.0"
] | CassOnMars/AvaTaxClientLibrary | clients/dotnet/enums/LocalNexusTypeId.cs | 382 | C# |
using System;
using System.Collections.Generic;
namespace EntityHistory.Core.Entities
{
public class EntityChange
{
public EntityChange()
{
PropertyChanges = new HashSet<EntityPropertyChange>();
}
/// <summary>
/// Maximum length of <see cref="EntityId"/> p... | 26.327586 | 86 | 0.540275 | [
"MIT"
] | EtwasGE/EntityHistory | src/EntityHistory.Core/Entities/EntityChange.cs | 1,529 | 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("Ca... | 37.648649 | 84 | 0.744436 | [
"MIT"
] | Shtereva/Fundamentals-with-CSharp | DataTypesExercises/Calculator/Properties/AssemblyInfo.cs | 1,396 | C# |
using UnityEngine;
using UnityEditor;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
using DH.SceneCrawler;
using UnityEditor.SceneManagement;
using UnityEngine.UI;
namespace DH.SceneCrawler
{
public class SceneCrawlerTests
{
[Test]
public void Crawl_Pass()
... | 30.585714 | 90 | 0.538533 | [
"MIT"
] | DreamHarvesters/scene-crawler | test/Editor/SceneCrawlerTests.cs | 2,143 | C# |
namespace QPass.Core.Security.RNG
{
/// <summary>
/// Interface structure for Pseduo Random Number Generator (PRNG).
/// </summary>
public interface IRNG
{
/// <summary>
/// The name of the algorithm this generator implements.
/// </summary>
/// <returns></returns>
string Algor... | 27.083333 | 71 | 0.574505 | [
"MIT"
] | Shiroechi/QPass-Password-Manager | Source/QPass.Core/Security/RNG/IRNG.cs | 2,277 | C# |
using System.Linq;
using Shouldly;
using StructureMap.Testing.Widget;
using Xunit;
namespace Lamar.Testing.IoC.Acceptance
{
public class use_if_none
{
[Fact]
public void add_the_registration_if_there_is_no_prior()
{
var container = new Container(x =>
{
... | 27.454545 | 82 | 0.50883 | [
"MIT"
] | Christoph-Wagner/lamar | src/Lamar.Testing/IoC/Acceptance/use_if_none.cs | 1,812 | C# |
using NUnit.Framework;
using System;
namespace Main.Test
{
public class MainTest
{
[Test]
public void Test()
{
Assert.True(true);
}
[TestCase(0)]
[TestCase(1)]
public void DataDrivenTest1(int i)
{
Assert.True(i > 0);
... | 18.321429 | 55 | 0.442495 | [
"MIT"
] | DasCleverle/omnisharp-roslyn | test-assets/test-projects/NUnitTestProject/TestProgram.cs | 1,026 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 65.619403 | 224 | 0.694643 | [
"MIT"
] | 3quanfeng/azure-powershell | src/Blueprint/Blueprint/Cmdlets/BlueprintDefinition/GetAzureRMBlueprint.cs | 8,662 | C# |
using System;
using System.Linq;
using DynamicData.Tests.Domain;
using FluentAssertions;
using Xunit;
namespace DynamicData.Tests.List;
public class DeferAnsdSkipFixture
{
[Fact]
public void DeferUntilLoadedDoesNothingUntilDataHasBeenReceived()
{
bool updateReceived = false;
IChangeSet<... | 22.969697 | 100 | 0.603562 | [
"MIT"
] | pdegenhardt/DynamicData | src/DynamicData.Tests/List/DeferUntilLoadedFixture.cs | 1,516 | C# |
using System.Data.Entity;
namespace Liyanjie.FakeMQ
{
/// <summary>
///
/// </summary>
public class FakeMQDbContext : DbContext
{
/// <summary>
///
/// </summary>
/// <param name="nameOrConnectionString"></param>
public FakeMQDbContext(string nameOrConnect... | 31.425532 | 87 | 0.586324 | [
"MIT"
] | liyanjie8712/FakeMQ | src/Liyanjie.FakeMQ.EntityFramework/FakeMQDbContext.cs | 1,479 | C# |
using System.Collections.Generic;
using System.IO;
using Serilog.Events;
using Serilog.Formatting;
namespace CodeStream.VisualStudio.Core.Logging.Sanitizer {
public class LogSanitizingFormatter : ITextFormatter {
private readonly IProcessor _processor;
private readonly IEnumerable<ISanitizingFormatRule> _sani... | 34.909091 | 175 | 0.796007 | [
"Apache-2.0"
] | Craigdigital/codestream | vs/src/CodeStream.VisualStudio.Core/Logging/Sanitizer/LogSanitizingFormatter.cs | 1,154 | C# |
namespace M3U8.Parser.Core
{
internal static class M3UAttributes
{
public const char TagIdentifier = '#';
public const char TagSeparator = ':';
public const char PairSeparator = '=';
public const char AttributeSeparator = ',';
public const string ... | 38.074074 | 76 | 0.544261 | [
"MIT"
] | xixixixixiao/m3u8-parser | src/M3U8.Parser/Core/M3UAttributes.cs | 2,058 | C# |
using System;
namespace Bridge.Html5
{
/// <summary>
/// types of Node that must to be presented
/// </summary>
[Flags]
[External]
[Enum(Emit.Value)]
[Name("Number")]
public enum NodeFilter
{
/// <summary>
/// Shows all nodes.
/// </summary>
ShowAll =... | 32.56962 | 346 | 0.58492 | [
"Apache-2.0"
] | Angolar/Bridge | Html5/NodeFilter.cs | 2,573 | C# |
using System.Globalization;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Description;
using Swashbuckle.Application;
using Swashbuckle.Swagger;
using WebActivatorEx;
using RimshotBackend;
[assembly: PreApplicationStartMethod(typeof(SwaggerConfig), "Register")]
namespace RimshotBackend
{
public... | 65.717213 | 132 | 0.53932 | [
"Apache-2.0"
] | dupuyjs/rimshot | Backend/RimshotBackend/App_Start/SwaggerConfig.cs | 16,037 | C# |
using System;
using System.Collections.Generic;
namespace EqualityComparer.Abstractions
{
public class InlineComparer<T> : IEqualityComparer<T>
{
private readonly Func<T, T, bool> getEquals;
private readonly Func<T, int> getHashCode;
public InlineComparer(Func<T, T, bool> equals, Func... | 22.321429 | 77 | 0.5696 | [
"MIT"
] | Admiraculix/QB.Interview.Task | EqualityComparer.Abstractions/InlineComparer.cs | 627 | C# |
using System.Collections.Generic;
namespace Lpp.Audit.UI
{
public interface IAuditPropertyValueSelector<TProperty>
{
IEnumerable<IAuditProperty<TProperty>> AppliesTo { get; }
ClientControlDisplay RenderSelector( TProperty initialState );
TProperty ParsePostedValue( string value );
... | 29.363636 | 70 | 0.73065 | [
"Apache-2.0"
] | Missouri-BMI/popmednet | Lpp.Mvc.Composition/Lpp.Audit.UI/Interfaces/IAuditPropertyValueSelector.cs | 325 | C# |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARSubsystems;
using UnityEngine.XR.ARFoundation;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class PlaceContent : MonoBehaviour {
public ARRaycastManager raycastManager;
public GraphicRaycaster raycaster;
bool was... | 28.520833 | 89 | 0.628196 | [
"MIT"
] | HaraldHeide/Nreal-ShaderGraph | TransparentVideoShaderMatthew/Scripts/PlaceContent.cs | 1,371 | C# |
using System;
using System.IO;
using log4net;
using Castle.MicroKernel;
using Castle.Services.Transaction;
namespace Cuyahoga.Core.Service.Files
{
/// <summary>
/// Transactional implementation of the <see cref="IFileService">IFileService</see> interface.
/// </summary>
public class TransactionalFileS... | 26.757576 | 135 | 0.674405 | [
"BSD-3-Clause"
] | dineshkummarc/cuyahoga-1 | Core/Service/Files/TransactionalFileService.cs | 3,532 | C# |
using System;
using Concepts.TodoItem;
using Dolittle.Domain;
using Dolittle.Runtime.Events;
using Events.TodoItem;
namespace Domain.TodoItem
{
public class TodoList : AggregateRoot
{
public TodoList(EventSourceId id) : base(id)
{
}
public void Add(TodoText text)
... | 20.017544 | 52 | 0.486415 | [
"MIT"
] | TomasEkeli/ToDolittle | TodoTracking/Domain/TodoItem/TodoList.cs | 1,141 | 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.Composition;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using ... | 39.590909 | 153 | 0.687333 | [
"MIT"
] | AlexanderSemenyak/roslyn | src/VisualStudio/Core/Def/Telemetry/VisualStudioWorkspaceTelemetryService.cs | 2,615 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using YamlConfiguration;
namespace demo02
{
public class Program
... | 30.30303 | 84 | 0.587 | [
"MIT"
] | axzxs2001/.net-conf-2019-samples | dotnetconfsamples/demo02/Program.cs | 1,000 | C# |
using System;
namespace R5T.Kallithea.Extensions.Construction
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
| 16.692308 | 48 | 0.534562 | [
"MIT"
] | MinexAutomation/R5T.Kallithea.Extensions | source/R5T.Kallithea.Extensions.Construction/Code/Program.cs | 219 | C# |
using System;
using System.Security.Claims;
using System.Threading.Tasks;
using ARunner.Auth;
using ARunner.DataLayer.Model;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
namespace ARunner.Auth
{
public class AccessRequired : IAuthorizationRequirement
{
public UserAcces... | 24.261905 | 115 | 0.692836 | [
"MIT"
] | AbabeiAndrei/ARunner | src/ARunner/Auth/AccessRequired.cs | 1,019 | C# |
using UnityEngine;
namespace PiRhoSoft.UtilityEngine
{
public class SliderAttribute : PropertyAttribute
{
public float MinimumValue { get; private set; }
public float MaximumValue { get; private set; }
public float SnapValue { get; private set; }
public SliderAttribute(float minValue, float maxValue, float... | 22.961538 | 80 | 0.721943 | [
"MIT"
] | larsolm/Archives | Monster RPG Game Kit/MonsterRPGGameKit/Assets/PiRhoSoft Utilities/Scripts/Engine/Attributes/Slider.cs | 599 | C# |
using Sitrion.Security.KeyVault;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sitrion.Security.KeyVault.Test
{
public class TestUtil
{
public static readonly IAdalTokenProvider Auth =
... | 26.368421 | 71 | 0.720559 | [
"MIT"
] | danlarson/sitrion.security | Sitrion.Security.KeyVault.Test/TestUtil.cs | 503 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
using Zenject;
namespace Game.Common.Areas
{
public class AreaSystem : MonoBehaviour
{
public event Action OnPlayerEntered;
public event Action OnPlayerLeft;
public event Action<Stat, float> OnStatUpdated;
[I... | 27.272727 | 101 | 0.554444 | [
"MIT"
] | ggj22-redacted/two-health-bars | Assets/Game/Common/Areas/AreaSystem.cs | 2,702 | C# |
// ***********************************************************************
// Copyright (c) 2007 Charlie Poole, Rob Prouse
//
// 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 restri... | 27.086957 | 74 | 0.575976 | [
"MIT"
] | Acidburn0zzz/nunit | src/NUnitFramework/tests/TestUtilities/Collections/SimpleObjectList.cs | 3,738 | 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("Cro... | 38.216216 | 84 | 0.748939 | [
"Apache-2.0"
] | TheArchitect123/MiniVault---XamarinForms | Cross.DataVault/Cross.DataVault.Helpers/Properties/AssemblyInfo.cs | 1,417 | C# |
namespace P03_BarraksWars.Core.Commands
{
using System;
public class Fight : Command
{
public Fight(string[] data/*, IRepository repository, IUnitFactory unitFactory*/)
: base(data/*, repository, unitFactory*/)
{
}
public override string Execute()
{
... | 21.157895 | 90 | 0.557214 | [
"MIT"
] | pirocorp/C-OOP-Advanced | 04. Reflection and Attributes/04. Reflection and Attributes - Exercise/P03_BarraksWars/Core/Commands/Fight.cs | 404 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace BuldingCustomController.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult ... | 19.666667 | 67 | 0.572881 | [
"MIT"
] | flaviogf/Cursos | pluralsight/themvcrequestlifecycle/Section4/BuldingCustomController/Controllers/HomeController.cs | 592 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 43.923077 | 153 | 0.620215 | [
"MIT"
] | ConnectionMaster/onedrive-sdk-csharp | src/OneDriveSdk/Requests/Generated/IThumbnailSetRequest.cs | 3,997 | C# |
using System.Globalization;
using AutoMapper;
using System.Linq;
using SW.PrimitiveTypes;
using System.Linq.Expressions;
using System;
using Baseline;
namespace SW.Smarten
{
static class IMapperConfigurationExpressionExtensions
{
public static void CreateMultiLingualMap<TMultiLingualEntity, TTransla... | 36.272727 | 150 | 0.576942 | [
"MIT"
] | simplify9/Smarten | SW.Smarten/IMapperConfigurationExpressionExtensions.cs | 1,997 | C# |
// Copyright (c) 2020 DHGMS Solutions and Contributors. All rights reserved.
// DHGMS Solutions and Contributors licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System;
namespace Whipstaff.MediatR.Foundatio.DistributedLocking
{
/// ... | 37.517241 | 84 | 0.672794 | [
"MIT"
] | dpvreony/whipstaff | src/Whipstaff.MediatR.Foundatio/DistributedLocking/LockLostException.cs | 1,090 | C# |
namespace Poker.Tests
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class HandTests
{
[Test]
public void HandToStringShouldReturnProperValue()
{
IHand hand = new Hand(new List<ICard>() {
new Ca... | 31.906667 | 114 | 0.579189 | [
"MIT"
] | TsvetanMilanov/TelerikAcademyHW | 08_HQC/11_TestDrivenDevelopment/TestDrivenDevelopment/Poker.Tests/HandTests.cs | 2,395 | C# |
/*
* Licensed to the Surging.Apm.Skywalking.Abstractions under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The Surging.Apm.Skywalking.Abstractions licenses this file to You under the Apache License, Vers... | 33.371429 | 106 | 0.734589 | [
"MIT"
] | 914132883/surging | src/Surging.Apm/Surging.Apm.Skywalking/Abstractions/Logging/ILogger.cs | 1,170 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Kugar.Core.ExtMethod
{
public static class BindingListExt
{
public static BindingList<T> AddRange<T>(this BindingList<T> bd, IEnumerable<T> lst)
{
if (lst == null)
... | 19.076923 | 92 | 0.506048 | [
"MIT"
] | JTOne123/Kugar.Core | Kugar.Core/ExtMethod/BindingListExt.cs | 498 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeathPlane : MonoBehaviour
{
// Start is called before the first frame update
void OnCollisionEnter(Collision coll)
{
if (coll.gameObject.tag == "Player")
{
GameObject.FindGameObjectWith... | 20.478261 | 95 | 0.617834 | [
"MIT"
] | mynk98/Monterball | Assets/0Scripts/Enemy/DeathPlane.cs | 473 | C# |
using Content.Shared.Chemistry.Reagent;
using Content.Shared.FixedPoint;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Shared.Chemistry.Components
{
public partial class Solution
{
/// <summary>
/// If reactions will be checked ... | 33.641509 | 87 | 0.629837 | [
"MIT"
] | A-Box-12/space-station-14 | Content.Shared/Chemistry/Components/Solution.Managerial.cs | 1,785 | C# |
//-----------------------------------------------------------------------
// <copyright file="AtomicWriteSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
... | 36.592593 | 88 | 0.509109 | [
"Apache-2.0"
] | Aaronontheweb/akka.net | src/core/Akka.Persistence.Tests/AtomicWriteSpec.cs | 1,978 | C# |
// <auto-generated>
// This code was generated by the Hexarc Pact tool. Do not edit.
// </auto-generated>
#nullable enable
namespace Hexarc.Pact.Demo.Api.Controllers
{
public sealed partial class AnimalController : Hexarc.Pact.Client.ControllerBase
{
public AnimalController(Hexarc.Pact.Client.Client... | 40.045455 | 225 | 0.727582 | [
"MIT"
] | hexarc-software/hexarc-pact | Hexarc.Pact.Demo.Client/Api/Controllers/AnimalController.cs | 881 | C# |
// Copyright (c) Six Labors and contributors.
// Licensed under the GNU Affero General Public License, Version 3.
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Processors.Quantization
{
/// <summary>
/// Provides methods for allowing quantization of images pixels with conf... | 43.526316 | 118 | 0.660822 | [
"Apache-2.0"
] | fahadabdulaziz/ImageSharp | src/ImageSharp/Processing/Processors/Quantization/IQuantizer.cs | 1,654 | C# |
//-----------------------------------------------------------------------
// <copyright file="MailboxesSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//-... | 29.71223 | 102 | 0.522518 | [
"Apache-2.0"
] | Chinchilla-Software-Com/akka.net | src/core/Akka.Tests/Dispatch/MailboxesSpec.cs | 4,132 | C# |
#pragma checksum "C:\c-\Labs_re-api\Pages\Shared\_ValidationScriptsPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b10ea521c1c01ab2517b11826d64989b590154fa"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Labs_re_api.Pag... | 85.502347 | 414 | 0.737865 | [
"MIT"
] | SebastianTrifa/c- | Labs_re-api/obj/Debug/netcoreapp2.1/Razor/Pages/Shared/_ValidationScriptsPartial.g.cshtml.cs | 18,212 | 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... | 34.604938 | 170 | 0.587228 | [
"Apache-2.0"
] | virajs/aws-sdk-net | AWSSDK_DotNet35/Amazon.EC2/Model/Internal/MarshallTransformations/InstanceMonitoringUnmarshaller.cs | 2,803 | C# |
using NUnit.Framework;
using System.Collections.Generic;
namespace Lucene.Net.Util.Automaton
{
using Util = Lucene.Net.Util.Fst.Util;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for a... | 39 | 115 | 0.624212 | [
"Apache-2.0"
] | DiogenesPolanco/lucenenet | src/Lucene.Net.Tests/Util/Automaton/TestSpecialOperations.cs | 2,379 | C# |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace tsorcRevamp.NPCs.Bosses.JungleWyvern {
class JungleWyvernLegs : ModNPC {
public override void SetDefaults() {
npc.netAlways = true;
npc.boss = true;
... | 39.42268 | 456 | 0.677563 | [
"MIT"
] | Zeodexic/tsorcRevamp | NPCs/Bosses/JungleWyvern/JungleWyvernLegs.cs | 3,826 | C# |
using System;
using NDC.Build.Core.ViewModels;
using Xamarin.Forms;
namespace NDC.Build.Forms.Core.Views
{
public partial class BuildsView
{
public BuildsView()
{
InitializeComponent();
}
private void OnQueueBuild(object sender, EventArgs e)
{
(... | 21.68 | 82 | 0.607011 | [
"MIT"
] | derekjwilliams/talks | ndc-sydney-2016/NDC.Build.Forms.Core/Views/BuildsView.xaml.cs | 544 | C# |
using Google.Protobuf.WellKnownTypes;
using Microsoft.Azure.SignalR.Management;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Octolamp.Contracts.Dtos;
using Octolamp.Contracts.Extensions;
using Octolamp.Contracts.Protos;
using System;
using System.Threading;
using System.Threading.Tas... | 37.297521 | 139 | 0.596277 | [
"MIT"
] | MoimHossain/linkerd-demo | src/Octolamp.DaemonService/TimedHostedService.cs | 4,515 | C# |
using EPiServer;
using EPiServer.Commerce.Catalog.ContentTypes;
using EPiServer.Web.Routing;
using Foundation.Features.CatalogContent.Variation;
using Foundation.Infrastructure.Cms;
using Foundation.Infrastructure.Commerce.Customer.Services;
using Foundation.Infrastructure.Commerce.Extensions;
using Foundation.Infrast... | 40.871429 | 179 | 0.694862 | [
"Apache-2.0"
] | palle-mertz-merkle/Foundation | src/Foundation/Features/CatalogContent/Package/PackageController.cs | 2,863 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace System.ServiceModel
{
internal static class EmptyArray<T>
{
... | 26.02381 | 73 | 0.509607 | [
"MIT"
] | Bencargs/wcf | src/dotnet-svcutil/lib/src/FrameworkFork/System.ServiceModel/System/ServiceModel/EmptyArray.cs | 1,093 | C# |
using System;
using System.Runtime.Remoting;
using FluentAssertions;
using ImplicitNullability.Samples.CodeWithIN.NullabilityAnalysis;
using NUnit.Framework;
using static ImplicitNullability.Samples.CodeWithIN.ReSharper;
namespace ImplicitNullability.Samples.Consumer.NullabilityAnalysis
{
[TestFixture]
public ... | 38.363636 | 153 | 0.616732 | [
"MIT"
] | sheitmann/ImplicitNullability | Src/ImplicitNullability.Samples.Consumer/NullabilityAnalysis/DelegatesSampleTests.cs | 9,706 | C# |
//-----------------------------------------------------------------------------
// FILE: OpenEbsOptions.cs
// CONTRIBUTOR: Jeff Lill
// COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file excep... | 36.291667 | 169 | 0.580941 | [
"Apache-2.0"
] | jefflill/neonKUBE | Lib/Neon.Kube/Model/ClusterDefinition/Storage/OpenEbsOptions.cs | 5,228 | C# |
using System.Text.Json.Serialization;
namespace AlexaNetCore.InteractionModel
{
public class SlotDefinitionInteractionModel
{
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("type")]
public string SlotType { get; set; }
[JsonIgnore(Con... | 26.607143 | 97 | 0.655034 | [
"MIT"
] | bradirby/AlexaNetCore | src/AlexaNetCore/InteractionModel/SlotDefinitionInteractionModel.cs | 747 | C# |
/* Copyright 2010-present MongoDB 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 law or agreed to in wri... | 34 | 118 | 0.684349 | [
"Apache-2.0"
] | Anarh2404/mongo-csharp-driver | src/MongoDB.Driver.Core/MongoDuplicateKeyException.cs | 1,904 | C# |
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// RecruitEnrollRuleData Data Structure.
/// </summary>
public class RecruitEnrollRuleData : AlipayObject
{
/// <summary>
/// 素材的要求,json字符串,使用时需要把此字符串解析成json对象
/// </summary>
... | 23.882353 | 53 | 0.62069 | [
"MIT"
] | Frunck8206/payment | src/Essensoft.Paylink.Alipay/Domain/RecruitEnrollRuleData.cs | 458 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Xunit.Abstractions;
using System.Linq;
using System.Threading.Tasks;
using System.IO;
namespace Light.Data.Mysql.Test
{
public class Mysql_BaseConfigTest : BaseTest
{
public Mysql_BaseConfigTest(ITestOutputHelper out... | 42.093985 | 109 | 0.551308 | [
"MIT"
] | aquilahkj/Light.Data2 | test/Light.Data.Mysql.Test/Mysql_BaseConfigTest.cs | 11,199 | C# |
using System;
namespace BooleanVariable
{
public class Program
{
public static void Main()
{
Boolean IsFemale = true;
Console.WriteLine(IsFemale);
Console.ReadKey();
}
}
}
| 14.588235 | 40 | 0.524194 | [
"MIT"
] | TheWayBy/TelerikAcademy | C# Part 1/02.PrimitiveDataTypesAndVariables/05.BooleanVariable/Program.cs | 250 | C# |
//-----------------------------------------------------------------------
// <copyright file="SqliteEventsByTagSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyr... | 44.44898 | 143 | 0.60652 | [
"Apache-2.0"
] | BearerPipelineTest/akka.net | src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Query/SqliteEventsByTagSpec.cs | 2,180 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Flightbook.Generator.Models;
using Flightbook.Generator.Models.Flightbook;
using Flightbook.Generator.Models.OurAirports;
using Flightbook.Generator.Models.Registrations;
using Flightbook.Generator.Models.Tracklogs;
using Newtons... | 51.168539 | 245 | 0.603206 | [
"MIT"
] | thomfre/flightbook-generator | Flightbook.Generator/Export/FlightbookJsonExporter.cs | 13,664 | C# |
public class HoneyCake : Food
{
private const int POINTS = 5;
public HoneyCake()
: base(POINTS)
{
}
} | 14.111111 | 33 | 0.559055 | [
"MIT"
] | borisbotev/SoftUni | C# OOP Basics/04.InheritanceExercises/05.MordorsCruelPlan/Food/HoneyCake.cs | 129 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
namespace Prism.Modularity
{
/// <summary>
/// Interface for classes that are responsible for resolving and loading assembly files.
/// </summary>
public interface IAssemblyResolve... | 32.823529 | 121 | 0.663082 | [
"Apache-2.0"
] | drcarver/prism | Source/Wpf/Prism.Wpf/Modularity/IAssemblyResolver.Desktop.cs | 558 | C# |
using System;
namespace Evergine.Bindings.OpenXR
{
public partial struct XrInstance : IEquatable<XrInstance>
{
public readonly ulong Handle;
public XrInstance(ulong existingHandle) { Handle = existingHandle; }
public static XrInstance Null => new XrInstance(0);
public static implicit operator XrInstance(ulong... | 63.993127 | 147 | 0.765707 | [
"MIT"
] | EvergineTeam/OpenXR.NET | OpenXRGen/Evergine.Bindings.OpenXR/Generated/Handles.cs | 18,622 | C# |
using CQELight.Abstractions.CQS.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace CQELight.Abstractions.Dispatcher.Configuration.Commands.Interfaces
{
/// <summary>
/// Contract interface for command dispatching.
/// </summary>
public interface ICommandDispatcher... | 40.911765 | 97 | 0.668584 | [
"MIT"
] | Thanouz/CQELight | src/CQELight/Abstractions/Dispatcher/Configuration/Commands/Interfaces/ICommandDispatcherConfiguration.cs | 1,393 | 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>
//-----------------------------------------... | 24.5 | 81 | 0.417234 | [
"MIT"
] | Nike98/Master | ASP.NET/Website/Master Page Example/Master Page Example/Home.aspx.designer.cs | 443 | C# |
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;
using Common_Utils;
using Microsoft.Azure.Management.Media;
using Microsoft.Azure.Management.Media.Models;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.IdentityMod... | 46.318584 | 184 | 0.600688 | [
"MIT"
] | Azure-Samples/media-services-v3-dotnet-tutorials | AMSV3Tutorials/EncryptWithDRM/Program.cs | 36,640 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace UITests.Shared.Helpers
{
[Windows.UI.Xaml.Data.Bindable]
public class BindableBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
... | 25.48 | 92 | 0.799058 | [
"Apache-2.0"
] | 06needhamt/uno | src/SamplesApp/UITests.Shared/Helpers/BindableBase.cs | 639 | 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... | 36.689655 | 146 | 0.618186 | [
"ECL-2.0",
"Apache-2.0"
] | rapzo/pulumi-aws | sdk/dotnet/Iam/Inputs/GetPolicyDocumentStatementArgs.cs | 4,256 | C# |
using GTAVModdingLauncher.Ui;
using GTAVModdingLauncher.Ui.Dialogs;
using GTAVModdingLauncher.Work;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using PursuitLib;
using PursuitLib.Extensions;
using PursuitLib.IO;
using PursuitLib.IO.PPF;
using PursuitLib.Windows;
using PursuitLib.Windows.WPF;
using PursuitLib.Wi... | 31.527817 | 257 | 0.680829 | [
"MIT"
] | A1ex-N/GTAVModdingLauncher | Launcher.cs | 22,103 | C# |
using UnityEditor;
using UnityEngine;
using UnityEngine.UI;
namespace Coffee.UIEffects.Editors
{
/// <summary>
/// UIEffect editor.
/// </summary>
[CustomEditor(typeof(UIGradient))]
[CanEditMultipleObjects]
public class UIGradientEditor : Editor
{
private static readonly GUIContent... | 42.021429 | 108 | 0.583546 | [
"MIT"
] | Ankh4396/UIEffect | Scripts/Editor/UIGradientEditor.cs | 5,885 | 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... | 28.563025 | 132 | 0.573404 | [
"Apache-2.0"
] | Singh400/aws-sdk-net | sdk/src/Services/IoT/Generated/Model/S3Action.cs | 3,399 | C# |
using BlazorMovies.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace BlazorMovies.Server.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastCo... | 28.804878 | 110 | 0.607959 | [
"MIT"
] | HaruTzuki/BlazorMovies | BlazorMovies/Server/Controllers/WeatherForecastController.cs | 1,183 | 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("Re... | 38.027027 | 84 | 0.746979 | [
"MIT"
] | KristiyanVasilev/CSharp-Advanced | FunctionalProgramming/ReverseAndExclude/Properties/AssemblyInfo.cs | 1,410 | C# |
namespace BusTicketsSystem.Client.Core.Dtos.BankAccountDtos
{
public class BankAccountDetailsDto
{
public int Id { get; set; }
public string AccountNumber { get; set; }
public decimal Balance { get; set; }
public int CustomerId { get; set; }
public string CustomerFir... | 23.647059 | 60 | 0.631841 | [
"MIT"
] | pirocorp/Databases-Advanced---Entity-Framework | 09. Best Practices/Exercises/BusTicketsSystem/BusTicketsSystem.Client/Core/Dtos/BankAccountDtos/BankAccountDetailsDto.cs | 404 | C# |
using Bogevang.Booking.Domain.Bookings.CustomEntities;
using Bogevang.Booking.Domain.Documents.Commands;
using Bogevang.Booking.Domain.TenantCategories;
using Bogevang.Common.Utility;
using Bogevang.SequenceGenerator.Domain;
using Bogevang.Templates.Domain;
using Bogevang.Templates.Domain.CustomEntities;
using ... | 39.346405 | 275 | 0.721096 | [
"MIT"
] | Bogevang-spejderhytte/website | Bogevang.Booking.Domain/Bookings/Commands/BookingRequestCommandHandler.cs | 6,023 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Asp.Net.Core.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
// GET api/values
[HttpGet]
public IEnumera... | 20.488889 | 55 | 0.519523 | [
"MIT"
] | pliyosenpai/asp.net.core-api-jumpstart | src/Asp.Net.Core/Controllers/ValuesController.cs | 924 | C# |
//-----------------------------------------------------------------------
// <copyright file="SharedAccessPolicies.cs" company="Microsoft">
// Copyright 2011 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the L... | 40.351351 | 84 | 0.64367 | [
"Apache-2.0"
] | asirnayeef18/azure-sdk-for-net | microsoft-azure-api/StorageClient/SharedAccessPolicies.cs | 1,495 | C# |
using BlazorErp.Application.Requests.Identity;
using BlazorErp.Client.Extensions;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using MudBlazor;
using System;
using System.Threading.Tasks;
namespace BlazorErp.Client.Pages.Identity
{
public partial class Profile
{
... | 38.042017 | 143 | 0.553126 | [
"MIT"
] | BurakIsleyicii/BlazorErp | BlazorErp/Client/Pages/Identity/Profile.razor.cs | 4,529 | C# |
using System;
namespace sqlmapsharp
{
public class SqlmapStatus
{
public SqlmapStatus ()
{
}
public string Status { get; set; }
public int ReturnCode { get; set; }
}
}
| 10.882353 | 37 | 0.654054 | [
"BSD-3-Clause"
] | FingerLeakers/gray_hat_csharp_code | ch9_automating_sqlmap/SqlmapStatus.cs | 185 | C# |
using System;
using System.Collections.Generic;
namespace Rubeus.Commands
{
public class Dump : ICommand
{
public static string CommandName => "dump";
public void Execute(Dictionary<string, string> arguments)
{
if (arguments.ContainsKey("/luid"))
{
... | 28.081633 | 99 | 0.394622 | [
"BSD-3-Clause"
] | BlueSkeye/Rubeus | Rubeus/Commands/Dump.cs | 1,378 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace ESIConnectionLibrary.ESIModels
{
internal class EsiV1CorporationRolesHistory
{
[JsonProperty(PropertyName = "changed_at")]
public DateTime ChangedAt { get; set; }
[JsonProperty(PropertyName = "character_i... | 30.814815 | 74 | 0.675481 | [
"MIT"
] | Dusty-Meg/ESIConnectionLibrary | ESIConnectionLibrary/ESIConnectionLibrary/ESIModels/EsiV1CorporationRolesHistory.cs | 834 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using ProjectMann.Web.Models;
namespace ProjectMann.Web.Controllers
{
... | 26.685714 | 113 | 0.648822 | [
"MIT"
] | GabrielNunez23/ProjectMann | src/ProjectMann.Web/Controllers/HomeController.cs | 936 | C# |
using System;
using System.Collections.Generic;
namespace PubNubAPI
{
public class PNFetchMessagesResult {
public Dictionary<string, List<PNMessageResult>> Channels { get; set;}
public Dictionary<string, object> More { get; set;}
}
} | 25.8 | 78 | 0.709302 | [
"MIT"
] | JordanSchuetz/Unity-Realtime-Chat-Room-Tutorial | Assets/PubNub/Models/Consumer/History/PNFetchMessagesResult.cs | 258 | 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.Azure.Devices
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
... | 40.408072 | 167 | 0.557652 | [
"MIT"
] | 5dprinted/azure-iot-sdks | csharp/service/Microsoft.Azure.Devices/HttpClientHelper.cs | 18,024 | C# |
using System;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.DependencyInjection;
namespace Cassette.Tests
{
public class CustomWebApplicationFactory<TStartup> : WebApplicationFactory<TStartup> where TStartup : class
{
protected override void Con... | 34.037037 | 111 | 0.631121 | [
"MIT"
] | atifaziz/Cassette | test/Cassette.Tests/CustomWebApplicationFactory.cs | 921 | 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 BasicTestApp;
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
using Microsoft.AspNetCore.Components.E2ETests.Tests;
using Microsoft.A... | 36.295082 | 116 | 0.742999 | [
"MIT"
] | AndrewTriesToCode/aspnetcore | src/Components/test/E2ETest/ServerExecutionTests/ServerGlobalizationTest.cs | 2,214 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.PowerFx.Core.Errors;
using Microsoft.PowerFx.Core.Lexer;
using Microsoft.PowerFx.Core.Lexer.Tokens;
using Microsoft.PowerFx.Core.Localization;
using Microsoft.P... | 36.608966 | 156 | 0.464593 | [
"MIT"
] | Robulane/Power-Fx | src/libraries/Microsoft.PowerFx.Core/Parser/TexlParser.cs | 53,085 | C# |
namespace LocationView.Client.Config
{
partial class MarkerChangeForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... | 47.214815 | 160 | 0.607939 | [
"MIT"
] | Silex/mipsdk-samples-plugin | LocationView/Client/Config/MarkerChangeForm.Designer.cs | 6,376 | C# |
using MessagePack.Tests.SharedTypes;
namespace MessagePack.Tests.SharedTestItems.Successes.ImmutableClasses
{
internal sealed class TestClassWithMultipleValidConstructors : SuccessTestItem<ClassWithMultipleValidConstructors>
{
public TestClassWithMultipleValidConstructors() : base(new ClassWithMultipl... | 43 | 142 | 0.782946 | [
"BSD-2-Clause"
] | ProductiveRage/MsgPack5.H5 | Tests/SharedTestItems/Successes/ImmutableClasses/TestClassWithMultipleValidConstructors.cs | 389 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.