PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Dependencies Namespace / Provided­By­Advice­Dependency Class

ProvidedByAdviceDependency Class

An AspectDependency representing the fact that the dependency object has been provided by an advice of a given name.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.AspectWeaver.Dependencies
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class ProvidedByAdviceDependency : AspectDependency

The ProvidedByAdviceDependency type exposes the following members.

Public methodProvidedByAdviceDependency
Initializes a new ProvidedByAdviceDependency.
Public propertyAction
Gets the kind of relationship represented by the current AspectDependency.
(Inherited from AspectDependency.)
Public propertyAdviceName
Gets the name of the advice method.
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 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 AspectDependency.ToString().)
See Also