public static NtResult <IReadOnlyList <T> > LsaEnumerateObjects <T, S>(SafeLsaHandle handle, SecurityEnumDelegate <SafeLsaHandle, SafeLsaMemoryBuffer> func, Func <S, T> select_object, bool throw_on_error) where S : struct { return(SecurityNativeMethods.EnumerateObjects(handle, func, select_object, throw_on_error)); }