PlatformRestrictedFactAttribute.

PlatformRestrictedFactAttribute(PlatformFamily, bool, string) Constructor

Summary

Initializes a new instance of the PlatformRestrictedFactAttribute class.

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