示例#1
0
        private static string GetSnackbarLocation(SnackbarLocation snackbarLocation)
        {
            switch (snackbarLocation)
            {
            case SnackbarLocation.Left:
                return("snackbar-left");

            case SnackbarLocation.Right:
                return("snackbar-right");

            default:
                return(null);
            }
        }
示例#2
0
        public static string GetName(this SnackbarLocation snackbarLocation)
        {
            switch (snackbarLocation)
            {
            case SnackbarLocation.Left:
                return("left");

            case SnackbarLocation.Right:
                return("right");

            case SnackbarLocation.None:
            default:
                return(null);
            }
        }
示例#3
0
        public static string GetName(this SnackbarLocation snackbarLocation)
        {
            switch (snackbarLocation)
            {
            case SnackbarLocation.Start:
                return("left");

            case SnackbarLocation.End:
                return("right");

            case SnackbarLocation.Default:
            default:
                return(null);
            }
        }