PostSharp//API Reference/Post­Sharp.​Aspects.​Advices/Import­Member­Attribute/Import­Member­Attribute
Open sandboxFocus

Constructor ImportMemberAttribute

ImportMemberAttribute(String[])

Initializes a new ImportMemberAttribute and specifies several possible names for the member to import.

Declaration
public ImportMemberAttribute(params string[] memberNames)
Parameters
Type Name Description
String[] memberNames

Possible names of the member to import in the order of precedence.

ImportMemberAttribute(String)

Initializes a new ImportMemberAttribute and specifies a single name for the member to import.

Declaration
public ImportMemberAttribute(string memberName)
Parameters
Type Name Description
String memberName

The name of the member to import.