public static Field Lookup(this Schema source, string name) { Field result; if (!source.TryLookup(name, out result)) { throw new MemberNotFoundException(name, source); } return(result); }
public bool TryGetField(string name, out IEditable result) { Field f; result = null; if (schema.TryLookup(name, out f)) { result = GetField(f.Index); return(true); } return(false); }