RecordContainsData() public static method

public static RecordContainsData ( string record ) : bool
record string
return bool
Exemplo n.º 1
0
 private static void TrySetLongProperty(Action <long?> propertySetter, string record)
 {
     if (W3CParseUtils.RecordContainsData(record))
     {
         propertySetter(long.Parse(record));
     }
 }
Exemplo n.º 2
0
 private static void TrySetIntProperty(Action <int?> propertySetter, string record)
 {
     if (W3CParseUtils.RecordContainsData(record))
     {
         propertySetter(int.Parse(record));
     }
 }
Exemplo n.º 3
0
 private static void TrySetStringProperty(Action <string> propertySetter, string record)
 {
     if (W3CParseUtils.RecordContainsData(record))
     {
         propertySetter(record.Replace("\r", string.Empty).Replace("\n", string.Empty));
     }
     else
     {
         propertySetter(string.Empty);
     }
 }