Ejemplo n.º 1
0
        /// <summary>
        /// Creates a <see cref="CacheCallHandler"/> to intercept invocations
        /// </summary>
        /// <param name="container"></param>
        /// <returns></returns>
        public override ICallHandler CreateHandler(IUnityContainer container)
        {
            var handler = new CacheCallHandler {
                Order = Order
            };

            return(handler);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a <see cref="CacheCallHandler"/> to intercept invocations
 /// </summary>
 /// <param name="container"></param>
 /// <returns></returns>
 public override ICallHandler CreateHandler(IUnityContainer container)
 {
     var handler = new CacheCallHandler {Order = Order};
     return handler;
 }