Class SolutionFolders
- Assembly
- SunamoDevCode.dll
Collection of solution folders with indexing support.
public class SolutionFolders : List<SolutionFolder>, IList<SolutionFolder>, ICollection<SolutionFolder>, IReadOnlyList<SolutionFolder>, IReadOnlyCollection<SolutionFolder>, IEnumerable<SolutionFolder>, IList, ICollection, IEnumerable
- Inheritance
-
SolutionFolders
- Implements
- Inherited Members
- Extension Methods
Constructors
SolutionFolders(IList<SolutionFolder>)
Initializes a new instance of the SolutionFolders class.
public SolutionFolders(IList<SolutionFolder> collection)
Parameters
collectionIList<SolutionFolder>Collection of solution folders.
Properties
this[string]
Gets the solution folder by solution name.
public SolutionFolder this[string solutionName] { get; }
Parameters
solutionNamestringSolution name to find.
Property Value
- SolutionFolder
Solution folder with the specified name.
Methods
DoIndex()
Creates an index of solution folders by their solution name.
public void DoIndex()
IsAllNamesUnique(IList<string>?)
Checks if all solution names are unique and throws exception if duplicates are found.
public void IsAllNamesUnique(IList<string>? names = null)