/// <summary> /// Sets the theme context. /// </summary> /// <param name="context">The theme context object.</param> void IThemeContextSupport.SetContext(IThemeSupport context) { IThemeContextSupport setting = this.Setting; if ((setting != null) && (setting.GetContext() != context)) { setting.SetContext(context); } }
/// <summary> /// Gets the theme context. /// </summary> /// <returns>Returns the theme context.</returns> IThemeSupport IThemeContextSupport.GetContext() { IThemeContextSupport setting = this.Setting; if (setting != null) { return(setting.GetContext()); } return(null); }