BlipFace.View.Controls.Pager.ValidateCurrentPageIndex C# (CSharp) Method

ValidateCurrentPageIndex() private static method

private static ValidateCurrentPageIndex ( object value ) : bool
value object
return bool
        private static bool ValidateCurrentPageIndex(object value)
        {
            int val = (int) value;
            if (val < 0)
            {
                return false;
            }

            return true;
        }