Petazon Business Directory list of hotels in Tamarac, HI and motels in Tamarac, HI. A comprehensive directory of resorts and accomodations in Tamarac, HI that allow you to bring your dog, cat or other pet.
While finally catching up on blogs I read, I ran across Brian Buttons recent post titled Enterprise Library and Object Builder. Whether you are using CAB, EntLib or Object Builder directly you should go read his post, as it is full of all kinds of nuggets. For example:
The way OB can tell whether or not to treat an instance of a singleton or not is through ObjectBuilder concepts called Locators and LifetimeContainers. LifetimeContainers, in OB-speak, manage the lifetime of named instances of objects. You can register an object and its name with a LifetimeContainer, and it will keep that object alive until such time as you dispose of the LifetimeContainer. And every LifetimeContainer is associated with a Locator. A Locator acts as a dictionary that maps instance names to objects, but it does it using WeakReferences – this means that storing something in a Locator will not prevent that object from being GCed. Tot keep an object alive, you need to provide the LifetimeContainer as well, which is what keeps the references in use, preventing the object from being scavenging out of existence.
Peter Provost is a life-long-learner, hacker, maker, agilista, musician and heavy metal fan. He lives in Colorado with his wife and two children and works as a Program Manager Lead on Microsoft's Visual Studio ALM tools.
All content on this blog are provided "AS IS" with no warranties, and confer no rights. Content on this site represents my opinions and do not reflect the opinion of my employer or sponsor(s).