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
14 changes: 7 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ csharp_style_prefer_extended_property_pattern = true:warning
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion
csharp_style_prefer_static_local_function = true:suggestion
csharp_style_expression_bodied_methods = when_on_single_line:suggestion
csharp_style_expression_bodied_properties = when_on_single_line:suggestion
csharp_style_expression_bodied_indexers = when_on_single_line:suggestion
csharp_style_expression_bodied_accessors = when_on_single_line:suggestion
csharp_style_expression_bodied_operators = when_on_single_line:suggestion
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_properties = false:none
csharp_style_expression_bodied_indexers = false:none
csharp_style_expression_bodied_accessors = false:none
csharp_style_expression_bodied_operators = false:none
csharp_style_expression_bodied_lambdas = when_on_single_line:suggestion
csharp_style_expression_bodied_local_functions = when_on_single_line:suggestion
csharp_style_expression_bodied_constructors = false:suggestion
csharp_style_expression_bodied_local_functions = false:none
csharp_style_expression_bodied_constructors = false:none
csharp_style_prefer_primary_constructors = false:none

#### 8. XML documentation formatting — Rider: XmlDocFormatter
Expand Down
7 changes: 5 additions & 2 deletions SySML2.NET.REST/RestClient.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -------------------------------------------------------------------------------------------------
// -------------------------------------------------------------------------------------------------
// <copyright file="RestClient.cs" company="Starion Group S.A.">
//
// Copyright 2022-2026 Starion Group S.A.
Expand Down Expand Up @@ -396,7 +396,10 @@ public async Task<IEnumerable<IElement>> RequestRootElements(Guid project, Guid
/// <returns></returns>
private async Task<IEnumerable<IIdentified>> RequestData(Uri requestUri, CancellationToken cancellationToken)
{
this.logger.LogDebug("request data from: {0}", requestUri);
if (this.logger.IsEnabled(LogLevel.Debug))
{
this.logger.LogDebug("request data from: {0}", requestUri);
}

var requestMessage = new HttpRequestMessage()
{
Expand Down
70 changes: 35 additions & 35 deletions SySML2.NET.REST/SySML2.NET.REST.csproj
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net10.0</TargetFrameworks>
<LangVersion>12.0</LangVersion>
<Version>0.23.0</Version>
<Description>A .NET implementation of the OMG SysML v2 REST/HTTP PSM Client</Description>
<PackageId>SysML2.NET.REST</PackageId>
<Company>Starion Group S.A.</Company>
<Copyright>Copyright © Starion Group S.A.</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/STARIONGROUP/SysML2.NET.git</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<Authors>Sam Gerené</Authors>
<RequireLicenseAcceptance>true</RequireLicenseAcceptance>
<PackageReleaseNotes>
[Update] Aligned with SysML2.NET 0.23.0 - no functional change
</PackageReleaseNotes>
<PackageIcon>cdp4-icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateSBOM>true</GenerateSBOM>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\SysML2.NET.Serializer.Json\SysML2.NET.Serializer.Json.csproj" />
<PackageReference Include="Microsoft.Sbom.Targets" Version="4.1.5" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<None Include="..\cdp4-icon.png" Pack="true" PackagePath="\" />
<None Include="..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1;net10.0</TargetFrameworks>
<LangVersion>14.0</LangVersion>
<Version>0.23.0</Version>
<Description>A .NET implementation of the OMG SysML v2 REST/HTTP PSM Client</Description>
<PackageId>SysML2.NET.REST</PackageId>
<Company>Starion Group S.A.</Company>
<Copyright>Copyright © Starion Group S.A.</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/STARIONGROUP/SysML2.NET.git</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<Authors>Sam Gerené</Authors>
<RequireLicenseAcceptance>true</RequireLicenseAcceptance>
<PackageReleaseNotes>
[Update] Aligned with SysML2.NET 0.23.0 - no functional change
</PackageReleaseNotes>
<PackageIcon>cdp4-icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateSBOM>true</GenerateSBOM>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\SysML2.NET.Serializer.Json\SysML2.NET.Serializer.Json.csproj" />
<PackageReference Include="Microsoft.Sbom.Targets" Version="4.1.5" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<None Include="..\cdp4-icon.png" Pack="true" PackagePath="\" />
<None Include="..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

</Project>
Loading
Loading