Click or drag to resize

LinkHelperGetLinkService Method (IServiceProvider)

Gets the ILinkService provided by a link.

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 ILinkService GetLinkService(
	IServiceProvider link
)

Parameters

link
Type: SystemIServiceProvider
The link from which to obtain the service.

Return Value

Type: ILinkService
The service provided by the link.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when link is .
ServiceNotAvailableException Thrown when link does not provide ILinkService.
See Also