public Image GetThumbnail(MediaInfo mediaInfo) { GetMetadata(mediaInfo); Console.WriteLine("ThumbnailerBase.GetThumbnail"); return(GetThumbnailCore(mediaInfo)); }
protected override Image GetThumbnailCore(MediaInfo mediaInfo) { return(GenerateImage(300, 300, Color.DarkGreen, Color.White, "I am a Audio")); }
protected override void GetMetadata(MediaInfo mediaInfo) { Console.WriteLine("ThumbnailerAudio.GetMetadata"); }
protected override Image GetThumbnailCore(MediaInfo mediaInfo) { return(GenerateImage(480, 270, Color.Blue, Color.White, "I am a Video")); }
protected override Image GetThumbnailCore(MediaInfo mediaInfo) { return(GenerateImage(400, 300, Color.Orange, Color.White, "I am a Image")); }
protected abstract Image GetThumbnailCore(MediaInfo mediaInfo);
protected abstract void GetMetadata(MediaInfo mediaInfo);