Click or drag to resize

ChannelInstanceFindService Method (Type, Boolean, ServiceProvider)

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
Syntax
C#
public Object? FindService(
	Type serviceType,
	bool dontCreate,
	ServiceProvider? ignore = null
)

Parameters

serviceType
Type: SystemType
The service to find.
dontCreate
Type: SystemBoolean
Don't create the service if it doesn't already exist.
ignore (Optional)
Type: Demo3D.NetServiceProvider
Ignoring specified service provider.

Return Value

Type: Object
The service implementation (or null).
See Also