Table of Contents

Class ItemGroupElements

Namespace
SunamoCsproj.Data
Assembly
SunamoCsproj.dll

Collection of ItemGroup elements from csproj file.

public class ItemGroupElements
Inheritance
ItemGroupElements
Inherited Members
Extension Methods

Properties

List

All package or project references.

public List<ItemGroupElement> List { get; set; }

Property Value

List<ItemGroupElement>

Methods

HaveOnlyDepsFromList(List<string>)

Returns items that are NOT in the specified allowed list. Used to find references that should not be present.

public List<string> HaveOnlyDepsFromList(List<string> allowedDependencies)

Parameters

allowedDependencies List<string>

List of allowed dependency names.

Returns

List<string>

List of dependency names that are not in the allowed list.