C# Class Octopus.Client.Model.Resource

Base class for all resources.
Inheritance: IResource, IAuditedResource
显示文件 Open project: OctopusDeploy/Octo.exe Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
HasLink ( string name ) : bool

Determines whether the specified link exists.

Link ( string name ) : string

Gets the link with the specified name.

Protected Methods

Method Description
Resource ( ) : System

Initializes a new instance of the Resource class.

Method Details

HasLink() public method

Determines whether the specified link exists.
public HasLink ( string name ) : bool
name string The name/key of the link.
return bool

Link() public method

Gets the link with the specified name.
If the link is not defined.
public Link ( string name ) : string
name string The name.
return string

Resource() protected method

Initializes a new instance of the Resource class.
protected Resource ( ) : System
return System