private void Assign(CThreadData t) { #if NETFRAMEWORK WindowToWarn = t.WindowToWarn; StoppedMessage = t.StoppedMessage; InformationMessage = t.InformationMessage; #endif }
public static StartServerType Prepare(CStreamServerSettings settings, CThreadData threadData, CStreamDelegates.ServerOnRequestDelegate onRequest, CStreamDelegates.ServerOnStartDelegate onStart = null, CStreamDelegates.ServerOnConnectDelegate onConnect = null, CStreamDelegates.ServerOnStopDelegate onStop = null, object parameters = null) { return(new StartServerType() { ThreadData = threadData, Settings = settings, OnStart = onStart, OnConnect = onConnect, OnRequest = onRequest, OnStop = onStop, Parameters = parameters, }); }
public CThreadData(CThreadData t) { Assign(t); }