FoodCandy!

ProgressProvider Class Reference

Represents a progress provider, which stores the progress temporarily in the cache. More...

Inheritance diagram for ProgressProvider:

IProgressProvider List of all members.

Public Member Functions

 ProgressProvider ()
 Initializes a new instance of the Wilco::Web::UI::WebControls::ProgressProvider class.
virtual void Initialize (HttpContext context, ProgressBar bar)
 Initializes the provider.
string CreateJobID ()
 Creates a new job ID.
void RemoveJobID (string jobID)
 Removes a job ID.
virtual double GetProgress (string jobID)
 Gets the progress of the progress bar.
virtual void SetProgress (string jobID, double value)
 Sets the progress of the progress bar.

Properties

HttpContext Context
 Gets the context.
ProgressBar ProgressBar
 Gets the progress bar.

Detailed Description

Represents a progress provider, which stores the progress temporarily in the cache.


Member Function Documentation

string CreateJobID  ) 
 

Creates a new job ID.

Returns:

Implements IProgressProvider.

virtual double GetProgress string  jobID  )  [virtual]
 

Gets the progress of the progress bar.

Parameters:
jobID The ID of the job.
Returns:
The progress the job has made.

Implements IProgressProvider.

virtual void Initialize HttpContext  context,
ProgressBar  bar
[virtual]
 

Initializes the provider.

Parameters:
context 
bar 

Implements IProgressProvider.

void RemoveJobID string  jobID  ) 
 

Removes a job ID.

Parameters:
jobID 

Implements IProgressProvider.

virtual void SetProgress string  jobID,
double  value
[virtual]
 

Sets the progress of the progress bar.

Parameters:
jobID The ID of the job.
value The progress the job has made.

Implements IProgressProvider.


The documentation for this class was generated from the following file:
  • ProgressProvider.cs
© FoodCandy, 2006-2007, All Rights Reserved | FoodCandy | Sun Oct 7 10:48:54 2007 | Doxygen 1.4.6-NO