comparison MetroWpf/MetroWpf.Framework/Extensions/Converter.cs @ 15:060f02cd4591

Initial commit, pre airport work
author stevenh7776 stevenhollidge@hotmail.com
date Mon, 12 Mar 2012 23:05:21 +0800
parents
children
comparison
equal deleted inserted replaced
14:741981715d94 15:060f02cd4591
1 using System;
2
3 namespace MetroWpf
4 {
5 /// <summary>
6 /// An internal implementation of the IConverter&lt;T&gt; interface
7 /// </summary>
8 /// <typeparam name="T"></typeparam>
9 internal class Converter<T>
10 : IConverter<T>
11 {
12 #region · Properties ·
13
14 /// <summary>
15 /// Gets the internal value to be converted.
16 /// </summary>
17 /// <value>The value.</value>
18 public T Value
19 {
20 get;
21 protected set;
22 }
23
24 #endregion
25
26 #region · Methods ·
27
28 /// <summary>
29 /// Initializes a new instance of the <see cref="Converter&lt;T&gt;"/> class.
30 /// </summary>
31 /// <param name="value">The value.</param>
32 public Converter(T value)
33 {
34 this.Value = value;
35 }
36
37 #endregion
38 }
39 }