示例#1
0
 public static ExtKeyTagInstance Create(M3U8Tag tag, string value)
 {
     return(new ExtKeyTagInstance(tag, AttributesTagInstance.ParseAttributes(value, ExtKeySupport.Attributes)));
 }
示例#2
0
 private static M3U8TagInstance Create(M3U8Tag tag, string value, Func <string, IEnumerable <M3U8AttributeInstance> > attributeParser)
 {
     return((M3U8TagInstance) new AttributesTagInstance(tag, AttributesTagInstance.ParseAttributes(value, attributeParser)));
 }
示例#3
0
 protected static IEnumerable <M3U8AttributeInstance> ParseAttributes(string value, IDictionary <string, M3U8Attribute> attributes)
 {
     return(AttributesTagInstance.ParseAttributes(value, (Func <string, IEnumerable <M3U8AttributeInstance> >)(v => M3U8AttributeParserSupport.ParseAttributes(v, attributes))));
 }
示例#4
0
 public static M3U8TagInstance Create(M3U8Tag tag, string value, IDictionary <string, M3U8Attribute> attributes)
 {
     return(AttributesTagInstance.Create(tag, value, (Func <string, IEnumerable <M3U8AttributeInstance> >)(v => M3U8AttributeParserSupport.ParseAttributes(v, attributes))));
 }