mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Ensure access modifiers set properly
This commit is contained in:
@@ -26,6 +26,7 @@ namespace RedBookPlayer.Common.Discs
|
||||
/// <summary>
|
||||
/// Current sector number
|
||||
/// </summary>
|
||||
/// TODO: Maske this `protected set`
|
||||
public abstract ulong CurrentSector { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -160,7 +160,7 @@ namespace RedBookPlayer.Common.Hardware
|
||||
public int Volume
|
||||
{
|
||||
get => _volume;
|
||||
set => this.RaiseAndSetIfChanged(ref _volume, value);
|
||||
private set => this.RaiseAndSetIfChanged(ref _volume, value);
|
||||
}
|
||||
|
||||
private bool? _playing;
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace RedBookPlayer.Common.Hardware
|
||||
public int Volume
|
||||
{
|
||||
get => _volume;
|
||||
set
|
||||
private set
|
||||
{
|
||||
int tempVolume = value;
|
||||
if(value > 100)
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace RedBookPlayer.Common
|
||||
public ulong SectionStartSector
|
||||
{
|
||||
get => _sectionStartSector;
|
||||
protected set => this.RaiseAndSetIfChanged(ref _sectionStartSector, value);
|
||||
private set => this.RaiseAndSetIfChanged(ref _sectionStartSector, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user