/// <summary> /// Returns a CardsCollection collection for cards for view of name /// </summary> /// <param name="name"></param> /// <returns></returns> public CardsCollection GetView(string name) { var cards = new CardsCollection(MingleProject, _model); MingleProject.GetView(name).ToList().ForEach(c => cards.Add(new Card(c, _model))); return(cards); }
public static void MyClassInitialize(TestContext testContext) { _mingle = new MingleServer(MingleHost, MINGLEUSER, MINGLEPASSWORD); _project = _mingle.GetProject("apitest"); }
/// <summary> /// Sends a murmur to Mingle /// </summary> /// <param name="murmur"></param> public void SendMurmur(string murmur) { MingleProject.SendMurmur(murmur); }
/// <summary> /// /// /// Create a new card /// </summary> /// <param name="type"></param> /// <param name="name"></param> /// <returns></returns> public Card CreateCard(string type, string name) { return(new Card(MingleProject.CreateCard(type, name), _model)); }
/// <summary> /// Calls the execute_mql API and returns an XElement of results /// </summary> /// <param name="mql"></param> /// <returns></returns> public XElement ExecMql(string mql) { return(MingleProject.ExecMql(mql)); }
/// <summary> /// Returns the CardType name of a card identified by cardNumber /// </summary> /// <param name="cardNumber"></param> /// <returns></returns> public string GetCardType(string cardNumber) { return(MingleProject.GetCardType(cardNumber)); }
/// <summary> /// Returns a Hashtable of CardProperty /// </summary> /// <param name="transitionOnly"></param> /// <returns></returns> public Hashtable GetCardValuedProperties(bool transitionOnly) { return(MingleProject.GetCardValuedProperties(transitionOnly)); }