/// <summary> /// Creates the AcspNet context. /// </summary> /// <param name="context">The context.</param> /// <returns></returns> public void Setup(IOwinContext context) { if (_acspNetContext == null) { _acspNetContext = new AcspNetContext(context); } }
/// <summary> /// Initializes a new instance of the <see cref="HttpModelHandler"/> class. /// </summary> /// <param name="context">The context.</param> public HttpModelHandler(IAcspNetContext context) { _context = context; }
/// <summary> /// Initializes a new instance of the <see cref="ModelBinderEventArgs{T}"/> class. /// </summary> /// <param name="context">The context.</param> public ModelBinderEventArgs(IAcspNetContext context) { Context = context; }
/// <summary> /// Initializes a new instance of the <see cref="Redirector"/> class. /// </summary> /// <param name="context">The context.</param> public Redirector(IAcspNetContext context) { _context = context; }
/// <summary> /// Creates the AcspNet context. /// </summary> /// <param name="context">The context.</param> /// <returns></returns> public void Setup(IOwinContext context) { if(_acspNetContext == null) _acspNetContext = new AcspNetContext(context); }