Click or drag to resize
AbstractStorageProvider Class
Abstract storage provider
Inheritance Hierarchy

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

The AbstractStorageProvider type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractStorageProvider
Constructor
Top
Methods
  NameDescription
Protected methodCreateDirectoryProviderObject
Creates new directory provider object
Protected methodCreateFileProviderObject
Creates new directory provider object
Public methodGetDirectoryInfo
Returns new instance of directory info.
Public methodGetFileInfo
Returns new instance of FileInfo object.
Public methodGetFileStream(String, FileMode)
Returns new instance of file stream.
Public methodGetFileStream(String, FileMode, FileAccess)
Returns new instance of file stream.
Public methodGetFileStream(String, FileMode, FileAccess, FileShare)
Returns new instance of file stream.
Public methodGetFileStream(String, FileMode, FileAccess, FileShare, Int32)
Returns new instance of file stream.
Protected methodGetFullPath
Converts the external mapped path to the internal path of the provider
Protected methodGetInternalProvider
Gets the storage provider based on the given path
Public methodStatic memberGetStorageProvider
Gets the storage provider based on the given path, updates the path so it matches the provider internal structure
Protected methodGetStorageProviderInternal
Gets the storage provider based on the given path
Public methodStatic memberGetTargetPhysicalPath
Maps virtual file system path to the target one. Remaps only paths inside the web application path structure.
Public methodStatic memberGetVirtualPhysicalPath
Maps target file system path to virtual path. Remaps only paths inside the web application path structure.
Public methodMapStoragePath
Maps the given storage path to a specific provider
Protected methodRemoveMappedProvider
Removes a mapped provider from the mapped collection
Public methodUnMapStoragePath
Removes the mapping to a storage provider
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Protected fieldStatic memberDIRECTORY
Directory suffix.
Protected fieldStatic memberDIRECTORY_INFO
Directory info suffix.
Protected fieldStatic memberDIRECTORY_LOCK
Directory lock suffix.
Protected fieldStatic memberFILE
File suffix.
Protected fieldStatic memberFILE_INFO
File info suffix.
Protected fieldStatic memberFILE_STREAM
File stream suffix.
Top
Properties
  NameDescription
Public propertyCustomRootPath
Gets or sets Custom path where files should be stored.
Public propertyCustomRootUrl
Specifies custom root URL for provider.
Public propertyStatic memberDefaultExternalStorageName
Name of the default external storage provider.
Public propertyStatic memberDefaultProvider
Default storage provider
Public propertyDirectoryProviderObject
Returns CMSDirectoryProvider object.
Public propertyExternalStorageName
Returns name of external storage (if current instance running on external storage).
Public propertyFileProviderObject
Returns AbstractFile object.
Public propertyHasCustomRootPath
Returns whether provider has custom root path.
Public propertyIsExternalStorage
Returns whether current instance running on external storage.
Protected propertyMappedPath
Mapped path
Public propertyName
Provider name
Protected propertyParentStorageProvider
Parent storage provider
Protected propertyProviderAssembly
Custom Provider library assembly.
Protected propertyProviderAssemblyName
Custom Provider library assembly.
Public propertyPublicExternalFolderObject
Gets or sets whether external storage folder object (i.e. Container for WA blob storage) has public access or not.
Protected propertyStartingPath
Starting path that the provider will use as prefix in case it is used
Public propertyStatic memberSystemProvider
System.IO storage provider
Top
See Also