Exemplo n.º 1
0
        public virtual async Task OpenProjectAsync()
        {
            if (!State.HasFlag(AppState.Ready))
            {
                throw new InvalidOperationException("App busy");
            }

            var fileName = SelectOpenProjectFile();

            if (!String.IsNullOrEmpty(fileName))
            {
                Project = await _projectFactory.OpenTelemetryProject(fileName);
            }
        }