public bool ShouldLog(DB2Hash fileHash) { for (var i = 0; i < Hashes.Count; ++i) { var currentElement = Hashes[i]; if (currentElement.FileHash == fileHash.ToString()) { return(currentElement.Enabled); } } return(false); }
public bool ShouldLog(DB2Hash fileHash) { for (var i = 0; i < Hashes.Count; ++i) { if (Settings.ParseAllHotfixes == true) { return(true); } var currentElement = Hashes[i]; if (currentElement.FileHash == fileHash.ToString()) { return(currentElement.Enabled); } } return(false); }