示例#1
0
        /// <summary>
        /// Returns card of the type indicated by cardType
        /// </summary>
        /// <param name="cardType"></param>
        /// <returns></returns>
        public MingleCardCollection GetCardsOfType(string cardType)
        {
            var filter = new MingleFilter {
                Name = "Type", Condition = "=", Value = cardType
            };

            return(GetCards(new Collection <string> {
                filter.FilterFormatString, "page=all"
            }));
        }
 /// <summary>
 /// Returns card of the type indicated by cardType
 /// </summary>
 /// <param name="cardType"></param>
 /// <returns></returns>
 public MingleCardCollection GetCardsOfType(string cardType)
 {
     var filter = new MingleFilter {Name = "Type", Condition = "=", Value = cardType};
     return GetCards(new Collection<string> { filter.FilterFormatString, "page=all" });
 }