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