Table of Contents

Class ViewModelMixinAttribute

Namespace
Bannerlord.UIExtenderEx.Attributes
Assembly
Bannerlord.UIExtenderEx.dll

Attribute to mark view model mixins. Mixin classes should extend from BaseViewModelMixin<TViewModel> and should be marked with this attribute

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class ViewModelMixinAttribute : BaseUIExtenderAttribute
Inheritance
ViewModelMixinAttribute
Inherited Members

Constructors

ViewModelMixinAttribute()

public ViewModelMixinAttribute()

ViewModelMixinAttribute(bool)

public ViewModelMixinAttribute(bool handleDerived)

Parameters

handleDerived bool

ViewModelMixinAttribute(string)

public ViewModelMixinAttribute(string refreshMethodName)

Parameters

refreshMethodName string

ViewModelMixinAttribute(string?, bool)

public ViewModelMixinAttribute(string? refreshMethodName = null, bool handleDerived = false)

Parameters

refreshMethodName string
handleDerived bool

Properties

HandleDerived

public bool HandleDerived { get; }

Property Value

bool

RefreshMethodName

public string? RefreshMethodName { get; }

Property Value

string

This page was last modified at 01/07/2024 15:42:12 +02:00 (UTC).

Commit Message
Author:    Vitalii Mikhailov
Commit:    8e7791fbf43426d6f22c8d8e79438b8b61407146
new UIExtender replcaed with UIExtender.Create

Added the ability to disable specific Prefabs and Mixins
Added the ability to deregister UIExtender
Added the ability to get another mods UIExtender
Updated PUML diagrams