Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 public override void Dispose()
 {
     utility = null;
     helper  = null;
 }