C# Class Subtext.Framework.MetaTags

Static class used to retrieve meta tags from the data store. MetaTags are simple enough that generic collections are used instead of custom MetaTag objects.
Datei anzeigen Open project: ayende/Subtext

Public Methods

Method Description
Create ( MetaTag metaTag ) : int
Delete ( int metaTagId ) : bool
GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IPagedCollection
GetMetaTagsForEntry ( Entry entry, int pageIndex, int pageSize ) : IPagedCollection
Update ( MetaTag metaTag ) : bool

Method Details

Create() public static method

public static Create ( MetaTag metaTag ) : int
metaTag Subtext.Framework.Components.MetaTag
return int

Delete() public static method

public static Delete ( int metaTagId ) : bool
metaTagId int
return bool

GetMetaTagsForBlog() public static method

public static GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IPagedCollection
blog BlogInfo
pageIndex int
pageSize int
return IPagedCollection

GetMetaTagsForEntry() public static method

public static GetMetaTagsForEntry ( Entry entry, int pageIndex, int pageSize ) : IPagedCollection
entry Subtext.Framework.Components.Entry
pageIndex int
pageSize int
return IPagedCollection

Update() public static method

public static Update ( MetaTag metaTag ) : bool
metaTag Subtext.Framework.Components.MetaTag
return bool