Esempio n. 1
0
        protected override IEnumerable <object> GetAllInstances(Type service)
        {
            var instances = _container.GetAllInstances(service).ToList();

            foreach (var instance in instances)
            {
                InitializeInstance(instance);
            }

            return(instances);
        }
Esempio n. 2
0
 protected override IEnumerable <object> GetAllInstances(Type serviceType)
 {
     return(_phoneContainer.GetAllInstances(serviceType));
 }
Esempio n. 3
0
 protected override IEnumerable <object> GetAllInstances(Type service)
 {
     //NOTE: initialize the assembly (module)
     ModuleConventions.InitializeAssembly(service.Assembly);
     return(container.GetAllInstances(service));
 }
Esempio n. 4
0
 protected override System.Collections.Generic.IEnumerable <object> GetAllInstances(System.Type service)
 {
     return(container.GetAllInstances(service));
 }
 protected override IEnumerable <object> GetAllInstances(System.Type service)
 {
     return(container.GetAllInstances(service));
 }
Esempio n. 6
0
 /// <summary>
 /// Override this to provide an IoC specific implementation
 /// </summary>
 /// <param name="service">The service to locate.</param>
 /// <returns>The located services.</returns>
 protected override IEnumerable <Object> GetAllInstances(Type service)
 {
     return(m_container.GetAllInstances(service));
 }