C# Class BridgeStack.ApiMethodEnumHelpers

ApiMethodEnum extensions.
Show file Open project: bevacqua/BridgeStack

Public Methods

Method Description
GetCacheLifeSpan ( this method, IStackClient client ) : TimeSpan?

Gets the life span for cache items based on the extended ApiMethodEnum member.

Method Details

GetCacheLifeSpan() public static method

Gets the life span for cache items based on the extended ApiMethodEnum member.
public static GetCacheLifeSpan ( this method, IStackClient client ) : TimeSpan?
method this The API method for which to calculate the cache life span.
client IStackClient The governing instance.
return TimeSpan?