The NativeDirectory type exposes the following members.

Constructors

  NameDescription
NativeDirectory
Initializes a new instance of the NativeDirectory class.

Methods

  NameDescription
CopyTo
Copies the directory to specified path
(Overrides UnifiedDirectory..::.CopyTo(String).)
CreateFileOverloaded.
CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
CreateSubdirectoryOverloaded.
CreateSubdirectoryInternal
Creates the actual directory.
(Overrides UnifiedDirectory..::.CreateSubdirectoryInternal(String).)
Delete
Deletes this instance.
(Overrides UnifiedDirectory..::.Delete()()().)
DeleteUnifiedPathsRecursively
Iterates over all sub direcotries and files and deletes the UnifiedPathInfo for it, if it exist
(Inherited from UnifiedDirectory.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FilterDirectoryList
Filters a list only containing UnifiedDirectory using the supplied filter.
(Inherited from UnifiedDirectory.)
FilterFileList
Filters a list only containing UnifiedFile objects using the supplied filter.
(Inherited from UnifiedDirectory.)
FilterUnifiedList
Filters a list of children containing both UnifiedFile and UnifiedDirectory objects (All other types are left untouched) using the supplied filter. The filter must implement AcceptFile and AcceptDirectory methods and returns false if the object isn't accepted and shall be removed from list.
(Inherited from UnifiedDirectory.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetDirectories
Gets all subdirectories. Internally calls property Directories.
(Overrides UnifiedDirectory..::.GetDirectories()()().)
GetFiles
Gets all files in directory. Internally calles property Files and iterates through the result and by this creates a more typed result.
(Overrides UnifiedDirectory..::.GetFiles()()().)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InitializeLifetimeService
Gives a VirtualFileBase instance an infinite lifetime by preventing a lease from being created.
(Inherited from VirtualFileBase.)
InternalMoveCopy
The actual Move/Copy operation is performed here. Supports copying/moving to other virtual path providers, in which case the file is read and written as a stream If copying/moving to the same (or anoter) native directory destination, the underlying FileInfo.CopyTo() / FileInfo.MoveTo() is used for best performance.
MemberwiseCloneOverloaded.
MoveTo
Moves the directory to specified path
(Overrides UnifiedDirectory..::.MoveTo(String).)
OnAdded
Base implementation on reaised event for added directories.
(Inherited from UnifiedDirectory.)
OnAdding
Base implementation on reaised event for adding directories.
(Inherited from UnifiedDirectory.)
OnCopied
Base implementation on reaised event for copied directories.
(Inherited from UnifiedDirectory.)
OnCopying
Base implementation on reaised event for copying directories.
(Inherited from UnifiedDirectory.)
OnDeleted
Base implementation on reaised event for deleted directories.
(Inherited from UnifiedDirectory.)
OnDeleting
Base implementation on reaised event for deleting directories.
(Inherited from UnifiedDirectory.)
OnFileAdded
Base implementation on reaised event for added directories.
(Inherited from UnifiedDirectory.)
OnFileAdding
Base implementation on reaised event for adding directories.
(Inherited from UnifiedDirectory.)
OnMoved
Base implementation on reaised event for renamed directories.
(Inherited from UnifiedDirectory.)
OnMoving
Base implementation on reaised event for renaming directories.
(Inherited from UnifiedDirectory.)
QueryAccess
Call Provider's QueryAccess
(Overrides UnifiedDirectory..::.QueryAccess()()().)
QueryDistinctAccess
Query if a user has access level on the current folder.
(Inherited from UnifiedDirectory.)
Search
Base implementation returns an empty search hit collection.
(Inherited from UnifiedDirectory.)
SetPageForAccessControl
Method that admits control of which page to perform access control against.
(Inherited from UnifiedDirectory.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
cachedParent
The parent for this directory
cachedParentRead
Indicates if parent has been evaluated
directoryInfo
The wrapped DirectoryInfo object

Properties

  NameDescription
ACL
Gets the AccessControlList for the direcory. This is mainly used by FileManager to support administration of access rights. To perform access checks the methods QueryDistinctAccess and QueryAccess should be used instead.
(Inherited from UnifiedDirectory.)
BypassAccessCheck
Gets or set a value indicating whether to bypass access check for directory.
(Inherited from UnifiedDirectory.)
Children
Children (files and directories) for this directory Implementing classas shall NOT apply filtering in this property.
(Overrides UnifiedDirectory..::.Children.)
CustomFileSummaryVirtualPath
Full path to custom file summary XForm file.
(Inherited from UnifiedDirectory.)
Directories
Subdirectories for this directory Implementing classas shall NOT apply filtering in this property.
(Overrides UnifiedDirectory..::.Directories.)
Files
Gets all files in an IEnumerable collection of VirtualDirectory derived classes.
(Overrides UnifiedDirectory..::.Files.)
IsAccessControlListSupported
Used internally to determine whether the directory supports changes to the access control list. Please do not override this property in your implementation as this behaviour is likely to change in the future.
(Inherited from UnifiedDirectory.)
IsDirectory
Gets a value that indicates that this is a virtual resource that should be treated as a directory.
(Inherited from VirtualDirectory.)
IsFirstLevel
Base implementation looks at the virtual path for slashes to determine level in directory tree semantics. If no slashes > 1 its NOT a top level.
(Overrides UnifiedDirectory..::.IsFirstLevel.)
IsVersioningSupported
Base class always returns false.
(Inherited from UnifiedDirectory.)
LocalPath
The local file path
Name
Gets the display name of the virtual resource.
(Inherited from VirtualFileBase.)
Parent
Gets the parent for this directory
(Overrides UnifiedDirectory..::.Parent.)
Provider
Referens to the provider which where responsible for returning this instance of VirtualDirectory.
(Inherited from UnifiedDirectory.)
VirtualPath
Gets the VirtualFile VirtualPath. This property is sealed for the reason to avoid implemetations to work around the base functionallity of the VPP API.
(Inherited from UnifiedDirectory.)

See Also