The StorageProvider type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
StorageProvider |
Constructor - Default file system provider
| |
StorageProvider(String) |
Constructor - File system provider with starting path
| |
StorageProvider(String, String) |
Constructor
|
Methods
Name | Description | |
---|---|---|
CreateDirectoryProviderObject |
Creates new directory provider object
(Overrides AbstractStorageProvider CreateDirectoryProviderObject .) | |
CreateFileProviderObject |
Creates new directory provider object
(Overrides AbstractStorageProvider CreateFileProviderObject .) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDirectoryInfo |
Returns new instance of directory info.
(Overrides AbstractStorageProvider GetDirectoryInfo(String).) | |
GetFileInfo |
Returns new instance of FileInfo object.
(Overrides AbstractStorageProvider GetFileInfo(String).) | |
GetFileStream(String, FileMode) |
Returns new instance of file stream.
(Overrides AbstractStorageProvider GetFileStream(String, FileMode).) | |
GetFileStream(String, FileMode, FileAccess) |
Returns new instance of file stream.
(Overrides AbstractStorageProvider GetFileStream(String, FileMode, FileAccess).) | |
GetFileStream(String, FileMode, FileAccess, FileShare) |
Returns new instance of file stream.
(Overrides AbstractStorageProvider GetFileStream(String, FileMode, FileAccess, FileShare).) | |
GetFileStream(String, FileMode, FileAccess, FileShare, Int32) |
Returns new instance of file stream.
(Overrides AbstractStorageProvider GetFileStream(String, FileMode, FileAccess, FileShare, Int32).) | |
GetFullPath |
Converts the external mapped path to the internal path of the provider
(Inherited from AbstractStorageProvider.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetInternalProvider |
Gets the storage provider based on the given path
(Inherited from AbstractStorageProvider.) | |
GetStorageProviderInternal |
Gets the storage provider based on the given path
(Inherited from AbstractStorageProvider.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MapStoragePath |
Maps the given storage path to a specific provider
(Inherited from AbstractStorageProvider.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveMappedProvider |
Removes a mapped provider from the mapped collection
(Inherited from AbstractStorageProvider.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnMapStoragePath |
Removes the mapping to a storage provider
(Inherited from AbstractStorageProvider.) |
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 | |
---|---|---|
DEFAULT_STORAGE |
Assembly name of the default storage provider
|
Properties
Name | Description | |
---|---|---|
CustomRootPath |
Gets or sets Custom path where files should be stored.
(Inherited from AbstractStorageProvider.) | |
CustomRootUrl |
Specifies custom root URL for provider.
(Inherited from AbstractStorageProvider.) | |
DirectoryProviderObject |
Returns CMSDirectoryProvider object.
(Inherited from AbstractStorageProvider.) | |
ExternalStorageName |
Returns name of external storage (if current instance running on external storage).
(Inherited from AbstractStorageProvider.) | |
FileProviderObject |
Returns AbstractFile object.
(Inherited from AbstractStorageProvider.) | |
HasCustomRootPath |
Returns whether provider has custom root path.
(Inherited from AbstractStorageProvider.) | |
IsExternalStorage |
Returns whether current instance running on external storage.
(Inherited from AbstractStorageProvider.) | |
MappedPath |
Mapped path
(Inherited from AbstractStorageProvider.) | |
Name |
Provider name
(Inherited from AbstractStorageProvider.) | |
ParentStorageProvider |
Parent storage provider
(Inherited from AbstractStorageProvider.) | |
ProviderAssembly |
Custom Provider library assembly.
(Inherited from AbstractStorageProvider.) | |
ProviderAssemblyName |
Custom Provider library assembly.
(Inherited from AbstractStorageProvider.) | |
PublicExternalFolderObject |
Gets or sets whether external storage folder object (i.e. Container for WA blob storage) has public access or not.
(Inherited from AbstractStorageProvider.) | |
StartingPath |
Starting path that the provider will use as prefix in case it is used
(Inherited from AbstractStorageProvider.) |
See Also