annotate Implab/ValueEventArgs.cs @ 10:aa33d0bb8c0c
promises
implemeted new cancellable promises concept
author |
cin |
date |
Sun, 03 Nov 2013 18:07:38 +0400 |
parents |
7ea9363fef6c |
children |
eb418ba8275b |
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 {
|
|
8 public class ValueEventArgs<T>: EventArgs
|
|
9 {
|
|
10 public ValueEventArgs(T value)
|
|
11 {
|
|
12 this.Value = value;
|
|
13 }
|
|
14 public T Value
|
|
15 {
|
|
16 get;
|
|
17 private set;
|
|
18 }
|
|
19 }
|
|
20 }
|