Ejemplo 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());
        }
Ejemplo n.º 2
0
 public object LocateService()
 {
     return(_objectBuilder.BuildObject());
 }