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

Afficher le fichier Open project: ayende/RaccoonBlog

Méthodes publiques

Méthode 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 méthode

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

GetCommenter() public static méthode

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

GetCurrentUser() public static méthode

public static GetCurrentUser ( this session ) : RaccoonBlog.Web.Models.User
session this
Résultat RaccoonBlog.Web.Models.User

GetNextPrevPost() public static méthode

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

GetUserByEmail() public static méthode

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

QueryForRecentComments() public static méthode

public static QueryForRecentComments ( this documentSession, Func processQuery ) : Post>>.IList
documentSession this
processQuery Func
Résultat Post>>.IList