31 lines
601 B
C#
31 lines
601 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using ln.application.attributes;
|
|
|
|
namespace ln.application.tests
|
|
{
|
|
public class TestConcfiguration
|
|
{
|
|
|
|
public TestConcfiguration()
|
|
{
|
|
}
|
|
|
|
List<Decimal> numbers = new List<decimal>();
|
|
|
|
|
|
[ConfigurationStatement(Name = "aNumber")]
|
|
public void AddNumber(int number)
|
|
{
|
|
numbers.Add(new decimal(number));
|
|
}
|
|
[ConfigurationStatement(Name = "aNumber")]
|
|
public void AddNumber(float number)
|
|
{
|
|
numbers.Add(new decimal(number));
|
|
}
|
|
|
|
|
|
|
|
}
|
|
} |