C# Class NuDeploy.Core.Services.Transformation.ConfigurationFileTransformer

Inheritance: IConfigurationFileTransformer
Mostrar archivo Open project: andreaskoch/NuDeploy Class Usage Examples

Public Methods

Method Description
ConfigurationFileTransformer ( IFilesystemAccessor filesystemAccessor ) : System
Transform ( string sourceFilePath, string transformationFilePath, string destinationFilePath ) : IServiceResult

Private Methods

Method Description
GetSourceFile ( string filePath ) : XmlTransformableDocument
GetTransformationFile ( string filePath ) : XmlTransformation
SaveTransformedFile ( XmlTransformableDocument transformedDocument, string destinationFilePath ) : IServiceResult

Method Details

ConfigurationFileTransformer() public method

public ConfigurationFileTransformer ( IFilesystemAccessor filesystemAccessor ) : System
filesystemAccessor IFilesystemAccessor
return System

Transform() public method

public Transform ( string sourceFilePath, string transformationFilePath, string destinationFilePath ) : IServiceResult
sourceFilePath string
transformationFilePath string
destinationFilePath string
return IServiceResult