C# Class CkanDotNet.Api.Model.Package

Show file Open project: opencolorado/.NET-Wrapper-for-CKAN-API Class Usage Examples

Public Methods

Method Description
GetAbbreviatedNotes ( int length ) : string

Get the abbreviated notes (with no HTML formatting) truncated to a specific size (nearest word).

GetAbbreviatedTitle ( int length ) : string

Gets an abbreviated title truncated to a specific size (nearest word). All markup is removed.

Method Details

GetAbbreviatedNotes() public method

Get the abbreviated notes (with no HTML formatting) truncated to a specific size (nearest word).
public GetAbbreviatedNotes ( int length ) : string
length int
return string

GetAbbreviatedTitle() public method

Gets an abbreviated title truncated to a specific size (nearest word). All markup is removed.
public GetAbbreviatedTitle ( int length ) : string
length int The allowable length for a title.
return string