View Source
  Class PackageMigrationResource
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public static class PackageMigrationResource
   
  Methods
  
  
    View Source
  
  GetEmbeddedPackageDataManifest(Type)
  
  
  Declaration
  
    public static XDocument GetEmbeddedPackageDataManifest(Type planType)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Type | 
        planType | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Xml.Linq.XDocument | 
         | 
      
    
  
  
    View Source
  
  GetEmbeddedPackageDataManifest(Type, out ZipArchive)
  
  
  Declaration
  
    public static XDocument GetEmbeddedPackageDataManifest(Type planType, out ZipArchive zipArchive)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Type | 
        planType | 
         | 
      
      
        | System.IO.Compression.ZipArchive | 
        zipArchive | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Xml.Linq.XDocument | 
         | 
      
    
  
  
    View Source
  
  GetEmbeddedPackageDataManifestHash(Type)
  
  
  Declaration
  
    public static string GetEmbeddedPackageDataManifestHash(Type planType)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Type | 
        planType | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    View Source
  
  GetPackageDataManifest(Stream, out XDocument)
  
  
  Declaration
  
    public static ZipArchive GetPackageDataManifest(Stream packageZipStream, out XDocument packageXml)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Stream | 
        packageZipStream | 
         | 
      
      
        | System.Xml.Linq.XDocument | 
        packageXml | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.IO.Compression.ZipArchive | 
         | 
      
    
  
  
    View Source
  
  TryGetEmbeddedPackageDataManifest(Type, out XDocument, out ZipArchive)
  
  
  Declaration
  
    public static bool TryGetEmbeddedPackageDataManifest(Type planType, out XDocument packageXml, out ZipArchive zipArchive)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Type | 
        planType | 
         | 
      
      
        | System.Xml.Linq.XDocument | 
        packageXml | 
         | 
      
      
        | System.IO.Compression.ZipArchive | 
        zipArchive | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         |