C# Class Subtext.Framework.Tags

Static class used to retrieve tags from the data store. Tags are simple enough that generic collections are used instead of custom Tag objects.
Mostra file Open project: ayende/Subtext

Public Methods

Method Description
ComputeWeight ( double factor, double standardDeviation ) : int
GetTopTags ( int itemCount ) : IList

Gets the top tags.

SetTagsOnEntry ( Entry entry ) : void

Parses and sets set of tags on the entry.

SetTagsOnEntry ( int entryId, IList tags ) : void

Sets the tags on entry.

Method Details

ComputeWeight() public static method

public static ComputeWeight ( double factor, double standardDeviation ) : int
factor double
standardDeviation double
return int

GetTopTags() public static method

Gets the top tags.
public static GetTopTags ( int itemCount ) : IList
itemCount int The item count.
return IList

SetTagsOnEntry() public static method

Parses and sets set of tags on the entry.
public static SetTagsOnEntry ( Entry entry ) : void
entry Subtext.Framework.Components.Entry
return void

SetTagsOnEntry() public static method

Sets the tags on entry.
public static SetTagsOnEntry ( int entryId, IList tags ) : void
entryId int The entry id.
tags IList The tags.
return void