PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Weaving­Symbols Namespace / Sym­Aspect­Module Class

SymAspectModule Class

Represents a symbol document, associated with a single ModuleDeclaration.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.Element
    PostSharp.Sdk.CodeModel.Declaration
      PostSharp.Sdk.WeavingSymbols.SymAspectModule

Namespace:  PostSharp.Sdk.WeavingSymbols
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public sealed class SymAspectModule : Declaration

The SymAspectModule type exposes the following members.

Properties
  NameDescription
Public propertyAnnotations
Public propertyAspectClasses
Gets the collection of aspect classes (SymAspectClass) in the current module.
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyEvolutions
Gets the collection of evolutions (SymEvolutionCollection) in the current module. These are used by the Visual Studio extension.
Methods
  NameDescription
Public methodClearCache
Clear the cache (typically mapping to System.Reflection or, if the current element is a reference, to the related definition) of the current Element and all its children.
(Inherited from Element.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetInstance
Gets the SymAspectModule associated to a ModuleDeclaration; create a new one if requested and necessary.
Public methodGetSymAspectUsage
Gets the SymAspectUsage for a given annotation.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetSymAspectUsage
Associates an IAnnotationInstance (that is typically not a custom attribute) with a SymAspectUsage.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also