C# Class WopiHost.AbstractEditSession

Afficher le fichier Open project: petrsvihlik/WopiHost Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

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

Method Details

AbstractEditSession() protected méthode

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
Résultat System

Dispose() public méthode

Disposes of all allocated resources.
public Dispose ( ) : void
Résultat void

GetCheckFileInfo() public méthode

Gets information about a file.
public GetCheckFileInfo ( ) : CheckFileInfo
Résultat WopiHost.Models.CheckFileInfo

GetFileContent() public abstract méthode

Returns content of a file.
public abstract GetFileContent ( ) : byte[]
Résultat byte[]

SetFileContent() public abstract méthode

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