namespace WebDAVSharp.Server {
///
/// The property with all the information of a lock
///
internal class LockProperty {
public string Locktype { get; set; }
public string Lockscope { get; set; }
public string Depth { get; set; }
public string Owner { get; set; }
public string Timeout { get; set; }
public string Locktoken { get; set; }
///
/// The standard constructor
///
public LockProperty() {
Locktype = string.Empty;
Lockscope = string.Empty;
Depth = string.Empty;
Owner = string.Empty;
Timeout = string.Empty;
Locktoken = string.Empty;
}
///
/// The constructor with all the specific values
///
/// The locktype of the lock
/// The lockscope of the lock
/// The depth of the lock
/// The owner of the lock
/// The timeout of the lock
/// The locktoken.
public LockProperty(string locktype, string lockscope, string depth, string owner, string timeout, string locktoken) {
Locktype = locktype;
Lockscope = lockscope;
Depth = depth;
Owner = owner;
Timeout = timeout;
Locktoken = locktoken;
}
}
}