Class TestShell
public sealed class TestShell : IShell
- Inheritance
-
TestShell
- Implements
- Inherited Members
Fields
ActiveSurface
public TestSurface? ActiveSurface
Field Value
GlobalScreen
public TestSurface GlobalScreen
Field Value
Screens
public readonly HashSet<TestSurface> Screens
Field Value
Sidebars
public readonly HashSet<ISidebarController> Sidebars
Field Value
Properties
ErrorOutput
public List<string>? ErrorOutput { get; set; }
Property Value
Methods
AddSidebar(ISidebarController)
public void AddSidebar(ISidebarController sidebar)
Parameters
sidebarISidebarController
CancelModal()
public Task CancelModal()
Returns
ConfirmModal()
public Task ConfirmModal()
Returns
CreateSurface(IServices)
Create one of whatever the application considers a 'screen'
public ISurface CreateSurface(IServices services)
Parameters
servicesIServices
Returns
DestroySurface(ISurface)
Initiate a closing process for a non-global screen
public void DestroySurface(ISurface surface)
Parameters
surfaceISurface
GetGlobalSurface(IServices)
Retrieve a singleton 'global' screen for contextless UI
public ISurface GetGlobalSurface(IServices services)
Parameters
servicesIServices
Returns
ReloadSurface(ISurface, Func<Task>)
Initiate a reload process (caller-defined) for a non-global screen
public void ReloadSurface(ISurface _, Func<Task> reload)
Parameters
RemoveSidebar(ISidebarController)
public void RemoveSidebar(ISidebarController sidebar)
Parameters
sidebarISidebarController
Reset()
public void Reset()
ResourcesReady()
Called when WPF resources have been loaded, allowing initial display of UI in incomplete state
public void ResourcesReady()
ServicesReady(IServices)
Called when the screen infrastructure is ready, allowing post-construction setup
public Task ServicesReady(IServices root)
Parameters
rootIServices