public static void Accept(this OptionBaseType option, IVisitorWithContext visitor, object context) { if (option is UIOptionType) { (option as UIOptionType).Accept(visitor, context); } else if (option is UIOptionGroupType) { (option as UIOptionGroupType).Accept(visitor, context); } }
public void Accept(IVisitorWithContext visitor, object context) { visitor.Visit(this, context); }
public static void Accept(this OptionDefType option, IVisitorWithContext visitor, object context) { visitor.Visit(option, context); }