Skip to content

Commit 7c96490

Browse files
[Add] generation of SBOM; fixes #56
[Add] generation of documentation and improve XML docs [Add] GenerateDocumentationFile and improve XML docs
1 parent 63958fd commit 7c96490

23 files changed

Lines changed: 55 additions & 32 deletions

ReqIFSharp.Extensions/ReqIFExtensions/AttributeValueExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static class AttributeValueExtensions
3535
/// Queries the value of the <see cref="AttributeValue"/> as a formatted string
3636
/// </summary>
3737
/// <param name="attributeValue">
38-
/// the subjectr <see cref="attributeValue"/>
38+
/// the subject <see cref="AttributeValue"/>
3939
/// </param>
4040
/// <returns>
4141
/// a formatted string

ReqIFSharp.Extensions/ReqIFSharp.Extensions.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<Version>4.2.0</Version>
6+
<LangVersion>12.0</LangVersion>
7+
<Title>ReqIFSharp.Extensions</Title>
68
<Description>A .NET library that provides extenions and services to operate on ReqIF documents.</Description>
79
<PackageId>ReqIFSharp.Extensions</PackageId>
810
<Company>Starion Group S.A.</Company>
@@ -11,17 +13,20 @@
1113
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1214
<RepositoryUrl>https://github.com/STARIONGROUP/reqifsharp.git</RepositoryUrl>
1315
<RepositoryType>Git</RepositoryType>
16+
<NeutralLanguage>en-US</NeutralLanguage>
17+
<SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
1418
<PackageIcon>reqifsharp-extensions-logo-small.png</PackageIcon>
1519
<PackageTags>ReqIF mbse modeltopia</PackageTags>
1620
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
1721
<Authors>Sam Gerené</Authors>
1822
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
1923
<IncludeSource>true</IncludeSource>
2024
<IncludeSymbols>true</IncludeSymbols>
25+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
26+
<GenerateSBOM>true</GenerateSBOM>
2127
<PackageReleaseNotes>
2228
- [Update] to reqifsharp version 9.2.0
2329
</PackageReleaseNotes>
24-
<LangVersion>latest</LangVersion>
2530
<PackageReadmeFile>README.md</PackageReadmeFile>
2631
</PropertyGroup>
2732

@@ -38,4 +43,8 @@
3843
<None Include="..\README.md" Pack="true" PackagePath="\" />
3944
</ItemGroup>
4045

46+
<ItemGroup>
47+
<PackageReference Include="Microsoft.Sbom.Targets" Version="4.1.0" PrivateAssets="all" />
48+
</ItemGroup>
49+
4150
</Project>

ReqIFSharp/AlternativeID.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ internal void ReadXml(XmlReader reader)
127127
/// <param name="reader">
128128
/// an instance of <see cref="XmlReader"/>
129129
/// </param>
130+
/// <param name="token">
131+
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
132+
/// </param>
130133
internal async Task ReadXmlAsync(XmlReader reader, CancellationToken token)
131134
{
132135
while (await reader.ReadAsync())

ReqIFSharp/AttributeDefinition/AttributeDefinitionEnumeration.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ internal override void ReadXml(XmlReader reader)
193193
/// <param name="reader">
194194
/// an instance of <see cref="XmlReader"/>
195195
/// </param>
196+
/// <param name="token">
197+
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
198+
/// </param>
196199
internal override async Task ReadXmlAsync(XmlReader reader, CancellationToken token)
197200
{
198201
base.ReadXml(reader);

ReqIFSharp/Datatype/DatatypeDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected DatatypeDefinition(ILoggerFactory loggerFactory) : base(loggerFactory)
5353
/// Initializes a new instance of the <see cref="DatatypeDefinition"/> class.
5454
/// </summary>
5555
/// <param name="reqIfContent">
56-
/// The owning <see cref="reqIfContent"/>
56+
/// The owning <see cref="ReqIFContent"/>
5757
/// </param>
5858
/// <param name="loggerFactory">
5959
/// The (injected) <see cref="ILoggerFactory"/> used to set up logging

ReqIFSharp/Datatype/DatatypeDefinitionBoolean.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public DatatypeDefinitionBoolean(ILoggerFactory loggerFactory)
5656
/// Initializes a new instance of the <see cref="DatatypeDefinitionBoolean"/> class.
5757
/// </summary>
5858
/// <param name="reqIfContent">
59-
/// The owning <see cref="reqIfContent"/>
59+
/// The owning <see cref="ReqIFContent"/>
6060
/// </param>
6161
/// <param name="loggerFactory">
6262
/// The (injected) <see cref="ILoggerFactory"/> used to set up logging

ReqIFSharp/Datatype/DatatypeDefinitionDate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public DatatypeDefinitionDate(ILoggerFactory loggerFactory)
5757
/// Initializes a new instance of the <see cref="DatatypeDefinitionDate"/> class.
5858
/// </summary>
5959
/// <param name="reqIfContent">
60-
/// The owning <see cref="reqIfContent"/>
60+
/// The owning <see cref="ReqIFContent"/>
6161
/// </param>
6262
/// <param name="loggerFactory">
6363
/// The (injected) <see cref="ILoggerFactory"/> used to set up logging

ReqIFSharp/Datatype/DatatypeDefinitionEnumeration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public DatatypeDefinitionEnumeration(ILoggerFactory loggerFactory)
7373
/// Initializes a new instance of the <see cref="DatatypeDefinitionEnumeration"/> class.
7474
/// </summary>
7575
/// <param name="reqIfContent">
76-
/// The owning <see cref="reqIfContent"/>
76+
/// The owning <see cref="ReqIFContent"/>
7777
/// </param>
7878
/// <param name="loggerFactory">
7979
/// The (injected) <see cref="ILoggerFactory"/> used to set up logging

ReqIFSharp/Datatype/DatatypeDefinitionInteger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public DatatypeDefinitionInteger(ILoggerFactory loggerFactory)
5858
/// Initializes a new instance of the <see cref="DatatypeDefinitionInteger"/> class.
5959
/// </summary>
6060
/// <param name="reqIfContent">
61-
/// The owning <see cref="reqIfContent"/>
61+
/// The owning <see cref="ReqIFContent"/>
6262
/// </param>
6363
/// <param name="loggerFactory">
6464
/// The (injected) <see cref="ILoggerFactory"/> used to set up logging

ReqIFSharp/Datatype/DatatypeDefinitionReal.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public DatatypeDefinitionReal(ILoggerFactory loggerFactory)
5353
/// Initializes a new instance of the <see cref="DatatypeDefinitionReal"/> class.
5454
/// </summary>
5555
/// <param name="reqIfContent">
56-
/// The owning <see cref="reqIfContent"/>
56+
/// The owning <see cref="ReqIFContent"/>
5757
/// </param>
5858
/// <param name="loggerFactory">
5959
/// The (injected) <see cref="ILoggerFactory"/> used to set up logging

0 commit comments

Comments
 (0)