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

MethodLevelAspectWeaverInstance Methods

The MethodLevelAspectWeaverInstance type exposes the following members.

Public methodEmitAspectConstruction
Emits instructions that build the custom attribute from AspectInfo.
(Inherited from AspectWeaverInstance.)
Public methodEmitRuntimeInitialization
Emits instructions that initialize the aspect at runtime. These instructions will be injected in the static constructor of the PostSharp implementation details object, after the field containing the runtime instance of the instance (AspectRuntimeInstanceField) has been initialized.
(Inherited from AspectWeaverInstance.)
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 methodGetConfigurationNullableValue<TConfiguration, TValue> (Inherited from AspectWeaverInstance.)
Public methodGetConfigurationObject<TConfiguration, TValue>
Gets an object (i.e., reference type) from the aspect configuration.
(Inherited from AspectWeaverInstance.)
Public methodGetConfigurationValue<TConfiguration, TValue>
Gets a value (i.e., value type) from the aspect configuration.
(Inherited from AspectWeaverInstance.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetLicenseRequirements (Inherited from AspectWeaverInstance.)
Public methodGetSerializerType
Gets the type of AspectSerializer used to serialize the current aspect.
(Inherited from AspectWeaverInstance.)
Public methodGetTag<T> (Inherited from AspectWeaverInstance.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetUnsupportedTargetAction (Inherited from AspectWeaverInstance.)
Public methodGetWeavingSymbolAttributes (Inherited from AspectWeaverInstance.)
Public methodIncrementLinesOfCodeAvoided (Inherited from AspectWeaverInstance.)
Public methodInitializeAspect
Initializes the aspect instance, typically by invoking some CompileTimeInitialize method.
(Overrides AspectWeaverInstance.InitializeAspect().)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnInitialized
This method is invoked after AspectWeaverInstance has been initialized. The aspect configuration is loaded at this point.
(Inherited from AspectWeaverInstance.)
Public methodProvideAdviceTransformations
Provides the transformations required by the advice weavers (AdviceWeavers).
(Inherited from AspectWeaverInstance.)
Public methodProvideAspects
Allows aspect weavers to provide other aspects.
(Inherited from AspectWeaverInstance.)
Public methodProvideAspectTransformations
Provides the transformations required by the current aspect (not those required by independent advices).
(Inherited from AspectWeaverInstance.)
Public methodSetTag<T> (Inherited from AspectWeaverInstance.)
Public methodToString
Returns a string that represents the current object.
(Inherited from AspectWeaverInstance.)
Public methodValidate (Overrides AspectWeaverInstance.Validate().)
Protected methodValidateTargetType
Validates whether the specified type is supported by this aspect weaver.
(Inherited from AspectWeaverInstance.)
Protected methodValidateTargetTypeSignature
Validates whether the specified type is supported by this aspect weaver.
(Inherited from AspectWeaverInstance.)
See Also