Skip to content

Properties with accessor and mutator methods #2219

@vors

Description

@vors

Copied from TFS 3231229

We should be able to do something along these lines

class foo
{
  [string]$bar {
    get { 
      #getter code
    }
    set {
      # setter code
    }  
  }
}

Metadata

Metadata

Assignees

Labels

Issue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Languageparser, language semantics

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions