PostSharp 4.3 / / 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, Object, Object, Object, Object, Object)
Depends.On Method (Object, Object, Object, Object, Object, 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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public static void On(
	Object dependency1,
	Object dependency2,
	Object dependency3,
	Object dependency4,
	Object dependency5,
	Object dependency6,
	Object dependency7,
	Object dependency8,
	Object dependency9,
	Object dependency10
)

Parameters

dependency1
Type: System.Object
dependency2
Type: System.Object
dependency3
Type: System.Object
dependency4
Type: System.Object
dependency5
Type: System.Object
dependency6
Type: System.Object
dependency7
Type: System.Object
dependency8
Type: System.Object
dependency9
Type: System.Object
dependency10
Type: System.Object
See Also