Class SolutionFoldersSerialize
- Assembly
- SunamoDevCode.dll
Serializable collection of solution folders
public class SolutionFoldersSerialize
- Inheritance
-
SolutionFoldersSerialize
- Inherited Members
- Extension Methods
Fields
SolutionFolders
List of serializable solution folders.
public List<SolutionFolderSerialize> SolutionFolders
Field Value
Methods
GetWithName(List<string>, bool)
Gets solution folders by name with optional error handling If isMissingAllowed is false and solution can't be found, saves exception in result Otherwise saves null in result Data
public ResultWithExceptionDC<SolutionFoldersSerialize> GetWithName(List<string> solutionNamesToFind, bool isMissingAllowed)
Parameters
solutionNamesToFindList<string>Solution names to find
isMissingAllowedboolIf false, throws exception when solution not found
Returns
- ResultWithExceptionDC<SolutionFoldersSerialize>
Result with found solution folders or exception
Insert(int, SolutionFolderSerialize)
Inserts a solution folder at specified index, maintaining max 10 items
public void Insert(int index, SolutionFolderSerialize solutionFolder)
Parameters
indexintIndex to insert at
solutionFolderSolutionFolderSerializeSolution folder to insert
RemoveWithDisplayedText(string)
Removes all solution folders with specified displayed text
public void RemoveWithDisplayedText(string displayedText)
Parameters
displayedTextstringDisplayed text to match
RemoveWithName(List<string>)
Removes solution folders with specified names
public void RemoveWithName(List<string> solutionNamesToRemove)
Parameters
Update()
Raises the Updated event with the current solution folders.
public void Update()
Events
Updated
Event raised when the solution folders collection is updated.
public event Action<List<SolutionFolderSerialize>>? Updated