/// <summary> /// Initializes a new instance of RemoteError /// </summary> /// <param name="errorCode">The error that occured</param> public RemoteError(RemoteErrorCode errorCode) { XmlNames.Init(xmlNamespace); this.CallId = Guid.Empty; this.ErrorCode = errorCode; }
public Permission() { XmlNames.Init(xmlNamespace); Path = ""; PermittedClients = new List <string>(); }
public MountInfo() { XmlNames.Init(xmlNamespace); this.MountPoint = ""; this.LocalPath = ""; }
public ClientInfo() { this.TrustLevel = -1; this.Profiles = new List <Profile>(); //Initialize XmlNames helper class XmlNames.Init(xmlNamespace); }
/// <summary> /// Serializes the object into XML /// </summary> /// <returns>Returns a XML representation of the object</returns> public override XElement Serialize() { XmlNames.Init(xmlNamespace); XElement result = new XElement(XmlNames.SnapshotInfo); result.Add(new XElement(XmlNames.Id, this.Id)); result.Add(new XElement(XmlNames.Time, this.Time.ToUniversalTime().ToString("o"))); return(result); }
public RemoteMethodCall() { XmlNames.Init(xmlNamespace); Parameters = new List <object>(); }
public RemoteMethodResponse() { XmlNames.Init(xmlNamespace); }
public FilesystemObject() { XmlNames.Init(xmlNamespace); }
/// <summary> /// Initializes a new instace of SnapshotInfo /// </summary> public SnapshotInfo() { XmlNames.Init(xmlNamespace); this.Id = Guid.NewGuid(); }