C# Class SIM.Adapters.WebServer.Hosts

ファイルを表示 Open project: Sitecore/Sitecore-Instance-Manager

Public Methods

Method Description
Append ( [ hostName ) : void
GetRecords ( ) : IEnumerable
Remove ( [ hostNames ) : void
Save ( List records ) : void

Private Methods

Method Description
GetHostsFilePath ( ) : string
Matches ( string hostName, string line ) : bool
Remove ( [ hostName ) : void

Method Details

Append() public static method

public static Append ( [ hostName ) : void
hostName [
return void

GetRecords() public static method

public static GetRecords ( ) : IEnumerable
return IEnumerable

Remove() public static method

public static Remove ( [ hostNames ) : void
hostNames [
return void

Save() public static method

public static Save ( List records ) : void
records List
return void