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);
     }
 }
 public override void Invoke(INakedObjectAdapter nakedObjectAdapter, ISession session, ILifecycleManager lifecycleManager, IMetamodelManager metamodelManager)
 {
     profileManager.Begin(session, associatedEvent, "", nakedObjectAdapter, lifecycleManager);
     try {
         underlyingFacet.Invoke(nakedObjectAdapter, session, lifecycleManager, metamodelManager);
     }
     finally {
         profileManager.End(session, associatedEvent, "", nakedObjectAdapter, lifecycleManager);
     }
 }
Esempio n. 4
0
 public override void SetProperty(INakedObjectAdapter nakedObjectAdapter, INakedObjectAdapter nakedValue, ITransactionManager transactionManager, ISession session, ILifecycleManager lifecycleManager)
 {
     profileManager.Begin(session, ProfileEvent.PropertySet, PropertyName, nakedObjectAdapter, lifecycleManager);
     try {
         underlyingFacet.SetProperty(nakedObjectAdapter, nakedValue, transactionManager, session, lifecycleManager);
     }
     finally {
         profileManager.End(session, ProfileEvent.PropertySet, PropertyName, nakedObjectAdapter, lifecycleManager);
     }
 }