Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Add helper method to get GetFirstChildOfType with null support. #13421

Merged
merged 3 commits into from
Mar 3, 2023

Commits on Feb 17, 2023

  1. [Windows] Add helper method to get GetFirstChildOfType with null supp…

    …ort.
    
    Well make us move from code like this:
    ```csharp
    var foo = searchView.GetFirstChildOfType<EditText>();
    if (foo is not null)
        foo.SetInputType(searchBar);
    ```
    To a nicer:
    ```csharp
    if (searchView.TryGetFirstChildOfType<EditText>(out var foo)
        foo.SetInputType(searchBar);
    ``
    mandel-macaque committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    5f2cd0a View commit details
    Browse the repository at this point in the history
  2. Auto-format source code

    GitHub Actions Autoformatter committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    f252cf3 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Updated the public API

    jsuarezruiz committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    a05a49c View commit details
    Browse the repository at this point in the history