Had to remove the responsibility of providing the current version of the application from UpdateService. A new IVersionProvider can be used to get the version. This also allows for this to be mocked in tests.
12 lines
No EOL
318 B
Text
12 lines
No EOL
318 B
Text
@inherits LayoutComponentBase
|
|
@inject IVersionProvider VersionProvider
|
|
|
|
<Layout Class="layout">
|
|
<Content Style="padding: 24px;">
|
|
@Body
|
|
</Content>
|
|
|
|
<Footer Style="text-align: center; padding-top: 0;">
|
|
LANCommander v@(VersionProvider.GetCurrentVersion().ToString())
|
|
</Footer>
|
|
</Layout> |