コード例 #1
0
 public static RequestConfigManager SetGlobalRequestFormatBinary(this RequestConfigManager configManager)
 {
     if (string.IsNullOrEmpty(RequestConfigContext.configContext.Formal))
     {
         RequestConfigContext.configContext.Formal = "Binary";
     }
     return(configManager);
 }
コード例 #2
0
 public static RequestConfigManager SetGlobalRequestSafty(this RequestConfigManager configManager, Func <RequestContext, bool> checkLogic)
 {
     RequestConfigContext.configContext.SafetyChecks = checkLogic;
     return(configManager);
 }