public static ILProvider CreateILProvider() { ProcessRunner processRunner = new ProcessRunner(); ILReader reader = new ILReader(processRunner); ILCommentsCleaner cleaner = new ILCommentsCleaner(); return(new ILProvider(reader, cleaner)); }
internal ILProvider(ILReader reader, ILCommentsCleaner cleaner) { this.reader = reader ?? throw new ArgumentNullException(nameof(reader)); this.cleaner = cleaner ?? throw new ArgumentNullException(nameof(cleaner)); }