C# Класс NuGet.Preprocessor

Simple token replacement system for content files.
Наследование: IPackageFileTransformer
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
RevertFile ( IPackageFile file, string targetPath, IEnumerable matchingFiles, IProjectSystem projectSystem ) : void
TransformFile ( IPackageFile file, string targetPath, IProjectSystem projectSystem ) : void

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

Метод Описание
Process ( IPackageFile file, IPropertyProvider propertyProvider ) : string
Process ( Stream stream, IPropertyProvider propertyProvider, bool throwIfNotFound = true ) : string
ReplaceToken ( Match match, IPropertyProvider propertyProvider, bool throwIfNotFound ) : string

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

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

public RevertFile ( IPackageFile file, string targetPath, IEnumerable matchingFiles, IProjectSystem projectSystem ) : void
file IPackageFile
targetPath string
matchingFiles IEnumerable
projectSystem IProjectSystem
Результат void

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

public TransformFile ( IPackageFile file, string targetPath, IProjectSystem projectSystem ) : void
file IPackageFile
targetPath string
projectSystem IProjectSystem
Результат void