Exemplo n.º 1
0
        /// <summary>
        /// Previews this resource
        /// </summary>
        public virtual void Preview()
        {
            var conn = this.EditorService.CurrentConnection;

            _svc.PrePreviewProcess();
            var previewer = ResourcePreviewerFactory.GetPreviewer(conn.ProviderName);

            if (previewer != null)
            {
                previewer.Preview(this.Resource, this.EditorService, _svc.PreviewLocale);
            }
        }