ChannelInstanceFindService(Type, Boolean, ServiceProvider) Method |
Returns an object that implements a specific API, or null.
For example, an IO API such as IPacketIOService.
Namespace: Demo3D.NetAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntaxpublic Object? FindService(
Type serviceType,
bool dontCreate,
ServiceProvider? ignore = null
)
Parameters
- serviceType Type
- The service to find.
- dontCreate Boolean
- Don't create the service if it doesn't already exist.
- ignore ServiceProvider (Optional)
- Ignoring specified service provider.
Return Value
ObjectThe service implementation (or null).
See Also