PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Dependencies Namespace / Aspect­Type­Dependency­Condition Class

AspectTypeDependencyCondition Class

An AspectDependencyCondition checking that the aspect of the right member of the condition is of a given type.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectInfrastructure.AspectDependencyCondition
    PostSharp.Sdk.AspectWeaver.Dependencies.AspectTypeDependencyCondition

Namespace:  PostSharp.Sdk.AspectWeaver.Dependencies
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public sealed class AspectTypeDependencyCondition : AspectDependencyCondition

The AspectTypeDependencyCondition type exposes the following members.

Constructors
  NameDescription
Public methodAspectTypeDependencyCondition
Initializes a new AspectTypeDependencyCondition.
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFormatCondition
Gets a human-readable string explaining the fact that a dependency object matches the current condition.
(Overrides AspectDependencyCondition.FormatCondition(IAspectDependencyObject).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMatch
Determines whether a pair of objects match the current condition.
(Overrides AspectDependencyCondition.Match(IAspectDependencyObject, IAspectDependencyObject).)
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
See Also

Reference

AspectTypeDependencyAttribute