MIListElement ParseListElement(MIListElementType type, string response, int beginIndex, out int endIndex) { switch (type) { case MIListElementType.Value: return(ParseValue(response, beginIndex, out endIndex)); case MIListElementType.Result: return(ParseResult(response, beginIndex, out endIndex)); } throw new MIParserException(); }
public MIList(List <MIListElement> elements, MIListElementType elementType) : base(MIValueType.List) { ElementsType = elementType; Elements = elements; }
public MIListElement(MIListElementType type) { ElementType = type; }