コード例 #1
0
        public void TagIdIsParsedStronglyTyped()
        {
            var           input      = "#EXTM3U\n";
            PlaylistTagId typedTagId = PlaylistGrammar.TagIdParser.Parse(input);

            Assert.AreEqual(PlaylistTagId.EXTM3U, typedTagId);
        }
コード例 #2
0
 public PlaylistTagItem(PlaylistTagId id, string value)
 {
     Id       = id;
     RawValue = value;
 }
コード例 #3
0
 public PlaylistTagItem(PlaylistTagId id, List <PlaylistTagAttribute> attributes)
 {
     Id         = id;
     Attributes = attributes;
 }