C# Class SIM.Adapters.WebServer.Hosts

Afficher le fichier Open project: Sitecore/Sitecore-Instance-Manager

Méthodes publiques

Méthode Description
Append ( [ hostName ) : void
GetRecords ( ) : IEnumerable
Remove ( [ hostNames ) : void
Save ( List records ) : void

Private Methods

Méthode Description
GetHostsFilePath ( ) : string
Matches ( string hostName, string line ) : bool
Remove ( [ hostName ) : void

Method Details

Append() public static méthode

public static Append ( [ hostName ) : void
hostName [
Résultat void

GetRecords() public static méthode

public static GetRecords ( ) : IEnumerable
Résultat IEnumerable

Remove() public static méthode

public static Remove ( [ hostNames ) : void
hostNames [
Résultat void

Save() public static méthode

public static Save ( List records ) : void
records List
Résultat void