상속: ISimplSerializationPre, ISimplSerializationPost, ISimplDeserializationPre, ISimplDeserializationPost
예제 #1
0
 private string MessageForXml(ElementState requestObj, int uidUsed)
 {
     string msg = SimplTypesScope.Serialize(requestObj, StringFormat.Xml);
     string ret = String.Format("content-length:{0}\r\nuid:{1}\r\n\r\n{2}", msg.Length, uidUsed, msg);
     return ret;
 }
예제 #2
0
 public void SetupInParent(ElementState newParent)
 {
     _elementById = newParent.ElementById;
 }
        public static MetaMetadata GetMetaMetadata(ElementState that)
        {
            if (that is MetaMetadata)
            {
                return (MetaMetadata) that;
            }
            ElementState parent	= that.Parent;

            return (parent == null) ? null : GetMetaMetadata(parent);
        }