public void Clone(out IEnumFORMATETC newEnum) { newEnum = new FormatEnumerator(m_formats) { m_currentIndex = m_currentIndex }; }
public void Clone(out IEnumFORMATETC ppenum) { Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "FormatEnumerator: Clone"); FORMATETC[] temp = new FORMATETC[formats.Count]; formats.CopyTo(temp, 0); ppenum = new FormatEnumerator(parent, temp); }
private FormatEnumerator(FormatEnumerator source) { _parent = source._parent; _current = 0; _formats.AddRange(source._formats); }
public void Clone(out IEnumFORMATETC ppenum) { Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "FormatEnumerator: Clone"); ppenum = new FormatEnumerator(this); }
// IEnumFORMATETC.Clone implementation. public void Clone(out IEnumFORMATETC ppenum) { ppenum = new FormatEnumerator(this); }
// Copy constructor. Used by the Clone method. private FormatEnumerator(FormatEnumerator formatEnumerator) { _formats = formatEnumerator._formats; _current = formatEnumerator._current; }
public void Clone(out IEnumFORMATETC newEnum) { newEnum = new FormatEnumerator(_formats, _current); }
public void Clone(out IEnumFORMATETC newEnum) { newEnum = new FormatEnumerator(this); }
private FormatEnumerator(FormatEnumerator formatEnumerator) { _formats = formatEnumerator._formats; _current = formatEnumerator._current; }