Skip to content

Commit

Permalink
fix ([NetStandard] DfuInstallation.cs): add a default constructor to …
Browse files Browse the repository at this point in the history
…truly align the placeholder implementation with the ones of other platforms
  • Loading branch information
ksidirop-laerdal committed May 14, 2024
1 parent 8c3f975 commit c336cfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Laerdal.Dfu/Platforms.NetStandard/DfuInstallation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ namespace Laerdal.Dfu
{
public partial class DfuInstallation
{
public DfuInstallation(string deviceId, string fileUrl)
{
throw new NotImplementedException();
}

public override void Abort() => throw new NotImplementedException();
public override void Start() => throw new NotImplementedException();
public override void Pause() => throw new NotImplementedException();
Expand Down
1 change: 1 addition & 0 deletions Laerdal.Dfu/Platforms/iOS/DfuInstallation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ private void SetInitiator()
public DfuInstallation(string deviceId, string fileUrl) : base(deviceId, fileUrl)
{
}

public DfuInstallation() : base()
{
}
Expand Down

0 comments on commit c336cfa

Please sign in to comment.