annotate 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 |
|
rev |
line source |
7
|
1 using System;
|
|
2 using System.Collections.Generic;
|
|
3 using System.Linq;
|
|
4 using System.Text;
|
|
5
|
|
6 namespace Implab
|
|
7 {
|
12
|
8 [Serializable]
|
7
|
9 public class ValueEventArgs<T>: EventArgs
|
|
10 {
|
|
11 public ValueEventArgs(T value)
|
|
12 {
|
|
13 this.Value = value;
|
|
14 }
|
|
15 public T Value
|
|
16 {
|
|
17 get;
|
|
18 private set;
|
|
19 }
|
|
20 }
|
|
21 }
|