/// <summary> /// Returns the instances of a given type from its current subregister. /// </summary> /// <param name="type">The type of requested instances.</param> /// <returns> /// Key-value pairs, with id and object of requested type. /// If no subregister was found returns null. /// </returns> public Dictionary <string, object> GetSubRegister(string type) { var subRegister = register.GetSubRegister(type); return(subRegister); }