TryParse() public static method

public static TryParse ( string rawSrcSrv, HttpSourceServerDescriptor &descriptor ) : bool
rawSrcSrv string
descriptor HttpSourceServerDescriptor
return bool
        public void Perform()
        {
            var srcsrvValues = _assemblyFiles
                               .Select(PdbPath)
                               .Where(File.Exists)
                               .Select(_pdbStr.Read)
                               .ToArray();
            var descriptors = srcsrvValues.Select(srcsrv =>
            {
                HttpSourceServerDescriptor descriptor;
                return(new
                {
                    Valid = HttpSourceServerDescriptor.TryParse(srcsrv, out descriptor),
                    Descriptor = descriptor
                });
            })
                              .Where(tuple => tuple.Valid)
                              .Select(tuple => tuple.Descriptor)
                              .ToArray();

            _srcSrv = descriptors.Any()
                ? descriptors.First().MergeWith(descriptors.Skip(1)).ToString()
                : srcsrvValues.FirstOrDefault();
        }