@@ -64,6 +64,19 @@ public interface IHost
6464 /// <typeparam name="T">The type of the value to be converted to a line.</typeparam>
6565 void WriteLine < T > ( T line , Color color = Color . Default ) ;
6666
67+ /// <summary>
68+ /// Writes a line to stdOut.
69+ /// <example>
70+ /// <code>
71+ /// WriteLine("Hello !");
72+ /// WriteLine("Hello !!!", Color.Highlighted);
73+ /// </code>
74+ /// </example>
75+ /// </summary>
76+ /// <param name="line">Any value that will be converted to a line.</param>
77+ /// <typeparam name="T">The type of the value to be converted to a line.</typeparam>
78+ void WriteLine < T > ( params Text [ ] line ) ;
79+
6780 /// <summary>
6881 /// Writes an error to stdErr. This error will affect the summary run statistics.
6982 /// <example>
@@ -77,6 +90,17 @@ public interface IHost
7790 /// <param name="errorId">Unique error identifier, optional.</param>
7891 void Error ( string ? error , string ? errorId = null ) ;
7992
93+ /// <summary>
94+ /// Writes an error to stdErr. This error will affect the summary run statistics.
95+ /// <example>
96+ /// <code>
97+ /// Error(new Text("Some "), new Text("error", Color.Error));
98+ /// </code>
99+ /// </example>
100+ /// </summary>
101+ /// <param name="error">Error message.</param>
102+ void Error ( params Text [ ] error ) ;
103+
80104 /// <summary>
81105 /// Writes a warning to stdOut. This warning will affect the summary run statistics.
82106 /// <example>
@@ -88,17 +112,39 @@ public interface IHost
88112 /// <param name="warning">Warning message.</param>
89113 void Warning ( string ? warning ) ;
90114
115+ /// <summary>
116+ /// Writes a warning to stdOut. This warning will affect the summary run statistics.
117+ /// <example>
118+ /// <code>
119+ /// Warning(new Text("Some "), new Text("warning", Color.Warning));
120+ /// </code>
121+ /// </example>
122+ /// </summary>
123+ /// <param name="warning">Warning message.</param>
124+ void Warning ( params Text [ ] warning ) ;
125+
91126 /// <summary>
92127 /// Writes a summary message to stdOut.
93128 /// <example>
94129 /// <code>
95- /// Info("Some info ");
130+ /// Info("Some summary ");
96131 /// </code>
97132 /// </example>
98133 /// </summary>
99134 /// <param name="summary">Summary message.</param>
100135 void Summary ( string ? summary ) ;
101136
137+ /// <summary>
138+ /// Writes a summary message to stdOut.
139+ /// <example>
140+ /// <code>
141+ /// Summary(new Text("Some "), new Text("summary", Color.Highlighted));
142+ /// </code>
143+ /// </example>
144+ /// </summary>
145+ /// <param name="summary">Summary message.</param>
146+ void Summary ( params Text [ ] summary ) ;
147+
102148 /// <summary>
103149 /// Writes an information message to stdOut.
104150 /// <example>
@@ -110,6 +156,17 @@ public interface IHost
110156 /// <param name="text">Information message.</param>
111157 void Info ( string ? text ) ;
112158
159+ /// <summary>
160+ /// Writes an information message to stdOut.
161+ /// <example>
162+ /// <code>
163+ /// Ingo(new Text("Some "), new Text("info", Color.Highlighted));
164+ /// </code>
165+ /// </example>
166+ /// </summary>
167+ /// <param name="text">Information message.</param>
168+ void Info ( params Text [ ] text ) ;
169+
113170 /// <summary>
114171 /// Writes a trace message to stdOut for the appropriate logging level.
115172 /// <example>
0 commit comments