|
The same may apply to the chapter covering MEF, but I did not read it as I am only interested in the Unity container at the moment.
Get me coffee and no one gets hurt!
|
|
|
|
|
That would be my focus also, as we are using Unity here.
So far, the author is covering the aspects of DI that I've noticed and questioned but not seen touched upon in such a clear way in other places. There are some things you get from Unity for example (like object lifetime that you can just take for granted).
Also, his simple first explanation of the decorator pattern was very cool.
I like books that give me a fresh angle like this.
|
|
|
|
|
Quote: (like object lifetime that you can just take for granted). Yes, but I like to specify the ContainerControlledLifetimeManager whenever it is not too restrictive. With this lifetime manager, it is just easier to implement the IDisposable interface in your classes. As far as I know it is the only option you have in Unity to guarantee the Dispose() method will fire when you dispose of the container.
Get me coffee and no one gets hurt!
|
|
|
|
|
|
Thanks for posting this. I have bookmarked your response for further study. My application is strictly a desktop app using Prism.Unity. Munq definitely seems faster than Unity, but I wonder how much difference it will make in my case?
Get me coffee and no one gets hurt!
|
|
|
|
|
|
|
Down under[^]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
May the 5th (not original)
Most people don’t know that back in 1912, Hellmann’s mayonnaise was manufactured in England. In fact, the Titanic was carrying 12,000 jars of the condiment scheduled for delivery in Vera Cruz, Mexico, which was to be the next port of call for the great ship after its stop in New York.
This would have been the largest single shipment of mayonnaise ever delivered to Mexico. But as we know, the great ship did not make it to New York. The ship hit an iceberg and sank, and the cargo was forever lost.
The people of Mexico, who were crazy about mayonnaise, and were eagerly awaiting its delivery, were disconsolate at the loss. Their anguish was so great, that they declared a National Day of Mourning, which they still observe to this day.
The National Day of Mourning occurs each year on May 5th and is known, of course, as Sinko de Mayo.
Arguing with a woman is like reading the Software License Agreement. In the end, you ignore everything and click "I agree".
Anonymous
|
|
|
|
|
It takes what, two minutes to make mayonnaise?
Bluddy Mexicans are just lazy!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Depends on how much vodka you add.
Arguing with a woman is like reading the Software License Agreement. In the end, you ignore everything and click "I agree".
Anonymous
|
|
|
|
|
The problem I have with cooking with alcohol is that there never seems to be enough left, by the time I need to add it.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
+1
Arguing with a woman is like reading the Software License Agreement. In the end, you ignore everything and click "I agree".
Anonymous
|
|
|
|
|
Evaporation's a b1tch.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
uhuh...
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Does that little green critter have a name? Or a species?
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
== Bob
In this present crisis, government is not the solution to our problem; government is the problem. ~ Ronald Reagan
|
|
|
|
|
Outfit worn in the bedroom suggests promise to take in wood (11)
Not here tomorrow, so here's another slightly smutty clue:
Frenzied topless model gets good stuffing in cabin (5)
98.4% of statistics are made up on the spot.
modified 4-May-17 8:40am.
|
|
|
|
|
The answers were:
1) SlumberWEAR
2) LODgE
98.4% of statistics are made up on the spot.
|
|
|
|
|
|
Despite these things looking comfortable, I can't be bothere to spend a hundred bucks on a pair, let alone wearing them in public.
I only have a signature in order to let @DalekDave follow my posts.
|
|
|
|
|
Nevermind. I just ordered a pair
I only have a signature in order to let @DalekDave follow my posts.
|
|
|
|
|
Too expensive for my liking. I generally spend 5 times less than that on shoes.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
I think they look ridiculous but what benefit are they supposed to have? Why would you buy them?
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
AFAIK, they look cool, easy to pack multiple pairs of shoes, lightweight. First two are irrelevant to me.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|