/// <summary> /// Tag 1 as <paramref name="Tcast"/>. /// </summary> /// <typeparam name="Tcast">The type of the cast.</typeparam> /// <param name="actx">The actx.</param> /// <returns></returns> public static Tcast Tag1As <Tcast>(this IAsyncCallContext actx) where Tcast : class { return(actx.Tag1 as Tcast); }
/// <summary> /// Initializes a new instance of the <see cref="DexterCallContextFactory"/> class. /// </summary> /// <param name="contextWeb">The context web.</param> /// <param name="contextAsync">The context async.</param> public ArashiCallContextFactory(IWebCallContext contextWeb, IAsyncCallContext contextAsync) { this.contextWeb = contextWeb; this.contextAsync = contextAsync; }
/// <summary> /// Initializes a new instance of the <see cref="DexterCallContextFactory"/> class. /// </summary> /// <param name="contextWeb">The context web.</param> /// <param name="contextAsync">The context async.</param> public DexterCallContextFactory(IWebCallContext contextWeb, IAsyncCallContext contextAsync) { this.contextWeb = contextWeb; this.contextAsync = contextAsync; }