Click or drag to resize

AccessQueryAnyPath Method (IServiceProvider, IServiceProvider, Int32, LinkGraph)

Creates a query which is satisfied whenever any path exists between a given transmitter and receiver. The possible paths are defined by a LinkGraph.

Namespace:  AGI.Foundation.Access
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static AccessQuery AnyPath(
	IServiceProvider transmitter,
	IServiceProvider receiver,
	int maximumLength,
	LinkGraph linkGraph
)

Parameters

transmitter
Type: SystemIServiceProvider
The transmitter.
receiver
Type: SystemIServiceProvider
The receiver.
maximumLength
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.
linkGraph
Type: AGI.Foundation.AccessLinkGraph
The graph of links from which the possible paths between the transmitter and receiver are computed.

Return Value

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