Exemplo n.º 1
0
 public static bool DisableGenericExceptionHandler()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("DisableGenericExceptionHandler", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("DisableGenericExceptionHandler"));
     return(true);
 }
Exemplo n.º 2
0
 public static bool SuppressLimitOnNumberOfActivations()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("SuppressLimitOnNumberOfActivations", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("SuppressLimitOnNumberOfActivations"));
     return(true);
 }
Exemplo n.º 3
0
 public static bool SkipSemanticValidation()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("SkipSemanticValidation", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("SkipAllSemanticValidation"));
     return(true);
 }
Exemplo n.º 4
0
 public static bool SkipApplicationDependencyHashCheck()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("SkipApplicationDependencyHashCheck", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("SkipApplicationDependencyHashCheck"));
     return(true);
 }
Exemplo n.º 5
0
 public static bool SkipDeploymentProvider()
 {
     if (!PolicyKeys.CheckDeploymentBoolString("SkipDeploymentProvider", true, false))
     {
         return(false);
     }
     Logger.AddWarningInformation(Resources.GetString("SkipDeploymentProvider"));
     return(true);
 }
Exemplo n.º 6
0
 public static bool RequireHashInManifests()
 {
     return(PolicyKeys.CheckDeploymentBoolString("RequireHashInManifests", true, false));
 }