/// <summary>
        /// Note: Preliminary code for generating a DGML markup string that represents the build resource structure (controllers, agents, hosts).
        /// </summary>
        /// <returns>Generated DGML document</returns>
        public string GenerateBuildResourcesDependencyGraph()
        {
            DgmlGenerator generator = new DgmlGenerator(this.buildServer);
            DirectedGraph dg        = generator.GenerateGraph();

            return(dg.Serialize());
        }
 /// <summary>
 /// Note: Preliminary code for generating a DGML markup string that represents the build resource structure (controllers, agents, hosts).
 /// </summary>
 /// <returns>Generated DGML document</returns>
 public string GenerateBuildResourcesDependencyGraph()
 {
     DgmlGenerator generator = new DgmlGenerator(this.buildServer);
     DirectedGraph dg = generator.GenerateGraph();
     return dg.Serialize();
 }