1 write to Type
NuGet.Protocol (1)
Plugins\Messages\Message.cs (1)
95Type = type;
18 references to Type
NuGet.Protocol (18)
Plugins\Connection.cs (3)
249_logger.Write(new CommunicationLogMessage(_logger.Now, message.RequestId, message.Method, message.Type, MessageState.Sending)); 256_logger.Write(new CommunicationLogMessage(_logger.Now, message.RequestId, message.Method, message.Type, MessageState.Sent)); 301_logger.Write(new CommunicationLogMessage(_logger.Now, e.Message.RequestId, e.Message.Method, e.Message.Type, MessageState.Received));
Plugins\InboundRequestContext.cs (6)
109_logger.Write(new TaskLogMessage(_logger.Now, request.RequestId, request.Method, request.Type, TaskState.Executing)); 132_logger.Write(new TaskLogMessage(_logger.Now, request.RequestId, request.Method, request.Type, TaskState.Completed)); 193_logger.Write(new TaskLogMessage(_logger.Now, response.RequestId, response.Method, response.Type, TaskState.Queued)); 203_logger.Write(new TaskLogMessage(_logger.Now, response.RequestId, response.Method, response.Type, TaskState.Executing)); 215_logger.Write(new TaskLogMessage(_logger.Now, response.RequestId, response.Method, response.Type, TaskState.Completed)); 256_logger.Write(new TaskLogMessage(_logger.Now, request.RequestId, request.Method, request.Type, TaskState.Queued));
Plugins\MessageConverter.cs (4)
119if (!root.TryGetProperty(nameof(Message.Type), out var typeProp)) 121throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.Error_RequiredJsonPropertyMissing, nameof(Message.Type))); 174writer.WriteString(nameof(Message.Type), value.Type.ToString());
Plugins\MessageDispatcher.cs (5)
496_logger.Write(new CommunicationLogMessage(_logger.Now, message.RequestId, message.Method, message.Type, MessageState.Cancelled)); 539switch (e.Message.Type) 562e.Message.Type)); 568switch (e.Message.Type) 587e.Message.Type));