PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesCustom­Attribute­Override­ActionMerge­Replace­Property
Open sandboxFocus

CustomAttributeOverrideAction.MergeReplaceProperty Field

Merges the existing custom attribute with the template custom attribute by adding and replacing properties and fields. If the existing custom attribute defines the same properties and fields as the template custom attribute, they are replaced by the values defined in the template custom attribute.

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public const CustomAttributeOverrideAction MergeReplaceProperty
Returns
Type Description
CustomAttributeOverrideAction
Remarks

Constructors arguments of the template custom attribute are ignored during merging.