Beispiel #1
0
        public static bool TryParse(string candidate, out ServicePath servicePath)
        {
            servicePath = null;

            if (!IsValid(candidate))
            {
                return(false);
            }

            servicePath = new ServicePath(candidate);
            return(true);
        }
Beispiel #2
0
        public static bool TryParse(string candidate, out ServicePath servicePath)
        {
            servicePath = null;

            if (!IsValid(candidate))
            {
                return false;
            }

            servicePath = new ServicePath(candidate);
            return true;
        }