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
파일 보기 프로젝트 열기: NewSpring/Rock

공개 프로퍼티들

프로퍼티 타입 설명
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