Skip to content

Improve lookup injected setter handler with attribute. #8

@kekyo

Description

@kekyo

Dodge duck typing.

Illustrates:

// Disabling duck-type lookup by attribute explicitly.
[OnPropertyChanged(nameof(Title))]
private ValueTask OnTitleChanged(string value)
{
    // ...
}

Idea from Fun Fan F# video conference: https://www.youtube.com/watch?v=nFD7-nQFzZo&list=PLbLAMB4nUGAMqY_qX470gvce8ZFRfvXaM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions