public object Clone() { IndexArray <T> clone = new IndexArray <T>((T[])array.Clone()); clone.baseIndex = baseIndex; return(clone); }
public CommandContext(Command interpretedcommand, CommandSearchResult commandSearch, string argSection, IndexArray <string> args) { InterpretedCommand = interpretedcommand; CommandSearch = commandSearch; ArgumentSection = argSection; Arguments = args; }