PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesImport­Member­AttributeIs­Required
Open sandboxFocus

ImportMemberAttribute.IsRequired Property

IsRequired

Determines whether a build time error must be issued if the member to be imported is absent. If false, the binding field will be null in case the imported member is absent.

Declaration
public bool IsRequired { get; set; }
Property Value
Type Description
Boolean