Octopus.Client.Model.Resource.HasLink C# (CSharp) Method

HasLink() public method

Determines whether the specified link exists.
public HasLink ( string name ) : bool
name string The name/key of the link.
return bool
        public bool HasLink(string name)
        {
            Href value;
            return (Links ?? new LinkCollection()).TryGetValue(name, out value);
        }