Example #1
0
 public override void SetValue(object component, object value)
 {
     try
     {
         _invokeSet.Invoke(component, value);
     }
     catch (RuntimeBinderException)
     {
     }
 }
Example #2
0
 public override object GetValue(object component)
 {
     try
     {
         return(_invokeGet.Invoke(component));
     }
     catch (RuntimeBinderException)
     {
         return(null);
     }
 }