protected async override void OnExecute(object parameter)
 {
     var viewModel = parameter as LogInfoViewModel;
     var type      = viewModel.Target as IType;
     var dialog    = new DiffDataTypeViewModel(this.Initialize(viewModel, type))
     {
         DisplayName = Resources.Title_CompareWithLatestRevision,
     };
     await dialog.ShowDialogAsync();
 }
コード例 #2
0
        protected async override void OnExecute(object parameter)
        {
            var typeDescriptor = parameter as ITypeDescriptor;
            var type           = typeDescriptor.Target;

            var dialog = new DiffDataTypeViewModel(this.Initialize(type))
            {
                DisplayName = Resources.Title_CompareWithPreviousResivision,
            };
            await dialog.ShowDialogAsync();
        }