C# Class GoogleCloudSamples.FakeBookStore

Inheritance: IBookStore
Mostrar archivo Open project: GoogleCloudPlatform/getting-started-dotnet Class Usage Examples

Public Properties

Property Type Description
UpdatedBook GoogleCloudSamples.Models.Book

Public Methods

Method Description
Create ( Book book ) : void
Delete ( long id ) : void
List ( int pageSize, string nextPageToken, string userId = null ) : BookList
Read ( long id ) : Book
Update ( Book book ) : void

Method Details

Create() public method

public Create ( Book book ) : void
book GoogleCloudSamples.Models.Book
return void

Delete() public method

public Delete ( long id ) : void
id long
return void

List() public method

public List ( int pageSize, string nextPageToken, string userId = null ) : BookList
pageSize int
nextPageToken string
userId string
return GoogleCloudSamples.Models.BookList

Read() public method

public Read ( long id ) : Book
id long
return GoogleCloudSamples.Models.Book

Update() public method

public Update ( Book book ) : void
book GoogleCloudSamples.Models.Book
return void

Property Details

UpdatedBook public_oe property

public Book,GoogleCloudSamples.Models UpdatedBook
return GoogleCloudSamples.Models.Book