Table of Contents

Class TabbedShell

Namespace
The.WPF.Shell.TDI
Assembly
Instagile.WPF.dll
public sealed class TabbedShell : IShell
Inheritance
TabbedShell
Implements
Inherited Members

Constructors

TabbedShell(string, IHttpClientFactory, string, ShellOptions?, params OnInit[])

public TabbedShell(string applicationTitle, IHttpClientFactory httpClientFactory, string autoupdateServerBaseAddress, ShellOptions? options = null, params OnInit[] onInit)

Parameters

applicationTitle string
httpClientFactory IHttpClientFactory
autoupdateServerBaseAddress string
options ShellOptions
onInit OnInit[]

TabbedShell(string, IHttpClientFactory, Uri, ShellOptions?, params OnInit[])

public TabbedShell(string applicationTitle, IHttpClientFactory httpClientFactory, Uri autoupdateServerBaseAddress, ShellOptions? options = null, params OnInit[] onInit)

Parameters

applicationTitle string
httpClientFactory IHttpClientFactory
autoupdateServerBaseAddress Uri
options ShellOptions
onInit OnInit[]

TabbedShell(string, IHttpClientFactory, ShellOptions?, params OnInit[])

public TabbedShell(string applicationTitle, IHttpClientFactory httpClientFactory, ShellOptions? options = null, params OnInit[] onInit)

Parameters

applicationTitle string
httpClientFactory IHttpClientFactory
options ShellOptions
onInit OnInit[]

TabbedShell(string, string, ShellOptions?, params OnInit[])

public TabbedShell(string applicationTitle, string autoupdateServerBaseAddress, ShellOptions? options = null, params OnInit[] onInit)

Parameters

applicationTitle string
autoupdateServerBaseAddress string
options ShellOptions
onInit OnInit[]

TabbedShell(string, Uri, ShellOptions?, params OnInit[])

public TabbedShell(string applicationTitle, Uri autoupdateServerBaseAddress, ShellOptions? options = null, params OnInit[] onInit)

Parameters

applicationTitle string
autoupdateServerBaseAddress Uri
options ShellOptions
onInit OnInit[]

TabbedShell(string, ShellOptions?, params OnInit[])

public TabbedShell(string applicationTitle, ShellOptions? options = null, params OnInit[] onInit)

Parameters

applicationTitle string
options ShellOptions
onInit OnInit[]

Fields

Model

public readonly TabbedModel Model

Field Value

TabbedModel

Methods

AddSidebar(ISidebarController)

public void AddSidebar(ISidebarController controller)

Parameters

controller ISidebarController

CreateSurface(IServices)

Create one of whatever the application considers a 'screen'

public ISurface CreateSurface(IServices services)

Parameters

services IServices

Returns

ISurface

DestroySurface(ISurface)

Initiate a closing process for a non-global screen

public void DestroySurface(ISurface surface)

Parameters

surface ISurface

GetGlobalSurface(IServices)

Retrieve a singleton 'global' screen for contextless UI

public ISurface GetGlobalSurface(IServices services)

Parameters

services IServices

Returns

ISurface

ReloadSurface(ISurface, Func<Task>)

Initiate a reload process (caller-defined) for a non-global screen

public void ReloadSurface(ISurface surface, Func<Task> reload)

Parameters

surface ISurface
reload Func<Task>

RemoveSidebar(ISidebarController)

public void RemoveSidebar(ISidebarController controller)

Parameters

controller ISidebarController

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 services)

Parameters

services IServices

Returns

Task