Class CurrentBuildTargetPlatform
Namespace: RealityCollective.ServiceFramework.Definitions.Platforms
Used by the Service Framework to signal that the feature is only available when the current built target matches the platform target.
[Guid("5A504905-0968-4B2F-A537-7FE804F1BD8E")]
public sealed class CurrentBuildTargetPlatform : BasePlatform, IPlatform
Inheritance
object ← BasePlatform ← CurrentBuildTargetPlatform
Implements
Inherited Members
BasePlatform.Name, BasePlatform.IsAvailable, BasePlatform.PlatformOverrides, BasePlatform.IsBuildTargetAvailable, BasePlatform.ValidBuildTargets, BasePlatform.Equals(object), BasePlatform.GetHashCode()
Properties
IsAvailable
Is this platform currently available?
public override bool IsAvailable { get; }
Property Value
bool
Methods
IsBuildTargetActive(List<IPlatform>)
Checks to see if the current build target is available for the list of provided platform.
public static bool IsBuildTargetActive(List<IPlatform> platforms)
Parameters
platforms List<IPlatform>
Returns
bool
True, if any build target is active.