コード例 #1
0
 public static void AddToCache(this HttpSessionStateBase session, IFrameworkFacade facade, IObjectFacade nakedObject, ObjectFlag flag = ObjectFlag.None)
 {
     session.AddToCache(facade, nakedObject, null, flag);
 }
コード例 #2
0
 public static void AddToCache(this HttpSessionStateBase session, INakedObjectsFramework framework, INakedObject nakedObject, ObjectFlag flag = ObjectFlag.None)
 {
     session.AddToCache(framework, nakedObject, null, flag);
 }
コード例 #3
0
        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);
        }
コード例 #4
0
        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);
        }