Table of Contents

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

Root

Methods

BuildAsync()

public Task<Root> BuildAsync()

Returns

Task<Root>

Configure(Action<Options>)

public Builder Configure(Action<Options> configure)

Parameters

configure Action<Options>

Returns

Builder

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

showUserSpecificUI OnAuthenticate

Returns

Builder

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

showUserSpecificUI OnAuthenticateAsync

Returns

Builder

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

hideUserSpecificUI OnAuthenticate

Returns

Builder

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

hideUserSpecificUI OnAuthenticateAsync

Returns

Builder

RegisterControllerFactory(IControllerFactory, IEnumerable<Assembly>)

public Builder RegisterControllerFactory(IControllerFactory factory, IEnumerable<Assembly> overrideLocations)

Parameters

factory IControllerFactory
overrideLocations IEnumerable<Assembly>

Returns

Builder

RegisterControllerFactory(IControllerFactory, params Assembly[])

public Builder RegisterControllerFactory(IControllerFactory factory, params Assembly[] overrideLocations)

Parameters

factory IControllerFactory
overrideLocations Assembly[]

Returns

Builder

RegisterCoreServices(Root)

public Builder RegisterCoreServices(Root services)

Parameters

services Root

Returns

Builder

RegisterPreferenceStore(IPreferenceStore)

Optionally provide an IPreferenceStore to use instead of the default NoPreferenceStore for reading and writing preferences.

public Builder RegisterPreferenceStore(IPreferenceStore preferenceStore)

Parameters

preferenceStore IPreferenceStore

Returns

Builder

RegisterShell(IShell)

public Builder RegisterShell(IShell shell)

Parameters

shell IShell

Returns

Builder