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: 19.1.398.0 (19.1.398.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 The specified link object does not provide ILinkService.
See Also