public static bool TryParse(string candidate, out ServicePath servicePath) { servicePath = null; if (!IsValid(candidate)) { return(false); } servicePath = new ServicePath(candidate); return(true); }
public static bool TryParse(string candidate, out ServicePath servicePath) { servicePath = null; if (!IsValid(candidate)) { return false; } servicePath = new ServicePath(candidate); return true; }