Easier way to read QueryProperty
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
Currently, we have to use a class to get and set the QueryProperty.
This can be reduced to one line only by introducing a new **GetQueryProperty** method.
### Public API Changes
```
namespace MyApp;
[QueryProperty("Organization", "MyOrganization")]
public partial class StartVote : ContentPage
{
string organization = GetQueryProperty("MyOrganization");
public StartVote()
{
InitializeComponent();
}
.............
.............
.............
.............
.............
}
```
### Intended Use-Case
Make coding easier.
Contributor guide
Research direction
The issue names QueryProperty and proposes a new GetQueryProperty method, but it does not identify implementation files or tests. Start by locating QueryProperty handling and its navigation/property-application tests; done means the proposed one-line access pattern works without the existing helper class and is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100