PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / Module­Annotation­Provider Class

ModuleAnnotationProvider Class

Implementation of IAnnotationProvider that provides the custom attribute instances defined in the module (i.e. CustomAttributeDeclaration).
Inheritance Hierarchy
System.Object
  System.MarshalByRefObject
    PostSharp.Sdk.Extensibility.Task
      PostSharp.Sdk.Extensibility.Tasks.ModuleAnnotationProvider

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public sealed class ModuleAnnotationProvider : Task, 
	IAnnotationProvider, IService

The ModuleAnnotationProvider type exposes the following members.

Constructors
  NameDescription
Public methodModuleAnnotationProvider
Initializes a new instance of the ModuleAnnotationProvider class
Properties
  NameDescription
Public propertyCopyrightNotice
Gets the line of text that's printed on standard output next to the name of this task during build. For example, if this were "By PostSharp Technologies", the entire line might be "MyTask: By PostSharp Technologies".
(Inherited from Task.)
Public propertyIsInitialized (Inherited from Task.)
Methods
  NameDescription
Public methodDeserialize
Deserializes the current task from an XML element.
(Inherited from Task.)
Public methodDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Task.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Execute the current Task.
(Overrides Task.Execute().)
Public methodGetAnnotations
Enumerates the custom attribute instances (IAnnotationInstance) provided by the current task.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodIsRequired
Determines whether the current task is required by another task in the project.
(Inherited from Task.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also