예제 #1
0
 public static bool EntryStringEquals(this PwEntry entry, string key, string expectedValue)
 {
     return(entry.EntryStringExistsAndContidtionMet(key, value =>
     {
         return value.Equals(expectedValue, StringComparison.InvariantCultureIgnoreCase);
     }));
 }
예제 #2
0
 public static bool EntryStringNotNullOrEmpty(this PwEntry entry, string key)
 {
     return(entry.EntryStringExistsAndContidtionMet(key, value => !string.IsNullOrEmpty(value)));
 }