View Source
  Class PackageDefinition
  
  A created package in the back office.
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    [DataContract(Name = "packageInstance")]
public class PackageDefinition
   
  
  
  Properties
  
  
    View Source
  
  ContentLoadChildNodes
  
  
  Declaration
  
    [DataMember(Name = "contentLoadChildNodes")]
public bool ContentLoadChildNodes { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  ContentNodeId
  
  
  Declaration
  
    [DataMember(Name = "contentNodeId")]
public string ContentNodeId { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  DataTypes
  
  
  Declaration
  
    [DataMember(Name = "dataTypes")]
public IList<string> DataTypes { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IList<System.String> |  | 
    
  
  
    View Source
  
  DictionaryItems
  
  
  Declaration
  
    [DataMember(Name = "dictionaryItems")]
public IList<string> DictionaryItems { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IList<System.String> |  | 
    
  
  
    View Source
  
  DocumentTypes
  
  
  Declaration
  
    [DataMember(Name = "documentTypes")]
public IList<string> DocumentTypes { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IList<System.String> |  | 
    
  
  
    View Source
  
  Id
  
  
  Declaration
  
    [DataMember(Name = "id")]
public int Id { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  
    View Source
  
  Languages
  
  
  Declaration
  
    [DataMember(Name = "languages")]
public IList<string> Languages { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IList<System.String> |  | 
    
  
  
    View Source
  
  
  
  
  Declaration
  
    [DataMember(Name = "mediaLoadChildNodes")]
public bool MediaLoadChildNodes { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  
  
  
  Declaration
  
    [DataMember(Name = "mediaTypes")]
public IList<string> MediaTypes { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IList<System.String> |  | 
    
  
  
    View Source
  
  
  
  
  Declaration
  
    [DataMember(Name = "mediaUdis")]
public IList<GuidUdi> MediaUdis { get; set; }
   
  Property Value
  
  
    View Source
  
  Name
  
  
  Declaration
  
    [DataMember(Name = "name")]
[Required]
public string Name { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  PackageId
  
  
  Declaration
  
    [DataMember(Name = "packageGuid")]
public Guid PackageId { get; set; }
   
  Property Value
  
  
    View Source
  
  PackagePath
  The full path to the package's XML file.
Declaration
  
    [DataMember(Name = "packagePath")]
public string PackagePath { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  PartialViews
  
  
  Declaration
  
    [DataMember(Name = "partialViews")]
public IList<string> PartialViews { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IList<System.String> |  | 
    
  
  
    View Source
  
  Scripts
  
  
  Declaration
  
    [DataMember(Name = "scripts")]
public IList<string> Scripts { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IList<System.String> |  | 
    
  
  
    View Source
  
  Stylesheets
  
  
  Declaration
  
    [DataMember(Name = "stylesheets")]
public IList<string> Stylesheets { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IList<System.String> |  | 
    
  
  
    View Source
  
  Templates
  
  
  Declaration
  
    [DataMember(Name = "templates")]
public IList<string> Templates { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IList<System.String> |  |