Table of Contents

Interface IViewModelMixin

Namespace
Bannerlord.UIExtenderEx.ViewModels
Assembly
Bannerlord.UIExtenderEx.dll

Interface for ViewModel mixins.
Should not be used directly, BaseViewModelMixin<TViewModel> should be used as base class.

public interface IViewModelMixin

Methods

OnFinalize()

Called when the original's OnFinalize() is called.
Defaults to an empty method.

void OnFinalize()

OnRefresh()

Called when the original ViewModel is refreshed. The method name is dynamic, you need to set RefreshMethodName for the method to be called.
Defaults to an empty method.

void OnRefresh()