123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using XUnity.AutoTranslator.Plugin.Core.Endpoints;
- namespace XUnity.AutoTranslator.Plugin.Core.UI
- {
- class XuaViewModel
- {
- public XuaViewModel(
- List<ToggleViewModel> toggles,
- DropdownViewModel<TranslatorDropdownOptionViewModel, TranslationEndpointManager> dropdown,
- List<ButtonViewModel> commandButtons,
- List<LabelViewModel> labels )
- {
- Toggles = toggles;
- Dropdown = dropdown;
- CommandButtons = commandButtons;
- Labels = labels;
- }
- public bool IsShown { get; set; }
- public List<ToggleViewModel> Toggles { get; }
- public DropdownViewModel<TranslatorDropdownOptionViewModel, TranslationEndpointManager> Dropdown { get; }
- public List<ButtonViewModel> CommandButtons { get; }
- public List<LabelViewModel> Labels { get; }
- }
- }
|