ServiceProviderIRegistryRegister Method |
Registers a service.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.04.00
SyntaxIDisposable? Register(
ServiceProvider service
)
Parameters
- service
- Type: Demo3D.NetServiceProvider
The service provider to register.
Return Value
Type:
IDisposableAn
IDisposable that will call
Unregister(ServiceProvider), or null if the service provider is already registered.
Remarks
If this provider supports services that are already supported by an existing provider,
then this one takes precedence. It hides the previous implementation. If the 'hidden' implementation
supports other services, then it will still be used for those services.
See Also