protected virtual void Dispose(bool dispossing) { if (dispossing) { this.Container = null; this.elevatedOrganizationService = null; this.ExecutionContext = null; this.extensionSettings = null; this.organizationCache = null; this.organizationService = null; this.organizationServiceFactory = null; this.pluginCache = null; this.tracingService = null; this.xmlConfigurationResources = null; this._webRequestFactory = null; } }
/// <summary> /// Fixes the settings read from the persisted settings file. /// </summary> /// <param name="settings">The settings to be fixed.</param> /// <returns>The fixed settings.</returns> protected virtual IExtensionSettings FixSetting(IExtensionSettings settings) => settings;
/// <summary> /// Binds the extension settings represented by <paramref name="settings"/> parameter to /// the current settings user interface. /// </summary> /// <param name="settings">The settings data that needs to be bound to the current user interface.</param> protected abstract void BindSettingsToControl(IExtensionSettings settings);