Click or drag to resize
StorageProvider Class
Storage provider
Inheritance Hierarchy

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 12.0.0
Syntax
C#
public class StorageProvider : AbstractStorageProvider

The StorageProvider type exposes the following members.

Constructors
  NameDescription
Public methodStorageProvider
Creates new instance of custom storage provider.
Top
Properties
  NameDescription
Public propertyCustomRootPath
Gets or sets Custom path where files should be stored.
(Inherited from AbstractStorageProvider.)
Public propertyDirectoryProviderObject
Returns CMSDirectoryProvider object.
(Inherited from AbstractStorageProvider.)
Public propertyExternalStorageName
Returns name of external storage (if current instance running on external storage).
(Inherited from AbstractStorageProvider.)
Public propertyFileProviderObject
Returns AbstractFile object.
(Inherited from AbstractStorageProvider.)
Public propertyHasCustomRootPath
Returns whether provider has custom root path.
(Inherited from AbstractStorageProvider.)
Public propertyIsExternalStorage
Returns whether current instance is running on external storage.
(Inherited from AbstractStorageProvider.)
Public propertyIsSharedStorage
Gets or sets a value indicating whether current instance is running on shared storage.
(Inherited from AbstractStorageProvider.)
Protected propertyMappedPath
Mapped path
(Inherited from AbstractStorageProvider.)
Public propertyName
Provider name
(Inherited from AbstractStorageProvider.)
Protected propertyParentStorageProvider
Parent storage provider
(Inherited from AbstractStorageProvider.)
Protected propertyProviderAssembly
Custom Provider library assembly.
(Inherited from AbstractStorageProvider.)
Protected propertyProviderAssemblyName
Custom Provider library assembly.
(Inherited from AbstractStorageProvider.)
Public propertyPublicExternalFolderObject
Gets or sets whether external storage folder object (i.e. Container for WA blob storage) has public access or not.
(Inherited from AbstractStorageProvider.)
Top
Methods
  NameDescription
Public methodStatic memberCreateAmazonStorageProvider
Creates new instance of storage provider for files hosted in Amazon S3 cloud storage.
Public methodStatic memberCreateAzureStorageProvider
Creates new instance of storage provider for files hosted in Azure cloud storage.
Protected methodCreateDirectoryProviderObject
Creates new directory provider object
(Overrides AbstractStorageProviderCreateDirectoryProviderObject.)
Protected methodCreateFileProviderObject
Creates new directory provider object
(Overrides AbstractStorageProviderCreateFileProviderObject.)
Public methodStatic memberCreateFileSystemStorageProvider
Creates new instance of storage provider for System.IO file system.
Public methodGetDirectoryInfo
Returns new instance of directory info.
(Overrides AbstractStorageProviderGetDirectoryInfo(String).)
Public methodGetFileInfo
Returns new instance of FileInfo object.
(Overrides AbstractStorageProviderGetFileInfo(String).)
Public methodGetFileStream(String, FileMode)
Returns new instance of file stream.
(Overrides AbstractStorageProviderGetFileStream(String, FileMode).)
Public methodGetFileStream(String, FileMode, FileAccess)
Returns new instance of file stream.
(Overrides AbstractStorageProviderGetFileStream(String, FileMode, FileAccess).)
Public methodGetFileStream(String, FileMode, FileAccess, FileShare)
Returns new instance of file stream.
(Overrides AbstractStorageProviderGetFileStream(String, FileMode, FileAccess, FileShare).)
Public methodGetFileStream(String, FileMode, FileAccess, FileShare, Int32)
Returns new instance of file stream.
(Overrides AbstractStorageProviderGetFileStream(String, FileMode, FileAccess, FileShare, Int32).)
Protected methodGetFullPath
Converts the external mapped path to the internal path of the provider
(Inherited from AbstractStorageProvider.)
Protected methodGetInternalProvider
Gets the storage provider based on the given path.
(Inherited from AbstractStorageProvider.)
Protected methodGetStorageProviderInternal
Gets the storage provider based on the given path.
(Inherited from AbstractStorageProvider.)
Public methodMapStoragePath
Maps the given storage path to a specific provider
(Inherited from AbstractStorageProvider.)
Protected methodRemoveMappedProvider
Removes a mapped provider from the mapped collection
(Inherited from AbstractStorageProvider.)
Public methodUnMapStoragePath
Removes the mapping to a storage provider
(Inherited from AbstractStorageProvider.)
Top
See Also