Ejemplo n.º 1
0
        protected override void OnInitialize(nRoute.Components.ParametersCollection requestParameters)
        {
            if (requestParameters.ContainsKey(NavigationParams.NavigationParamsKey))
            {
                object[] rparams = requestParameters.GetValueOrDefault <object[]>(NavigationParams.NavigationParamsKey, null);

                if (rparams != null && rparams[0] is int)
                {
                    int value = (int)rparams[0];
                }
            }
        }