RecordContainsData() public static method

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