ExtendRealityLtd / ExtendRealityLtd/Malimbe

Overhaul [Cleared]

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
52
Forks
10
PR merge metrics
No merged PRs in 30d

Description

1. Rename the attribute to `ClearsToDefaultAttribute` and also allow setting non-reference types (see `[RequiresBehaviourState]` for the logic to set to `default`).
1. Add a new attribute `ClearsByMethodAttribute` which takes the `nameof` the method to call on the property to clear it. This needs to handle `null` property values(!), and shall ensure the method exists on the property's type(!) and the method is accessible(!) and takes no arguments(!). The method's return value shall be ignored.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.