The UnifiedFile type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| UnifiedFile |
Default constructor.
|
Methods
| Name | Description | |
|---|---|---|
| CopyFile |
Copies the content of one file to the other. If a file is versioned a checkout
of the file instance is called before atempt to write new data from source file
using the Stream from OpenWrite() in destination. Also Summary data is copied
from source to destination using the Dictionary property of the files.
At the end of copy a versioned file is checked in with empty comment.
| |
| CopySummary |
Copies the summary.
| |
| CopyTo | Overloaded. | |
| 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.) | |
| Delete |
Base class implementation of interface. Throws NotImplementedException.
| |
| Equals | (Inherited from Object.) | |
| 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.) | |
| 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.) | |
| MemberwiseClone | Overloaded. | |
| MoveTo | Overloaded. | |
| OnCheckedIn |
Base implementation on reaised event for checked in files.
| |
| OnCheckedOut |
Base implementation on reaised event for checked out files.
| |
| OnCheckingIn |
Base implementation on reaised event for checking in files.
| |
| OnCheckingOut |
Base implementation on reaised event for checking out files.
| |
| OnCopied |
Base implementation on reaised event for copied files.
| |
| OnCopying |
Base implementation on reaised event for copying files.
| |
| OnDeleted |
Base implementation on reaised event for deleted files.
| |
| OnDeleting |
Base implementation on reaised event for deleting files.
| |
| OnMoved |
Base implementation on reaised event for renamed files.
| |
| OnMoving |
Base implementation on reaised event for renaming files.
| |
| OnTransmitting |
Called when transmitting/downloading a UnifiedFile.
| |
| OnUndidCheckOut |
Base implementation on reaised event for undoed checked out files.
| |
| OnUndoingCheckOut |
Base implementation on reaised event for undoing checking out files.
| |
| Open | Overloaded. | |
| QueryAccess |
Gets the access level for the current user on this file.
| |
| QueryDistinctAccess |
Query if a user has access level on the current folder.
| |
| SetPageForAccessControl |
Method that admits control of which page to perform access control against.
| |
| ToString | (Inherited from Object.) | |
| TryAsVersioningFile |
Tries to cast this instance to a versioning file.
|
Fields
| Name | Description | |
|---|---|---|
| PageForAclCheck |
When a new page is created but not yet saved we need to hold parent for that page here so we can perform access check against it.
When Parent property is overriden the SetPageForAccessControl on parent should be called before parent is returned.
|
Properties
| Name | Description | |
|---|---|---|
| BypassAccessCheck |
Gets or sets a value indicating whether to bypass access check for file.
| |
| Changed |
Base class implementation of interface. Throws NotImplementedException.
(Inherited from VirtualFileEx.) | |
| Created |
Base class implementation of interface. Throws NotImplementedException.
| |
| Extension |
Gets the UnifiedFiles extension, for example '.doc'.
(Inherited from VirtualFileEx.) | |
| IsDirectory |
Gets a value that indicates that this is a virtual resource that should be treated as a file.
(Inherited from VirtualFile.) | |
| Length |
Base class implementation of interface. Throws NotImplementedException.
| |
| LocalPath |
Gets the local path. Base class returns null
(Inherited from VirtualFileEx.) | |
| Name |
Gets the display name of the virtual resource.
(Inherited from VirtualFileBase.) | |
| Parent |
Parent UnifiedDirectory of the current UnifiedFile.
| |
| PermanentLinkVirtualPath |
Gets the permanent link virtual path.
| |
| Provider |
Gets the virtual path provider that handles this directory.
| |
| Summary |
Gets the summary for the file.
| |
| VirtualPath |
Gets the virtual file path.
(Inherited from VirtualFileBase.) |
Events
| Name | Description | |
|---|---|---|
| UnifiedFileChanged |
Raised when a file is changed.
| |
| UnifiedFileCheckedIn |
Raised when a file is checked in.
| |
| UnifiedFileCheckedOut |
Raised when a file is checked out.
| |
| UnifiedFileCheckingIn |
Raised when a file is about to be checked in.
| |
| UnifiedFileCheckingOut |
Raised when a file is about to be checked out.
| |
| UnifiedFileCopied |
Raised when a file is copied.
| |
| UnifiedFileCopying |
Raised when a file is about to be copied.
| |
| UnifiedFileDeleted |
Raised when a file is deleted.
| |
| UnifiedFileDeleting |
Raised when a file is about to be deleted.
| |
| UnifiedFileMoved |
Raised when a file is moved.
| |
| UnifiedFileMoving |
Raised when a file is about to be moved.
| |
| UnifiedFileTransmitting |
Raised when a file is about to be transmitted / downloaded.
| |
| UnifiedFileUndoedCheckOut |
Raised when a file is undo checked out.
| |
| UnifiedFileUndoingCheckOut |
Raised when a file is about to be undo checked out.
|