Exemple #1
0
 public static PropertyAssessor GetProperty(PropertyInfo propertyInfo)
 {
     return(PropertyAssessorCache.GetOrAdd(propertyInfo, CreatePropertyAssessor));
 }
Exemple #2
0
 public static PropertyAssessor GetProperty(Type type, string propertyName)
 {
     return(PropertyAssessorCache.GetOrAdd(type, propertyName, CreatePropertyAssessor));
 }