C# Class YamlDotNet.Serialization.Utilities.ObjectAnchorCollection

Exibir arquivo Open project: aaubry/YamlDotNet

Public Methods

Method Description
Add ( string anchor, object @object ) : void

Adds the specified anchor.

TryGetAnchor ( object @object, string &anchor ) : bool

Gets the anchor for the specified object.

this ( string anchor ) : object

Gets the System.Object with the specified anchor.

Method Details

Add() public method

Adds the specified anchor.
public Add ( string anchor, object @object ) : void
anchor string The anchor.
@object object
return void

TryGetAnchor() public method

Gets the anchor for the specified object.
public TryGetAnchor ( object @object, string &anchor ) : bool
@object object
anchor string The anchor.
return bool

this() public method

Gets the System.Object with the specified anchor.
public this ( string anchor ) : object
anchor string
return object