public ReferenceFixup(string id, Fixup nestedFixup, object nestedTarget, XmlSerializationReader reader) { _ID = id; _nestedFixup = nestedFixup; _nestedTarget = nestedTarget; _reader = reader; }
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; }
/// <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)); }
public ArrayLikeFixup(LogicalType collectionType, Fixup memberFixup, object memberFixupTarget) : this(collectionType, null, memberFixup, memberFixupTarget, null) { }