Table of Contents

Interface IServices

Namespace
The.WPF
Assembly
Instagile.WPF.dll
public interface IServices : IServices
Inherited Members
Extension Methods

Properties

Dispatcher

Dispatcher Dispatcher { get; }

Property Value

Dispatcher

Preferences

PreferenceService Preferences { get; }

Property Value

PreferenceService

Screens

ScreenService Screens { get; }

Property Value

ScreenService

Session

SessionService Session { get; }

Property Value

SessionService

Sidebars

SidebarService Sidebars { get; }

Property Value

SidebarService

Templates

TemplateService Templates { get; }

Property Value

TemplateService

UICulture

CultureInfo UICulture { get; }

Property Value

CultureInfo

Methods

CreateContext()

IEntityContext CreateContext()

Returns

IEntityContext

CreateContext(IPrincipal)

IEntityContext CreateContext(IPrincipal principal)

Parameters

principal IPrincipal

Returns

IEntityContext

CreateSurface()

Create one of whatever the application considers a 'screen'.

ISurface CreateSurface()

Returns

ISurface

DestroySurface(ISurface)

Initiate a closing process for one of the shell's screens. This will only work on surfaces returned from CreateSurface().

void DestroySurface(ISurface surface)

Parameters

surface ISurface

Remarks

This method may be nonblocking.

GetGlobalSurface()

Retrieve a singleton 'global' screen for contextless UI.

ISurface GetGlobalSurface()

Returns

ISurface

ReloadSurface(ISurface, Func<Task>)

Initiate a reload process (caller-defined) for one of the shell's screens. This will only work on surfaces returned from CreateSurface().

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

Parameters

surface ISurface
reload Func<Task>

Remarks

This method may be nonblocking.