public static void ThrowIf(bool condition, CreateExceptionDelegate <Exception> createObject) { if (condition) { throw createObject(); } }
public static void ThrowIf(bool condition, CreateExceptionDelegate<Exception> createObject) { if (condition) { throw createObject(); } }