Click or drag to resize

AccessQueryAnyPath Method (IServiceProvider, IServiceProvider, Int32, IServiceProvider)

Creates a query which is satisfied whenever any path exists between a given transmitter and receiver. The possible paths are deduced from a list of links.

Namespace:  AGI.Foundation.Access
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
public static AccessQuery AnyPath(
	IServiceProvider transmitter,
	IServiceProvider receiver,
	int maximumLength,
	params IServiceProvider[] links


Type: SystemIServiceProvider
The transmitter.
Type: SystemIServiceProvider
The receiver.
Type: SystemInt32
The maximum length of a path between the transmitter and receiver, expressed as the number of links traversed. To allow paths of any length, pass MaxValue for this argument.
Type: SystemIServiceProvider
The list of links from which the possible paths are deduced.

Return Value

Type: AccessQuery
A query that is satisfied whenever a path exists.
See Also