Пример #1
0
        public override bool Serialize(IMemoryStream Stream)
        {
            if (!Position.Serialize(Stream))
            {
                return(false);
            }

            return(true);
        }
Пример #2
0
        public bool Serialize(IMemoryStream Stream)
        {
            if (!Stream.Serialize(ref Id))
            {
                return(false);
            }
            if (!Position.Serialize(Stream))
            {
                return(false);
            }

            return(true);
        }