/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/DataProtection/shared/test/ConditionalRunTestOnlyWindows8OrLaterAttribute.cs
15 строк
557 B
William Godbe
Rename Microsoft.Aspnetcore.Testing to Microsoft.AspNetCore.InternalTesting (#51713)
02 ноя 2023, 03:15
Не верифицирован
02 ноя 2023, 03:15
fc8deca
Код
Авторство
О чём код?
// 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 Microsoft.AspNetCore.Cryptography.Cng; using Microsoft.AspNetCore.InternalTesting; namespace Microsoft.AspNetCore.DataProtection.Test.Shared; public class ConditionalRunTestOnlyOnWindows8OrLaterAttribute : Attribute, ITestCondition { public bool IsMet => OSVersionUtil.IsWindows8OrLater(); public string SkipReason { get; } = "Test requires Windows 8 / Windows Server 2012 or higher."; }