Esempio n. 1
0
        public bool Match(IReportRecord other)
        {
            var result = false;
            var record = other as ExtraAssembly;

            if (record != null)
            {
                result = string.Equals(EnvironmentHelpers.GetDirectoryName(record.Directory),
                                       EnvironmentHelpers.GetDirectoryName(Directory), StringComparison.OrdinalIgnoreCase) &&
                         string.Equals(record.AssemblyName, AssemblyName, StringComparison.OrdinalIgnoreCase) &&
                         record.ProblemId == ProblemId;
            }

            return(result);
        }