src/Azos.Web.Social/Social/SocialUserInfo.cs
/// <summary>
/// Deserializes instance from string, i.e. from database VARCHAR column
/// </summary>
Deserializes instance from string, i.e. from database VARCHAR column
Deserializes instance from string i . e . from database VARCHAR column
public static T DeserializeFromString<T>(string data) where T: SocialUserInfo
      {
        if (data==null) return null;
        var buf = Convert.FromBase64String(data);
        var ser = makeStringIntermediateSerializer();
        return ser.Deserialize(new MemoryStream(buf)) as T;
      }
public static T DeserializeFromString < T > ( string data ) where T : SocialUserInfo { if ( data == null ) return null ; var buf = Convert . FromBase64String ( data ) ; var ser = makeStringIntermediateSerializer ( ) ; return ser . Deserialize ( new MemoryStream ( buf ) ) as T ; }
Deserializes instance from string, i.e.
Deserializes instance from string i . e .
data
string