internal Array InternalResolveInstancesAsArray(Type interfaceType, Action <string> progressCallback, ComponentDescriptor[] resolveStack) { object[] Components = this.InternalResolveInstances(interfaceType, progressCallback, resolveStack).ToArray(); return(ComponentContainer.ToTypedArray(interfaceType, Components)); }
internal async Task <Array> InternalResolveInstancesAsArrayAsync(Type interfaceType, Action <string> progressCallback, ComponentDescriptor[] resolveStack) { object[] Components = (await this.InternalResolveInstancesAsync(interfaceType, progressCallback, resolveStack)).ToArray(); return(ComponentContainer.ToTypedArray(interfaceType, Components)); }