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