Exemplo n.º 1
0
        public void Updated(INakedObject nakedObject, ISession session, ILifecycleManager lifecycleManager, IMetamodelManager manager)
        {
            IAuditor auditor = GetAuditor(nakedObject, lifecycleManager, manager);

            auditor.ObjectUpdated(session.Principal, nakedObject.GetDomainObject());
        }
        public void Updated(INakedObjectAdapter nakedObjectAdapter, ISession session, ILifecycleManager lifecycleManager)
        {
            IAuditor auditor = GetAuditor(nakedObjectAdapter, lifecycleManager);

            auditor.ObjectUpdated(session.Principal, nakedObjectAdapter.GetDomainObject());
        }