Merging changes
This commit is contained in:
1 parent
c4216d2272
commit
797816be7e
437 files changed
+54228
-28
No files matched your search
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
namespace BCG
|
||||
{
|
||||
/// <summary>
|
||||
/// This enumertaor is used to iterate through an IBlueRow when the IBlueRow is
|
||||
/// used as an IDictionary
|
||||
/// </summary>
|
||||
public class BlueRowDictionaryEnumerator : BlueRowEnumerator, IDictionaryEnumerator
|
||||
{
|
||||
public BlueRowDictionaryEnumerator (IBlueRow row) : base (row) {}
|
||||
public override object Current {get{return Entry;}}
|
||||
|
||||
#region IDictionaryEnumerator members
|
||||
public object Key {get{return myRow.schema[myPos].colName;}}
|
||||
|
||||
public object Value {get{return myRow[myPos];}}
|
||||
|
||||
public DictionaryEntry Entry {get{return new DictionaryEntry (Key, Value);}}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user