Class WebDAV.Directory
Represents a directory in remote Dav catalog
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.IO.FileSystem.SVN
Assembly: Azos.Web.dll
Syntax
public sealed class Directory : WebDAV.Item, INamed, IEquatable<WebDAV.Item>
Properties
Children
Lists subitems contained in this remote Dav directory. Items are fetched lazily and then cached until Refresh() is called
Declaration
public IEnumerable<WebDAV.Item> Children { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<WebDAV.Item> |
Directories
Lists subdirectories of this directory
Declaration
public IEnumerable<WebDAV.Item> Directories { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<WebDAV.Item> |
Files
Lists files contained in this directory
Declaration
public IEnumerable<WebDAV.Item> Files { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<WebDAV.Item> |
Item[String]
Gets an item contained in this directory by name be it file or directory. Returns NULL if item with such name does not exist
Declaration
public WebDAV.Item this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type | Description |
---|---|
WebDAV.Item |
Methods
NavigatePath(String)
Tries to navigate path and returns destination directory, file or null if its not found
Declaration
public WebDAV.Item NavigatePath(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path |
Returns
Type | Description |
---|---|
WebDAV.Item |
Refresh()
Refreshes the internal status of the directory by purging all cached objects
Declaration
public void Refresh()
Implements
System.IEquatable<T>