The class ClientAppMessages defines three constants:
- NAVIGATE_TO
- PROFILE_UPDATED
- BACKGROUND_JOB_PROGRESS
These same constants are already defined in the base class SharedAppMessages. Because of this duplication, the compiler emits warnings such as:
The keyword 'new' is required on 'NAVIGATE_TO' because it hides the constant
'string Boilerplate.Shared.Infrastructure.Services.SharedAppMessages.NAVIGATE_TO'
Remove the duplicated constants from ClientAppMessages and rely on the inherited values from SharedAppMessages.
The class ClientAppMessages defines three constants:
These same constants are already defined in the base class SharedAppMessages. Because of this duplication, the compiler emits warnings such as:
Remove the duplicated constants from
ClientAppMessagesand rely on the inherited values fromSharedAppMessages.