Esempio n. 1
0
        private static string GetTag <T>(T value)
        {
            string typeTag;

            try
            {
                typeTag = SerializerFactory.GetTag(value);
            }
            catch (KeyNotFoundException e)
            {
                throw new OscSerializerException(value.GetType(), e);
            }

            return(typeTag);
        }