[RTL]
[reactos.git] / reactos / tools / sysgen / RosFramework / Collections / RBuildDebugChannelCollection.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4
5 namespace SysGen.RBuild.Framework
6 {
7 public class RBuildDebugChannelCollection : List<RBuildDebugChannel>
8 {
9 public RBuildDebugChannel GetByName(string name)
10 {
11 foreach (RBuildDebugChannel channel in this)
12 {
13 if (channel.Name == name)
14 return channel;
15 }
16
17 return null;
18 }
19
20 public string Text
21 {
22 get
23 {
24 StringBuilder sBuilder = new StringBuilder();
25
26 foreach (RBuildDebugChannel channel in this)
27 {
28 sBuilder.Append(channel.Text);
29 }
30
31 return sBuilder.ToString();
32 }
33 }
34 }
35 }