public override object Get(object context) { if (!isReadable) { throw new NotReadablePropertyException("Cannot get a non-readable property [" + name + "]"); } return(property.GetValue(context)); }
private object GetGenericIndexer(object context, EvaluationContext evalContext) { object[] indices = InitializeIndexerProperty(context, evalContext); return(indexer.GetValue(context, indices)); }