/// <summary> /// For test use only. Injects replacement behavior for the <see cref="Create(IEnumerable{Assembly})"/> method. /// </summary> internal static void HookServiceCreation(CreationHook hook) { s_CreationHook = hook; // The existing host, if any, is not retained past this call. s_defaultHost = null; }
/// <summary> /// Injects replacement behavior for the <see cref="Create(IEnumerable{Assembly})"/> method. /// </summary> /// <param name="hook"></param> internal static void HookServiceCreation(CreationHook hook) { s_CreationHook = hook; }