示例#1
0
 /// <summary>
 /// Creates subtitle as text in its native format.
 /// </summary>
 /// <param name="format">Format to output</param>
 /// <returns>Native format as text string</returns>
 public string ToText(SubtitleFormat format)
 {
     return(format.ToText(this, Path.GetFileNameWithoutExtension(FileName)));
 }
 /// <summary>
 /// Creates subtitle as text in it's native format
 /// </summary>
 /// <param name="format">Format to output</param>
 /// <returns>Native format as text string</returns>
 public string ToText(SubtitleFormat format)
 {
     return format.ToText(this, Path.GetFileNameWithoutExtension(FileName));
 }