/// <summary> /// 处理消息请求 /// </summary> public override void ProcessRequest() { base.ProcessRequest(); PassiveProcess pp = new PassiveProcess(this._wxPlatFormTypeEnum); MessageDispatcher md = new MessageDispatcher(); string strResponse = md.Dispatcher(pp.GetDecryptContent()); //加密 string strEncryptionResponse = string.Empty; pp.SetEncryptionContent(strResponse, ref strEncryptionResponse); //发送 pp.MsgResponse(strEncryptionResponse); }
public PassiveProperty(PassiveProcess <TDomain, TDataStore> process) { _process = process; DataStore = process.InitialValue; }
public static PassiveProperty <TDomain, TDataStore> WrapInProperty <TDomain, TDataStore>( this PassiveProcess <TDomain, TDataStore> passive) { return(new PassiveProperty <TDomain, TDataStore>(passive)); }