AccessQueryAnyPathT Method (IServiceProvider, IServiceProvider, Int32, IEnumerableT) |
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.2.419.0 (24.2.419.0)
Syntax public static AccessQuery AnyPath<T>(
IServiceProvider transmitter,
IServiceProvider receiver,
int maximumLength,
IEnumerable<T> links
)
where T : IServiceProvider
Public Shared Function AnyPath(Of T As IServiceProvider) (
transmitter As IServiceProvider,
receiver As IServiceProvider,
maximumLength As Integer,
links As IEnumerable(Of T)
) As AccessQuery
public:
generic<typename T>
where T : IServiceProvider
static AccessQuery^ AnyPath(
IServiceProvider^ transmitter,
IServiceProvider^ receiver,
int maximumLength,
IEnumerable<T>^ links
)
static member AnyPath :
transmitter : IServiceProvider *
receiver : IServiceProvider *
maximumLength : int *
links : IEnumerable<'T> -> AccessQuery when 'T : IServiceProvider
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.
- links
- Type: System.Collections.GenericIEnumerableT
The list of links from which the possible paths are deduced.
Type Parameters
- T
- The type used to represent a link.
Return Value
Type:
AccessQueryA query that is satisfied whenever a path exists.
See Also