Website openantrag.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
OpenAntrag/OpenAntragLib/Extensions/GeneralExtensions.vb

11 lines
371 B

Imports System.Runtime.CompilerServices
Public Module GeneralExtensions
<Extension()>
Public Sub GetPageData(Of T)(ByRef lst As List(Of T),
ByVal pageNo As Integer)
lst = lst.Skip((pageNo - 1) * SettingsWrapper.DefaultPagerListPageSize).Take(SettingsWrapper.DefaultPagerListPageSize).ToList()
End Sub
End Module