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