Skip to content

Conversation

@bartdebever
Copy link
Member

No description provided.

@bartdebever bartdebever requested a review from StijnOostdam May 27, 2021 19:42
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 3 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication


public string AuthenticationToken { get; set; }

public string BaseUrl => $"http://{Ip}:{Port}/api/v1/{AuthenticationToken}/";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the best location or this base url? Maybe in the client class?

@@ -0,0 +1,24 @@
namespace Winleafs.Api.DTOs.Shared
{
public class WriteObjectDto
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use full names for variables and parameters

@@ -0,0 +1,24 @@
namespace Winleafs.Api.DTOs.Shared
{
public class WriteObjectDto
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be more specific or is it used for all writes? Then maybe make this a base class and make one or more derived classes, which then has, for example, the ExtControlVersion property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants