AbstractInstallerBuilder.IsInstrumented Method

Helper method to determine if the attributes for a given type match the attributes used to specify a specific kind of installable resource. The type should be attributed with HasInstallableResourcesAttribute and the attribute passed to this method call.

Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

protected bool IsInstrumented(
    Type instrumentedType,
    Type instrumentedAttributeType
)
'Declaration
Protected Function IsInstrumented ( 
    instrumentedType As Type,
    instrumentedAttributeType As Type
) As Boolean
protected:
bool IsInstrumented(
    Type^ instrumentedType, 
    Type^ instrumentedAttributeType
)

Parameters

  • instrumentedAttributeType
    Type: System.Type
    More specific attribute used to match resource being installed

Return Value

Type: Boolean
true if the type specifies intallable resources.

See Also

AbstractInstallerBuilder Class

AbstractInstallerBuilder Members

Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation Namespace