Exemplo n.º 1
0
 Task <IIpcResult> IClient.Send(IIpcOperation operation)
 {
     Contract.Requires(operation != null);
     if (InternalClient != null)
     {
         if (global::BuildXL.Ipc.ExternalApi.Commands.Command.Deserialize(operation.Payload) is RegisterFilesForBuildManifestCommand)
         {
             // Override for RegisterFileForBuildManifestCommand (Always true)
             return(Task.FromResult(SendFn(operation)));
         }
         else
         {
             return(InternalClient.Send(operation));
         }
     }
     return(Task.FromResult(SendFn(operation)));
 }