PageRenderTime 23ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/NfoLibrary/Shared/SubtitleList.vb

#
Visual Basic | 28 lines | 18 code | 10 blank | 0 comment | 0 complexity | 886778ed1f51955d432456045dd1acf3 MD5 | raw file
Possible License(s): GPL-2.0
  1. Imports ProtoXML
  2. Public Class SubtitleList
  3. Inherits ProtoFlatList(Of SubtitleDetails)
  4. Private _node_TvShow As XElement
  5. Private Sub New()
  6. MyBase.New(Nothing, Nothing)
  7. Throw New NotImplementedException()
  8. End Sub
  9. Public Sub New(ByRef Parent As IProtoXBase, ByVal NodeName As String)
  10. MyBase.New(Parent, NodeName)
  11. End Sub
  12. Public Overrides Sub ProcessNode(ByRef Element As System.Xml.Linq.XElement)
  13. Dim NewSubtitle As New SubtitleDetails()
  14. NewSubtitle.ParentClass = Me.ParentClass
  15. NewSubtitle.ProcessNode(Element)
  16. Me.Add(NewSubtitle)
  17. End Sub
  18. End Class