Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

pavelsavara
Copy link
Member

There are delegate types ArgumentToManagedCallback<> and ArgumentToJSCallback<> which are used by Roslyn code generator of the JavaScript interop.

They are not intended to be used directly by the developer and we could hide them from intellisense.

Related discussion dotnet/dotnet-api-docs#8392 (comment)

@pavelsavara pavelsavara added this to the 8.0.0 milestone Sep 17, 2022
@pavelsavara pavelsavara self-assigned this Sep 17, 2022
@pavelsavara pavelsavara requested a review from lewing as a code owner September 17, 2022 18:03
@ghost
Copy link

ghost commented Sep 17, 2022

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

There are delegate types ArgumentToManagedCallback<> and ArgumentToJSCallback<> which are used by Roslyn code generator of the JavaScript interop.

They are not intended to be used directly by the developer and we could hide them from intellisense.

Related discussion dotnet/dotnet-api-docs#8392 (comment)

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-System.Runtime.InteropServices.JavaScript

Milestone: 8.0.0

@ghost
Copy link

ghost commented Sep 17, 2022

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pavelsavara
Copy link
Member Author

Build error is unrelated.

@pavelsavara pavelsavara merged commit 16cb35f into dotnet:main Sep 19, 2022
@pavelsavara
Copy link
Member Author

/backport to release/7.0-rc2

@github-actions
Copy link
Contributor

Started backporting to release/7.0-rc2: https://github.com/dotnet/runtime/actions/runs/3080462553

@pavelsavara pavelsavara deleted the wasm_hide_interop_delegates branch October 13, 2022 10:04
@ghost ghost locked as resolved and limited conversation to collaborators Nov 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants