using System; using System.Collections; using System.Text; namespace P4API { public class P4TaggedResult : P4Result, IEnumerable { internal P4TaggedResult() { } private P4ResultRecord[] _results; public P4ResultRecord[] Tags { get { return (P4ResultRecord[]) _results.Clone(); } } public string[] Infos { get { throw new System.NotImplementedException(); } } public P4ResultRecord this[int Index] //Indexer { get { return _results[Index]; } } #region IEnumerable Members IEnumerator IEnumerable.GetEnumerator() { return _results.GetEnumerator(); } #endregion } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 5432 | Shawn Hladky | Refactoring step 2 -- rename source files | ||
#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. |