Task Class |
Execution unit of a Project.
Namespace: PostSharp.Sdk.Extensibility
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
[SerializableAttribute] public abstract class Task : MarshalByRefObject, IDisposable, INamed
The Task type exposes the following members.
Name | Description | |
---|---|---|
Task | Initializes a new instance of the Task class |
Name | Description | |
---|---|---|
CopyrightNotice |
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".
| |
IsInitialized |
Name | Description | |
---|---|---|
Deserialize |
Deserializes the current task from an XML element.
| |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Dispose(Boolean) |
Disposes the resources hold by the current instance.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute |
Execute the current Task.
| |
Finalize |
Destructor.
(Overrides Object.Finalize().) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
Initializes the current task.
| |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
IsRequired |
Determines whether the current task is required by another task in the project.
| |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Validate |
Determines whether the task configuration (deserialized from the attributes of the
XML element representing the task instance) is valid.
|
System.Object
System.MarshalByRefObject
PostSharp.Sdk.Extensibility.Task
PostSharp.Sdk.AspectInfrastructure.AspectInfrastructureTask
PostSharp.Sdk.AspectWeaver.AspectWeaverPlugIn
PostSharp.Sdk.AspectWeaver.AspectWeaverTask
PostSharp.Sdk.Extensibility.Service
PostSharp.Sdk.Extensibility.SourceParser.RoslynLocationResolverTask
PostSharp.Sdk.Extensibility.Tasks.AnnotationRepositoryTask
PostSharp.Sdk.Extensibility.Tasks.AutoDetectTask
PostSharp.Sdk.Extensibility.Tasks.CompileTask
PostSharp.Sdk.Extensibility.Tasks.ImplementationBoundAttributesTask
PostSharp.Sdk.Extensibility.Tasks.IndexGenericInstancesTask
PostSharp.Sdk.Extensibility.Tasks.IndexTypeDefMemberRefsTask
PostSharp.Sdk.Extensibility.Tasks.IndexUsagesTask
PostSharp.Sdk.Extensibility.Tasks.ModuleAnnotationProvider
PostSharp.Sdk.Extensibility.Tasks.MulticastAttributeTask
PostSharp.Sdk.Extensibility.Tasks.RemoveTask
PostSharp.Sdk.Extensibility.Tasks.TypeHierarchyTask
PostSharp.Sdk.WeavingSymbols.WriteWeavingSymbolsTask
System.MarshalByRefObject
PostSharp.Sdk.Extensibility.Task
PostSharp.Sdk.AspectInfrastructure.AspectInfrastructureTask
PostSharp.Sdk.AspectWeaver.AspectWeaverPlugIn
PostSharp.Sdk.AspectWeaver.AspectWeaverTask
PostSharp.Sdk.Extensibility.Service
PostSharp.Sdk.Extensibility.SourceParser.RoslynLocationResolverTask
PostSharp.Sdk.Extensibility.Tasks.AnnotationRepositoryTask
PostSharp.Sdk.Extensibility.Tasks.AutoDetectTask
PostSharp.Sdk.Extensibility.Tasks.CompileTask
PostSharp.Sdk.Extensibility.Tasks.ImplementationBoundAttributesTask
PostSharp.Sdk.Extensibility.Tasks.IndexGenericInstancesTask
PostSharp.Sdk.Extensibility.Tasks.IndexTypeDefMemberRefsTask
PostSharp.Sdk.Extensibility.Tasks.IndexUsagesTask
PostSharp.Sdk.Extensibility.Tasks.ModuleAnnotationProvider
PostSharp.Sdk.Extensibility.Tasks.MulticastAttributeTask
PostSharp.Sdk.Extensibility.Tasks.RemoveTask
PostSharp.Sdk.Extensibility.Tasks.TypeHierarchyTask
PostSharp.Sdk.WeavingSymbols.WriteWeavingSymbolsTask