Interface IServices
public interface IServices : IServices
- Inherited Members
- Extension Methods
Properties
Dispatcher
Dispatcher Dispatcher { get; }
Property Value
Preferences
PreferenceService Preferences { get; }
Property Value
Screens
ScreenService Screens { get; }
Property Value
Session
SessionService Session { get; }
Property Value
Sidebars
SidebarService Sidebars { get; }
Property Value
Templates
TemplateService Templates { get; }
Property Value
UICulture
CultureInfo UICulture { get; }
Property Value
Methods
CreateContext()
IEntityContext CreateContext()
Returns
CreateContext(IPrincipal)
IEntityContext CreateContext(IPrincipal principal)
Parameters
principalIPrincipal
Returns
CreateSurface()
Create one of whatever the application considers a 'screen'.
ISurface CreateSurface()
Returns
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
surfaceISurface
Remarks
This method may be nonblocking.
GetGlobalSurface()
Retrieve a singleton 'global' screen for contextless UI.
ISurface GetGlobalSurface()
Returns
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
Remarks
This method may be nonblocking.