Esempio n. 1
0
 protected override MediaMetadata ExtractMetadata(MediaInfo mediaInfo)
 {
     Console.WriteLine("MediaThumbnailerImage.MediaMetadata");
     return(null);
 }
Esempio n. 2
0
 protected override Image ExtractThumbnail(MediaInfo mediaInfo, MediaMetadata mediaMetadata)
 {
     Console.WriteLine("MediaThumbnailerImage.ExtractThumbnail");
     return(CreateImage(400, 300, Color.DarkGreen, Color.White, "I am an Image File"));
 }
 protected override Image ExtractThumbnail(MediaInfo mediaInfo, MediaMetadata mediaMetadata)
 {
     Console.WriteLine("MediaThumbnailerAudio.ExtractThumbnail");
     return(CreateImage(300, 300, Color.DarkRed, Color.White, "I am an audio file"));
 }
Esempio n. 4
0
 private void ValidateMediaInfo(MediaInfo mediaInfo)
 {
     Console.WriteLine("MediaThumbnailerBase.ValidateMediaInfo");
 }
Esempio n. 5
0
 protected abstract MediaMetadata ExtractMetadata(MediaInfo mediaInfo);
Esempio n. 6
0
 protected abstract Image ExtractThumbnail(MediaInfo mediaInfo, MediaMetadata mediaMetadata);