コード例 #1
0
        public override void Arrange()
        {
            var converter = new JsonFractionConverter(null, false, true);

            _serializer = new JsonSerializer();
            _serializer.Converters.Add(converter);
        }
コード例 #2
0
        public override void Arrange()
        {
            var converter = new JsonFractionConverter();

            _serializer = new JsonSerializer();
            _serializer.Converters.Add(converter);

            _test_objekt = new Test {
                Name  = "TestName",
                Value = new Fraction(1, 3)
            };
        }
コード例 #3
0
 public override void Arrange()
 {
     _converter = new JsonFractionConverter();
 }