C# Class BooksModel.BookExtensions

Show file Open project: ProfessionalCSharp/ProfessionalCSharp6

Public Methods

Method Description
ToBook ( this json ) : Book
ToBooks ( this json ) : IEnumerable
ToJson ( this book ) : string
ToJson ( this books ) : string

Method Details

ToBook() public static method

public static ToBook ( this json ) : Book
json this
return Book

ToBooks() public static method

public static ToBooks ( this json ) : IEnumerable
json this
return IEnumerable

ToJson() public static method

public static ToJson ( this book ) : string
book this
return string

ToJson() public static method

public static ToJson ( this books ) : string
books this
return string