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

DependencyConfiguration Class

Represents a dependency between task types.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.Extensibility.Configuration.ConfigurationElement
    PostSharp.Sdk.Extensibility.Configuration.DependencyConfiguration

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 sealed class DependencyConfiguration : ConfigurationElement

The DependencyConfiguration type exposes the following members.

Constructors
  NameDescription
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.
Properties
  NameDescription
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.)
Methods
  NameDescription
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