File: src\Servers\Kestrel\shared\test\TransportTestHelpers\NamedPipesSupportedAttribute.cs | Web Access |
Project: src\src\Servers\Kestrel\Kestrel\test\Microsoft.AspNetCore.Server.Kestrel.Tests.csproj (Microsoft.AspNetCore.Server.Kestrel.Tests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.InternalTesting; [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)] public class NamedPipesSupportedAttribute : Attribute, ITestCondition { public bool IsMet => OperatingSystem.IsWindows(); public string SkipReason => "Named pipes requires Windows"; } |