PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / Depends Class / Depends Methods / Depends.​On Method / Depends.​On Method (Object)

Depends.On Method (Object)

Specifies an explicit dependency between the calling method and the argument passed to this method.

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public static void On(
	Object dependency1
)

Parameters

dependency1
Type: System.Object
See Also