Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public partial interface IFeature : IType
/// <returns>
/// The expected <see cref="FeatureDirectionKind" />
/// </returns>
FeatureDirectionKind DirectionFor(IType type) => this.ComputeDirectionForOperation(type);
FeatureDirectionKind? DirectionFor(IType type) => this.ComputeDirectionForOperation(type);

/// <summary>
/// If a Feature has no declaredShortName or declaredName, then its effective shortName is given by the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ internal static List<IType> ComputeType(this IFeature featureSubject)
/// The expected <see cref="FeatureDirectionKind" />
/// </returns>
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
internal static FeatureDirectionKind ComputeDirectionForOperation(this IFeature featureSubject, IType type)
internal static FeatureDirectionKind? ComputeDirectionForOperation(this IFeature featureSubject, IType type)
{
throw new NotSupportedException("Create a GitHub issue when this method is required");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,7 @@
<PackageReference Include="Serilog" Version="4.3.1" />
<PackageReference Include="Serilog.Extensions.Logging" Version="10.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
<PackageReference Include="uml4net.Reporting" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
5 changes: 2 additions & 3 deletions SysML2.NET.CodeGenerator/SysML2.NET.CodeGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis" Version="5.3.0" />
<PackageReference Include="uml4net.HandleBars" Version="8.0.0" />
<PackageReference Include="uml4net.Reporting" Version="8.0.0" />
<PackageReference Include="uml4net.xmi" Version="8.0.0" />
<PackageReference Include="uml4net.HandleBars" Version="8.0.1" />
<PackageReference Include="uml4net.xmi.Extensions.EnterpriseArchitect" Version="8.0.1" />
</ItemGroup>
<ItemGroup>
<None Update="Resources\HtmlDocs\css\bootstrap-theme.css">
Expand Down
2 changes: 1 addition & 1 deletion SysML2.NET/Core/AutoGenPoco/IFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public partial interface IFeature : IType
/// <returns>
/// The expected <see cref="FeatureDirectionKind" />
/// </returns>
FeatureDirectionKind DirectionFor(IType type) => this.ComputeDirectionForOperation(type);
FeatureDirectionKind? DirectionFor(IType type) => this.ComputeDirectionForOperation(type);

/// <summary>
/// If a Feature has no declaredShortName or declaredName, then its effective shortName is given by the
Expand Down
2 changes: 1 addition & 1 deletion SysML2.NET/Core/AutoGenPoco/INamespace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public partial interface INamespace : IElement
/// <returns>
/// The expected collection of <see cref="IMembership" />
/// </returns>
List<IMembership> MembershipsOfVisibility(VisibilityKind visibility, List<INamespace> excluded) => this.ComputeMembershipsOfVisibilityOperation(visibility, excluded);
List<IMembership> MembershipsOfVisibility(VisibilityKind? visibility, List<INamespace> excluded) => this.ComputeMembershipsOfVisibilityOperation(visibility, excluded);

/// <summary>
/// Resolve the given qualified name to the named Membership (if any), starting with this Namespace as
Expand Down
4 changes: 2 additions & 2 deletions SysML2.NET/Core/AutoGenPoco/IType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public partial interface IType : INamespace
/// <returns>
/// The expected <see cref="FeatureDirectionKind" />
/// </returns>
FeatureDirectionKind DirectionOf(IFeature feature) => this.ComputeDirectionOfOperation(feature);
FeatureDirectionKind? DirectionOf(IFeature feature) => this.ComputeDirectionOfOperation(feature);

/// <summary>
/// Return the direction of the given feature relative to this Type, excluding a given set of Types from
Expand All @@ -374,7 +374,7 @@ public partial interface IType : INamespace
/// <returns>
/// The expected <see cref="FeatureDirectionKind" />
/// </returns>
FeatureDirectionKind DirectionOfExcluding(IFeature feature, List<IType> excluded) => this.ComputeDirectionOfExcludingOperation(feature, excluded);
FeatureDirectionKind? DirectionOfExcluding(IFeature feature, List<IType> excluded) => this.ComputeDirectionOfExcludingOperation(feature, excluded);

/// <summary>
/// If this Type is conjugated, then return just the originalType of the Conjugation. Otherwise, return
Expand Down
2 changes: 1 addition & 1 deletion SysML2.NET/Extend/FeatureExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ internal static List<IType> ComputeType(this IFeature featureSubject)
/// The expected <see cref="FeatureDirectionKind" />
/// </returns>
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
internal static FeatureDirectionKind ComputeDirectionForOperation(this IFeature featureSubject, IType type)
internal static FeatureDirectionKind? ComputeDirectionForOperation(this IFeature featureSubject, IType type)
{
throw new NotSupportedException("Create a GitHub issue when this method is required");
}
Expand Down
2 changes: 1 addition & 1 deletion SysML2.NET/Extend/NamespaceExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ internal static List<IMembership> ComputeImportedMembershipsOperation(this IName
/// The expected collection of <see cref="IMembership" />
/// </returns>
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
internal static List<IMembership> ComputeMembershipsOfVisibilityOperation(this INamespace namespaceSubject, VisibilityKind visibility, List<INamespace> excluded)
internal static List<IMembership> ComputeMembershipsOfVisibilityOperation(this INamespace namespaceSubject, VisibilityKind? visibility, List<INamespace> excluded)
{
throw new NotSupportedException("Create a GitHub issue when this method is required");
}
Expand Down
4 changes: 2 additions & 2 deletions SysML2.NET/Extend/TypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
/// The expected <see cref="FeatureDirectionKind" />
/// </returns>
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
internal static FeatureDirectionKind ComputeDirectionOfOperation(this IType typeSubject, IFeature feature)
internal static FeatureDirectionKind? ComputeDirectionOfOperation(this IType typeSubject, IFeature feature)
{
throw new NotSupportedException("Create a GitHub issue when this method is required");
}
Expand All @@ -548,7 +548,7 @@
/// The expected <see cref="FeatureDirectionKind" />
/// </returns>
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
internal static FeatureDirectionKind ComputeDirectionOfExcludingOperation(this IType typeSubject, IFeature feature, List<IType> excluded)
internal static FeatureDirectionKind? ComputeDirectionOfExcludingOperation(this IType typeSubject, IFeature feature, List<IType> excluded)
{
throw new NotSupportedException("Create a GitHub issue when this method is required");
}
Expand Down Expand Up @@ -647,15 +647,15 @@
}

/// <summary>
/// Return the owned or inherited Multiplicities for this Type<./code>.

Check warning on line 650 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Build

XML comment has badly formed XML -- 'The character(s) '.' cannot be used at this location.'

Check warning on line 650 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Build

XML comment has badly formed XML -- 'An identifier was expected.'

Check warning on line 650 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Build

XML comment has badly formed XML -- 'The character(s) '.' cannot be used at this location.'

Check warning on line 650 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Build

XML comment has badly formed XML -- 'An identifier was expected.'

Check warning on line 650 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / Build

XML comment has badly formed XML -- 'The character(s) '.' cannot be used at this location.'

Check warning on line 650 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / Build

XML comment has badly formed XML -- 'An identifier was expected.'
/// </summary>

Check warning on line 651 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Build

XML comment has badly formed XML -- 'End tag 'summary' does not match the start tag ''.'

Check warning on line 651 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Build

XML comment has badly formed XML -- 'End tag 'summary' does not match the start tag ''.'

Check warning on line 651 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / Build

XML comment has badly formed XML -- 'End tag 'summary' does not match the start tag ''.'
/// <param name="typeSubject">
/// The subject <see cref="IType"/>
/// </param>
/// <returns>
/// The expected collection of <see cref="IMultiplicity" />
/// </returns>
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]

Check warning on line 658 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'

Check warning on line 658 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / CodeQL-Build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'

Check warning on line 658 in SysML2.NET/Extend/TypeExtensions.cs

View workflow job for this annotation

GitHub Actions / Build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'
internal static List<IMultiplicity> ComputeMultiplicitiesOperation(this IType typeSubject)
{
throw new NotSupportedException("Create a GitHub issue when this method is required");
Expand Down
Loading