Page Comparison - Custom InspectCode Issue Logger (v.3 vs v.4)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Implement IInspectCodeConsumerFactory factory
    Code Block
    csharp
    csharp
      [SolutionComponent]
      public class IssueLoggerFactory : IInspectCodeConsumerFactory
      {
        public IInspectCodeConsumer CreateConsumer(IEnumerable<IProjectModelElement> inspectScope, FileSystemPath outputFile = null)
        {
          return new IssueLogger();
        }
      }
    
  • Start InspectCode with following parameters
    inspectcode ... /Plugin=path-to-custom-logger-dll