C# Class MovingScrewdriver.Web.Extensions.DocumentSessionExtensions

Mostrar archivo Open project: Gutek/MovingScrewdriver

Public Methods

Method Description
GetCurrentUser ( this session ) : BlogOwner
GetNextPrevPost ( this session, Post compareTo, bool isNext ) : PostReference
GetUserByEmail ( this session, string email ) : BlogOwner
QueryForRecentComments ( this documentSession, Func processQuery ) : Post>>.IList

Method Details

GetCurrentUser() public static method

public static GetCurrentUser ( this session ) : BlogOwner
session this
return MovingScrewdriver.Web.Models.BlogOwner

GetNextPrevPost() public static method

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

GetUserByEmail() public static method

public static GetUserByEmail ( this session, string email ) : BlogOwner
session this
email string
return MovingScrewdriver.Web.Models.BlogOwner

QueryForRecentComments() public static method

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