Click or drag to resize

CommunicationExtensionsFindT Method (IController, FuncT, Boolean)

Finds clients that has instances of the IController and match the expression

Namespace:  Crosser.Common.Server
Assembly:  Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax
C#
public static IEnumerable<T> Find<T>(
	this IController instance,
	Func<T, bool> expr
)
where T : class, IController

Parameters

instance
Type: Crosser.Common.ServerIController
The calling instance
expr
Type: SystemFuncT, Boolean
The expression to find clients to target

Type Parameters

T
The type of IController to send to

Return Value

Type: IEnumerableT
All IController instances matching the expression

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IController. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also