public ContainerManager(string adapterName, IContainerAdapterAccessor adapterAccessor) { AdapterAccessor = adapterAccessor; Adapter = AdapterAccessor.GetAdapter(adapterName);; }
/// <summary> /// Container adapter & accessor constructor, Never Self Scans /// </summary> /// <param name="containerAdapter">The container adapter</param> /// <param name="adapterAccessor">The adapter accessor</param> public ContainerManager(IContainerAdapter containerAdapter, IContainerAdapterAccessor adapterAccessor) { AdapterAccessor = adapterAccessor; AdapterAccessor.AddAdapter(containerAdapter.Name, containerAdapter); Adapter = containerAdapter; }