Ejemplo n.º 1
0
        /// <summary>
        /// Sets the level field to a given level.
        /// </summary>
        /// <param name="level">level to use</param>
        /// <returns>current add form for chaining</returns>
        public AddPokemonForm WithLevel(string level)
        {
            ElementHelpers.SetFirstElementById("Level", level);

            return(this);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Sets the capture date field to a given date.
        /// </summary>
        /// <param name="date">date to use</param>
        /// <returns>current add form for chaining</returns>
        public AddPokemonForm WithCaptureDate(string date)
        {
            ElementHelpers.SetFirstElementById("Date", date);

            return(this);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Sets the location field to a given location.
        /// </summary>
        /// <param name="location">location to use</param>
        /// <returns>current add form for chaining</returns>
        public AddPokemonForm WithLocation(string location)
        {
            ElementHelpers.SetFirstElementById("Location", location);

            return(this);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Sets the nickname field to a given nickname.
        /// </summary>
        /// <param name="nickName">nickname to use</param>
        /// <returns>current add form for chaining</returns>
        public AddPokemonForm WithNickname(string nickName)
        {
            ElementHelpers.SetFirstElementById("Nickname", nickName);

            return(this);
        }