Table of Contents

Method AddMainWindow

Namespace
Innova.Prism.Library
Assembly
Innova.Prism.Library.dll

AddMainWindow<TView, TViewModel>(IInnovaApplicationBuilderBase)

Adds the main window of the application to the IInnovaApplicationBuilderBase.

public static IInnovaApplicationBuilderBase AddMainWindow<TView, TViewModel>(this IInnovaApplicationBuilderBase innovaApplicationBuilder) where TView : Window

Parameters

innovaApplicationBuilder IInnovaApplicationBuilderBase

The instance of IInnovaApplicationBuilderBase to which the main window is added.

Returns

IInnovaApplicationBuilderBase

The instance of IInnovaApplicationBuilderBase with the main window added.

Type Parameters

TView

The type of the view that inherits from Window.

TViewModel

The type of the view model.