2 implementations of ITranslator
MSBuildTaskHost (2)
BinaryTranslator.cs (2)
57
private class BinaryReadTranslator :
ITranslator
813
private class BinaryWriteTranslator :
ITranslator
73 references to ITranslator
MSBuildTaskHost (73)
AssemblyLoadInfo.cs (2)
100
public void Translate(
ITranslator
translator)
109
public static AssemblyLoadInfo FactoryForTranslation(
ITranslator
translator)
AssemblyNameExtension.cs (3)
176
internal AssemblyNameExtension(
ITranslator
translator) : this()
980
public void Translate(
ITranslator
translator)
990
(
ITranslator
t) => new AssemblyNameExtension(t),
BinaryTranslator.cs (2)
38
internal static
ITranslator
GetReadTranslator(Stream stream, BinaryReaderFactory buffer)
49
internal static
ITranslator
GetWriteTranslator(Stream stream)
BuildExceptionBase.cs (2)
73
internal static void WriteExceptionToTranslator(
ITranslator
translator, Exception exception)
116
internal static Exception ReadExceptionFromTranslator(
ITranslator
translator)
INodePacketFactory.cs (2)
13
internal delegate INodePacket NodePacketFactoryMethod(
ITranslator
translator);
43
void DeserializeAndRoutePacket(int nodeId, NodePacketType packetType,
ITranslator
translator);
ITranslatable.cs (1)
16
void Translate(
ITranslator
translator);
ITranslator.cs (2)
19
internal delegate T NodePacketValueFactory<T>(
ITranslator
translator);
26
internal delegate void ObjectTranslator<T>(
ITranslator
translator, ref T objectToTranslate);
LogMessagePacket.cs (2)
36
private LogMessagePacket(
ITranslator
translator)
45
internal static INodePacket FactoryForDeserialization(
ITranslator
translator)
LogMessagePacketBase.cs (17)
337
protected LogMessagePacketBase(
ITranslator
translator, TargetFinishedTranslator targetFinishedTranslator = null)
350
internal delegate void TargetFinishedTranslator(
ITranslator
translator, TargetFinishedEventArgs finishedEvent);
403
public void Translate(
ITranslator
translator)
422
internal void WriteToStream(
ITranslator
translator)
489
internal void ReadFromStream(
ITranslator
translator)
859
private void WriteEventToStream(BuildEventArgs buildEvent, LoggingEventType eventType,
ITranslator
translator)
911
private void WriteBuildWarningEventToStream(BuildWarningEventArgs buildWarningEventArgs,
ITranslator
translator)
938
private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs,
ITranslator
translator)
965
private void WriteTaskCommandLineEventToStream(TaskCommandLineEventArgs taskCommandLineEventArgs,
ITranslator
translator)
980
private void WriteBuildMessageEventToStream(BuildMessageEventArgs buildMessageEventArgs,
ITranslator
translator)
989
private void WriteResponseFileUsedEventToStream(ResponseFileUsedEventArgs responseFileUsedEventArgs,
ITranslator
translator)
1210
private BuildEventArgs ReadEventFromStream(LoggingEventType eventType,
ITranslator
translator)
1245
private BuildWarningEventArgs ReadBuildWarningEventFromStream(
ITranslator
translator, string message, string helpKeyword, string senderName)
1287
private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(
ITranslator
translator, string message, string helpKeyword, string senderName)
1329
private TaskCommandLineEventArgs ReadTaskCommandLineEventFromStream(
ITranslator
translator, string message, string helpKeyword, string senderName)
1347
private BuildMessageEventArgs ReadBuildMessageEventFromStream(
ITranslator
translator, string message, string helpKeyword, string senderName)
1357
private ResponseFileUsedEventArgs ReadResponseFileUsedEventFromStream(
ITranslator
translator, string message, string helpKeyword, string senderName)
NodeBuildComplete.cs (2)
66
public void Translate(
ITranslator
translator)
74
internal static NodeBuildComplete FactoryForDeserialization(
ITranslator
translator)
NodeEndpointOutOfProcBase.cs (1)
632
ITranslator
writeTranslator = BinaryTranslator.GetWriteTranslator(packetStream);
NodePacketFactory.cs (2)
50
public void DeserializeAndRoutePacket(int nodeId, NodePacketType packetType,
ITranslator
translator)
99
public void DeserializeAndRoutePacket(int nodeId,
ITranslator
translator)
NodeShutdown.cs (2)
105
public void Translate(
ITranslator
translator)
114
internal static NodeShutdown FactoryForDeserialization(
ITranslator
translator)
OutOfProcTaskHostNode.cs (1)
590
public void DeserializeAndRoutePacket(int nodeId, NodePacketType packetType,
ITranslator
translator)
TaskHostConfiguration.cs (5)
412
public void Translate(
ITranslator
translator)
446
objectTranslator: (
ITranslator
t, ref string s) => t.Translate(ref s),
453
objectTranslator: (
ITranslator
t, ref string s) => t.Translate(ref s),
460
objectTranslator: (
ITranslator
t, ref string s) => t.Translate(ref s),
471
internal static INodePacket FactoryForDeserialization(
ITranslator
translator)
TaskHostTaskCancelled.cs (2)
33
public void Translate(
ITranslator
translator)
41
internal static INodePacket FactoryForDeserialization(
ITranslator
translator)
TaskHostTaskComplete.cs (2)
238
public void Translate(
ITranslator
translator)
258
internal static INodePacket FactoryForDeserialization(
ITranslator
translator)
TaskParameter.cs (11)
225
public void Translate(
ITranslator
translator)
279
internal static TaskParameter FactoryForDeserialization(
ITranslator
translator)
340
private void TranslateITaskItemArray(
ITranslator
translator)
377
private void TranslateITaskItem(
ITranslator
translator)
394
private void WriteITaskItem(
ITranslator
translator, ITaskItem wrappedItem)
461
private void ReadITaskItem(
ITranslator
translator, ref ITaskItem wrappedItem)
485
private bool TranslateNullable<T>(
ITranslator
translator, T value)
505
private void TranslatePrimitiveType(
ITranslator
translator)
580
private void TranslatePrimitiveTypeArray(
ITranslator
translator)
662
private void TranslateValueType(
ITranslator
translator)
687
private void TranslateValueTypeArray(
ITranslator
translator)
TranslatorHelpers.cs (12)
30
this
ITranslator
translator,
50
void TranslateUsingValueFactory(
ITranslator
translator, ref T objectToTranslate)
59
this
ITranslator
translator,
67
this
ITranslator
translator,
76
this
ITranslator
translator,
84
this
ITranslator
translator,
93
this
ITranslator
translator,
103
this
ITranslator
translator,
114
this
ITranslator
translator,
152
public static void Translate(this
ITranslator
translator, ref CultureInfo cultureInfo)
174
public static void Translate(this
ITranslator
translator, ref Version version)
216
public static void Translate(this
ITranslator
translator, ref AssemblyName assemblyName)