The FakeStorageProvider type exposes the following members.
Back to Top
Back to Top
Back to Top
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.) | |
GetMappedProvider |
Returns new instance of TestStorageProvider and maps provider to given path.
| |
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 | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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.) |
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.) | |
DirectoryInfoObject |
DirectoryInfo object.
| |
DirectoryObject |
Directory object.
| |
DirectoryProviderObject |
Returns CMSDirectoryProvider object.
(Inherited from AbstractStorageProvider.) | |
ExternalStorageName |
Returns name of external storage (if current instance running on external storage).
(Inherited from AbstractStorageProvider.) | |
FileInfoObject |
FileInfo object.
| |
FileObject |
File object.
| |
FileProviderObject |
Returns AbstractFile object.
(Inherited from AbstractStorageProvider.) | |
FileStreamObject |
FileStream object.
| |
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