OnWrapProperty() protected abstract method

protected abstract OnWrapProperty ( PropertyInfo property ) : PropertySpec
property System.Reflection.PropertyInfo
return PropertySpec
Example #1
0
 public virtual PropertySpec WrapProperty(TypeSpec typeSpec, PropertyInfo propertyInfo)
 {
     if (typeSpec == null)
     {
         throw new ArgumentNullException(nameof(typeSpec));
     }
     if (propertyInfo == null)
     {
         throw new ArgumentNullException(nameof(propertyInfo));
     }
     return(typeSpec.OnWrapProperty(propertyInfo));
 }
Example #2
0
 public virtual PropertySpec WrapProperty(TypeSpec typeSpec, PropertyInfo propertyInfo)
 {
     if (typeSpec == null)
         throw new ArgumentNullException(nameof(typeSpec));
     if (propertyInfo == null)
         throw new ArgumentNullException(nameof(propertyInfo));
     return typeSpec.OnWrapProperty(propertyInfo);
 }