aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/App.xaml
blob: aa78e02a432a63dede81760399872dd95a152437 (plain)
1
2
3
4
5
6
7
8
9
10
11
<Application x:Class="Tango.PPC.Synchronization.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/Tango.PPC.Common;component/Resources/Merged.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Tango.MachineStudio.UsersAndRoles.Providers
{
    public class Place
    {
        [XmlElement("address")]
        [JsonProperty("address")]
        public PlaceAddress Address { get; set; }

        [XmlAttribute("display_name")]
        [JsonProperty("display_name")]
        public String DisplayName { get; set; }

        public Place()
        {
            Address = new PlaceAddress();
        }

        public override string ToString()
        {
            return DisplayName;
        }
    }
}