Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public static string HeaderTextFor(PropertyToken property)
 {
     return HeaderFor(property).Heading;
 }
Exemplo n.º 3
0
 public LocalizedHeader HeaderFor(PropertyToken property)
 {
     return new LocalizedHeader()
     {
         Heading = property.PropertyName
     };
 }
Exemplo n.º 4
0
 public static LocalizedHeader HeaderFor(PropertyToken property)
 {
     return _providerSource().HeaderFor(property);
 }