Skip to content

Commit

Permalink
using explicit interface implementation for a default interface method
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyrios committed May 10, 2022
1 parent 895f7d3 commit fa8d892
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CA_DataUploaderLib/HeatingController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public void Dispose()
_disposed = true;
}

public void ResumeState(NewVectorReceivedArgs args)
//note the explicit interface implementation as its a default method
void ISubsystemWithVectorData.ResumeState(NewVectorReceivedArgs args)
{
foreach (var heater in _heaters)
heater.ResumeState(args);
Expand Down

0 comments on commit fa8d892

Please sign in to comment.