C# Class PSHostsFile.Core.Remove

Inheritance: TransformOperation
Afficher le fichier Open project: fschwiet/PSHostsFile Class Usage Examples

Méthodes publiques

Méthode Description
GetRemoveTransformForHost ( string hostname ) : IEnumerable>.Func
RemoveFromFile ( Regex pattern, string hostsPath ) : void
RemoveFromFile ( string target, string hostsPath ) : void

Private Methods

Méthode Description
GetRemoveTransform ( bool>.Func doHostsMatch ) : IEnumerable>.Func

Method Details

GetRemoveTransformForHost() public static méthode

public static GetRemoveTransformForHost ( string hostname ) : IEnumerable>.Func
hostname string
Résultat IEnumerable>.Func

RemoveFromFile() public méthode

public RemoveFromFile ( Regex pattern, string hostsPath ) : void
pattern System.Text.RegularExpressions.Regex
hostsPath string
Résultat void

RemoveFromFile() public méthode

public RemoveFromFile ( string target, string hostsPath ) : void
target string
hostsPath string
Résultat void