using System; using System.Collections; using System.Text; namespace P4API { public class P4RecordSet : P4BaseRecordSet, IEnumerable { internal P4RecordSet() { } private P4Record[] m_results; private P4Record[] _Results { get { if (m_results == null) { m_results = (P4Record[])TaggedOutputs.ToArray(typeof(P4Record)); } return m_results; } } public P4Record[] Records { get { return (P4Record[])_Results.Clone(); } } public string[] Messages { get { throw new System.NotImplementedException(); } } public P4Record this[int Index] //Indexer { get { return _Results[Index]; } } #region IEnumerable Members IEnumerator IEnumerable.GetEnumerator() { return _Results.GetEnumerator(); } #endregion } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#6 | 5830 | Shawn Hladky | P4.Net: reorg to support release branches | ||
#5 | 5824 | Shawn Hladky | P4.Net: Last bits of documentation for 0.9 | ||
#4 | 5812 | Shawn Hladky | P4.Net: More documentation. | ||
#3 | 5798 | Shawn Hladky |
P4.Net... still not ready for beta Added license to all files Added several doc files Misc bugs |
||
#2 | 5774 | Shawn Hladky |
P4.Net. A few bug fixes. Addes first draft of MSBuild custom tasks. |
||
#1 | 5432 | Shawn Hladky | Refactoring step 2 -- rename source files | ||
//guest/shawn_hladky/P4.Net/src/P4API/P4TaggedResult.cs | |||||
#4 | 5431 | Shawn Hladky |
Refactoring... step 1. |
||
#3 | 5373 | Shawn Hladky | P4.Net: Still WIP, but some things starting to work | ||
#2 | 5362 | Shawn Hladky | Chipping away at the API changes | ||
#1 | 5349 | Shawn Hladky |
Initial check-in for the new API interface. Nothing works yet, but it should compile at least. |