ChannelInstanceFindServiceT(Boolean) 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.01.00
Syntaxpublic T FindService<T>(
bool dontCreate = false
)
where T : class
Parameters
- dontCreate Boolean (Optional)
- Don't create the service if it doesn't already exist.
Type Parameters
- T
- The service to find.
Return Value
TThe service implementation (or null).
See Also