C# Class PhpManager.Models.ConversionManager

ファイルを表示 Open project: projectkudu/PHPManager Class Usage Examples

Public Methods

Method Description
ConversionManager ( ) : System
GenerateOrUpdateWebConfig ( Stream webconfig, Stream htaccess ) : string
GenerateOrUpdateWebConfig ( string config, string htaccessFileContent ) : string

Private Methods

Method Description
FindSingle ( System.Xml.Linq.XContainer container, string elementName ) : System.Xml.Linq.XElement
GenerateRewriteSectionFromHTAccess ( string fileContents ) : string
ReadFullFile ( Stream file ) : string

Method Details

ConversionManager() public method

public ConversionManager ( ) : System
return System

GenerateOrUpdateWebConfig() public method

public GenerateOrUpdateWebConfig ( Stream webconfig, Stream htaccess ) : string
webconfig Stream
htaccess Stream
return string

GenerateOrUpdateWebConfig() public method

public GenerateOrUpdateWebConfig ( string config, string htaccessFileContent ) : string
config string
htaccessFileContent string
return string