コード例 #1
0
 public HttpHeaderSecurityModule()
 {
     _cspReportHelper = new CspReportHelper();
     _configHeaderSetter = new ConfigurationHeaderSetter();
     _handlerTypeHelper = new HandlerTypeHelper();
     _redirectValidationHelper = new RedirectValidationHelper();
 }
コード例 #2
0
 public void Setup()
 {
     _context = new Mock<HttpContextBase>();
     _context.Setup(m => m.Items).Returns(new ListDictionary());
     _helper = new HandlerTypeHelper();
 }