1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / GetManager vs using new Manager()?

GetManager vs using new Manager()?

1 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    31 Aug 2012
    Link to this post
    Whats the difference between
    DynamicModuleManager dynamicModuleManager = DynamicModuleManager.GetManager();

    and

    using(DynamicModuleManager dynamicModuleManager = new DynamicModuleManager(){
     
    }

    ...I mean outside of the obvious that the second is disposed when it goes out of scope...what purpose does GetManager serve, is it a shared OA context or something?
1 posts, 0 answered