C# Class ImgProc.ImageProcessor

Afficher le fichier Open project: EFanZh/EFanZh

Méthodes publiques

Méthode Description
ImageProcessor ( ) : System
ProcessAsync ( string>.KeyValuePair task, IEnumerable processingPlugins, IOutputPlugin outputPlugin, object userState ) : void

异步处理图像。

ProcessAsyncCancel ( object userState ) : void

取消异步处理。

Méthodes protégées

Méthode Description
OnProcessCompleted ( AsyncCompletedEventArgs e ) : void

引发 ProcessCompleted 事件。

OnProcessProgressChanged ( ProgressChangedEventArgs e ) : void

引发 ProcessProgressChanged 事件。

Private Methods

Méthode Description
IsTaskCancelled ( object userState ) : bool
ProcessAsyncCompleted ( object arg ) : void

异步引发 ProcessCompleted 事件。

ProcessAsyncProgressChanged ( object arg ) : void

异步引发 ProcessProgressChanged 事件。

ProcessWorker ( string>.KeyValuePair task, IEnumerable processingPlugins, IOutputPlugin outputPlugin, AsyncOperation asyncOp ) : void

异步工作线程。

getBitmapCompleted ( object sender, GetBitmapCompletedEventArgs e ) : void
processingPlugin_ProcessProgressChanged ( object sender, ProgressChangedEventArgs e ) : void

Method Details

ImageProcessor() public méthode

public ImageProcessor ( ) : System
Résultat System

OnProcessCompleted() protected méthode

引发 ProcessCompleted 事件。
protected OnProcessCompleted ( AsyncCompletedEventArgs e ) : void
e System.ComponentModel.AsyncCompletedEventArgs 为 ProcessCompleted 事件提供数据。
Résultat void

OnProcessProgressChanged() protected méthode

引发 ProcessProgressChanged 事件。
protected OnProcessProgressChanged ( ProgressChangedEventArgs e ) : void
e System.ComponentModel.ProgressChangedEventArgs 为 ProcessProgressChanged 事件提供数据。
Résultat void

ProcessAsync() public méthode

异步处理图像。
public ProcessAsync ( string>.KeyValuePair task, IEnumerable processingPlugins, IOutputPlugin outputPlugin, object userState ) : void
task string>.KeyValuePair
processingPlugins IEnumerable
outputPlugin IOutputPlugin
userState object 用户状态
Résultat void

ProcessAsyncCancel() public méthode

取消异步处理。
public ProcessAsyncCancel ( object userState ) : void
userState object 用户状态
Résultat void