Example #1
0
 public object GetPropertyValue(object target, ResourceProperty resourceProperty, ResourceType resourceType)
 {
     if (!resourceProperty.CanReflectOnInstanceTypeProperty)
     {
         return(this.queryProvider.GetPropertyValue(target, resourceProperty));
     }
     if (resourceType == null)
     {
         resourceType = this.GetResourceType(target);
     }
     return(resourceType.GetPropertyValue(resourceProperty, target));
 }