/// <summary> /// RequestTheme method implmentation /// </summary> public WebThemeRecord RequestTheme(WebThemesParametersRecord theme) { try { return(_manager.RequestTheme(theme)); } catch (Exception e) { _log.WriteEntry(string.Format("Error on WebTheme Service RequestTheme method : {0}.", e.Message), EventLogEntryType.Error, 2010); throw e; } }
/// <summary> /// HasRelyingPartyTheme method implmentation /// </summary> public bool HasRelyingPartyTheme(WebThemesParametersRecord context) { try { return(_manager.HasRelyingPartyTheme(context)); } catch (Exception e) { _log.WriteEntry(string.Format("Error on WebTheme Service HasRelyingPartyTheme method : {0}.", e.Message), EventLogEntryType.Error, 2010); throw e; } }
/// <summary> /// GetStyleSheetAddress method implementation /// </summary> public string GetStyleSheetAddress(WebThemesParametersRecord context) { try { return(_manager.GetStyleSheetAddress(context)); } catch (Exception e) { _log.WriteEntry(string.Format("Error on WebTheme Service GetStyleSheetAddress method : {0}.", e.Message), EventLogEntryType.Error, 2010); throw e; } }
/// <summary> /// Initialize method implementation /// </summary> public bool Initialize(Dictionary <string, bool> servers, WebThemesParametersRecord context, string request, out string identifier) { try { return(_manager.Initialize(servers, context, new Uri(request), out identifier)); } catch (Exception e) { _log.WriteEntry(string.Format("Error on WebTheme Service Initialize method : {0}.", e.Message), EventLogEntryType.Error, 2010); throw e; } }