The AbstractStorageProvider type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| AbstractStorageProvider |
Constructor
|
Methods
| Name | Description | |
|---|---|---|
| CreateDirectoryProviderObject |
Creates new directory provider object
| |
| CreateFileProviderObject |
Creates new directory provider object
| |
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetDirectoryInfo |
Returns new instance of directory info.
| |
| GetFileInfo |
Returns new instance of FileInfo object.
| |
| GetFileStream(String, FileMode) |
Returns new instance of file stream.
| |
| GetFileStream(String, FileMode, FileAccess) |
Returns new instance of file stream.
| |
| GetFileStream(String, FileMode, FileAccess, FileShare) |
Returns new instance of file stream.
| |
| GetFileStream(String, FileMode, FileAccess, FileShare, Int32) |
Returns new instance of file stream.
| |
| GetFullPath |
Converts the external mapped path to the internal path of the provider
| |
Serves as a hash function for a particular type. (Inherited from | ||
| GetInternalProvider |
Gets the storage provider based on the given path
| |
| GetStorageProvider |
Gets the storage provider based on the given path, updates the path so it matches the provider internal structure
| |
| GetStorageProviderInternal |
Gets the storage provider based on the given path
| |
| GetTargetPhysicalPath |
Maps virtual file system path to the target one. Remaps only paths inside the web application path structure.
| |
Gets the (Inherited from | ||
| GetVirtualPhysicalPath |
Maps target file system path to virtual path. Remaps only paths inside the web application path structure.
| |
| MapStoragePath |
Maps the given storage path to a specific provider
| |
Creates a shallow copy of the current (Inherited from | ||
| RemoveMappedProvider |
Removes a mapped provider from the mapped collection
| |
Returns a string that represents the current object. (Inherited from | ||
| UnMapStoragePath |
Removes the mapping to a storage provider
|
Extension Methods
| Name | Description | |
|---|---|---|
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Fields
| Name | Description | |
|---|---|---|
| DIRECTORY |
Directory suffix.
| |
| DIRECTORY_INFO |
Directory info suffix.
| |
| DIRECTORY_LOCK |
Directory lock suffix.
| |
| FILE |
File suffix.
| |
| FILE_INFO |
File info suffix.
| |
| FILE_STREAM |
File stream suffix.
|
Properties
| Name | Description | |
|---|---|---|
| CustomRootPath |
Gets or sets Custom path where files should be stored.
| |
| CustomRootUrl |
Specifies custom root URL for provider.
| |
| DefaultExternalStorageName |
Name of the default external storage provider.
| |
| DefaultProvider |
Default storage provider
| |
| DirectoryProviderObject |
Returns CMSDirectoryProvider object.
| |
| ExternalStorageName |
Returns name of external storage (if current instance running on external storage).
| |
| FileProviderObject |
Returns AbstractFile object.
| |
| HasCustomRootPath |
Returns whether provider has custom root path.
| |
| IsExternalStorage |
Returns whether current instance running on external storage.
| |
| MappedPath |
Mapped path
| |
| Name |
Provider name
| |
| ParentStorageProvider |
Parent storage provider
| |
| ProviderAssembly |
Custom Provider library assembly.
| |
| ProviderAssemblyName |
Custom Provider library assembly.
| |
| PublicExternalFolderObject |
Gets or sets whether external storage folder object (i.e. Container for WA blob storage) has public access or not.
| |
| StartingPath |
Starting path that the provider will use as prefix in case it is used
| |
| SystemProvider |
System.IO storage provider
|
See Also