C# Class WopiHost.Controllers.FilesController

Inheritance: Microsoft.AspNet.Mvc.Controller
Datei anzeigen Open project: petrsvihlik/WopiHost

Private Properties

Property Type Description
GetCheckFileInfo Task
GetContents Task
GetEditSessionAsync Task
PerformAction Task
PutFile Task
ReturnLockMismatch StatusCodeResult
TryGetLock bool

Public Methods

Method Description
FilesController ( IWopiStorageProvider storageProvider, IWopiSecurityHandler securityHandler, IConfiguration configuration, IAuthorizationService authorizationService ) : System
PutRelativeFile ( string id, [ access_token ) : IActionResult

The PutRelativeFile operation creates a new file on the host based on the current file.

Private Methods

Method Description
GetCheckFileInfo ( string id, [ access_token ) : Task
GetContents ( string id, [ access_token ) : Task
GetEditSessionAsync ( string fileId ) : Task
PerformAction ( string id, [ access_token ) : Task
PutFile ( string id, [ access_token ) : Task
ReturnLockMismatch ( Microsoft.AspNet.Http.HttpResponse response, string existingLock = null, string reason = null ) : StatusCodeResult
TryGetLock ( string fileId, LockInfo &lockInfo ) : bool

Method Details

FilesController() public method

public FilesController ( IWopiStorageProvider storageProvider, IWopiSecurityHandler securityHandler, IConfiguration configuration, IAuthorizationService authorizationService ) : System
storageProvider IWopiStorageProvider
securityHandler IWopiSecurityHandler
configuration IConfiguration
authorizationService IAuthorizationService
return System

PutRelativeFile() public method

The PutRelativeFile operation creates a new file on the host based on the current file.
public PutRelativeFile ( string id, [ access_token ) : IActionResult
id string
access_token [
return IActionResult