예제 #1
0
파일: Macros.cs 프로젝트: zBart/Ares
 public void VisitMacro(IMacroCommandVisitor commandVisitor)
 {
     foreach (IMacroElement element in m_Elements)
     {
         IMacroCommand command = element != null ? element.InnerElement as IMacroCommand : null;
         if (command != null)
         {
             command.VisitMacroCommand(commandVisitor);
         }
     }
 }
예제 #2
0
 public void VisitMacroCommand(IMacroCommand macroCommand)
 {
     macroCommand.VisitMacroCommand(this);
 }