﻿using System.Runtime.Serialization;

namespace DCSExt.Xml.Tests.TestClasses.WithAttributes {
    [DataContract(Name = "AttrTestCase17")]
    public class Attr_TestCase17 {
        public string Var1 { get; set; }
        public bool Var2 { get; set; }
        public int Var3 { get; set; }
        public int Field1;

        public static string OrderedXml() {
            return "<AttrTestCase17 xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/DCSExt.Xml.Tests.TestClasses.WithAttributes\">"
                        + "<Var_1>Das hier ist Property 1</Var_1>"
                        + "<Var_2>true</Var_2>"
                        + "<Var_3>150</Var_3>"
                        + "<Field_1>200</Field_1>" +
                   "</AttrTestCase17>";
        }
        public static string UnorderedXml() {
            return "<AttrTestCase17 xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/DCSExt.Xml.Tests.TestClasses.WithAttributes\">"
                        + "<Var_2>true</Var_2>"
                        + "<Field_1>200</Field_1>"
                        + "<Var_3>150</Var_3>"
                        + "<Var_1>Das hier ist Property 1</Var_1>" +
                   "</AttrTestCase17>";
        } 
    }
}