public bool Match(IReportRecord other)
 {
     var result = false;
     var record = other as SharedAssemblyConflict;
     if (record != null)
     {
         result = string.Equals(record.AssemblyName, AssemblyName, StringComparison.OrdinalIgnoreCase) &&
                  record.AssemblyVersion == AssemblyVersion &&
                  record.ProblemId == ProblemId;
     }
     
     return result;
 }
Exemplo n.º 2
0
 public bool Match(IReportRecord other)
 {
     var result = false;
     var record = other as SignatureIssue;
     if (record != null)
     {
         result = string.Equals(record.ClassName, ClassName, StringComparison.OrdinalIgnoreCase) &&
             string.Equals(record.Target, Target, StringComparison.OrdinalIgnoreCase) &&
                  record.ProblemId == ProblemId;
     }
     
     return result;
 }
Exemplo n.º 3
0
        public bool Match(IReportRecord other)
        {
            var result = false;
            var record = other as SignatureIssue;

            if (record != null)
            {
                result = string.Equals(record.ClassName, ClassName, StringComparison.OrdinalIgnoreCase) &&
                         string.Equals(record.Target, Target, StringComparison.OrdinalIgnoreCase) &&
                         record.ProblemId == ProblemId;
            }

            return(result);
        }
Exemplo n.º 4
0
 public bool Match(IReportRecord other)
 {
     var result = false;
     var record = other as HelpIssue;
     if (record != null)
     {
         result = string.Equals(record.Assembly, Assembly, StringComparison.OrdinalIgnoreCase) &&
             string.Equals(record.HelpFile, HelpFile, StringComparison.OrdinalIgnoreCase) &&
             string.Equals(record.Target, Target, StringComparison.OrdinalIgnoreCase) &&
                  record.ProblemId == ProblemId;
     }
     
     return result;
 }
Exemplo n.º 5
0
        public bool Match(IReportRecord other)
        {
            var result = false;
            var record = other as SharedAssemblyConflict;

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

            return(result);
        }
Exemplo n.º 6
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;
        }
Exemplo n.º 7
0
        public bool Match(IReportRecord other)
        {
            var result = false;
            var record = other as HelpIssue;

            if (record != null)
            {
                result = string.Equals(record.Assembly, Assembly, StringComparison.OrdinalIgnoreCase) &&
                         string.Equals(record.HelpFile, HelpFile, StringComparison.OrdinalIgnoreCase) &&
                         string.Equals(record.Target, Target, StringComparison.OrdinalIgnoreCase) &&
                         record.ProblemId == ProblemId;
            }

            return(result);
        }
Exemplo n.º 8
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);
        }