Ejemplo n.º 1
0
        public Maybe <DocumentReference> OpenEditDocument(DocumentReference document)
        {
            var result = _viewInteractionResolver.OpenEditDocument(document);

            if (result)
            {
                return(document);
            }
            return(null);
        }
Ejemplo n.º 2
0
        public Maybe <DocumentReference> OpenEditDocument(DocumentReference document)
        {
            var result = _viewInteractionResolver.OpenEditDocument(document);

            if (result)
            {
                _eventAggregator.PublishOnUIThread(new InteractionEvents.DocumentChange(ReferenceNodeChangeAction.Update, document));
                return(document);
            }
            return(null);
        }