C# Класс Rock.Services.NuGet.RockProjectManager

This class inherits from NuGet.ProjectManager and handles installing new Rock packages (updates) in very specific way -- such as pre processing web.config XDT transforms.
Наследование: ProjectManager
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
TRANSFORM_FILE_PREFIX string

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

Метод Описание
RockProjectManager ( IPackageRepository sourceRepository, IPackagePathResolver pathResolver, IProjectSystem project, IPackageRepository localRepository ) : System

The standard constructor. We'll just call the base constructor.

Защищенные методы

Метод Описание
ExtractPackageFilesToProject ( IPackage package ) : void

This method will be called first when a package is installed. We're using this method to perform some pre processing of XDT files in the

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

Метод Описание
MoveTransformedFiles ( string>.Dictionary transformedFiles ) : void

Move the files in the given Dictionary from their full path (key) to the new name relative to the project root.

ProcessXmlDocumentTransformation ( string transformFile, string sourceFile, string destinationFile ) : bool

Perform an XDT transform using the transformFile against the sourceFile and save the results to the destinationFile.

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

ExtractPackageFilesToProject() защищенный Метод

This method will be called first when a package is installed. We're using this method to perform some pre processing of XDT files in the
protected ExtractPackageFilesToProject ( IPackage package ) : void
package IPackage
Результат void

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

The standard constructor. We'll just call the base constructor.
public RockProjectManager ( IPackageRepository sourceRepository, IPackagePathResolver pathResolver, IProjectSystem project, IPackageRepository localRepository ) : System
sourceRepository IPackageRepository
pathResolver IPackagePathResolver
project IProjectSystem
localRepository IPackageRepository
Результат System

Описание свойств

TRANSFORM_FILE_PREFIX публичное статическое свойство

The special transform file prefix that Rock recognizes.
public static string TRANSFORM_FILE_PREFIX
Результат string