/// <summary> /// Initializes a new instance of the LocalMapPreviewer class /// </summary> /// <param name="inner">The inner resource previewer</param> /// <param name="launcher">The URL launcher service</param> public LocalMapPreviewer(IResourcePreviewer inner, IUrlLauncherService launcher) { _inner = inner; _launcher = launcher; }
/// <summary> /// Registers the given <see cref="T:Maestro.Editors.Preview.IResourcePreviewer"/> for a given connection provider /// </summary> /// <param name="provider">The name of the connection provider</param> /// <param name="previewer">The previewer implementation</param> public static void RegisterPreviewer(string provider, IResourcePreviewer previewer) { _previewers[provider.ToUpper()] = previewer; }
/// <summary> /// Initializes a new instance of the LocalMapPreviewer class /// </summary> /// <param name="inner">The inner resource previewer</param> /// <param name="launcher">The URL launcher service</param> /// <param name="viewManager">The view content manager</param> public LocalMapPreviewer(IResourcePreviewer inner, IUrlLauncherService launcher, IViewContentManager viewManager) { _inner = inner; _launcher = launcher; _viewManager = viewManager; }
/// <summary> /// Registers the given <see cref="T:Maestro.Editors.Preview.IResourcePreviewer"/> for a given connection provider /// </summary> /// <param name="provider">The name of the connection provider</param> /// <param name="previewer">The previewer implementation</param> public static void RegisterPreviewer(string provider, IResourcePreviewer previewer) { _previewers[provider.ToUpper()] = previewer; }