forked from WebDAVSharp/WebDAVSharp.Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LockProperty.cs
49 lines (45 loc) · 1.57 KB
/
LockProperty.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
namespace WebDAVSharp.Server
{
/// <summary>
/// The property with all the information of a lock
/// </summary>
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; }
/// <summary>
/// The standard constructor
/// </summary>
public LockProperty()
{
Locktype = string.Empty;
Lockscope = string.Empty;
Depth = string.Empty;
Owner = string.Empty;
Timeout = string.Empty;
Locktoken = string.Empty;
}
/// <summary>
/// The constructor with all the specific values
/// </summary>
/// <param name="locktype">The locktype of the lock</param>
/// <param name="lockscope">The lockscope of the lock</param>
/// <param name="depth">The depth of the lock</param>
/// <param name="owner">The owner of the lock</param>
/// <param name="timeout">The timeout of the lock</param>
/// <param name="locktoken">The locktoken.</param>
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;
}
}
}