1 write to Type
NuGet.Protocol (1)
Plugins\Messages\Message.cs (1)
94
Type
= type;
18 references to Type
NuGet.Protocol (18)
Plugins\Connection.cs (3)
247
_logger.Write(new CommunicationLogMessage(_logger.Now, message.RequestId, message.Method, message.
Type
, MessageState.Sending));
254
_logger.Write(new CommunicationLogMessage(_logger.Now, message.RequestId, message.Method, message.
Type
, MessageState.Sent));
299
_logger.Write(new CommunicationLogMessage(_logger.Now, e.Message.RequestId, e.Message.Method, e.Message.
Type
, MessageState.Received));
Plugins\InboundRequestContext.cs (6)
107
_logger.Write(new TaskLogMessage(_logger.Now, request.RequestId, request.Method, request.
Type
, TaskState.Executing));
130
_logger.Write(new TaskLogMessage(_logger.Now, request.RequestId, request.Method, request.
Type
, TaskState.Completed));
191
_logger.Write(new TaskLogMessage(_logger.Now, response.RequestId, response.Method, response.
Type
, TaskState.Queued));
201
_logger.Write(new TaskLogMessage(_logger.Now, response.RequestId, response.Method, response.
Type
, TaskState.Executing));
213
_logger.Write(new TaskLogMessage(_logger.Now, response.RequestId, response.Method, response.
Type
, TaskState.Completed));
254
_logger.Write(new TaskLogMessage(_logger.Now, request.RequestId, request.Method, request.
Type
, TaskState.Queued));
Plugins\MessageConverter.cs (4)
119
if (!root.TryGetProperty(nameof(Message.
Type
), out var typeProp))
121
throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.Error_RequiredJsonPropertyMissing, nameof(Message.
Type
)));
174
writer.WriteString(nameof(Message.
Type
), value.
Type
.ToString());
Plugins\MessageDispatcher.cs (5)
495
_logger.Write(new CommunicationLogMessage(_logger.Now, message.RequestId, message.Method, message.
Type
, MessageState.Cancelled));
536
switch (e.Message.
Type
)
559
e.Message.
Type
));
565
switch (e.Message.
Type
)
584
e.Message.
Type
));