dahall / TaskScheduler

Provides a .NET wrapper for the Windows Task Scheduler. It aggregates the multiple versions, provides an editor and allows for localization.
MIT License
1.2k stars 191 forks source link

Fixes ambiguous overload from #969 #970

Closed chrisdent-de closed 1 year ago

chrisdent-de commented 1 year ago

The use of [Optional] attributes for each value causes an ambiguous overload error when using new TaskService("Name").

If SecureString is desired then all ctor arguments are mandatory, this change causes selection of the original ctor if these values are not expressly provided.