PostSharpAPI ReferencePost­Sharp.​ExtensibilityRequire­License­Attribute
Open sandboxFocus

RequireLicenseAttribute Class

Custom attribute that, when applied to an aspect, causes PostSharp to require some license in order to weave the aspect.

Inheritance
RequireLicenseAttribute
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
[Internal]
public sealed class RequireLicenseAttribute : Attribute
Remarks

When several instances of this custom attributes are available, the license check will be satisfied with any of them.

Constructors

Name Description
RequireLicenseAttribute(Int32)

Initializes a new RequireLicenseAttribute.

Properties

Name Description
Description

Gets or sets the human-readable description of the license requirement.

Features

Gets or sets the bitmask of required licensed features.

Product

Gets the identifier of the required licensed product.