LinkHelperGetOptionalLinkService Method |
Gets the
ILinkService provided by a link, or
if the service does not exist.
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 GetOptionalLinkService(
IServiceProvider link
)
Public Shared Function GetOptionalLinkService (
link As IServiceProvider
) As ILinkService
public:
static ILinkService^ GetOptionalLinkService(
IServiceProvider^ link
)
static member GetOptionalLinkService :
link : IServiceProvider -> ILinkService
Parameters
- link
- Type: SystemIServiceProvider
The link from which to obtain the service.
Return Value
Type:
ILinkServiceThe service provided by the link, or
if the service does not exist.
Exceptions See Also