프로퍼티 | 타입 | 설명 | |
---|---|---|---|
UserDirectoryName | string |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
FileBrowserCommands ( IAppInfoService appInfo ) : System |
public DeleteFile ( string user, string fileIdent ) : bool | ||
user | string | The user. |
fileIdent | string | The file ident. |
리턴 | bool |
public GetAllUserFileInfos ( string user ) : IEnumerable |
||
user | string | The user. |
리턴 | IEnumerable |
public GetFileInfo ( string user, string fileIdent ) : FileViewModel | ||
user | string | The user. |
fileIdent | string | The file ident. |
리턴 | FileViewModel |
public static SanitizeFileName ( string fileName ) : string | ||
fileName | string | Name of the file. |
리턴 | string |
public SaveFile ( string user, string fileIdent, Stream fileStream ) : bool | ||
user | string | The user. |
fileIdent | string | The file ident. |
fileStream | Stream | The file stream. |
리턴 | bool |