PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure.​Dependencies Namespace / Provide­Aspect­Role­Dependency Class

ProvideAspectRoleDependency Class

An AspectDependency representing the fact that a dependency object provides a role.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.AspectInfrastructure.Dependencies
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public class ProvideAspectRoleDependency : AspectDependency

The ProvideAspectRoleDependency type exposes the following members.

Public methodProvideAspectRoleDependency
Initializes a new ProvideAspectRoleDependency.
Public propertyAction
Gets the kind of relationship represented by the current AspectDependency.
(Inherited from AspectDependency.)
Public propertyCondition
Gets the condition determining whether a pair of objects matches the current relationship.
(Inherited from AspectDependency.)
Public propertyIsWarning
Determines whether a violation of the current dependency rule should result in a warning instead of an error.
(Inherited from AspectDependency.)
Public propertyPosition
Gets the position of the right member of the current relationship with respect to the left member.
(Inherited from AspectDependency.)
Public propertyRole
Gets the role provided by the dependency object.
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.
(Overrides AspectDependency.ToString().)
See Also