C# Class Framework.Core.Helpers.Yaml.YamlDocument

Wraps yaml document for using dynamic objects.
Datei anzeigen Open project: coreframework/Core-Framework

Public Methods

Method Description
FromFile ( String filePath ) : dynamic

Loads document froms file.

Private Methods

Method Description
MapValue ( Yaml.Grammar.DataItem value ) : Object
TryMapValue ( Yaml.Grammar.DataItem value, Object &result ) : bool

Tries wrap DataItem object for using dynamic features.

Method Details

FromFile() public static method

Loads document froms file.
public static FromFile ( String filePath ) : dynamic
filePath String Full file path.
return dynamic