Class SolutionFolderWithFiles
- Assembly
- SunamoDevCode.dll
Solution folder with file information.
public class SolutionFolderWithFiles : SolutionFolder, ISolutionFolderSerialize, ISolutionFolder
- Inheritance
-
SolutionFolderWithFiles
- Implements
- Inherited Members
- Extension Methods
Constructors
SolutionFolderWithFiles(SolutionFolder)
Initializes a new instance of the SolutionFolderWithFiles class.
public SolutionFolderWithFiles(SolutionFolder solutionFolder)
Parameters
solutionFolderSolutionFolderSource solution folder.
Properties
FileInfoLiteOfExtension
Gets or sets the dictionary of FileInfoLite objects grouped by extension. Is filled in method CreateFileInfoLiteObjects.
public Dictionary<string, List<FileInfoLiteDC>> FileInfoLiteOfExtension { get; set; }
Property Value
Files
Gets or sets the list of all files in the solution.
public List<string> Files { get; set; }
Property Value
FilesAndSizes
Gets or sets the dictionary mapping file index to file size.
public Dictionary<int, long> FilesAndSizes { get; set; }
Property Value
FilesOfExtension
Gets or sets the dictionary of files grouped by extension (without dot).
public Dictionary<string, List<string>> FilesOfExtension { get; set; }
Property Value
OverallSize
Gets or sets the overall size of all files.
public long OverallSize { get; set; }
Property Value
SizeOfExtension
Gets or sets the dictionary of total size by extension (all extensions are lowercase and without dot).
public Dictionary<string, long> SizeOfExtension { get; set; }
Property Value
SizeOfExtensionTypes
Gets or sets the dictionary of total size by extension type.
public Dictionary<TypeOfExtensionDC, long> SizeOfExtensionTypes { get; set; }
Property Value
Methods
CheckSize()
Checks and calculates the total size of files.
public void CheckSize()
CreateFileInfoLiteObjects(string, string)
Creates FileInfoLite objects for the specified extension.
public void CreateFileInfoLiteObjects(string extensionWithoutDot, string item)