Exemplo n.º 1
0
 // dispose the extensions that implement IDisposable
 protected void DisposeExtensions()
 {
     if (_extensions != null)
     {
         _extensions.Dispose();
         _extensions = null;
     }
 }
Exemplo n.º 2
0
 // dispose the extensions that implement IDisposable
 protected void DisposeExtensions()
 {
     if (this.extensions != null)
     {
         this.extensions.Dispose();
         this.extensions = null;
     }
 }
Exemplo n.º 3
0
 // locks down the given extensions manager and runs cache metadata on the workflow definition
 protected void RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
 {
     ValidateWorkflow(extensionManager);
     _extensions = WorkflowInstanceExtensionManager.CreateInstanceExtensions(this.WorkflowDefinition, extensionManager);
     if (_extensions != null)
     {
         this.HasPersistenceModule = _extensions.HasPersistenceModule;
     }
 }