C# Class Endjin.Templify.Domain.Domain.Packager.Processors.FileContentProcessor

Inheritance: IFileContentProcessor
Afficher le fichier Open project: endjin/Templify

Méthodes publiques

Méthode Description
ReadContents ( string path ) : string
WriteContents ( string path, string content ) : void

Private Methods

Méthode Description
GetFileEncoding ( string srcFile ) : Encoding

Detects the byte order mark of a file and returns an appropriate encoding for the file.

Hide ( string path ) : void
IsHidden ( string path ) : bool
MakeWritable ( string path ) : void
Unhide ( string path ) : void

Method Details

ReadContents() public méthode

public ReadContents ( string path ) : string
path string
Résultat string

WriteContents() public méthode

public WriteContents ( string path, string content ) : void
path string
content string
Résultat void