Interfaces in WMF5

Welcome Forums General PowerShell Q&A Interfaces in WMF5

This topic contains 1 reply, has 2 voices, and was last updated by

 
Member
2 years, 5 months ago.

  • Author
    Posts
  • #44892

    Participant
    Points: 0
    Rank: Member

    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

    Member
    Points: 0
    Rank: Member

    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.

The topic ‘Interfaces in WMF5’ is closed to new replies.