Ejemplo n.º 1
0
 public void Clone(out IEnumFORMATETC newEnum)
 {
     newEnum = new FormatEnumerator(m_formats)
     {
         m_currentIndex = m_currentIndex
     };
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 6
0
 public void Clone(out IEnumFORMATETC newEnum)
 {
     newEnum = new FormatEnumerator(m_formats)
     {
         m_currentIndex = m_currentIndex
     };
 }
Ejemplo n.º 7
0
 // IEnumFORMATETC.Clone implementation.
 public void Clone(out IEnumFORMATETC ppenum)
 {
     ppenum = new FormatEnumerator(this);
 }
Ejemplo n.º 8
0
 // Copy constructor.  Used by the Clone method.
 private FormatEnumerator(FormatEnumerator formatEnumerator)
 {
     _formats = formatEnumerator._formats;
     _current = formatEnumerator._current;
 }
Ejemplo n.º 9
0
 public void Clone(out IEnumFORMATETC newEnum)
 {
     newEnum = new FormatEnumerator(_formats, _current);
 }
Ejemplo n.º 10
0
 public void Clone(out IEnumFORMATETC newEnum)
 {
     newEnum = new FormatEnumerator(this);
 }
Ejemplo n.º 11
0
 private FormatEnumerator(FormatEnumerator formatEnumerator)
 {
     _formats = formatEnumerator._formats;
     _current = formatEnumerator._current;
 }