C# Класс PSHostsFile.Core.Remove

Наследование: TransformOperation
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetRemoveTransformForHost ( string hostname ) : IEnumerable>.Func
RemoveFromFile ( Regex pattern, string hostsPath ) : void
RemoveFromFile ( string target, string hostsPath ) : void

Приватные методы

Метод Описание
GetRemoveTransform ( bool>.Func doHostsMatch ) : IEnumerable>.Func

Описание методов

GetRemoveTransformForHost() публичный статический Метод

public static GetRemoveTransformForHost ( string hostname ) : IEnumerable>.Func
hostname string
Результат IEnumerable>.Func

RemoveFromFile() публичный Метод

public RemoveFromFile ( Regex pattern, string hostsPath ) : void
pattern System.Text.RegularExpressions.Regex
hostsPath string
Результат void

RemoveFromFile() публичный Метод

public RemoveFromFile ( string target, string hostsPath ) : void
target string
hostsPath string
Результат void