feat(essentials): #800 adds public access modifier on properties

This commit is contained in:
Neil Dorin
2021-08-18 13:35:48 -06:00
parent dbdaedcca3
commit f8129fe7ae
2 changed files with 5 additions and 4 deletions

View File

@@ -28,22 +28,22 @@ namespace PepperDash.Essentials.Core
/// <summary>
/// Indicates if the last submitted password was incorrect
/// </summary>
bool LastAttemptWasIncorrect { get; private set; }
public bool LastAttemptWasIncorrect { get; private set; }
/// <summary>
/// Indicates that the login attempt has failed
/// </summary>
bool LoginAttemptFailed { get; private set; }
public bool LoginAttemptFailed { get; private set; }
/// <summary>
/// Indicates that the process was cancelled and the prompt should be dismissed
/// </summary>
bool LoginAttemptCancelled { get; private set; }
public bool LoginAttemptCancelled { get; private set; }
/// <summary>
/// A message to be displayed to the user
/// </summary>
string Message { get; private set; }
public string Message { get; private set; }
public PasswordPromptEventArgs(bool lastAttemptIncorrect, bool loginFailed, bool loginCancelled, string message)
{

View File

@@ -203,6 +203,7 @@
<Compile Include="Devices\PC\Laptop.cs" />
<Compile Include="Devices\ReconfigurableDevice.cs" />
<Compile Include="Devices\VolumeDeviceChangeEventArgs.cs" />
<Compile Include="DeviceTypeInterfaces\IPasswordPrompt.cs" />
<Compile Include="DeviceTypeInterfaces\ITvPresetsProvider.cs" />
<Compile Include="DeviceTypeInterfaces\LanguageLabel.cs" />
<Compile Include="DeviceTypeInterfaces\ILanguageProvider.cs" />