Commit Graph

16 Commits (539188be976d249d4c46b7d59596f67fe1d6f476)

Author SHA1 Message Date
dahall 3863d931a0 Fixed IEnumFromCom change that broke elements without default construtors. 2021-12-27 08:36:41 -07:00
dahall 8a2335ea21 Updated IEnumFromCom to support intialized (new) items so it covers structures and classes. 2021-12-20 10:51:04 -07:00
dahall 1be2db704d Extracted and fixed IEnumFromCom 2021-04-21 15:33:28 -06:00
dahall 011b3011d2 Improved error handling. 2021-04-20 19:26:05 -06:00
dahall e71d7949ca Fixed bug in IEnumFromCom<TItem> single object constructor 2021-04-20 19:16:22 -06:00
dahall cd75cd654d Added Vanara.Collections.ICOMEnum<T> interface to indicate COM interfaces that support the Enum/Reset pattern. Useful for simplifying getting IEnumerable runs from them. 2020-12-14 16:04:42 -07:00
dahall fd35f79e22 Removed IComEnumerator references - doesn't work due to Reflection/COM object limitations 2020-06-06 13:44:00 -06:00
dahall 7fc504f470 Added interface (IComEnumerator) to identify COM interfaces that support the Next/Reset pattern and a supporting class and extension method to make getting an IEnumerator<T> from them easy. 2020-06-05 14:41:26 -06:00
David Hall 33765e40ee Fixed condition on IEnumFromCom where TryGet looped forever. 2019-10-23 12:06:32 -06:00
David Hall 8bd79dd5ea Added a generic IEnumerator implementation 2019-10-22 08:26:16 -06:00
David Hall a127151135 Added IEnumFromCom to specialize IEnumFromNext for COM enum interfaces 2019-05-24 14:39:49 -06:00
David Hall c5467dfb7e Another 2.0 major commit. All tests working. 2018-11-19 21:18:50 -07:00
David Hall a30f82d282 Lots of assembly refactoring: split PInvoke.User32 so GDI functions are in separate assembly, moved system classes from Vanara.UI to Vanara.System, split off shell classes to Vanara.Windows.Shell 2017-12-12 18:41:40 -07:00
David Hall 8a3f943b11 Added tests around IEnumFromIndexer and fixed a bug related to the indexer property not being zero based 2017-11-28 09:52:34 -07:00
David Hall 951dc44dd8 Changed base of IEnumFromIndexer to IReadOnlyCollection since you mostly get it for free. 2017-11-28 08:52:03 -07:00
David Hall b44f91b5a1 Initial code push: Core, PInvoke.Shared and PInvoke.TaskSchd 2017-11-27 10:18:01 -07:00