C# Class NuGet.Preprocessor

Simple token replacement system for content files.
Inheritance: IPackageFileTransformer
Afficher le fichier Open project: monoman/NugetCracker Class Usage Examples

Méthodes publiques

Méthode Description
RevertFile ( IPackageFile file, string targetPath, IEnumerable matchingFiles, IProjectSystem projectSystem ) : void
TransformFile ( IPackageFile file, string targetPath, IProjectSystem projectSystem ) : void

Private Methods

Méthode Description
Process ( IPackageFile file, IPropertyProvider propertyProvider ) : string
Process ( Stream stream, IPropertyProvider propertyProvider, bool throwIfNotFound = true ) : string
ReplaceToken ( Match match, IPropertyProvider propertyProvider, bool throwIfNotFound ) : string

Method Details

RevertFile() public méthode

public RevertFile ( IPackageFile file, string targetPath, IEnumerable matchingFiles, IProjectSystem projectSystem ) : void
file IPackageFile
targetPath string
matchingFiles IEnumerable
projectSystem IProjectSystem
Résultat void

TransformFile() public méthode

public TransformFile ( IPackageFile file, string targetPath, IProjectSystem projectSystem ) : void
file IPackageFile
targetPath string
projectSystem IProjectSystem
Résultat void