Commit Graph

415 Commits (7de0f5301480fc4126c5bebe0a2dd25d2c2f0886)

Author SHA1 Message Date
David Hall 6228da1b53 Added extension method InvokeGenericMethod to invoke a generic method using reflection on an object. 2018-09-10 15:49:58 -06:00
David Hall fe45d80854 Due to significant breaking changes related to the removal of conversion operators from GenericSafeHandle to IntPtr, changed version to 1.1.0. 2018-09-04 13:47:00 -06:00
David Hall 20d3d2df0d Removed conversion operator to IntPtr completely 2018-09-04 13:39:21 -06:00
David Hall 6b1ed53536 Made conversion operator from GenericSafeHandle to IntPtr explicit to minimize unintended conversions (#12) and updated all affected functions, including fixing those affected by unintended consequences. 2018-09-04 12:04:25 -06:00
David Hall 6237a60997 Minor, non-functional changes 2018-08-29 12:57:08 -06:00
David Hall 9c0c3b2967 Added HashSet<T> for compatibility with .NET 2.0 2018-08-28 14:51:01 -06:00
David Hall f5127ff918 Added VirtualReadOnlyDictionary and GenericVirtualReadOnlyDictionary implementations 2018-08-24 10:50:10 -06:00
David Hall 868e24b432 Added a generic base class (VirtualDictionary) for providing a dictionary that gets and sets its values using virtual method calls. Useful for exposing lookups into existing list environments like the file system, registry, service controller, etc. 2018-08-23 11:02:14 -06:00
David Hall 41dfd2f760 Added IReadOnlyDictionary for pre-,NET 4.5 2018-08-23 11:01:23 -06:00
David Hall 0f476165ca Updated all versions to 1.0.19 2018-08-18 21:37:35 -06:00
David Hall f844f6a8f2 Updated projects for 1.0.18 release 2018-08-10 11:54:21 -06:00
David Hall 69acd1fece Added more open constructor for derived classes. 2018-08-10 09:46:42 -06:00
David Hall acb6097003 Added GitBits and SetBits methods 2018-08-07 17:21:43 -06:00
David Hall 4ff39de15f Added missing XML comments 2018-07-31 07:10:20 -06:00
David Hall ee0d7a0e2c Fixed bug in SetBit 2018-07-27 09:09:43 -06:00
David Hall 5dfd395653 Added static methods for bit manipulation in BitHelper class. 2018-07-26 16:48:06 -06:00
David Hall 4795240bdc Fixed problem with not specifying decimal precidence 2018-07-21 14:13:09 -06:00
David Hall d6bce2e752 Refactored constructors for easier inheritance 2018-07-21 14:12:08 -06:00
David Hall b6ac026cdd Changed namespace 2018-07-17 11:28:07 -06:00
David Hall 255dc13239 Added ComConnectionPoint which provides wrapper around IConnectionPoint.Advise for COM source and sinks. 2018-07-16 15:07:31 -06:00
David Hall 39fa26ac60 Added composite formatter framework and a string formatter to handle Byte Size references. 2018-07-16 13:14:28 -06:00
David Hall 6c77595ea2 Updated correlation reports and project files after fixing analysis tool 2018-07-07 21:35:28 -06:00
David Hall a69e19ebc6 Updated project files and information to 1.0.16 2018-07-02 16:22:56 -06:00
David Hall 749d3702a9 Changed GetAttrForObj/Type access to protected 2018-06-28 18:00:56 -06:00
David Hall c85b8d8fc4 Version 1.0.15 project file updates 2018-06-27 13:25:04 -06:00
David Hall 5f9bbc5b09 Updated lookup to not throw exception if attribute not defined for type or enum 2018-06-23 18:10:12 -06:00
David Hall d4d804e7a3 Updated project files for 1.0.14 2018-06-08 12:00:08 -06:00
David Hall 8df9eba7bb Updated project files with new versions and comments 2018-05-30 12:32:03 -06:00
David Hall 604eee2c95 Added static Null property 2018-05-29 17:45:53 -06:00
David Hall 0400f88da8 Add Func with 3 params 2018-05-13 21:37:36 -06:00
David Hall d716ccaeb0 Removed IsInvalid override so both 0 and -1 are invalid (from base) 2018-05-13 21:37:20 -06:00
David Hall 2cfce3c7d3 Updated versions to 1.0.12 and corresponding release notes 2018-04-05 14:54:36 -06:00
David Hall 6420d47abc Fixed problem with GetAllTypes extension method 2018-04-05 14:49:56 -06:00
David Hall d9dc3e3c05 Improved GetType static method and added GetAllTypes() method for an AppDomain. 2018-04-05 10:52:36 -06:00
David Hall 09dd4c1e70 Update report files and release notes 2018-04-04 09:27:40 -06:00
David Hall 0d8b96fe9b Corrected XML documentation errors 2018-04-03 18:35:18 -06:00
David Hall 6551700381 Updated versions to 1.0.11 and corresponding release notes 2018-04-03 17:58:52 -06:00
David Hall 80a915f06e Added implicit conversion from T and object constructor that casts to T 2018-03-30 11:53:21 -06:00
David Hall 178752581e Added a safe pointer for COM objects: ComReleaser 2018-03-28 20:38:04 -06:00
David Hall 84b7a3bada Updated to version 1.0.10 2018-03-26 19:19:38 -06:00
David Hall 30554d4c67 Updated builds and reports with updated constucts 2018-03-26 16:56:47 -06:00
David Hall d201c101f7 Commented code for future addition of non-recursive method 2018-03-26 13:18:01 -06:00
David Hall 660fa2c815 Added OfType, OrderByDescending, Reverse, Take and TakeWhile extension methods. 2018-03-26 13:17:25 -06:00
David Hall dbf2e68121 Updated projects to version 1.0.8 2018-02-07 09:44:01 -07:00
David Hall c5885b4c17 Updated projects for 1.0.7 build. 2018-01-27 15:07:38 -07:00
David Hall 85f6486238 Added EnumerableEqualityComparer to provide equality comparisons and full hashes of lists. 2018-01-17 12:27:24 -07:00
David Hall cd67f194ed Added ability to not own memory pointed to by SafeCoTaskMemString. 2018-01-15 11:57:06 -07:00
David Hall e617c912a3 Added GetCustomAttributes extension method and converted existing uses. 2018-01-12 11:41:42 -07:00
David Hall 67fe9d4632 Added default predicate value to Any(), new DefaultIfEmpty method and converted Count() method to switch. 2018-01-12 11:39:58 -07:00
David Hall 2524cd22de Corrected Zero method implementation and use 2018-01-11 14:12:07 -07:00
David Hall 79ba7668c8 Changed CorrespondingTypeAttribute to allow for multiple types on an enum or a type and updated existing dependencies 2018-01-06 16:38:01 -07:00
David Hall c808717fbf Added base abstract class SafeAllocatedMemoryHandle for SafeMemoryHandle and GetBytes method to SafeMemoryHandle 2018-01-06 16:36:28 -07:00
David Hall 8d3decba67 Added All extension for IEnumerable on .NET 2 2018-01-06 16:35:14 -07:00
David Hall 7e372c55db Added LinkedListToIEnum method for pointer interop 2018-01-06 16:34:28 -07:00
David Hall 9b7e3ef765 Rolled project versions to 1.0.6 2017-12-29 13:54:58 -07:00
David Hall ea0dd3fd16 Changed project version to 1.0.5 2017-12-14 21:26:21 -07:00
David Hall 57375676b5 Removed unneeded references from project dependencies 2017-12-14 11:37:56 -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 c531d22515 Updated projects to 1.0.4, added release notes, and updated correlation reports. 2017-12-10 18:45:07 -07:00
David Hall 9c39eec5f9 * Changed projects to v1.0.3
* Fixed DllImport attributes to match native methods
* Added Crypt32 and Mpr projects
2017-12-06 08:54:01 -07:00
David Hall 7fd5dbb3b6 Updated images in readme and NuGet packages. 2017-11-29 11:11:01 -07:00
David Hall 6b45f2ab1d Changed all project files to build XML-doc on release and changed from .NET 4.61 to 4.5 to avoid use problems with all versions between them. 2017-11-28 17:12:19 -07:00
David Hall 35aa651977 Changed project files to version 1.0.2 and to have NuGet packages only build on Release 2017-11-27 20:30:54 -07:00
David Hall b208f82df4 Updated projects and dependencies to allow for .NET Standard builds for all non-UI projects. 2017-11-27 16:50:18 -07:00
David Hall b44f91b5a1 Initial code push: Core, PInvoke.Shared and PInvoke.TaskSchd 2017-11-27 10:18:01 -07:00