Class CanSubstituteAttribute
- Namespace
- XENBIT.ResQueServe.Abstractions.Attributes
- Assembly
- RQS.Abstractions.dll
Indicates that this equipment can also fulfill requirements for other equipment types. For example, a medium water tank can substitute for a small water tank requirement.
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
public class CanSubstituteAttribute : Attribute
- Inheritance
-
CanSubstituteAttribute
- Inherited Members
Constructors
CanSubstituteAttribute(UnitEquipment)
Indicates that this equipment can also fulfill requirements for other equipment types. For example, a medium water tank can substitute for a small water tank requirement.
public CanSubstituteAttribute(UnitEquipment substitutedEquipment)
Parameters
substitutedEquipmentUnitEquipment
Properties
SubstitutedEquipment
The equipment type that this equipment can substitute for.
public UnitEquipment SubstitutedEquipment { get; }