/// <summary> /// Constructor. /// </summary> /// <param name="progress">The <see cref="ProgressManagerBase"/> instance /// which measures the progress of this step.</param> /// <param name="weight">The weight of this step. The weight is a decimal /// number in the range [0.0, 1.0] which represents the percentage of the /// entire process this particular step is.</param> public SteppedProgressManagerStep(ProgressManagerBase progress, float weight) : this(progress, weight, null) { }
/// <summary> /// Constructor. /// </summary> /// <param name="progress">The <see cref="ProgressManagerBase"/> instance /// which measures the progress of this step.</param> /// <param name="weight">The weight of this step. The weight is a decimal /// number in the range [0.0, 1.0] which represents the percentage of the /// entire process this particular step is.</param> /// <param name="name">A user-specified value of the name of this step. /// This value is not used by the class at all.</param> public SteppedProgressManagerStep(ProgressManagerBase progress, float weight, string name) : base(weight, name) { Progress = progress; }
/// <summary> /// Constructor. /// </summary> /// <param name="progress">The ProgressManagerBase object that stores the progress /// for the given task.</param> /// <param name="userState">A client-specified state object.</param> public ProgressChangedEventArgs(ProgressManagerBase progress, object userState) { Progress = progress; UserState = userState; }