Content.GetExcerpt Method

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

GetExcerpt(bool)

Gets an excerpt or summary suitable for display in lists and search results. Subclasses can override this method to supply their own implementation.

public virtual string GetExcerpt(bool html = false)

Parameters

html
bool

true to return html, false to return plain text.

Returns

string