public void InspectBasket(IContextualBasket basket)
        {
            var pc = basket.PickBasketItem <IProcessingContext>();

            ProcessingContext = pc;
            LoaderContext     = basket.PickBasketItem <NodeExecutionContext.LoaderPluginContext>();
        }
Esempio n. 2
0
        public void InspectBasket(IContextualBasket basket)
        {
            var pc = basket.PickBasketItem <IProcessingContext>();

            ProcessingContext = pc;
        }
Esempio n. 3
0
 public static T PickBasketItem<T>(this IContextualBasket basket) where T: class {
     if (basket == null) return default(T);
     return basket.PickBasketItem(typeof(T)) as T;
 }