view Implab/ValueEventArgs.cs @ 130:671f60cd0250 v2

fixed Resove method bug when calling it on already cancelled promise
author cin
date Fri, 30 Jan 2015 17:07:17 +0300
parents eb418ba8275b
children
line wrap: on
line source

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

namespace Implab
{
    [Serializable]
    public class ValueEventArgs<T>: EventArgs
    {
        public ValueEventArgs(T value)
        {
            this.Value = value;
        }
        public T Value
        {
            get;
            private set;
        }
    }
}