The ReadOnlyDirectory type exposes the following members.

Constructors

  NameDescription
ReadOnlyDirectory
Initializes a new instance of the ReadOnlyDirectory class.

Methods

  NameDescription
CopyTo
Not allowed for ReadOnlyDirectory. Exception given in constructor will be thrown.
(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.)
CreateSubdirectory
Not allowed for ReadOnlyDirectory. Exception given in constructor will be thrown.
(Overrides UnifiedDirectory..::.CreateSubdirectory(String).)
CreateSubdirectoryInternal
Creates a subdirectory. Base class does not implement this method but throws NotSupportedException
(Inherited from UnifiedDirectory.)
Delete
Not allowed for ReadOnlyDirectory. Exception given in constructor will be thrown.
(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
Returns empty list
(Overrides UnifiedDirectory..::.GetDirectories()()().)
GetFiles
Returns empty list
(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.)
MemberwiseCloneOverloaded.
MoveTo
Not allowed for ReadOnlyDirectory. Exception given in constructor will be thrown.
(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
Always returns EPiServer.Security.AccessLevel.Read for ReadOnlyDirectory
(Overrides UnifiedDirectory..::.QueryAccess()()().)
QueryDistinctAccess
Returns true if access is EPiServer.Security.AccessLevel.Read otherwise false
(Overrides UnifiedDirectory..::.QueryDistinctAccess(AccessLevel).)
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.)

Properties

  NameDescription
ACL (Overrides UnifiedDirectory..::.ACL.)
BypassAccessCheck
Gets or set a value indicating whether to bypass access check for directory.
(Overrides UnifiedDirectory..::.BypassAccessCheck.)
Children
Returns empty list
(Overrides UnifiedDirectory..::.Children.)
CustomFileSummaryVirtualPath
Full path to custom file summary XForm file.
(Inherited from UnifiedDirectory.)
Directories
Returns empty list
(Overrides UnifiedDirectory..::.Directories.)
Files
Returns empty list
(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.
(Inherited from UnifiedDirectory.)
IsVersioningSupported
Base class always returns false.
(Inherited from UnifiedDirectory.)
Name
Gets the display name of the virtual resource.
(Inherited from VirtualFileBase.)
Parent
Always returns the root folder for the provider.
(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