C# 클래스 RaccoonBlog.Web.Infrastructure.Common.DocumentSessionExtensions

파일 보기 프로젝트 열기: ayende/RaccoonBlog

공개 메소드들

메소드 설명
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

메소드 상세

GetCommenter() 공개 정적인 메소드

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

GetCommenter() 공개 정적인 메소드

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

GetCurrentUser() 공개 정적인 메소드

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

GetNextPrevPost() 공개 정적인 메소드

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

GetUserByEmail() 공개 정적인 메소드

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

QueryForRecentComments() 공개 정적인 메소드

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