File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ public static class Log4Net
4343 public static string CatoolCurrentDirectory { get ; set ; }
4444 public static bool Verbose { get ; set ; }
4545
46+ #endregion Properties
47+
4648 #region Constructors
4749 // No constructors present.
4850 #endregion
@@ -128,6 +130,8 @@ public static void AppendVerboseValue(CommonAppSettings appSettings)
128130 Verbose = false ;
129131 }
130132 }
133+
134+ #endregion Methods
131135 }
132136}
133137
Original file line number Diff line number Diff line change 1919
2020namespace LCT . Common
2121{
22+ /// <summary>
23+ /// Parses SPDX BOM files and converts them to CycloneDX format.
24+ /// </summary>
2225 public class SpdxBomParser : ISpdxBomParser
2326 {
27+ #region Fields
28+
29+ /// <summary>
30+ /// The logger instance for logging messages and errors.
31+ /// </summary>
2432 static readonly ILog Logger = LoggerFactory . GetLogger ( MethodBase . GetCurrentMethod ( ) . DeclaringType ) ;
33+
34+ #endregion Fields
35+
36+ #region Methods
37+
38+ /// <summary>
39+ /// Parses an SPDX BOM file and converts it to CycloneDX BOM format.
40+ /// </summary>
41+ /// <param name="filePath">The path to the SPDX BOM file to parse.</param>
42+ /// <returns>A CycloneDX BOM object containing parsed components and dependencies.</returns>
2543 public Bom ParseSPDXBom ( string filePath )
2644 {
2745 Logger . DebugFormat ( "ParseSPDXBom():Starting SPDX BOM parsing for file: {0}" , filePath ) ;
@@ -378,6 +396,6 @@ private static List<Dependency> ConvertDependencyMapToCycloneDx(Dictionary<strin
378396 } ) ] ;
379397 }
380398
381- #endregion
399+ #endregion Methods
382400 }
383401}
You can’t perform that action at this time.
0 commit comments