PostSharp SDK 6.7 / / 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
System.Object
  PostSharp.Sdk.AspectInfrastructure.AspectDependency
    PostSharp.Sdk.AspectWeaver.Dependencies.ProvidedByAdviceDependency

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

The ProvidedByAdviceDependency type exposes the following members.

Constructors
  NameDescription
Public methodProvidedByAdviceDependency
Initializes a new ProvidedByAdviceDependency.
Properties
  NameDescription
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.)
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 AspectDependency.ToString().)
See Also