///<summary>
 /// Writes this HLAfederation.HLAautoProvide to the specified stream.
 ///</summary>
 ///<param name="writer"> the output stream to write to</param>
 ///<param name="HLAautoProvide"> the property to serialize</param>
 ///<exception cref="System.IO.IOException"> if an error occurs</exception>
 public override void Serialize(HlaEncodingWriter writer, object HLAautoProvide)
 {
     try
     {
         HLAswitchXrtiSerializer.Serialize(writer, (HLAswitch)HLAautoProvide);
     }
     catch (IOException ioe)
     {
         throw new RTIinternalError(ioe.ToString());
     }
 }
 ///<summary>
 /// Writes this HLAfederation.HLAconveyRegionDesignatorSets to the specified stream.
 ///</summary>
 ///<param name="writer"> the output stream to write to</param>
 ///<param name="HLAconveyRegionDesignatorSets"> the property to serialize</param>
 ///<exception cref="System.IO.IOException"> if an error occurs</exception>
 public override void Serialize(HlaEncodingWriter writer, object HLAconveyRegionDesignatorSets)
 {
     try
     {
         HLAswitchXrtiSerializer.Serialize(writer, (HLAswitch)HLAconveyRegionDesignatorSets);
     }
     catch (IOException ioe)
     {
         throw new RTIinternalError(ioe.ToString());
     }
 }