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

Depends.On Method (Object, Object, Object, Object, Object)

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

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
public static void On(
	Object dependency1,
	Object dependency2,
	Object dependency3,
	Object dependency4,
	Object dependency5
)

Parameters

dependency1
Type: System.Object
dependency2
Type: System.Object
dependency3
Type: System.Object
dependency4
Type: System.Object
dependency5
Type: System.Object
See Also