AccessQueryReplacementCopyContext Methods |
The AccessQueryReplacementCopyContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddObjectMapping<T> |
Adds a mapping between an old object reference and a new one. The default implementation of
UpdateReference<T> (T) will substitute
newObject everywhere it encounters oldObject.
(Inherited from CopyContext.) |
![]() | ClearObjectMapping |
Clears the list of mappings that has been created with calls to AddObjectMapping<T>(T, T). This is
useful if you want to reuse a CopyContext instance for a separate copy operation.
(Inherited from CopyContext.) |
![]() | Clone<T> |
Copies the specified object using the ICloneWithContext interface or the
ICloneable interface, with a preference on
ICloneWithContext.
(Inherited from CopyContext.) |
![]() | CloneIfNotMapped<T> |
Looks for a mapping for this object that was added with AddObjectMapping<T>(T, T). If one is found,
the object to which the specified one is mapped is returned. If one is not found, this method clones the
given object by calling Clone<T>(T). Derived classes can override this default behavior.
(Inherited from CopyContext.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObjectMapping<T> |
Gets the mapping for the specified object.
(Inherited from CopyContext.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UpdateReference<T> |
Updates a given reference, returning a reference to use in its place.
(Overrides CopyContext.UpdateReference<T>(T).) |