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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
1 using System;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
2 using System.Collections.Generic;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
3 using System.Linq;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
4 using System.Text;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
5
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
6 namespace Implab
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
7 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
8 public class ValueEventArgs<T>: EventArgs
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
9 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
10 public ValueEventArgs(T value)
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
11 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
12 this.Value = value;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
13 }
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
14 public T Value
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
15 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
16 get;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
17 private set;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
18 }
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
19 }
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
20 }