コード例 #1
0
ファイル: Plugin.cs プロジェクト: yodelife/QuickLook
        public void Cleanup()
        {
            _imageViewierPlugin.Cleanup();
            _imageViewierPlugin = null;

            try
            {
                File.Delete(_image);
            }
            catch (Exception)
            {
                // ignored
            }
        }
コード例 #2
0
ファイル: Plugin.cs プロジェクト: yodelife/QuickLook
        public void Prepare(string path, ContextObject context)
        {
            _imageViewierPlugin = new ImageViewer.Plugin();

            _imageViewierPlugin.Prepare(path, context);
        }