C# Class MvcNewsletter.Repository.CacheRepo

ファイルを表示 Open project: axshon/HTML-5-Ellipse-Tours

Public Methods

Method Description
AddUser ( Cache cache, string email, string firstName, string lastName ) : JsonValue
ClearCache ( Cache cache ) : void
EmailExists ( Cache cache, string email ) : bool
GetAllUsers ( Cache cache ) : JsonValue
GetUser ( Cache cache, string email ) : JsonValue

Method Details

AddUser() public static method

public static AddUser ( Cache cache, string email, string firstName, string lastName ) : JsonValue
cache System.Web.Caching.Cache
email string
firstName string
lastName string
return System.Json.JsonValue

ClearCache() public static method

public static ClearCache ( Cache cache ) : void
cache System.Web.Caching.Cache
return void

EmailExists() public static method

public static EmailExists ( Cache cache, string email ) : bool
cache System.Web.Caching.Cache
email string
return bool

GetAllUsers() public static method

public static GetAllUsers ( Cache cache ) : JsonValue
cache System.Web.Caching.Cache
return System.Json.JsonValue

GetUser() public static method

public static GetUser ( Cache cache, string email ) : JsonValue
cache System.Web.Caching.Cache
email string
return System.Json.JsonValue