Summary
Initializes a new instance of the
PlatformRestrictedFactAttribute class.
- Namespace
- Cake
.Testing .Xunit - Containing Type
- Platform
Restricted Fact Attribute
Syntax
protected PlatformRestrictedFactAttribute(PlatformFamily requiredFamily, bool invert, string reason = null)
Parameters
| Name | Type | Description |
|---|---|---|
| requiredFamily | PlatformFamily | The required platform family. |
| invert | bool | Whether to invert the platform check. |
| reason | string | The reason for the platform restriction. |
Return Value
| Type | Description |
|---|---|
| void |
