ChannelInstanceFindServiceT Method (Boolean) |
Returns an object that implements a specific API, or null.
For example, an IO API such as IPacketIOService.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntaxpublic T FindService<T>(
bool dontCreate = false
)
where T : class
Parameters
- dontCreate (Optional)
- Type: SystemBoolean
Don't create the service if it doesn't already exist.
Type Parameters
- T
- The service to find.
Return Value
Type:
TThe service implementation (or null).
See Also