Esempio n. 1
0
        public void Initialize()
        {
            name  = "Microsoft";
            sites = new List <BasicJsonAddress>
            {
                new BasicJsonAddress
                {
                    street = "1 Lone Tree Rd S",
                    city   = "Fargo",
                    zip    = 58104
                },
                new BasicJsonAddress
                {
                    street = "8055 Microsoft Way",
                    city   = "Charlotte",
                    zip    = 28273
                }
            };

            mainSite =
                new BasicJsonAddress
            {
                street = "1 Microsoft Way",
                city   = "Redmond",
                zip    = 98052
            };
        }
Esempio n. 2
0
 public void Initialize()
 {
     age          = 30;
     first        = "John";
     last         = "Smith";
     phoneNumbers = new List <string> {
         "425-000-0000", "425-000-0001"
     };
     address = new BasicJsonAddress
     {
         street = "1 Microsoft Way",
         city   = "Redmond",
         zip    = 98052
     };
 }