C# Класс D16.VideoCommander.PlaylistSerializer

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

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

Метод Описание
Deserialize ( XmlDocument document ) : IEnumerable

Deserializes a play list from specified xml document.

GetAttributeValue ( XmlNode node, string name ) : string

Returns the value of the specified attribute. If the attribute is not present for the specified node, an empty string is returned.

Serialize ( IEnumerable items ) : XmlDocument

Serializes the specified play list items.

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

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

Deserializes a play list from specified xml document.
public Deserialize ( XmlDocument document ) : IEnumerable
document System.Xml.XmlDocument The serialized play list as xml document.
Результат IEnumerable

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

Returns the value of the specified attribute. If the attribute is not present for the specified node, an empty string is returned.
public GetAttributeValue ( XmlNode node, string name ) : string
node System.Xml.XmlNode The xml node.
name string The attribute name.
Результат string

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

Serializes the specified play list items.
public Serialize ( IEnumerable items ) : XmlDocument
items IEnumerable The play list.
Результат System.Xml.XmlDocument