C# Класс RocksmithToolkitLib.Xml.Song2014

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FixArrayAttribs void

Открытые методы

Метод Описание
LoadFromFile ( string xmlSongRS2014File ) : Song2014
ReadXmlComments ( string xmlSongRS2014File ) : IEnumerable

Reads the xml comments, like EOF and DDC, to keep track of its versions.

Serialize ( Stream stream, bool omitXmlDeclaration = false ) : void
Song2014 ( ) : System
Song2014 ( Sng2014HSL sngData, Attributes2014 attr = null ) : System
WriteXmlComments ( string xmlSongFile, IEnumerable commentNodes = null, bool saveOldVers = true, bool writeNewVers = true, string customComment = "" ) : void

Write the CST\EOF\DDC xml comments

Приватные методы

Метод Описание
FixArrayAttribs ( Stream xml ) : void

Writes count attribute for chosen nodes.

Описание методов

LoadFromFile() публичный статический Метод

public static LoadFromFile ( string xmlSongRS2014File ) : Song2014
xmlSongRS2014File string
Результат Song2014

ReadXmlComments() публичный статический Метод

Reads the xml comments, like EOF and DDC, to keep track of its versions.
public static ReadXmlComments ( string xmlSongRS2014File ) : IEnumerable
xmlSongRS2014File string Xml file path.
Результат IEnumerable

Serialize() публичный Метод

public Serialize ( Stream stream, bool omitXmlDeclaration = false ) : void
stream Stream
omitXmlDeclaration bool
Результат void

Song2014() публичный Метод

public Song2014 ( ) : System
Результат System

Song2014() публичный Метод

public Song2014 ( Sng2014HSL sngData, Attributes2014 attr = null ) : System
sngData Sng2014HSL
attr RocksmithToolkitLib.DLCPackage.Manifest2014.Attributes2014
Результат System

WriteXmlComments() публичный статический Метод

Write the CST\EOF\DDC xml comments
public static WriteXmlComments ( string xmlSongFile, IEnumerable commentNodes = null, bool saveOldVers = true, bool writeNewVers = true, string customComment = "" ) : void
xmlSongFile string
commentNodes IEnumerable
saveOldVers bool
writeNewVers bool
customComment string
Результат void