메소드 | 설명 | |
---|---|---|
CheckCache ( Nancy.NancyContext context ) : |
Check to see if we have a cache entry - if we do, see if it has expired or not, if it hasn't then return it, otherwise return null;
|
|
SetCache ( Nancy.NancyContext context ) : void |
Adds the current response to the cache if required Only stores by Path and stores the response in a dictionary. Do not use this as an actual cache :-)
|
메소드 | 설명 | |
---|---|---|
InitialiseInternal ( TinyIoC container ) : void |
public CheckCache ( Nancy.NancyContext context ) : |
||
context | Nancy.NancyContext | Current context |
리턴 |
protected InitialiseInternal ( TinyIoC container ) : void | ||
container | TinyIoC | |
리턴 | void |
public SetCache ( Nancy.NancyContext context ) : void | ||
context | Nancy.NancyContext | Current context |
리턴 | void |