public static TResult AddOrSet <TResult>(this object primaryKey, TResult value, params object[] keys) { return(Singleton <TResult> .AddOrSet(value, primaryKey, keys)); }
public static TResult Get <TResult>(this object primaryKey, params object[] keys) { return(Singleton <TResult> .Get(primaryKey, keys)); }
public static TResult GetOrAdd <TResult>(this object primaryKey, Func <TResult> newInstance, params object[] keys) { return(Singleton <TResult> .GetOrAdd(newInstance, primaryKey, keys)); }
public static void Remove <TResult>(this object primaryKey, params object[] keys) { Singleton <TResult> .Remove(primaryKey, keys); }