Fix last access modifier

This commit is contained in:
Matt Nadareski
2021-07-05 16:30:38 -07:00
parent 32a686d4d1
commit bd159b95a5
4 changed files with 11 additions and 6 deletions

View File

@@ -26,8 +26,7 @@ namespace RedBookPlayer.Common.Discs
/// <summary>
/// Current sector number
/// </summary>
/// TODO: Maske this `protected set`
public abstract ulong CurrentSector { get; set; }
public abstract ulong CurrentSector { get; protected set; }
/// <summary>
/// Represents the sector starting the section
@@ -165,6 +164,12 @@ namespace RedBookPlayer.Common.Discs
/// </summary>
public abstract void SetTotalIndexes();
/// <summary>
/// Set the current sector
/// </summary>
/// <param name="sector">New sector number to use</param>
public void SetCurrentSector(ulong sector) => CurrentSector = sector;
/// <summary>
/// Load the desired track, if possible
/// </summary>