| ExtensionsIsRadiating Method (IPhysicalEntity, CapabilityEnum) |
Customize MACE to meet your Live-Virtual-Constructive Simulation and Training Requirements. [This is preliminary documentation and is subject to change.]
Extension method that searchs the entity for equipment of the specified capability that is enabled.
Namespace:
BSI.MACE
Assembly:
BSILib (in BSILib.dll) Version: 1.2.1.22047 (1.0.0.0)
Syntax public static bool IsRadiating(
this IPhysicalEntity thisEntity,
CapabilityEnum capability
)
<ExtensionAttribute>
Public Shared Function IsRadiating (
thisEntity As IPhysicalEntity,
capability As CapabilityEnum
) As Boolean
Parameters
- thisEntity
- Type: BSI.MACEIPhysicalEntity
The entity to search. - capability
- Type: BSI.MACECapabilityEnum
Flag(s) to check. If multiple flags are specified ANY matching flag will return true.
Return Value
Type:
BooleanTrue if equipment is the specified type and is enabled (radiating).
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPhysicalEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also