C# Class MovingScrewdriver.Web.Extensions.DocumentSessionExtensions

Afficher le fichier Open project: Gutek/MovingScrewdriver

Méthodes publiques

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

public static GetCurrentUser ( this session ) : BlogOwner
session this
Résultat MovingScrewdriver.Web.Models.BlogOwner

GetNextPrevPost() public static méthode

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

GetUserByEmail() public static méthode

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

QueryForRecentComments() public static méthode

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