C# Class FT.Model.Feedhelper

Mostra file Open project: friism/folketsting

Public Methods

Method Description
DetailsLink ( this q ) : string
LinkTo ( this s ) : string
PresentText ( this text, int maxLength ) : string

Private Methods

Method Description
ToUrlFriendly ( this s ) : string

This is lifted from a Stackoverflow post

Truncate ( this str, int maxlength, bool addDots ) : string

Method Details

DetailsLink() public static method

public static DetailsLink ( this q ) : string
q this
return string

LinkTo() public static method

public static LinkTo ( this s ) : string
s this
return string

PresentText() public static method

public static PresentText ( this text, int maxLength ) : string
text this
maxLength int
return string