Title: Create proxy with "typeof" · Issue #2 · NetCoreStack/DispatchProxyAsync · GitHub
Open Graph Title: Create proxy with "typeof" · Issue #2 · NetCoreStack/DispatchProxyAsync
X Title: Create proxy with "typeof" · Issue #2 · NetCoreStack/DispatchProxyAsync
Description: Hello, I am trying to dynamically create proxies for a list of types (List
Open Graph Description: Hello, I am trying to dynamically create proxies for a list of types (List
X Description: Hello, I am trying to dynamically create proxies for a list of types (List<Type> from an assembly scan) but I could not find a way to use the generic DispatchProxyAsync.Create method. Basical...
Opengraph URL: https://github.com/NetCoreStack/DispatchProxyAsync/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create proxy with \"typeof\"","articleBody":"Hello,\r\n\r\nI am trying to dynamically create proxies for a list of types (`List\u003cType\u003e` from an assembly scan) but I could not find a way to use the generic DispatchProxyAsync.Create method.\r\n\r\nBasically I am looking for a non generic version of the Create method, like:\r\n`DispatchProxyAsync.Create(typeof(myType), typeof(myProxyType));`\r\n\r\nFor example this is what has been done for the DispatchProxy class of the framework:\r\nNET 6 version (only generic method):\r\nhttps://github.com/dotnet/runtime/blob/release/6.0/src/libraries/System.Reflection.DispatchProxy/src/System/Reflection/DispatchProxy.cs\r\nNET 7 version with the new overload that takes types as parameters:\r\nhttps://github.com/dotnet/runtime/blob/main/src/libraries/System.Reflection.DispatchProxy/src/System/Reflection/DispatchProxy.cs\r\n\r\nDo you have any idea?","author":{"url":"https://github.com/ludovicasa","@type":"Person","name":"ludovicasa"},"datePublished":"2022-12-12T14:39:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/DispatchProxyAsync/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3bc24c7a-170c-0623-d778-ccf9c0a65e35 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B540:D25A0:23C4DC:302BAD:698E2C56 |
| html-safe-nonce | 76481296942bfe81774e15352a4e4763f5bea8d3925046078e41040e8d1b5bc9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTQwOkQyNUEwOjIzQzREQzozMDJCQUQ6Njk4RTJDNTYiLCJ2aXNpdG9yX2lkIjoiNTUwNzI3OTQxMjU3ODM2NDUwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe7a9f5bfa7301855f26457ddf8cb12e5aec3af9a5cf96542b394418180126b1 |
| hovercard-subject-tag | issue:1492038658 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NetCoreStack/DispatchProxyAsync/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65e232d48916d2efdcf67ccb35b0e3535929693dff7b6bfffd720049a323bcd1/NetCoreStack/DispatchProxyAsync/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65e232d48916d2efdcf67ccb35b0e3535929693dff7b6bfffd720049a323bcd1/NetCoreStack/DispatchProxyAsync/issues/2 |
| og:image:alt | Hello, I am trying to dynamically create proxies for a list of types (List |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ludovicasa |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| go-import | github.com/NetCoreStack/DispatchProxyAsync git https://github.com/NetCoreStack/DispatchProxyAsync.git |
| octolytics-dimension-user_id | 24544709 |
| octolytics-dimension-user_login | NetCoreStack |
| octolytics-dimension-repository_id | 76746656 |
| octolytics-dimension-repository_nwo | NetCoreStack/DispatchProxyAsync |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 76746656 |
| octolytics-dimension-repository_network_root_nwo | NetCoreStack/DispatchProxyAsync |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2f1e729d231ea1ea5a098d21f1491b75bea53631 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width