public override void OnExecuteFinish(InjectorContext context)
 {
     context.Resolver = CreateResolver(_resolvers, _listType);
     _resolvers = null;
     _listType = null;
     _enumeratorHelper = null;
 }
        public override StepId OnExecute(InjectorContext context)
        {
            _listType = context.ReflectionContext.CurrentType;
            context.ReflectionContext.CurrentType = GetCurrentType(context.ReflectionContext);

            var findAllExports = context.ReflectionContext.FindAllExports();
            if (findAllExports == null) return StepId.Invalid;

            _resolvers = new List<IResolver>();
            _enumeratorHelper = new ExportEnumeratorHelper(findAllExports.GetEnumerator(), context.ReflectionContext);
            return StepId.Loop;
        }