예제 #1
0
        public static VpaModel ImportVPAX(string filename)
        {
            var content = VpaxTools.ImportVpax(filename);
            var view    = new Dax.ViewModel.VpaModel(content.DaxModel);

            return(view);
        }
예제 #2
0
 public VertiPaqAnalyzerViewModel(Dax.ViewModel.VpaModel viewModel, IEventAggregator eventAggregator, DocumentViewModel currentDocument, IGlobalOptions options)
 {
     Log.Debug("{class} {method} {message}", "VertiPaqAnalyzerViewModel", "ctor", "start");
     this.ViewModel   = viewModel;
     _globalOptions   = options;
     _eventAggregator = eventAggregator;
     _eventAggregator.Subscribe(this);
     _currentDocument = currentDocument;
     Log.Debug("{class} {method} {message}", "VertiPaqAnalyzerViewModel", "ctor", "end");
 }