Inheritance: IMingleProject
Exemple #1
0
        public MingleCardTypeCollection GetCardTypes()
        {
            var p = new ThoughtWorksMingleLib.MingleProject("test", FakeMingle);
            var x = new MingleCardTypeCollection(p);

            foreach (var c in XElement.Parse(new FileInfo(TestData).OpenText().ReadToEnd()).Elements("card_type"))
            {
                x.Add(new MingleCardType(c.ToString()));
            }
            return(x);
        }
Exemple #2
0
        public MingleTransitionCollection GetTransitions()
        {
            var p = new ThoughtWorksMingleLib.MingleProject("test", FakeMingle);
            var x = new MingleTransitionCollection(p);

            foreach (var c in XElement.Parse(new FileInfo(TestData).OpenText().ReadToEnd()).Elements("transition"))
            {
                x.Add(c.Element("name").Value, new MingleTransition(c.ToString(), p));
            }
            return(x);
        }
 /// <summary>
 /// Constructs a new MingleFavoriteCollection
 /// </summary>
 /// <param name="project">MingleProject object</param>
 public MingleFavoriteCollection(MingleProject project)
 {
     Project = project;
 }
 public static void MyClassInitialize(TestContext testContext)
 {
     _mingle = new MingleServer(MingleHost, MINGLEUSER, MINGLEPASSWORD);
     _project = _mingle.GetProject("apitest");
 }
 /// <summary>
 /// Constructs a new MingleTransitionCollection
 /// </summary>
 /// <param name="project">MingleProject object</param>
 public MingleTransitionCollection(MingleProject project)
 {
     Project = project;
 }
Exemple #6
0
 /// <summary>
 /// Constructs a new MingleCardTypeCollection
 /// </summary>
 /// <param name="project">MingleProject object</param>
 public MingleCardTypeCollection(MingleProject project)
 {
     Project = project;
 }
 /// <summary>
 /// Constructs a new MinglePropertyDefinitionCollection
 /// </summary>
 /// <param name="project">Mingle project object</param>
 public MinglePropertyDefinitionCollection(MingleProject project)
 {
     Project = project;
 }
 /// <summary>
 /// Constructs a new MingleFavorite from XML
 /// </summary>
 /// <param name="favorite">Favorite XML</param>
 /// <param name="project"></param>
 public MingleFavorite (string favorite, MingleProject project)
 {
     RawData = XElement.Parse(favorite);
     Project = project;
 }
Exemple #9
0
 /// <summary>
 /// Constructs a MingleProjectMemberCollection
 /// </summary>
 /// <param name="project">MingleProject object</param>
 public MingleProjectMemberCollection(MingleProject project)
 {
     Project = project;
 }
Exemple #10
0
 /// <summary>
 /// Constructs a new MingleFavorite from XML
 /// </summary>
 /// <param name="favorite">Favorite XML</param>
 /// <param name="project"></param>
 public MingleFavorite(string favorite, MingleProject project)
 {
     RawData = XElement.Parse(favorite);
     Project = project;
 }