Method CopyTo
CopyTo(AttributeSource)
Copies the contents of this AttributeSource to the given target AttributeSource. The given instance has to provide all IAttributes this instance contains. The actual attribute implementations must be identical in both AttributeSource instances; ideally both AttributeSource instances should use the same AttributeSource.AttributeFactory. You can use this method as a replacement for RestoreState(AttributeSource.State), if you use CloneAttributes() instead of CaptureState().
Declaration
public void CopyTo(AttributeSource target)
Parameters
Type | Name | Description |
---|---|---|
AttributeSource | target |