Click here to Skip to main content
15,881,812 members
Articles / Desktop Programming / WPF

MVVM PRISM: Modal Windows by using Interaction Request with Generics

Rate me:
Please Sign up or sign in to vote.
4.89/5 (18 votes)
19 Sep 2012CPOL3 min read 134.4K   4.1K   49  
How generics can help us in achieving modal windows in WPF PRISM
//Author: Gerard Castelló Viader
//Date: 10/16/2011

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GenericInteractionRequest.ViewModels
{
    public interface IGenericAdapter<T>
    {
        IGenericViewModel<T> ViewModel { get; }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Spain Spain
http://www.linkedin.com/in/gerard-castello-viader
https://github.com/gcastellov

Comments and Discussions