PageRenderTime 47ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/Common/Shared/SubtitleList.vb

#
Visual Basic | 32 lines | 21 code | 11 blank | 0 comment | 0 complexity | f0315885a4a5f6ca852ca765e5de9900 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. Public Overrides Function CreateNew() As ProtoXML.IProtoXChild
  19. Return New SubtitleList()
  20. End Function
  21. End Class