Constructor CadRemoteServer
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadRemoteServer(ICadRemoteHost, ICadRemoteDispatcher)
Makes a server for an app; nothing listens until Start().
public CadRemoteServer(ICadRemoteHost host, ICadRemoteDispatcher dispatcher)
Parameters
hostICadRemoteHostThe app's drawings and their commands.
dispatcherICadRemoteDispatcherRuns work on the thread the drawings belong to.
Exceptions
- ArgumentNullException
Thrown when the host or the dispatcher is null.