Winify
/trunk/Servers/Servers.cs |
@@ -8,6 +8,21 @@ |
[XmlRoot(Namespace = "urn:winify-servers-schema", ElementName = "Servers")] |
public class Servers : INotifyPropertyChanged |
{ |
#region Private Delegates, Events, Enums, Properties, Indexers and Fields |
|
private BindingListWithCollectionChanged<Server> _server = new BindingListWithCollectionChanged<Server>(); |
|
#endregion |
|
#region Constructors, Destructors and Finalizers |
|
[UsedImplicitly] |
public Servers() |
{ |
} |
|
#endregion |
|
#region Public Enums, Properties and Fields |
|
[XmlElement(ElementName = "Server")] |
@@ -16,10 +31,7 @@ |
get => _server; |
set |
{ |
if (Equals(value, _server)) |
{ |
return; |
} |
if (Equals(value, _server)) return; |
|
_server = value; |
OnPropertyChanged(); |
@@ -28,21 +40,6 @@ |
|
#endregion |
|
#region Private Delegates, Events, Enums, Properties, Indexers and Fields |
|
private BindingListWithCollectionChanged<Server> _server = new BindingListWithCollectionChanged<Server>(); |
|
#endregion |
|
#region Constructors, Destructors and Finalizers |
|
[UsedImplicitly] |
public Servers() |
{ |
} |
|
#endregion |
|
#region Interface |
|
public event PropertyChangedEventHandler PropertyChanged; |