TaskTypeConfiguration Class |
Configures a task type.
System.Object
PostSharp.Sdk.Extensibility.Configuration.ConfigurationElement
PostSharp.Sdk.Extensibility.Configuration.TaskTypeConfiguration
PostSharp.Sdk.Extensibility.Configuration.ConfigurationElement
PostSharp.Sdk.Extensibility.Configuration.TaskTypeConfiguration
Namespace: PostSharp.Sdk.Extensibility.Configuration
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
[SerializableAttribute] public class TaskTypeConfiguration : ConfigurationElement
The TaskTypeConfiguration type exposes the following members.
Name | Description | |
---|---|---|
TaskTypeConfiguration() |
Creates an uninitialized TaskTypeConfiguration.
| |
TaskTypeConfiguration(String, CreateTaskDelegate) | ||
TaskTypeConfiguration(String, CreateTaskDelegate, TaskPhase) |
Initializes a new TaskTypeConfiguration with programmatic instantiation of the Task
and specifies the phase in which the task should be executed.
| |
TaskTypeConfiguration(String, CreateTaskDelegate, String) | Obsolete.
Initializes a new TaskTypeConfiguration with programmatic instantiation of the Task
and specifies the phase in which the task should be executed.
|
Name | Description | |
---|---|---|
AutoInclude |
Determines whether the task should be automatically included in all projects.
| |
CreateTaskDelegate |
Delegate of the method that will instantiate the Task. If this property is null, the default constructor
of the class whose name is Implementation will be invoked.
| |
Dependencies |
Gets or sets the collection of dependencies of this
task type.
| |
Implementation |
Gets or sets the name of the type implementing the Task.
| |
Location | (Inherited from ConfigurationElement.) | |
Name |
Gets or sets the name of the XML element for this task type.
| |
Parameters |
Gets or sets the collection of task type parameters.
| |
Parent |
Gets the parent configuration element.
(Inherited from ConfigurationElement.) | |
Root |
Gets the root configuration element.
(Inherited from ConfigurationElement.) | |
TaskPhase | ||
Xml | (Inherited from ConfigurationElement.) |
Name | Description | |
---|---|---|
CreateInstance |
Creates a empty task instance of the current task type.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Validate |
Validates the current configuration element.
(Inherited from ConfigurationElement.) |