### YamlMime:ManagedReference
items:
- uid: adas_core.Domain.Models.Filter.PaginationFilterExtensions
  commentId: T:adas_core.Domain.Models.Filter.PaginationFilterExtensions
  id: PaginationFilterExtensions
  parent: adas_core.Domain.Models.Filter
  children:
  - adas_core.Domain.Models.Filter.PaginationFilterExtensions.ApplyPagination``1(System.Linq.IQueryable{``0},adas_core.Domain.Models.Filter.PaginationFilter)
  langs:
  - csharp
  - vb
  name: PaginationFilterExtensions
  nameWithType: PaginationFilterExtensions
  fullName: adas_core.Domain.Models.Filter.PaginationFilterExtensions
  type: Class
  source:
    remote:
      path: adas-core.Domain/Models/Filter/PaginationFilter.cs
      branch: document/release/1.0.1
      repo: https://git.teralevel.io/adas/adas-core.git
    id: PaginationFilterExtensions
    path: ../../adas-core.Domain/Models/Filter/PaginationFilter.cs
    startLine: 32
  assemblies:
  - adas-core.Domain
  namespace: adas_core.Domain.Models.Filter
  summary: Provides static extension methods for working with pagination filter objects.
  example: []
  syntax:
    content: public static class PaginationFilterExtensions
    content.vb: Public Module PaginationFilterExtensions
  inheritance:
  - System.Object
  inheritedMembers:
  - System.Object.Equals(System.Object)
  - System.Object.Equals(System.Object,System.Object)
  - System.Object.GetHashCode
  - System.Object.GetType
  - System.Object.MemberwiseClone
  - System.Object.ReferenceEquals(System.Object,System.Object)
  - System.Object.ToString
- uid: adas_core.Domain.Models.Filter.PaginationFilterExtensions.ApplyPagination``1(System.Linq.IQueryable{``0},adas_core.Domain.Models.Filter.PaginationFilter)
  commentId: M:adas_core.Domain.Models.Filter.PaginationFilterExtensions.ApplyPagination``1(System.Linq.IQueryable{``0},adas_core.Domain.Models.Filter.PaginationFilter)
  id: ApplyPagination``1(System.Linq.IQueryable{``0},adas_core.Domain.Models.Filter.PaginationFilter)
  isExtensionMethod: true
  parent: adas_core.Domain.Models.Filter.PaginationFilterExtensions
  langs:
  - csharp
  - vb
  name: ApplyPagination<T>(IQueryable<T>, PaginationFilter?)
  nameWithType: PaginationFilterExtensions.ApplyPagination<T>(IQueryable<T>, PaginationFilter?)
  fullName: adas_core.Domain.Models.Filter.PaginationFilterExtensions.ApplyPagination<T>(System.Linq.IQueryable<T>, adas_core.Domain.Models.Filter.PaginationFilter?)
  type: Method
  source:
    remote:
      path: adas-core.Domain/Models/Filter/PaginationFilter.cs
      branch: document/release/1.0.1
      repo: https://git.teralevel.io/adas/adas-core.git
    id: ApplyPagination
    path: ../../adas-core.Domain/Models/Filter/PaginationFilter.cs
    startLine: 40
  assemblies:
  - adas-core.Domain
  namespace: adas_core.Domain.Models.Filter
  summary: Applies pagination to the source queryable using the provided <xref href="adas_core.Domain.Models.Filter.PaginationFilter" data-throw-if-not-resolved="false"></xref>, skipping the appropriate number of records and taking the requested page size. If the filter is <code>null</code> or contains an invalid page number (less than 0) or page size (not greater than 0), the original queryable is returned unchanged.
  example: []
  syntax:
    content: public static IQueryable<T> ApplyPagination<T>(this IQueryable<T> queryable, PaginationFilter? filter)
    parameters:
    - id: queryable
      type: System.Linq.IQueryable{{T}}
      description: The source <xref href="System.Linq.IQueryable%601" data-throw-if-not-resolved="false"></xref> to paginate.
    - id: filter
      type: adas_core.Domain.Models.Filter.PaginationFilter
      description: The pagination settings containing the page number and page size. If <code>null</code> or invalid, no pagination is applied.
    typeParameters:
    - id: T
    return:
      type: System.Linq.IQueryable{{T}}
      description: The paginated <xref href="System.Linq.IQueryable%601" data-throw-if-not-resolved="false"></xref>, or the original queryable when the filter is <code>null</code> or contains invalid values.
    content.vb: Public Shared Function ApplyPagination(Of T)(queryable As IQueryable(Of T), filter As PaginationFilter) As IQueryable(Of T)
  overload: adas_core.Domain.Models.Filter.PaginationFilterExtensions.ApplyPagination*
  nameWithType.vb: PaginationFilterExtensions.ApplyPagination(Of T)(IQueryable(Of T), PaginationFilter)
  fullName.vb: adas_core.Domain.Models.Filter.PaginationFilterExtensions.ApplyPagination(Of T)(System.Linq.IQueryable(Of T), adas_core.Domain.Models.Filter.PaginationFilter)
  name.vb: ApplyPagination(Of T)(IQueryable(Of T), PaginationFilter)
references:
- uid: adas_core.Domain.Models.Filter
  commentId: N:adas_core.Domain.Models.Filter
  href: adas_core.html
  name: adas_core.Domain.Models.Filter
  nameWithType: adas_core.Domain.Models.Filter
  fullName: adas_core.Domain.Models.Filter
  spec.csharp:
  - uid: adas_core
    name: adas_core
    href: adas_core.html
  - name: .
  - uid: adas_core.Domain
    name: Domain
    href: adas_core.Domain.html
  - name: .
  - uid: adas_core.Domain.Models
    name: Models
    href: adas_core.Domain.Models.html
  - name: .
  - uid: adas_core.Domain.Models.Filter
    name: Filter
    href: adas_core.Domain.Models.Filter.html
  spec.vb:
  - uid: adas_core
    name: adas_core
    href: adas_core.html
  - name: .
  - uid: adas_core.Domain
    name: Domain
    href: adas_core.Domain.html
  - name: .
  - uid: adas_core.Domain.Models
    name: Models
    href: adas_core.Domain.Models.html
  - name: .
  - uid: adas_core.Domain.Models.Filter
    name: Filter
    href: adas_core.Domain.Models.Filter.html
- uid: System.Object
  commentId: T:System.Object
  parent: System
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object
  name: object
  nameWithType: object
  fullName: object
  nameWithType.vb: Object
  fullName.vb: Object
  name.vb: Object
- uid: System.Object.Equals(System.Object)
  commentId: M:System.Object.Equals(System.Object)
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
  name: Equals(object)
  nameWithType: object.Equals(object)
  fullName: object.Equals(object)
  nameWithType.vb: Object.Equals(Object)
  fullName.vb: Object.Equals(Object)
  name.vb: Equals(Object)
  spec.csharp:
  - uid: System.Object.Equals(System.Object)
    name: Equals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
  - name: (
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
  spec.vb:
  - uid: System.Object.Equals(System.Object)
    name: Equals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
  - name: (
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
- uid: System.Object.Equals(System.Object,System.Object)
  commentId: M:System.Object.Equals(System.Object,System.Object)
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
  name: Equals(object, object)
  nameWithType: object.Equals(object, object)
  fullName: object.Equals(object, object)
  nameWithType.vb: Object.Equals(Object, Object)
  fullName.vb: Object.Equals(Object, Object)
  name.vb: Equals(Object, Object)
  spec.csharp:
  - uid: System.Object.Equals(System.Object,System.Object)
    name: Equals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
  - name: (
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: ','
  - name: " "
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
  spec.vb:
  - uid: System.Object.Equals(System.Object,System.Object)
    name: Equals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
  - name: (
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: ','
  - name: " "
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
- uid: System.Object.GetHashCode
  commentId: M:System.Object.GetHashCode
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
  name: GetHashCode()
  nameWithType: object.GetHashCode()
  fullName: object.GetHashCode()
  nameWithType.vb: Object.GetHashCode()
  fullName.vb: Object.GetHashCode()
  spec.csharp:
  - uid: System.Object.GetHashCode
    name: GetHashCode
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
  - name: (
  - name: )
  spec.vb:
  - uid: System.Object.GetHashCode
    name: GetHashCode
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
  - name: (
  - name: )
- uid: System.Object.GetType
  commentId: M:System.Object.GetType
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.gettype
  name: GetType()
  nameWithType: object.GetType()
  fullName: object.GetType()
  nameWithType.vb: Object.GetType()
  fullName.vb: Object.GetType()
  spec.csharp:
  - uid: System.Object.GetType
    name: GetType
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.gettype
  - name: (
  - name: )
  spec.vb:
  - uid: System.Object.GetType
    name: GetType
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.gettype
  - name: (
  - name: )
- uid: System.Object.MemberwiseClone
  commentId: M:System.Object.MemberwiseClone
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
  name: MemberwiseClone()
  nameWithType: object.MemberwiseClone()
  fullName: object.MemberwiseClone()
  nameWithType.vb: Object.MemberwiseClone()
  fullName.vb: Object.MemberwiseClone()
  spec.csharp:
  - uid: System.Object.MemberwiseClone
    name: MemberwiseClone
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
  - name: (
  - name: )
  spec.vb:
  - uid: System.Object.MemberwiseClone
    name: MemberwiseClone
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
  - name: (
  - name: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
  commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
  name: ReferenceEquals(object, object)
  nameWithType: object.ReferenceEquals(object, object)
  fullName: object.ReferenceEquals(object, object)
  nameWithType.vb: Object.ReferenceEquals(Object, Object)
  fullName.vb: Object.ReferenceEquals(Object, Object)
  name.vb: ReferenceEquals(Object, Object)
  spec.csharp:
  - uid: System.Object.ReferenceEquals(System.Object,System.Object)
    name: ReferenceEquals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
  - name: (
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: ','
  - name: " "
  - uid: System.Object
    name: object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
  spec.vb:
  - uid: System.Object.ReferenceEquals(System.Object,System.Object)
    name: ReferenceEquals
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
  - name: (
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: ','
  - name: " "
  - uid: System.Object
    name: Object
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object
  - name: )
- uid: System.Object.ToString
  commentId: M:System.Object.ToString
  parent: System.Object
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.object.tostring
  name: ToString()
  nameWithType: object.ToString()
  fullName: object.ToString()
  nameWithType.vb: Object.ToString()
  fullName.vb: Object.ToString()
  spec.csharp:
  - uid: System.Object.ToString
    name: ToString
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.tostring
  - name: (
  - name: )
  spec.vb:
  - uid: System.Object.ToString
    name: ToString
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.object.tostring
  - name: (
  - name: )
- uid: System
  commentId: N:System
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system
  name: System
  nameWithType: System
  fullName: System
- uid: adas_core.Domain.Models.Filter.PaginationFilter
  commentId: T:adas_core.Domain.Models.Filter.PaginationFilter
  parent: adas_core.Domain.Models.Filter
  href: adas_core.Domain.Models.Filter.PaginationFilter.html
  name: PaginationFilter
  nameWithType: PaginationFilter
  fullName: adas_core.Domain.Models.Filter.PaginationFilter
- uid: System.Linq.IQueryable`1
  commentId: T:System.Linq.IQueryable`1
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system.linq.iqueryable-1
  name: IQueryable<T>
  nameWithType: IQueryable<T>
  fullName: System.Linq.IQueryable<T>
  nameWithType.vb: IQueryable(Of T)
  fullName.vb: System.Linq.IQueryable(Of T)
  name.vb: IQueryable(Of T)
  spec.csharp:
  - uid: System.Linq.IQueryable`1
    name: IQueryable
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.linq.iqueryable-1
  - name: <
  - name: T
  - name: '>'
  spec.vb:
  - uid: System.Linq.IQueryable`1
    name: IQueryable
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.linq.iqueryable-1
  - name: (
  - name: Of
  - name: " "
  - name: T
  - name: )
- uid: adas_core.Domain.Models.Filter.PaginationFilterExtensions.ApplyPagination*
  commentId: Overload:adas_core.Domain.Models.Filter.PaginationFilterExtensions.ApplyPagination
  href: adas_core.Domain.Models.Filter.PaginationFilterExtensions.html#adas_core_Domain_Models_Filter_PaginationFilterExtensions_ApplyPagination__1_System_Linq_IQueryable___0__adas_core_Domain_Models_Filter_PaginationFilter_
  name: ApplyPagination
  nameWithType: PaginationFilterExtensions.ApplyPagination
  fullName: adas_core.Domain.Models.Filter.PaginationFilterExtensions.ApplyPagination
- uid: System.Linq.IQueryable{{T}}
  commentId: T:System.Linq.IQueryable{`0}
  parent: System.Linq
  definition: System.Linq.IQueryable`1
  href: https://learn.microsoft.com/dotnet/api/system.linq.iqueryable-1
  name: IQueryable<T>
  nameWithType: IQueryable<T>
  fullName: System.Linq.IQueryable<T>
  nameWithType.vb: IQueryable(Of T)
  fullName.vb: System.Linq.IQueryable(Of T)
  name.vb: IQueryable(Of T)
  spec.csharp:
  - uid: System.Linq.IQueryable`1
    name: IQueryable
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.linq.iqueryable-1
  - name: <
  - name: T
  - name: '>'
  spec.vb:
  - uid: System.Linq.IQueryable`1
    name: IQueryable
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.linq.iqueryable-1
  - name: (
  - name: Of
  - name: " "
  - name: T
  - name: )
- uid: System.Linq
  commentId: N:System.Linq
  isExternal: true
  href: https://learn.microsoft.com/dotnet/api/system
  name: System.Linq
  nameWithType: System.Linq
  fullName: System.Linq
  spec.csharp:
  - uid: System
    name: System
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system
  - name: .
  - uid: System.Linq
    name: Linq
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.linq
  spec.vb:
  - uid: System
    name: System
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system
  - name: .
  - uid: System.Linq
    name: Linq
    isExternal: true
    href: https://learn.microsoft.com/dotnet/api/system.linq
