-
Notifications
You must be signed in to change notification settings - Fork 1
Model Class
All the instances that are injected into the constructor are exposed by properties in the model. Other properties are initialized here as well.
Log = new Log(Engine);
IEngine
provides a method to write entries to the bundle's log file. The Log
class just makes this a little more convenient and provides a way to read the log.
State = new AppState(Engine, CommandInfo, Bundle);
The AppState
class provides access to the BA's shared state. There's quite a bit of state to maintain. Putting it all in one place helps to organize things. All the state's properties provide thread safe access.
public void PlanAndApply(LaunchAction action)
PlanAndApply
starts the provided installer action. This gets called when the user selects the Install, Uninstall, Repair, etc. button. It can also be called immediately after the detect phase when the BA is running silently.
← Previous: BootstrapperApp Class || Next: WpfFacade Class →