Command parameters for FileUploadCommand. More...
Public Member Functions | |
FileUploadParameters (ICommandRequest request, IResourceTypeRepository resourceTypeRepository, INodeFactory nodeFactory) | |
Constructs a new instance of FileUploadParameters. More... | |
override async Task | InitializeAsync (CancellationToken cancellationToken) |
Asynchronously initializes the command parameters. More... | |
Properties | |
Stream | Stream [get] |
Gets the stream with the file data. More... | |
string | FileName [get] |
Gets the file name. More... | |
bool | AsPlainText [get] |
Properties inherited from CommandParameters | |
IResourceTypeRepository | ResourceTypeRepository [get] |
Gets the resource type repository. More... | |
INodeFactory | NodeFactory [get] |
Gets the node factory. More... | |
ICommandRequest | Request [get] |
Gets the command request. More... | |
IFolder | CurrentFolder [get] |
Gets the current folder instance. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CommandParameters | |
CommandParameters (ICommandRequest request, IResourceTypeRepository resourceTypeRepository, INodeFactory nodeFactory, bool ensureResourceIsValid) | |
Constructs a new instance of CommandParameters. More... | |
Command parameters for FileUploadCommand.
|
inline |
Constructs a new instance of FileUploadParameters.
request | An instance of command request. |
resourceTypeRepository | A resource type repository. |
nodeFactory | A node factory. |
|
inlinevirtual |
Asynchronously initializes the command parameters.
cancellationToken | A cancellation token. |
Reimplemented from CommandParameters.
Reimplemented in QuickUploadParameters.
|
get |
|
get |
Gets the file name.
|
get |
Gets the stream with the file data.