C# Класс Rebel.Cms.Web.Packaging.PackageInstallation

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CopyPackageFiles ( ) : List

Verifies that all files from Package source can be copied to destination, and then goes on to copy the files that can be copied.

ImportData ( ) : SerializedDataImport

Imports serialized data from a package by checking if its valid and already exists.

PackageInstallation ( IBackOfficeRequestContext context, System.Web.HttpContextBase httpContext, IPackage package ) : System

Приватные методы

Метод Описание
CheckImportableEntities ( SerializedDataImport dataImport ) : void

Check Entities can be imported. Updates 'IsImportable' property on DeseriazliedDataResult

CheckImportableRelations ( SerializedDataImport dataImport ) : void

Check relations to verify source and destination exists

Описание методов

CopyPackageFiles() публичный Метод

Verifies that all files from Package source can be copied to destination, and then goes on to copy the files that can be copied.
public CopyPackageFiles ( ) : List
Результат List

ImportData() публичный Метод

Imports serialized data from a package by checking if its valid and already exists.
public ImportData ( ) : SerializedDataImport
Результат SerializedDataImport

PackageInstallation() публичный Метод

public PackageInstallation ( IBackOfficeRequestContext context, System.Web.HttpContextBase httpContext, IPackage package ) : System
context IBackOfficeRequestContext
httpContext System.Web.HttpContextBase
package IPackage
Результат System