Exemplo n.º 1
0
 /// <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;
     }
 }
Exemplo n.º 2
0
 /// <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;
     }
 }
Exemplo n.º 3
0
 /// <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;
     }
 }
Exemplo n.º 4
0
 /// <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;
     }
 }