C# 클래스 D16.VideoCommander.PlaylistSerializer

Serielizer for play lists.
파일 보기 프로젝트 열기: feg-giessen/videocommander 1 사용 예제들

공개 메소드들

메소드 설명
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