Miscellaneous changes. Keep original end of line characters.
This commit is contained in:
34
ServerExplorer/Code/DataTransfer/Server.cs
Normal file
34
ServerExplorer/Code/DataTransfer/Server.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace ServerExplorer.Code.DataTransfer
|
||||
{
|
||||
[Serializable]
|
||||
internal class Server
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string Name { get; set; }
|
||||
[XmlAttribute]
|
||||
public string Instance { get; set; }
|
||||
[XmlAttribute]
|
||||
public string Version { get; set; }
|
||||
|
||||
|
||||
private readonly List<User> _users = new List<User>();
|
||||
|
||||
[XmlArray]
|
||||
public List<User> Users
|
||||
{
|
||||
get { return _users; }
|
||||
}
|
||||
|
||||
private readonly List<Database> _databases = new List<Database>();
|
||||
|
||||
[XmlArray]
|
||||
public List<Database> Databases
|
||||
{
|
||||
get { return _databases; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user