C# Class Subtext.Framework.Util.Transform

Class used to provide various transforms such as the Emoticon transforms.
显示文件 Open project: ayende/Subtext

Public Methods

Method Description
EmoticonTransforms ( string formattedPost ) : string

Transforms emoticons into image references based on the settings within the emoticons.txt file in the webroot.

EmoticonsTransforms ( string formattedPost, string emoticonsFilePath ) : string
LoadTransformFile ( string filePath ) : List

Private Methods

Method Description
GetTransformFilePath ( string filename ) : string
PerformUserTransforms ( string stringToTransform, List userDefinedTransforms ) : string

Method Details

EmoticonTransforms() public static method

Transforms emoticons into image references based on the settings within the emoticons.txt file in the webroot.
public static EmoticonTransforms ( string formattedPost ) : string
formattedPost string The formatted post.
return string

EmoticonsTransforms() public static method

public static EmoticonsTransforms ( string formattedPost, string emoticonsFilePath ) : string
formattedPost string
emoticonsFilePath string
return string

LoadTransformFile() public static method

public static LoadTransformFile ( string filePath ) : List
filePath string
return List