Struct FeatureFlags
A collection of feature flags for a particular PlatformTriple.
public readonly struct FeatureFlags
Constructors
- FeatureFlags(ArchitectureFeature, SystemFeature, RuntimeFeature)
- Constructs a FeatureFlags object from the provided flags.
Properties
- Architecture
- Gets the ArchitectureFeature flags for the architecture.
- Runtime
- Gets the RuntimeFeature flags for the runtime.
- System
- Gets the SystemFeature flags for the operating system.
Methods
- Equals(FeatureFlags)
- Indicates whether the current object is equal to another object of the same type.
- Equals(object?)
- Indicates whether this instance and a specified object are equal.
- GetHashCode()
- Returns the hash code for this instance.
- Has(ArchitectureFeature)
- Checks whether or not this collection has the provided set of ArchitectureFeature flags.
- Has(RuntimeFeature)
- Checks whether or not this collection has the provided set of RuntimeFeature flags.
- Has(SystemFeature)
- Checks whether or not this collection has the provided set of SystemFeature flags.
- ToString()
- Returns the fully qualified type name of this instance.
Operators
- operator ==(FeatureFlags, FeatureFlags)
- Compares two FeatureFlags instances for equality.
- operator !=(FeatureFlags, FeatureFlags)
- Compares two FeatureFlags instances for inequality.