using Exortech.NetReflector;
using Exortech.NetReflector.Util;
namespace ThoughtWorks.CruiseControl.Remote{
/// <summary>
/// Generate a serialiser for deserialising name/value pairs.
/// </summary>
public class NameValuePairSerialiserFactory
: ISerialiserFactory
{
#region Public methods
#region Create()
/// <summary>
/// Create the serialiser.
/// </summary>
/// <param name="memberInfo"></param>
/// <param name="attribute"></param>
/// <returns></returns>
public IXmlMemberSerialiser Create(ReflectorMember memberInfo, ReflectorPropertyAttribute attribute)
{
return new NameValuePairSerialiser(memberInfo, attribute, false);
}
#endregion
#endregion
}
}
|