Skip to content

Commit

Permalink
Add constructors for backwards compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewKing committed Sep 19, 2023
1 parent 50f739f commit eded687
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/DeviceId/Components/MacAddressDeviceIdComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ public class MacAddressDeviceIdComponent : IDeviceIdComponent
/// </summary>
private readonly bool _excludeDockerBridge;

/// <summary>
/// Initializes a new instance of the <see cref="MacAddressDeviceIdComponent"/> class.
/// </summary>
public MacAddressDeviceIdComponent()
: this(false, false) { }

/// <summary>
/// Initializes a new instance of the <see cref="MacAddressDeviceIdComponent"/> class.
/// </summary>
/// <param name="excludeWireless">A value determining whether wireless devices should be excluded.</param>
public MacAddressDeviceIdComponent(bool excludeWireless)
: this(excludeWireless, false) { }

/// <summary>
/// Initializes a new instance of the <see cref="MacAddressDeviceIdComponent"/> class.
/// </summary>
Expand Down

0 comments on commit eded687

Please sign in to comment.