Beispiel #1
0
        public static string Dehydrate(IHasId obj)
        {
            var item = new SerializedIHasId(obj);
            var rv   = item.Dehydrate();

            return(rv);
        }
Beispiel #2
0
        public static SerializedIHasId Parse(string data)
        {
            var item = new SerializedIHasId();

            item.Hydrate(data);
            return(item);
        }