C# Класс CmisSync.Lib.ClientBrandBase

The Base Class (template) for Client Brand support, based on CMIS The client code should derive from this class to support client brand
Показать файл Открыть проект

Открытые методы

Метод Описание
GetFile ( string pathname, Stream output ) : bool

Get the content for the client brand file

GetFileDateTime ( string pathname, System.DateTime &date ) : bool

Get the DateTime for the client brand file

SetupServer ( ServerCredentials credentials ) : bool

Setup the CMIS server to support Client Brand

TestServer ( ServerCredentials credentials ) : bool

Check if the CMIS server holds the client brand files

Приватные методы

Метод Описание
GetRepo ( ServerCredentials credentials ) : IRepository

Описание методов

GetFile() публичный Метод

Get the content for the client brand file
public GetFile ( string pathname, Stream output ) : bool
pathname string Client brand file path
output Stream Stream to hold the client brand file
Результат bool

GetFileDateTime() публичный Метод

Get the DateTime for the client brand file
public GetFileDateTime ( string pathname, System.DateTime &date ) : bool
pathname string Client brand file path
date System.DateTime The DateTime for the client brand file
Результат bool

SetupServer() публичный Метод

Setup the CMIS server to support Client Brand
public SetupServer ( ServerCredentials credentials ) : bool
credentials CmisSync.Lib.Config.ServerCredentials
Результат bool

TestServer() публичный Метод

Check if the CMIS server holds the client brand files
public TestServer ( ServerCredentials credentials ) : bool
credentials CmisSync.Lib.Config.ServerCredentials
Результат bool