private GetExecutionCallback ( IProgressStepOperation stepOperation ) : IProgressStepExecutionEvents | ||
stepOperation | IProgressStepOperation | |
Результат | IProgressStepExecutionEvents |
public IProgressStepExecutionEvents GetExecutionCallback(IProgressStepOperation stepOperation)
{
ProgressControllerStep supportedStep = stepOperation as ProgressControllerStep;
if (supportedStep == null)
{
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, ProgressResources.UnsupportedTypeException, stepOperation.GetType().FullName, typeof(ProgressControllerStep).FullName));
}
return supportedStep;
}
#endregion