예제 #1
0
 /// <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);
     }
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpModelHandler"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public HttpModelHandler(IAcspNetContext context)
 {
     _context = context;
 }
예제 #3
0
 /// <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;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Redirector"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public Redirector(IAcspNetContext context)
 {
     _context = context;
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Redirector"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public Redirector(IAcspNetContext context)
 {
     _context = context;
 }
예제 #6
0
 /// <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);
 }