C# Class BookShop.Models.Book

Exibir arquivo Open project: techtalk/SpecFlow-Examples Class Usage Examples

Private Properties

Property Type Description
OnAuthorChanged void
OnAuthorChanging void
OnIdChanged void
OnIdChanging void
OnPriceChanged void
OnPriceChanging void
OnTitleChanged void
OnTitleChanging void

Public Methods

Method Description
CreateBook ( global id, global author, global title, global price ) : Book

Create a new Book object.

Private Methods

Method Description
OnAuthorChanged ( ) : void
OnAuthorChanging ( global value ) : void
OnIdChanged ( ) : void
OnIdChanging ( global value ) : void
OnPriceChanged ( ) : void
OnPriceChanging ( global value ) : void
OnTitleChanged ( ) : void
OnTitleChanging ( global value ) : void

Method Details

CreateBook() public static method

Create a new Book object.
public static CreateBook ( global id, global author, global title, global price ) : Book
id global Initial value of the Id property.
author global Initial value of the Author property.
title global Initial value of the Title property.
price global Initial value of the Price property.
return Book