8 instantiations of ChannelMessage
Microsoft.ML.Core (8)
Environment\HostEnvironmentBase.cs (8)
226
Dispatch(this, new
ChannelMessage
(ChannelMessageKind.Trace, sensitivity, msg));
231
Dispatch(this, new
ChannelMessage
(ChannelMessageKind.Trace, sensitivity, fmt, args));
236
Dispatch(this, new
ChannelMessage
(ChannelMessageKind.Error, sensitivity, msg));
241
Dispatch(this, new
ChannelMessage
(ChannelMessageKind.Error, sensitivity, fmt, args));
246
Dispatch(this, new
ChannelMessage
(ChannelMessageKind.Warning, sensitivity, msg));
251
Dispatch(this, new
ChannelMessage
(ChannelMessageKind.Warning, sensitivity, fmt, args));
256
Dispatch(this, new
ChannelMessage
(ChannelMessageKind.Info, sensitivity, msg));
261
Dispatch(this, new
ChannelMessage
(ChannelMessageKind.Info, sensitivity, fmt, args));
20 references to ChannelMessage
Microsoft.ML.Core (12)
Data\IHostEnvironment.cs (1)
247
public interface IChannel : IPipe<
ChannelMessage
>
Environment\ConsoleEnvironment.cs (8)
54
public void PrintMessage(IMessageSource sender,
ChannelMessage
msg)
89
var commChannel = sender as PipeBase<
ChannelMessage
>;
124
private void WriteHeader(TextWriter wr, PipeBase<
ChannelMessage
> commChannel)
332
Action<IMessageSource,
ChannelMessage
> dispatch)
376
AddListener<
ChannelMessage
>(PrintMessage);
389
private void PrintMessage(IMessageSource src,
ChannelMessage
msg)
408
return new Channel(this, parent, name, GetDispatchDelegate<
ChannelMessage
>());
476
return new Channel(Root, parent, name, GetDispatchDelegate<
ChannelMessage
>());
Environment\HostEnvironmentBase.cs (3)
211
/// <see cref="
ChannelMessage
"/>. Deriving classes can optionally override the Done() and the
214
protected abstract class ChannelBase : PipeBase<
ChannelMessage
>, IChannel
218
Action<IMessageSource,
ChannelMessage
> dispatch)
Microsoft.ML.Data (8)
MLContext.cs (1)
162
private void ProcessMessage(IMessageSource source,
ChannelMessage
message)
Utilities\LocalEnvironment.cs (7)
21
Action<IMessageSource,
ChannelMessage
> dispatch)
57
public void AddListener(Action<IMessageSource,
ChannelMessage
> listener)
58
=> AddListener<
ChannelMessage
>(listener);
63
public void RemoveListener(Action<IMessageSource,
ChannelMessage
> listener)
64
=> RemoveListener<
ChannelMessage
>(listener);
80
return new Channel(this, parent, name, GetDispatchDelegate<
ChannelMessage
>());
104
return new Channel(Root, parent, name, GetDispatchDelegate<
ChannelMessage
>());