Class RunsOnPlatforms
Declares that the attached Pass or Plugin runs on one or more specified NDMF platforms. Must not be used in conjunction with RunsOnAllPlatforms. If your pass supports multiple platforms, this attribute can be attached multiple times to declare this.
If this attribute is attached to a Pass class, any configuration performed on the `Sequence` class will be ignored for this class. If this attribute is attached to a Plugin class, Sequences will start with the specified platforms enabled. WellKnownPlatforms for information on precedence of different platform declaration methods.[AttributeUsage(AttributeTargets.Class)]
public sealed class RunsOnPlatforms : Attribute
- Inheritance
-
RunsOnPlatforms
- Inherited Members
Constructors
RunsOnPlatforms(params string[])
public RunsOnPlatforms(params string[] platforms)
Parameters
platforms
string[]
Properties
Platforms
public string[] Platforms { get; }
Property Value
- string[]