Develop and Download Open Source Software

Browse Subversion Repository

Contents of /branches/ProcessWatchImpl/Scone/MonoFieldRoutedEventArgs.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (show annotations) (download)
Tue Dec 15 16:20:54 2009 UTC (14 years, 3 months ago) by netseed
File size: 796 byte(s)


1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Windows;
6
7 namespace Toast.Scone
8 {
9 public delegate void MonoFieldRoutedEventHandler<T>(object sender,MonoFieldRoutedEventArgs<T> e);
10
11 public class MonoFieldRoutedEventArgs<T>:RoutedEventArgs
12 {
13 public MonoFieldRoutedEventArgs(T value, RoutedEvent routedEvent, object source)
14 : base(routedEvent, source)
15 {
16 Value = value;
17 }
18
19 public MonoFieldRoutedEventArgs(T value, RoutedEvent routedEvent)
20 :this(value,routedEvent,null)
21 {
22 }
23
24 public MonoFieldRoutedEventArgs(T value)
25 : this(value, null, null)
26 {
27 }
28
29 public MonoFieldRoutedEventArgs()
30 : this(default(T), null, null)
31 {
32 }
33
34
35 public T Value
36 {
37 get;
38 set;
39 }
40 }
41 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26