예제 #1
0
 private static T GetCastedByteArray <T>(object v)
 {
     byte[] arr = Conversions.GetCastValue <byte[]>(v);
     return(Serializer.Deserialize <T>(arr));
 }
예제 #2
0
        private static T GetCastedXml <T>(object v)
        {
            string xml = Conversions.GetCastValue <string>(v);

            return(Serializer.XmlDeserialize <T>(xml));
        }