C# Class WopiHost.AbstractEditSession

Show file Open project: petrsvihlik/WopiHost Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes of all allocated resources.

GetCheckFileInfo ( ) : CheckFileInfo

Gets information about a file.

GetFileContent ( ) : byte[]

Returns content of a file.

SetFileContent ( byte newContent ) : Action

Accepts new content of a file and replaces old content with it.

Protected Methods

Method Description
AbstractEditSession ( IWopiFile file, string sessionId, string login, string name, string email, bool isAnonymous ) : System

Method Details

AbstractEditSession() protected method

protected AbstractEditSession ( IWopiFile file, string sessionId, string login, string name, string email, bool isAnonymous ) : System
file IWopiFile
sessionId string
login string
name string
email string
isAnonymous bool
return System

Dispose() public method

Disposes of all allocated resources.
public Dispose ( ) : void
return void

GetCheckFileInfo() public method

Gets information about a file.
public GetCheckFileInfo ( ) : CheckFileInfo
return WopiHost.Models.CheckFileInfo

GetFileContent() public abstract method

Returns content of a file.
public abstract GetFileContent ( ) : byte[]
return byte[]

SetFileContent() public abstract method

Accepts new content of a file and replaces old content with it.
public abstract SetFileContent ( byte newContent ) : Action
newContent byte Content to set
return Action