C# Class DocGenerator.Slugger

Mostra file Open project: preemptive/DocGenerator

Public Properties

Property Type Description
SlugMaxChars int
SlugMaxWords int

Public Methods

Method Description
Slugify ( string text ) : string

Will strip all non-alphanumeric characters and replace all spaces with `-` to make a URL friendly "slug"

Private Methods

Method Description
Slugger ( ) : System

Method Details

Slugify() public static method

Will strip all non-alphanumeric characters and replace all spaces with `-` to make a URL friendly "slug"
public static Slugify ( string text ) : string
text string
return string

Property Details

SlugMaxChars public_oe static_oe property

public static int SlugMaxChars
return int

SlugMaxWords public_oe static_oe property

public static int SlugMaxWords
return int