public MessageHandler111111(string TransportType, string sUrl) { switch (TransportType) { case "0": m_messageClient = new SignalRSNone(sUrl); break; } observers = new List <IObserver <PayLoad> >(); messages = new List <PayLoad>(); }
public static SignalRBase CreateFactory(string TransportType, string sUrl, APXControler apx) { SignalRBase s = null; switch (TransportType) { case "0": s = new SignalRSNone(sUrl, apx); break; } return(s); }