using System; using System.Collections; using System.Text; namespace P4API { public class P4UnParsedRecordSet : P4BaseRecordSet, IEnumerable { internal P4UnParsedRecordSet() { } private string[] m_outputs; private string[] _Outputs { get { if (m_outputs == null) { m_outputs = (string[])StringOutputs.ToArray(typeof(string)); } return m_outputs; } } public string[] Messages { get { return _Outputs; } } public string this[int index] //indexer { get { return _Outputs[index]; } } #region IEnumerable Members IEnumerator IEnumerable.GetEnumerator() { return _Outputs.GetEnumerator(); } #endregion } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 5830 | Shawn Hladky | P4.Net: reorg to support release branches | ||
#3 | 5824 | Shawn Hladky | P4.Net: Last bits of documentation for 0.9 | ||
#2 | 5798 | Shawn Hladky |
P4.Net... still not ready for beta Added license to all files Added several doc files Misc bugs |
||
#1 | 5432 | Shawn Hladky | Refactoring step 2 -- rename source files | ||
//guest/shawn_hladky/P4.Net/src/P4API/P4StringsResult.cs | |||||
#3 | 5431 | Shawn Hladky |
Refactoring... step 1. |
||
#2 | 5373 | Shawn Hladky | P4.Net: Still WIP, but some things starting to work | ||
#1 | 5349 | Shawn Hladky |
Initial check-in for the new API interface. Nothing works yet, but it should compile at least. |