src/Foundation/Infrastructure/Gimela.Infrastructure.Serialization/FileSerializer.cs
/// <summary>
/// Deserialize an object from xml string.
/// </summary>
/// <typeparam name="T">Object type</typeparam>
/// <param name="xmlData">Xml data to deserialze to an object.</param>
/// <returns>Serialized string for the item</returns>
Deserialize an object from xml string.
Deserialize an object from xml string .
[SuppressMessage("Microsoft.Design", "CA1057:StringUriOverloadsCallSystemUriOverloads")]
    public static T LoadItem<T>(string xmlData)
    {
      T target = default(T);
      using (StringReader reader = new StringReader(xmlData))
      {
        target = LoadItem<T>(reader);
      }
      return target;
    }
[ SuppressMessage ( " " , " " ) ] public static T LoadItem < T > ( string xmlData ) { T target = default ( T ) ; using ( StringReader reader = new StringReader ( xmlData ) ) { target = LoadItem < T > ( reader ) ; } return target ; }
Deserialize an object from xml string.
Deserialize an object from xml string .
Serialized string for the item
Serialized string for the item
xmlData
string
Xml data to deserialze to an object.
Xml data to deserialze to an object .
typeparam
None