View Source
  Class PagedResult
  
  Represents a paged result for a model collection
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    [DataContract(Name = "pagedCollection", Namespace = "")]
public abstract class PagedResult
   
  Constructors
  
  
    View Source
  
  PagedResult(Int64, Int64, Int64)
  
  
  Declaration
  
    public PagedResult(long totalItems, long pageNumber, long pageSize)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Int64 | totalItems |  | 
      
        | System.Int64 | pageNumber |  | 
      
        | System.Int64 | pageSize |  | 
    
  
  Properties
  
  
    View Source
  
  PageNumber
  
  
  Declaration
  
    [DataMember(Name = "pageNumber")]
public long PageNumber { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int64 |  | 
    
  
  
    View Source
  
  PageSize
  
  
  Declaration
  
    [DataMember(Name = "pageSize")]
public long PageSize { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int64 |  | 
    
  
  
    View Source
  
  TotalItems
  
  
  Declaration
  
    [DataMember(Name = "totalItems")]
public long TotalItems { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int64 |  | 
    
  
  
    View Source
  
  TotalPages
  
  
  Declaration
  
    [DataMember(Name = "totalPages")]
public long TotalPages { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int64 |  | 
    
  
  Methods
  
  
    View Source
  
  GetSkipSize()
  Calculates the skip size based on the paged parameters specified
Declaration
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  |