Exemplo n.º 1
0
 public async Task NewAsync()
 {
     var dr = new DiagramRepresentation
     {
         Name = $"Mindmap {Count}"
     };
     await DiagramRepresentationManager.AddAsync(dr);
     await OpenAsync(dr);
 }
Exemplo n.º 2
0
 public async Task OpenAsync(DiagramRepresentation dr)
 {
     var vm = IoCService.Instance.Resolve<IMindmapPageViewModel>(dr);
     NavigationService.Navigate(vm);
 }