Beispiel #1
0
        public virtual void ProcessMessage(IProcessorMessage message)
        {
            if (message is UndoFileMessage)
            {
                UndoFileMessage msg = message as UndoFileMessage;
                UndoFile = msg.UndoFile;
            }

            Processor.ProcessMessage(message);
        }
Beispiel #2
0
 public virtual void ProcessMessage(IProcessorMessage message)
 {
     if (message is UndoFileMessage)
     {
         UndoFileMessage msg = message as UndoFileMessage;
         DryRun   = msg.DryRun;
         UndoFile = msg.UndoFile;
     }
     if (message is Message)
     {
         Pattern = new NamePattern((message as Message).Pattern);
     }
 }