public bool IsMatch(string fileName, string sheetName, OnOperation onOperation) { return(FileName.IsMatch(fileName) && SheetName.IsMatch(sheetName) && OnOperation.HasFlag(onOperation)); }