comparison Chronosv2/source/Extensions/Converter.cs @ 10:443821e55f06

Initial cleaned up add from Codeplex files
author stevenh7776 stevenhollidge@hotmail.com
date Tue, 21 Feb 2012 17:25:44 +0700
parents
children
comparison
equal deleted inserted replaced
9:904a9faadf8b 10:443821e55f06
1 using System;
2
3 namespace Chronos.Extensions
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 }