Esempio n. 1
0
        public object RetrieveService(object[] arguments)
        {
            IConstructionInfo constructionInfo = _argumentConstructorMap.FindBestConstructorForArguments(arguments);
            IArgumentBuilder  argumentBuilder  = _userArgumentBuilderFactory.CreateBuilderFor(constructionInfo, arguments);

            IObjectBuilder objectBuilder = _objectBuilderFactory.CreateBuilder(constructionInfo, argumentBuilder);

            return(objectBuilder.BuildObject());
        }
Esempio n. 2
0
 public object LocateService()
 {
     return(_objectBuilder.BuildObject());
 }