コード例 #1
0
 /// <summary>
 /// Updates the configuration used for type settings.
 /// </summary>
 /// <param name="updatedConfig">The updated config.</param>
 public void UpdateConfig(RelayNodeConfig updatedConfig)
 {
     if (updatedConfig != null && updatedConfig.TypeSettings != null)
     {
         RelayMessage.SetCompressionImplementation(updatedConfig.TypeSettings.Compressor);
         _configuration = updatedConfig;
     }
 }