public static async Task <I> ReturnInValue <I>(this I inValue, Task task) => await TeronisTools.ReturnInValue(inValue, task);
public static I ReturnInValue <I>(this I inValue, Action doSomething) => TeronisTools.ReturnInValue(inValue, doSomething);
public static I ReturnInValue <I>(this I inValue, ReplaceValueDelegate <I, I> modifyInValue) => TeronisTools.ReturnInValue(inValue, modifyInValue);
public static I ReturnInValue <I>(this I inValue, MutateValue <I> mutateInValue) => TeronisTools.ReturnInValue(inValue, mutateInValue);
public static I ReturnInValue <I>(this I inValue, [MaybeNull] out I outInValue) => TeronisTools.ReturnInValue(inValue, out outInValue);
/// <summary> /// Returns true if not an exception is thrown before. /// </summary> public override bool CanConvert(Type objectType) => TeronisTools.ReturnInValue(true, () => getCollectionType(objectType));