public static T Unmarshall(UnmarshallerContext context)
        {
            string text = context.ReadText();

            return((T)Convert.ChangeType(text, typeof(T), System.Globalization.CultureInfo.InvariantCulture));
        }
Пример #2
0
        public static T Unmarshall(UnmarshallerContext context)
        {
            string text = context.ReadText();

            return((T)Convert.ChangeType(text, typeof(T)));
        }