/// <summary> /// Initializes a new instance of the <see cref="UIEditorController"/> class. /// </summary> /// <param name="asset">The UI page associated with this instance.</param> /// <param name="editor">The editor associated with this instance.</param> public UIPageEditorController([NotNull] AssetViewModel asset, [NotNull] UIPageEditorViewModel editor) : base(asset, editor) { }
protected override UIEditorBaseViewModel CreateEditorViewModel(AssetViewModel asset) { return(UIPageEditorViewModel.Create((UIPageViewModel)asset)); }