public override INakedObjectAdapter Invoke(INakedObjectAdapter nakedObjectAdapter, INakedObjectAdapter[] parameters, ILifecycleManager lifecycleManager, IMetamodelManager manager, ISession session, INakedObjectManager nakedObjectManager, IMessageBroker messageBroker, ITransactionManager transactionManager)
 {
     profileManager.Begin(session, ProfileEvent.ActionInvocation, identifier.MemberName, nakedObjectAdapter, lifecycleManager);
     try {
         return(underlyingFacet.Invoke(nakedObjectAdapter, parameters, lifecycleManager, manager, session, nakedObjectManager, messageBroker, transactionManager));
     }
     finally {
         profileManager.End(session, ProfileEvent.ActionInvocation, identifier.MemberName, nakedObjectAdapter, lifecycleManager);
     }
 }
Esempio n. 2
0
 public override INakedObjectAdapter Invoke(INakedObjectAdapter nakedObjectAdapter, INakedObjectAdapter[] parameters, INakedObjectsFramework framework)
 {
     profileManager.Begin(framework.Session, ProfileEvent.ActionInvocation, identifier.MemberName, nakedObjectAdapter, framework.LifecycleManager);
     try {
         return(underlyingFacet.Invoke(nakedObjectAdapter, parameters, framework));
     }
     finally {
         profileManager.End(framework.Session, ProfileEvent.ActionInvocation, identifier.MemberName, nakedObjectAdapter, framework.LifecycleManager);
     }
 }
Esempio n. 3
0
 public override INakedObjectAdapter Invoke(INakedObjectAdapter nakedObjectAdapter, INakedObjectAdapter[] parameters, ILifecycleManager lifecycleManager, IMetamodelManager manager, ISession session, INakedObjectManager nakedObjectManager, IMessageBroker messageBroker, ITransactionManager transactionManager)
 {
     auditManager.Invoke(nakedObjectAdapter, parameters, IsQueryOnly, identifier, session, lifecycleManager);
     return(underlyingFacet.Invoke(nakedObjectAdapter, parameters, lifecycleManager, manager, session, nakedObjectManager, messageBroker, transactionManager));
 }
 public override INakedObjectAdapter Invoke(INakedObjectAdapter nakedObjectAdapter, INakedObjectAdapter[] parameters, INakedObjectsFramework framework)
 {
     auditManager.Invoke(nakedObjectAdapter, parameters, IsQueryOnly, identifier, framework.Session, framework.LifecycleManager);
     return(underlyingFacet.Invoke(nakedObjectAdapter, parameters, framework));
 }
 public override INakedObject Invoke(INakedObject nakedObject, INakedObject[] parameters, ILifecycleManager lifecycleManager, IMetamodelManager manager, ISession session, INakedObjectManager nakedObjectManager)
 {
     auditManager.Invoke(nakedObject, parameters, IsQueryOnly, identifier, session, lifecycleManager, manager);
     return(underlyingFacet.Invoke(nakedObject, parameters, lifecycleManager, manager, session, nakedObjectManager));
 }