/// <summary>Function to provide initialization for the plugin.</summary> /// <param name="pluginService">The plugin service used to access other plugins.</param> /// <remarks>This method is only called when the plugin is loaded at startup.</remarks> protected override void OnInitialize() { ViewFactory.Register <ISettings>(() => new ImageCodecSettingsPanel()); // Retrieve the shared settings. (_codecs, _settings) = SharedDataFactory.GetSharedData(ContentPlugInService, CommonServices); }
/// <summary>Function to provide initialization for the plugin.</summary> /// <remarks>This method is only called when the plugin is loaded at startup.</remarks> protected override void OnInitialize() { ViewFactory.Register <IImageContent>(() => new ImageEditorView()); (_codecs, _settings) = SharedDataFactory.GetSharedData(ContentPlugInService, CommonServices); }