PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver Class / Aspect­Weaver Methods

AspectWeaver Methods

The AspectWeaver type exposes the following members.

Methods
  NameDescription
Public methodAddLicenseRequirement Obsolete.
Adds a license requirement for the current AspectWeaver.
Protected methodApplyWaivedEffects
Remove the effects waived from the current aspect type (as added to the WaivedEffects collection) from transformation.
Protected methodCreateAspectWeaverInstance
Creates a new AspectWeaverInstance for a given aspect instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAspectDisplayName
Gets a human-readable name of the current aspect type.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImplicitLinesOfCodeAvoidedByAdvice
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHasLinesOfCodeAvoided
Protected methodInitialize
Initialize the current weaver and its aspect.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
Public methodValidateAspectInstance
Validates an aspect instance, i.e. a concrete usage of an aspect of the type supported by the current AspectWeaver.
See Also