Example #1
0
 public ReferenceFixup(string id, Fixup nestedFixup, object nestedTarget, XmlSerializationReader reader)
 {
     _ID           = id;
     _nestedFixup  = nestedFixup;
     _nestedTarget = nestedTarget;
     _reader       = reader;
 }
Example #2
0
 public ArrayLikeFixup(LogicalType collectionType, Hashtable idCache,
                       Fixup memberFixup, object memberFixupTarget,
                       string identifier)
 {
     _memberFixup       = memberFixup;
     _memberFixupTarget = memberFixupTarget;
     _identifier        = identifier;
     _IDCache           = idCache;
     m_elements         = new ArrayList();
     _collectionType    = collectionType;
     _elementType       = collectionType.TypeAccessor.NestedAccessors.Default.Type.Type;
 }
Example #3
0
 /// <summary>
 /// Use the identifier for the match also.  In the case of literal,
 /// or other embedded arrays, I want the target and the fixup.
 /// However, for encoded messages, many arrays have no fixup or
 /// target (i.e. they're just forward refs).  In this case, match by
 /// identifier.
 /// </summary>
 public bool MatchFixup(Fixup memberFixup, object memberFixupTarget, string identifier)
 {
     return((_memberFixup == memberFixup) &&
            (_memberFixupTarget == memberFixupTarget) &&
            (identifier == _identifier));
 }
Example #4
0
 public ArrayLikeFixup(LogicalType collectionType, Fixup memberFixup, object memberFixupTarget) :
     this(collectionType, null, memberFixup, memberFixupTarget, null)
 {
 }