Class Builder
- Namespace
- The.WPF.Composition
- Assembly
- Instagile.WPF.dll
public class Builder
- Inheritance
-
Builder
- Inherited Members
- Extension Methods
Fields
CoreServices
public Root? CoreServices
Field Value
Methods
BuildAsync()
public Task<Root> BuildAsync()
Returns
Configure(Action<Options>)
public Builder Configure(Action<Options> configure)
Parameters
Returns
OnLogin(OnAuthenticate)
Add a delegate to run when the session becomes authenticated. Delegates will run in the order they are added.
public Builder OnLogin(OnAuthenticate showUserSpecificUI)
Parameters
showUserSpecificUIOnAuthenticate
Returns
OnLogin(OnAuthenticateAsync)
Add a delegate to run when the session becomes authenticated. Delegates will run in the order they are added.
public Builder OnLogin(OnAuthenticateAsync showUserSpecificUI)
Parameters
showUserSpecificUIOnAuthenticateAsync
Returns
OnLogout(OnAuthenticate)
Add a delegate to run when a previously-authenticated session becomes unauthenticated. Delegates will run in the order they are added.
public Builder OnLogout(OnAuthenticate hideUserSpecificUI)
Parameters
hideUserSpecificUIOnAuthenticate
Returns
OnLogout(OnAuthenticateAsync)
Add a delegate to run when a previously-authenticated session becomes unauthenticated. Delegates will run in the order they are added.
public Builder OnLogout(OnAuthenticateAsync hideUserSpecificUI)
Parameters
hideUserSpecificUIOnAuthenticateAsync
Returns
RegisterControllerFactory(IControllerFactory, IEnumerable<Assembly>)
public Builder RegisterControllerFactory(IControllerFactory factory, IEnumerable<Assembly> overrideLocations)
Parameters
factoryIControllerFactoryoverrideLocationsIEnumerable<Assembly>
Returns
RegisterControllerFactory(IControllerFactory, params Assembly[])
public Builder RegisterControllerFactory(IControllerFactory factory, params Assembly[] overrideLocations)
Parameters
factoryIControllerFactoryoverrideLocationsAssembly[]
Returns
RegisterCoreServices(Root)
public Builder RegisterCoreServices(Root services)
Parameters
servicesRoot
Returns
RegisterPreferenceStore(IPreferenceStore)
Optionally provide an IPreferenceStore to use instead of the default NoPreferenceStore for reading and writing preferences.
public Builder RegisterPreferenceStore(IPreferenceStore preferenceStore)
Parameters
preferenceStoreIPreferenceStore
Returns
RegisterShell(IShell)
public Builder RegisterShell(IShell shell)
Parameters
shellIShell