示例#1
0
 public bool Equals(PropertyToken obj)
 {
     if (ReferenceEquals(null, obj)) return false;
     if (ReferenceEquals(this, obj)) return true;
     return Equals(obj.ParentTypeName, ParentTypeName) && Equals(obj.PropertyName, PropertyName);
 }
示例#2
0
 public static string HeaderTextFor(PropertyToken property)
 {
     return HeaderFor(property).Heading;
 }
示例#3
0
 public LocalizedHeader HeaderFor(PropertyToken property)
 {
     return new LocalizedHeader()
     {
         Heading = property.PropertyName
     };
 }
示例#4
0
 public static LocalizedHeader HeaderFor(PropertyToken property)
 {
     return _providerSource().HeaderFor(property);
 }