Example #1
0
        /// <summary>
        ///   <para>Sets color of profile icon to white-and-orange pattern.</para>
        /// </summary>
        /// <param name="widget">Widget to call method on.</param>
        /// <returns>Reference to provided <paramref name="widget"/>.</returns>
        /// <exception cref="ArgumentNullException">If <paramref name="widget"/> is a <c>null</c> reference.</exception>
        /// <seealso cref="ISoundCloudProfileIconWidget.Color(string)"/>
        public static ISoundCloudProfileIconWidget WhiteOrange(this ISoundCloudProfileIconWidget widget)
        {
            Assertion.NotNull(widget);

            return(widget.Color("white_orange"));
        }
Example #2
0
        /// <summary>
        ///   <para>Sets color of profile icon to transparent-white pattern.</para>
        /// </summary>
        /// <param name="widget">Widget to call method on.</param>
        /// <returns>Reference to provided <paramref name="widget"/>.</returns>
        /// <exception cref="ArgumentNullException">If <paramref name="widget"/> is a <c>null</c> reference.</exception>
        /// <seealso cref="ISoundCloudProfileIconWidget.Color(string)"/>
        public static ISoundCloudProfileIconWidget WhiteTransparent(this ISoundCloudProfileIconWidget widget)
        {
            Assertion.NotNull(widget);

            return(widget.Color("white_transparent"));
        }
Example #3
0
        /// <summary>
        ///   <para>Sets color of profile icon to black-and-white pattern.</para>
        /// </summary>
        /// <param name="widget">Widget to call method on.</param>
        /// <returns>Reference to provided <paramref name="widget"/>.</returns>
        /// <exception cref="ArgumentNullException">If <paramref name="widget"/> is a <c>null</c> reference.</exception>
        /// <seealso cref="ISoundCloudProfileIconWidget.Color(string)"/>
        public static ISoundCloudProfileIconWidget BlackWhite(this ISoundCloudProfileIconWidget widget)
        {
            Assertion.NotNull(widget);

            return(widget.Color("black_white"));
        }