MVVM-Library

Here you can find an overview about all published articles from my series “My interpretation of Model-View-ViewModel (MVVM)” and the latest version of the source code, the binaries and the sample projects.

Parts

Download

Here it is: ViewModel.zip. As WordPress doesn’t allow zip-archives as files, please change the file extension manually from “.doc” to “.zip”.

I thought about martin’s suggestion again and decided that I will provide a download possibility from Skydrive, too:

Download from Skydrive (unfortunately embedding it does not work).

DotNetKicks Image

16 Responses to “MVVM-Library”

  1. martin Says:

    Hello,

    for providing downloads you can use the skydrive (skydrive.live.com) service from live.com.

    greetings

  2. winsharp93 Says:

    Hello martin,

    thanks for your tip!

    However, then I would have to care about possible link changes. I can imagine that skydrive will change to something like bingDrive (or so) in the future.
    And changing file extensions should be not that difficult :-)

    So I decided to host the files where the postings are.

    I hope you can comprehend my decision.

    Cheers
    winSharp93

  3. Yazid Says:

    Where is the PowerCollection.Dll ?

    Thx
    Yaz

  4. winsharp93 Says:

    >> Where is the PowerCollection.Dll ?
    Oh – I forgot to mention:
    It’s not a creation of mine, but it is available at CodePlex: Wintellect’s Power Collections for .NET.

    Thanks for your note!

    Cheers
    winSharp93

  5. Yazid Says:

    Excellent article, thanks, I did findf it. I have noticed that you are using the Contracts Dll. This reminds me of design by contract; you are calling require inside the methods. If I remmember correctly fom Bertrand meyer, I think this should be the client calling the require. You should be putting asserts and at the end of you methods you call the ensure.

    Cheers
    Yaz

  6. Yazid Says:

    Hello Again,

    I checked the Contract.Require using a debugger and it seems that the require gets executed before it steps into the method. So I was wrong.

    Cheers
    Yaz

  7. winsharp93 Says:

    >> I checked the Contract.Require using a debugger and it seems that the require gets executed before it steps into the method.
    Yes – that’s because of the rewriter.
    See also No Interface Without Contract? – Part 5: Using Microsoft Code Contracts.

  8. Yazid Says:

    How would the caller determine what are the pre-conditions? by trial and error?

    Thx
    Yaz

  9. winsharp93 Says:

    >> How would the caller determine what are the pre-conditions? by trial and error?
    No – that would be teh last way.
    Looking into the code would be quite comfortable.
    You can also view the “DLLNAME.Contract.dll” in the .NET Reflector.

    The Code Contracts team, however, announced a VS plugin to show the contracts for a member near the IntelliSense Popup.
    Sandcastle integration seems to planned, too.

    Cheers
    winSharp93

  10. Olli Says:

    Hallo winSharp93!

    Ich bin auf der Suche nach einer Problemlösung auf Deine Seite gestoßen. Bislang konnte ich keine Lösung finden, aber ich vermute, dass Du mit der Umsetzung eines WPF-Fensters ohne den Close-Button sehr nahe an dem bist, was ich brauche. Ich möchte in einem Tool die Höhe der Systemleiste ändern. Hintergrund ist, dass in der von mir benutzen RibbonControlsLibrary ein RibbonWindow die QuickAccessToolBar nicht vollständig anzeigt, wenn WindowState auf Maximized gesetzt ist.

    Kannst Du mir bei dem Problem weiterhelfen?

    Besten Dank und Grüße
    Olli

  11. winsharp93 Says:

    Please post in English!
    First a little summary of what Olli said: He wants to change the height of a RibbonWindows’s Titlebar as its QuickAccessToolbar is not fully visible when maximized.

    This sounds a little bit like an issue with the RibbonWindow: Does this project provide any way of reporting bugs?
    This might be the best way to solve.

    I do not know any easy way to change the size of a Windows’s Non-Client area.

    Cheers
    winSharp93

  12. SeeQuark Says:

    I really like your library but currently there are 3 missing files:
    – ViewModel/Focus/FocusControllingViewModel.cs,
    – ViewModel/Focus/IFocusController.cs and
    – View/Focus/FocusManager.cs

  13. winsharp93 Says:

    >> I really like your library but currently there are 3 missing files:
    You can simply ignore them; the project should still build.
    They are the remainings of a (non successful) attempt to control the focus in ViewModel classes. They are still in “my” solution but I deleted them when uploading it – maybe they will be included in a further version.

    Cheers
    winSharp93

  14. NeXoR Says:

    Hi winSharp, me again ;)

    The whole MVVM-Lib is awsome. I like the way, how you solve Problems with it.
    But why u did it for .NET 4?
    I know, there are some cool extensions, like the Threading Tasks, but in my opinion the most of us would use it in .NET 3.5

    Greetings from Austria :)

  15. Marcello Says:

    Hi…

    Will you be continuing this series of tutorials?

  16. winsharp93 Says:

    Thanks again for your interest!

    >> Will you be continuing this series of tutorials?
    Yes, of course I will.
    However, I am quite busy at the moment: Until last week I did a four-week vacation job and now school has begun.
    I hope I will be able to post a new blogpost this weekend – but no part of the MVVM-Series. They will follow in the future.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: