C# Class RaccoonBlog.Web.Infrastructure.Common.DocumentSessionExtensions

Datei anzeigen Open project: ayende/RaccoonBlog

Public Methods

Method Description
GetCommenter ( this session, System.Guid commenterKey ) : RaccoonBlog.Web.Models.Commenter
GetCommenter ( this session, string commenterKey ) : RaccoonBlog.Web.Models.Commenter
GetCurrentUser ( this session ) : RaccoonBlog.Web.Models.User
GetNextPrevPost ( this session, Post compareTo, bool isNext ) : RaccoonBlog.Web.ViewModels.PostReference
GetUserByEmail ( this session, string email ) : RaccoonBlog.Web.Models.User
QueryForRecentComments ( this documentSession, Func processQuery ) : Post>>.IList

Method Details

GetCommenter() public static method

public static GetCommenter ( this session, System.Guid commenterKey ) : RaccoonBlog.Web.Models.Commenter
session this
commenterKey System.Guid
return RaccoonBlog.Web.Models.Commenter

GetCommenter() public static method

public static GetCommenter ( this session, string commenterKey ) : RaccoonBlog.Web.Models.Commenter
session this
commenterKey string
return RaccoonBlog.Web.Models.Commenter

GetCurrentUser() public static method

public static GetCurrentUser ( this session ) : RaccoonBlog.Web.Models.User
session this
return RaccoonBlog.Web.Models.User

GetNextPrevPost() public static method

public static GetNextPrevPost ( this session, Post compareTo, bool isNext ) : RaccoonBlog.Web.ViewModels.PostReference
session this
compareTo RaccoonBlog.Web.Models.Post
isNext bool
return RaccoonBlog.Web.ViewModels.PostReference

GetUserByEmail() public static method

public static GetUserByEmail ( this session, string email ) : RaccoonBlog.Web.Models.User
session this
email string
return RaccoonBlog.Web.Models.User

QueryForRecentComments() public static method

public static QueryForRecentComments ( this documentSession, Func processQuery ) : Post>>.IList
documentSession this
processQuery Func
return Post>>.IList