예제 #1
0
 /// <inheritdoc />
 public IDialog CreateDialog(string title, IPresentable presentable, DialogOptions options, params ActionCommandBase[] actions)
 {
     return(CreateDialog(title, presentable.GetView(), options, actions));
 }
예제 #2
0
 /// <inheritdoc />
 public IDialog CreateDialog(string title, IPresentable presentable, DialogOptions options)
 {
     return(CreateDialog(title, presentable.GetView(), options));
 }
예제 #3
0
 /// <inheritdoc />
 public IDialog CreateDialog(string title, IPresentable presentable)
 {
     return(CreateDialog(title, presentable.GetView(), DialogOptions.Default));
 }
예제 #4
0
 /// <summary>
 /// Change the region content
 /// </summary>
 /// <param name="content">The new content</param>
 public void View(IPresentable content)
 {
     View(content.GetView());
 }
예제 #5
0
 /// <summary>
 /// Change the region content
 /// </summary>
 /// <param name="regionName">Target region</param>
 /// <param name="view">The new content</param>
 public static void View(string regionName, IPresentable view)
 {
     View(regionName, view.GetView());
 }
예제 #6
0
 private void SetContentFromPresentable(IPresentable presentable)
 {
     Content = presentable.GetView();
 }