Exemplo n.º 1
0
    public static IDictionary <string, object> GetParametersByPageType(Type pageType)
    {
        IDictionary <string, object> result = new Dictionary <string, object>();

        if (NavigationParameters.ContainsKey(pageType))
        {
            result = NavigationParameters[pageType];
            NavigationParameters.Remove(pageType);
        }

        return(result);
    }