1 write to Type
NuGet.Protocol (1)
Plugins\Messages\Message.cs (1)
95
Type
= 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)
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)
496
_logger.Write(new CommunicationLogMessage(_logger.Now, message.RequestId, message.Method, message.
Type
, MessageState.Cancelled));
539
switch (e.Message.
Type
)
562
e.Message.
Type
));
568
switch (e.Message.
Type
)
587
e.Message.
Type
));