view Implab/ValueEventArgs.cs @ 29:768f7deeb55b

Added a casting method for promises.
author cin
date Thu, 06 Mar 2014 17:59:03 +0400
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;
        }
    }
}