/// <summary> /// Checks whether the entry should be ignored or not /// Any other <c>PwEntryIgnoreState</c> than <c>PwEntryIgnoreState.None</c> will be ignored /// </summary> /// <param name="pwEntry">The password entry</param> /// <returns>The <c>PwEntryIgnoreState</c> with the ignore reason</returns> private PwEntryIgnoreState CheckEntryIgnoreConditions(PwEntry pwEntry) { if (_isIgnoreExpiredEntriesEnabled && pwEntry.IsExpired()) { return(PwEntryIgnoreState.IsExpired); } if (pwEntry.HasTag(IgnorePwnedTag)) { return(PwEntryIgnoreState.IsIgnored); } return(PwEntryIgnoreState.None); }