public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add("m_Path", Path); node.Add("m_Times", Times.ExportYAML(container)); node.Add("m_Values", Values.ExportYAML(container)); node.Add("m_Slopes", Slopes.ExportYAML(container)); node.Add("m_PreInfinity", PreInfinity); node.Add("m_PostInfinity", PostInfinity); return(node); }
public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add(PathName, Path); node.Add(TimesName, Times.ExportYAML(container)); node.Add(ValuesName, Values.ExportYAML(container)); node.Add(SlopesName, Slopes.ExportYAML(container)); node.Add(PreInfinityName, (int)PreInfinity); node.Add(PostInfinityName, (int)PostInfinity); return(node); }