PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Configuration Namespace / Task­Type­Configuration Class

TaskTypeConfiguration Class

Configures a task type.
Inheritance Hierarchy
System.Object
  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: 6.10.14.0 (6.10.14.0)
Syntax
C#
[SerializableAttribute]
public class TaskTypeConfiguration : ConfigurationElement

The TaskTypeConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodTaskTypeConfiguration()
Creates an uninitialized TaskTypeConfiguration.
Public methodTaskTypeConfiguration(String, CreateTaskDelegate)
Initializes a new TaskTypeConfiguration with programmatic instantiation of the Task that is a pure service provider, i.e. the Execute() method should not be executed.
Public methodTaskTypeConfiguration(String, CreateTaskDelegate, TaskPhase)
Initializes a new TaskTypeConfiguration with programmatic instantiation of the Task and specifies the phase in which the task should be executed.
Public methodTaskTypeConfiguration(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.
Properties
  NameDescription
Public propertyAutoInclude
Determines whether the task should be automatically included in all projects.
Public propertyCreateTaskDelegate
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.
Public propertyDependencies
Gets or sets the collection of dependencies of this task type.
Public propertyImplementation
Gets or sets the name of the type implementing the Task.
Public propertyLocation (Inherited from ConfigurationElement.)
Public propertyName
Gets or sets the name of the XML element for this task type.
Public propertyParameters
Gets or sets the collection of task type parameters.
Public propertyParent
Gets the parent configuration element.
(Inherited from ConfigurationElement.)
Public propertyRoot
Gets the root configuration element.
(Inherited from ConfigurationElement.)
Public propertyTaskPhase
Public propertyXml (Inherited from ConfigurationElement.)
Methods
  NameDescription
Public methodCreateInstance
Creates a empty task instance of the current task type.
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates the current configuration element.
(Inherited from ConfigurationElement.)
See Also