view Implab/ProgressInitEventArgs.cs @ 7:7ea9363fef6c promises

inital progress handling
author cin
date Fri, 01 Nov 2013 16:03:08 +0400
parents
children eb418ba8275b
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Implab
{

    public class ProgressInitEventArgs: EventArgs
    {
        public float MaxProgress
        {
            get;
            private set;
        }

        public float CurrentProgress
        {
            get;
            private set;
        }

        public string Message
        {
            get;
            private set;
        }

        public ProgressInitEventArgs(float current, float max, string message)
        {
            this.MaxProgress = max;
            this.CurrentProgress = current;
            this.Message = message;
        }
    }
}