public ICANPASSMESSAGE() : base("ICANPASSMESSAGEv1") { utility = new ICANPASSMESSAGEUtility(); helper = new ICANPASSMESSAGEHelper(utility, Hub); Hub.Subscribe <IUserResponse>(this.ProcessUserResponse); Hub.Subscribe <IBotResult>(this.ProcessBotResult); Hub.Subscribe <IMachineMessage>(this.ProcessMachineMessage); Hub.Subscribe <IUserFriendlyMachineMessage>(this.ProcessUserFriendlyMachineMessage); PrintHelp(); }
public override void Dispose() { utility = null; helper = null; }