You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BeforeFriendlyName:bindingContext.ParseResult.GetValueForOption(_optionBeforeFriendlyName)??thrownewNullReferenceException("Null before friendly name"),
63
63
AfterFriendlyName:bindingContext.ParseResult.GetValueForOption(_optionAfterFriendlyName)??thrownewNullReferenceException("Null after friendly name"),
64
64
TableOfContentsTitle:bindingContext.ParseResult.GetValueForOption(_optionTableOfContentsTitle)??thrownewNullReferenceException("Null table of contents title"),
Description="Assemblies from both before and after to exclude from the diff.",
78
+
Description="An optional array of filepaths, each containing a list of assemblies that should be excluded from the diff. Each file should contain one assembly name per line, with no extensions.",
Description="Attributes to exclude from the diff.",
85
+
Description="An optional array of filepaths, each containing a list of attributes to exclude from the diff. Each file should contain one API full name per line.",
Description="An optional array of filepaths, each containing a list of APIs to exclude from the diff. Each file should contain one API full name per line.",
93
93
Arity=ArgumentArity.ZeroOrMore,
94
94
IsRequired=false
95
95
};
@@ -113,9 +113,9 @@ public static async Task Main(string[] args)
Copy file name to clipboardExpand all lines: src/Compatibility/ApiDiff/Microsoft.DotNet.ApiDiff/DiffGeneratorFactory.cs
+9-9
Original file line number
Diff line number
Diff line change
@@ -42,9 +42,9 @@ public static class DiffGeneratorFactory
42
42
/// <param name="beforeFriendlyName">The friendly name for the assemblies before the change.</param>
43
43
/// <param name="afterFriendlyName">The friendly name for the assemblies after the change.</param>
44
44
/// <param name="tableOfContentsTitle">The title for the table of contents in the generated diff.</param>
45
-
/// <param name="assembliesToExclude">An optional list of assemblies to avoid showing in the diff. If <see langword="null"/>, no assemblies are excluded.</param>
46
-
/// <param name="attributesToExclude">An optional list of attributes to avoid showing in the diff. If <see langword="null"/>, the default list of attributes to exclude <see cref="DiffGeneratorFactory.DefaultAttributesToExclude"/> is used. If an empty list, no attributes are excluded.</param>
47
-
/// <param name="apisToExclude">An optional list of APIs to avoid showing in the diff.</param>
45
+
/// <param name="filesWithAssembliesToExclude">An optional array of filepaths each containing a list of assemblies to avoid showing in the diff. If <see langword="null"/>, no assemblies are excluded.</param>
46
+
/// <param name="filesWithAttributesToExclude">An optional array of filepaths each containing a list of attributes to avoid showing in the diff. If <see langword="null"/>, the default list of attributes to exclude <see cref="DiffGeneratorFactory.DefaultAttributesToExclude"/> is used. If an empty list, no attributes are excluded.</param>
47
+
/// <param name="filesWithApisToExclude">An optional array of filepaths each containing a list of APIs to avoid showing in the diff.</param>
48
48
/// <param name="addPartialModifier">Indicates whether to add the partial modifier to types.</param>
49
49
/// <param name="writeToDisk">If <see langword="true"/>, when calling <see cref="IDiffGenerator.RunAsync"/>, the generated markdown files get written to disk, and no item is added to the <see cref="IDiffGenerator.RunAsync"/> dictionary. If <see langword="false"/>, when calling <see cref="IDiffGenerator.RunAsync"/>, the generated markdown files get added to the <see cref="IDiffGenerator.RunAsync"/> dictionary (with the file path as the dictionary key) and none of them is written to disk. This is meant for testing purposes.</param>
50
50
/// <param name="diagnosticOptions">An optional list of diagnostic options to use when generating the diff.</param>
@@ -59,9 +59,9 @@ public static IDiffGenerator Create(ILog log,
0 commit comments