예제 #1
0
		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);
			}
		}
예제 #2
0
		public void Accept(IVisitorWithContext visitor, object context)
		{
			visitor.Visit(this, context);
		}
예제 #3
0
		public static void Accept(this OptionDefType option, IVisitorWithContext visitor, object context)
		{
			visitor.Visit(option, context);
		}