예제 #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);
 }