View Source
  Class PagedResult<T>
  
  Represents a paged result for a model collection
    Inheritance
      System.Object
      
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    [DataContract(Name = "pagedCollection", Namespace = "")]
public class PagedResult<T> : PagedResult
   
  Type Parameters
  
  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
  
  Items
  
  
  Declaration
  
    [DataMember(Name = "items")]
public IEnumerable<T>? Items { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<IEnumerable<T>> |  |