public static void To(T target, Pooling <T> customPool = default) { //"pool type error".Log((target != default) && (typeof(T).FullName != target.GetType().FullName), target.GetType().FullName); CheckPoolNull(customPool); instance.ToPool(target); }
public static Pooling <T> InitByCustom(Pooling <T> customPool, Func <T> func) { CheckPoolNull(customPool, func); return(instance); }
public static T From(Pooling <T> customPool = default) { CheckPoolNull(customPool); return(instance.FromPool()); }
public static void To(T target, Pooling <T> customPool = null) { TesterBaseApp.Instance.LogWhenPoolingItemDoNotMatch(ref target); CheckPoolNull(customPool); instance.ToPool(target); }