public static void AddToCache(this HttpSessionStateBase session, IFrameworkFacade facade, IObjectFacade nakedObject, ObjectFlag flag = ObjectFlag.None) { session.AddToCache(facade, nakedObject, null, flag); }
public static void AddToCache(this HttpSessionStateBase session, INakedObjectsFramework framework, INakedObject nakedObject, ObjectFlag flag = ObjectFlag.None) { session.AddToCache(framework, nakedObject, null, flag); }
public static void AddToCache(this HttpSessionStateBase session, IFrameworkFacade facade, object domainObject, ObjectFlag flag = ObjectFlag.None) { var nakedObject = facade.GetObject(domainObject); session.AddToCache(facade, nakedObject, flag); }
public static void AddToCache(this HttpSessionStateBase session, INakedObjectsFramework framework, object domainObject, ObjectFlag flag = ObjectFlag.None) { INakedObject nakedObject = framework.GetNakedObject(domainObject); session.AddToCache(framework, nakedObject, flag); }