C# Class IronRuby.StandardLibrary.Yaml.RubyRepresenter

Inheritance: IronRuby.StandardLibrary.Yaml.Representer
Datei anzeigen Open project: ExpertsInside/IronSP Class Usage Examples

Private Properties

Property Type Description
AddYamlProperties void
AddYamlProperties void
ConvertToFieldName string
GetTagUri string
GetTagUri string
GetYamlStyle ScalarQuotingStyle
Map Node
Map Node
RubyRepresenter System
ToNode Node
ToTag string
ToTag string
ToYamlProperties IList

Protected Methods

Method Description
CreateNode ( object data ) : Node
HasIdentity ( object data ) : bool

Private Methods

Method Description
AddYamlProperties ( object>.Dictionary propertyMap, object obj, IList instanceVariableNames, bool plainNames ) : void
AddYamlProperties ( object>.Dictionary propertyMap, object obj, bool plainNames ) : void
ConvertToFieldName ( RubyContext context, object name ) : string
GetTagUri ( object obj ) : string
GetTagUri ( object obj, string defaultTag, Type defaultTagType ) : string
GetYamlStyle ( object obj ) : ScalarQuotingStyle
Map ( object obj, IDictionary map ) : Node
Map ( string tag, IDictionary map, ScalarQuotingStyle style ) : Node
RubyRepresenter ( YamlCallSiteStorage siteStorage ) : System
ToNode ( object obj ) : Node
ToTag ( object tagUri ) : string
ToTag ( object tagUri, object obj, string defaultTag, Type defaultTagType ) : string
ToYamlProperties ( object obj ) : IList

Dynamically calls to_yaml_properties on a given object. The method should return a list of instance variable names (Symbols or Strings) of the object that should be serialized into the output stream.

Method Details

CreateNode() protected method

protected CreateNode ( object data ) : Node
data object
return Node

HasIdentity() protected method

protected HasIdentity ( object data ) : bool
data object
return bool