PostSharpAPI ReferencePost­Sharp.​AspectsCustom­Attribute­Introduction­AspectCustom­Attribute­Introduction­Aspect
Open sandboxFocus

CustomAttributeIntroductionAspect Constructor

CustomAttributeIntroductionAspect(ObjectConstruction)

Initializes a new CustomAttributeIntroductionAspect by specifying an ObjectConstruction.

Declaration
public CustomAttributeIntroductionAspect(ObjectConstruction attribute)
Parameters
Type Name Description
ObjectConstruction attribute

Construction of the custom attribute to be added to the target.

CustomAttributeIntroductionAspect(CustomAttributeData)

Initializes a new CustomAttributeIntroductionAspect by specifying a CustomAttributeData.

Declaration
public CustomAttributeIntroductionAspect(CustomAttributeData customAttributeData)
Parameters
Type Name Description
CustomAttributeData customAttributeData

Construction of the custom attribute to be added to the target.