public void WriteOperation(IOperation operation)
 {
     _transport.SendOperation(OperationCode.HandleOperation, new Dictionary <byte, object>
     {
         [(byte)OperationParameterCode.OperationId]   = _map.GetMappedOperation(operation.GetType()).Id,
         [(byte)OperationParameterCode.OperationData] = _serializer.WriteObject(operation.GetType(), operation)
     });
 }
 /// <exception cref="System.IO.IOException"></exception>
 public virtual void WriteObject(object @object)
 {
     _service.WriteObject(this, @object);
 }