RecordContainsData() public static méthode

public static RecordContainsData ( string record ) : bool
record string
Résultat bool
Exemple #1
0
 private static void TrySetLongProperty(Action <long?> propertySetter, string record)
 {
     if (W3CParseUtils.RecordContainsData(record))
     {
         propertySetter(long.Parse(record));
     }
 }
Exemple #2
0
 private static void TrySetIntProperty(Action <int?> propertySetter, string record)
 {
     if (W3CParseUtils.RecordContainsData(record))
     {
         propertySetter(int.Parse(record));
     }
 }
Exemple #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);
     }
 }