| 12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Runtime.Serialization;
- using System.Text;
- using System.Threading.Tasks;
- using Microsoft.Practices.Prism.ViewModel;
- namespace Modules.Robot
- {
- [DataContract]
- public class ServerViewModel : NotificationObject
- {
- [DataMember(Order = 1, IsRequired = true)]
- private string name;
- public string Name
- {
- get
- {
- return this.name;
- }
- set
- {
- if (this.name == value)
- {
- return;
- }
- this.name = value;
- this.RaisePropertyChanged("Name");
- }
- }
- }
- }
|