C# Класс IBM.Cloudant.Client.CloudantClient

The main object for the Cloudant client public API.
This class is used for creating, deleting, or connecting to a Cloudant database.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
httpHelper HttpHelper

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

Метод Описание
CloudantClient ( CloudantClientBuilder builder ) : System

Constructs a new instance of this class and connects to the cloudant server using a builder class.

Database ( String dbname ) : Database

Creates a database object that represents a database on the server. However the database may not exist on the server yet. You should call IBM.Cloudant.Client.Database.EnsureExistsAsync to ensure the database exists on the server before performing reads or writes.

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

Метод Описание
InitHttpHelper ( List interceptors ) : void

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

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

Constructs a new instance of this class and connects to the cloudant server using a builder class.
public CloudantClient ( CloudantClientBuilder builder ) : System
builder CloudantClientBuilder Builder class.
Результат System

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

Creates a database object that represents a database on the server. However the database may not exist on the server yet. You should call IBM.Cloudant.Client.Database.EnsureExistsAsync to ensure the database exists on the server before performing reads or writes.
public Database ( String dbname ) : Database
dbname String name of database to access
Результат Database

Описание свойств

httpHelper публичное свойство

HttpHelper object used by this client instance to execute http requests.
public HttpHelper,IBM.Cloudant.Client httpHelper
Результат HttpHelper