Property | Type | Description | |
---|---|---|---|
UserDirectoryName | string |
Method | Description | |
---|---|---|
DeleteFile ( string user, string fileIdent ) : bool |
Deletes the file.
|
|
GetAllUserFileInfos ( string user ) : IEnumerable |
Gets all user files.
|
|
GetFileInfo ( string user, string fileIdent ) : FileViewModel |
Gets the file info.
|
|
SanitizeFileName ( string fileName ) : string |
Sanitizes the name of the file.
|
|
SaveFile ( string user, string fileIdent, Stream fileStream ) : bool |
Saves the file.
|
Method | Description | |
---|---|---|
FileBrowserCommands ( IAppInfoService appInfo ) : System |
public DeleteFile ( string user, string fileIdent ) : bool | ||
user | string | The user. |
fileIdent | string | The file ident. |
return | bool |
public GetAllUserFileInfos ( string user ) : IEnumerable |
||
user | string | The user. |
return | IEnumerable |
public GetFileInfo ( string user, string fileIdent ) : FileViewModel | ||
user | string | The user. |
fileIdent | string | The file ident. |
return | FileViewModel |
public static SanitizeFileName ( string fileName ) : string | ||
fileName | string | Name of the file. |
return | string |
public SaveFile ( string user, string fileIdent, Stream fileStream ) : bool | ||
user | string | The user. |
fileIdent | string | The file ident. |
fileStream | Stream | The file stream. |
return | bool |