PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Thread­Aware­Attribute Class / Thread­Aware­Attribute Methods / Thread­Aware­Attribute.​Advise Method

ThreadAwareAttribute.Advise Method

Injects the advice into the child object.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
protected override bool Advise(
	Object obj
)

Parameters

obj
Type: System.Object

Return Value

Type: Boolean
true if the children of obj have to be advised as well, false otherwise.
See Also