private static NetworkInvokePackage GetPackage(NetworkInvokeType type) { #if PocketPC || WindowsCE return(new NetworkInvokePackage(type, sessionId, ClientType.Mobile)); #else return(new NetworkInvokePackage(type, sessionId, ClientType.SmartClient)); #endif }
/// <summary> /// 构造函数(重载) /// </summary> /// <param name="invokeType">调用类型</param> /// <param name="sessionId">调用者会话标识</param> /// <param name="clientType">客户端类型</param> public NetworkInvokePackage(NetworkInvokeType invokeType, string sessionId, ClientType clientType) : this(invokeType, sessionId) { this.clientType = clientType; }
/// <summary> /// 构造函数 /// </summary> /// <param name="invokeType">调用类型</param> /// <param name="sessionId">调用者会话标识</param> public NetworkInvokePackage(NetworkInvokeType invokeType, string sessionId) { this.invokeType = invokeType; this.sessionId = sessionId; context = new HybridDictionary(); }
private static NetworkInvokePackage GetPackage(NetworkInvokeType type) { #if PocketPC || WindowsCE return new NetworkInvokePackage(type, sessionId, ClientType.Mobile); #else return new NetworkInvokePackage(type, sessionId, ClientType.SmartClient); #endif }
/// <summary> /// ���캯�������أ� /// </summary> /// <param name="invokeType">��������</param> /// <param name="sessionId">�����Ự��ʶ</param> /// <param name="clientType">�ͻ�������</param> public NetworkInvokePackage(NetworkInvokeType invokeType, string sessionId, ClientType clientType) : this(invokeType, sessionId) { this.clientType = clientType; }
/// <summary> /// ���캯�� /// </summary> /// <param name="invokeType">��������</param> /// <param name="sessionId">�����Ự��ʶ</param> public NetworkInvokePackage(NetworkInvokeType invokeType, string sessionId) { this.invokeType = invokeType; this.sessionId = sessionId; context = new HybridDictionary(); }