Class WebDAV.Item
General ancestor for items in remote Dav catalog, such as files and directories
Inheritance
System.Object
WebDAV.Item
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Web.dll
Syntax
public abstract class Item : INamed, IEquatable<WebDAV.Item>
Properties
AbsolutePath
Returns absolute path for this item
Declaration
public string AbsolutePath { get; }
Property Value
Type |
Description |
System.String |
|
Client
Declaration
public WebDAV Client { get; }
Property Value
ContentType
Returns content type (e.g. 'text/plainutf-8')
Declaration
public string ContentType { get; }
Property Value
Type |
Description |
System.String |
|
CreationDate
Declaration
public DateTime CreationDate { get; }
Property Value
Type |
Description |
System.DateTime |
|
LastModificationDate
Declaration
public DateTime LastModificationDate { get; }
Property Value
Type |
Description |
System.DateTime |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Parent
Returns parent directory that contains this item or NULL for very root directory
Declaration
public WebDAV.Directory Parent { get; }
Property Value
Path
Returns path relative to root directory
Declaration
public string Path { get; }
Property Value
Type |
Description |
System.String |
|
Version
Declaration
public string Version { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(WebDAV.Item)
Declaration
public bool Equals(WebDAV.Item other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
IsSameName(String)
Performs case-sensitive name equality test
Declaration
public bool IsSameName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>
Extension Methods