ToggleStateMember Constructor
This commit is contained in:
parent
6afed7407d
commit
2237b2e355
|
@ -5,6 +5,10 @@ namespace Syntriax.Modules.ToggleState
|
||||||
public class ToggleStateMember : IToggleState
|
public class ToggleStateMember : IToggleState
|
||||||
{
|
{
|
||||||
private bool _isToggled = true;
|
private bool _isToggled = true;
|
||||||
|
|
||||||
|
public ToggleStateMember() { }
|
||||||
|
public ToggleStateMember(bool isToggled) => IsToggled = isToggled;
|
||||||
|
|
||||||
public bool IsToggled
|
public bool IsToggled
|
||||||
{
|
{
|
||||||
get => _isToggled;
|
get => _isToggled;
|
||||||
|
|
Loading…
Reference in New Issue