Ejemplo n.º 1
0
 public override object ProvideValue(IServiceProvider serviceProvider)
 {
     if (_converter == null)
       {
     _converter = new ArithmeticConverter();
       }
       return _converter;
 }
Ejemplo n.º 2
0
 public void TestInitilize()
 {
     _arithmeticConverter = new ArithmeticConverter();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArithmeticIntegerConverter"/> class.
 /// </summary>
 public ArithmeticIntegerConverter()
 {
     _arithmeticConverter = new ArithmeticConverter ();
 }