PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Configuration Namespace / Dependency­Configuration Class

DependencyConfiguration Class

Represents a dependency between task types.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.Extensibility.Configuration
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class DependencyConfiguration : ConfigurationElement

The DependencyConfiguration type exposes the following members.

Public methodDependencyConfiguration()
Initializes a new DependencyConfiguration.
Public methodDependencyConfiguration(String)
Initializes a new DependencyConfiguration and specifies the task type.
Public methodDependencyConfiguration(String, Boolean)
Initializes a new DependencyConfiguration and specifies the task type and requirement level.
Public propertyLocation (Inherited from ConfigurationElement.)
Public propertyOwnerTaskType
Gets the name of the task owning the current dependency.
Public propertyParent
Gets the parent task type (TaskTypeConfiguration).
Public propertyPosition
Gets or sets the position of the dependent task type (before or after the current task type).
Public propertyPrecedingTaskType
Gets the name of the preceding task type in the current dependency.
Public propertyRequired
Indicates whether this dependency is required.
Public propertyRoot
Gets the root configuration element.
(Inherited from ConfigurationElement.)
Public propertySucceedingTaskType
Gets the name of the succeeding task type in the current dependency.
Public propertyTaskType
Gets or sets the name of the task type to which the declaring type task is dependent.
Public propertyXml (Inherited from ConfigurationElement.)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
Public methodValidate
Validates the current configuration element.
(Inherited from ConfigurationElement.)
See Also