Class DuplicatesInItemGroup
- Namespace
- SunamoCsproj.Data
- Assembly
- SunamoCsproj.dll
Represents duplicate references found in csproj ItemGroup elements.
public class DuplicatesInItemGroup
- Inheritance
-
DuplicatesInItemGroup
- Inherited Members
- Extension Methods
Properties
DuplicatedPackages
Gets or sets the list of duplicated package references.
public List<string> DuplicatedPackages { get; set; }
Property Value
DuplicatedProjects
Gets or sets the list of duplicated project references.
public List<string> DuplicatedProjects { get; set; }
Property Value
ExistsInPackageAndProjectReferences
Gets or sets the list of references that exist in both package and project references.
public List<string> ExistsInPackageAndProjectReferences { get; set; }
Property Value
Methods
AppendToSb(StringBuilder, string)
Appends duplicate information to StringBuilder.
public void AppendToSb(StringBuilder stringBuilder, string path)
Parameters
stringBuilderStringBuilderThe StringBuilder to append to.
pathstringThe file path to include in output.
HasDuplicates()
Checks if any duplicates exist.
public bool HasDuplicates()
Returns
- bool
True if any duplicates exist, false otherwise.