Interfaces in WMF5

This topic contains 1 reply, has 2 voices, and was last updated by  Dave Wyatt 1 year, 12 months ago.

  • Author
  • #44892

    Michael Willis

    I've been messing about with some of the new class based programming mainly for DSC resources. I've seen how to do most of the OOP programming such as classes, inheritance, get/set, properties, methods.

    Does anyone know if there is a native way to use interfaces in the new powershell?

  • #44908

    Dave Wyatt

    As I recall, you can implement interfaces, but you can't define new ones. Not sure if they'll add that in the future or not.

You must be logged in to reply to this topic.