/// <summary> /// Register IObjectPoolManagedModel type /// </summary> /// <param name="factory"></param> /// <returns></returns> /// <exception cref="ArgumentNullException"></exception> /// <exception cref="ArgumentException"></exception> public static bool Register(Func <TManagedModel> factory) => ManagedModels.Register(factory);
/// <summary> /// Register IObjectPoolManagedModel type /// </summary> /// <returns></returns> /// <exception cref="ArgumentException"></exception> public static bool Register() => ManagedModels.Register <TManagedModel>();