René's URL Explorer Experiment


Title: Support hashtable initializers for all IDictionary types · Issue #13873 · PowerShell/PowerShell · GitHub

Open Graph Title: Support hashtable initializers for all IDictionary types · Issue #13873 · PowerShell/PowerShell

X Title: Support hashtable initializers for all IDictionary types · Issue #13873 · PowerShell/PowerShell

Description: Summary of the new feature/enhancement .NET offers a number of specialized dictionary types that all implement the IDictionary interface. [hashtable] (and [ordered] (System.Collections.Specialized.OrderedDictionary)) conveniently have a ...

Open Graph Description: Summary of the new feature/enhancement .NET offers a number of specialized dictionary types that all implement the IDictionary interface. [hashtable] (and [ordered] (System.Collections.Specialized....

X Description: Summary of the new feature/enhancement .NET offers a number of specialized dictionary types that all implement the IDictionary interface. [hashtable] (and [ordered] (System.Collections.Specialized....

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/13873

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support hashtable initializers for all IDictionary types","articleBody":"## Summary of the new feature/enhancement\r\n\r\n.NET offers a number of specialized dictionary types that all implement the `IDictionary` interface.\r\n`[hashtable]` (and `[ordered]` (`System.Collections.Specialized.OrderedDictionary`)) conveniently have a literal syntax in PowerShell, but it would be nice if other types of dictionaries could be _initialized_ via such a hashtable literal (`@{ ... }`):\r\n\r\nThe following, which initializes a non-generic sorted dictionary (a list that also acts as a dictionary) already works:\r\n\r\n```powershell\r\n# OK, for this specific type:\r\nPS> [System.Collections.SortedList] @{ one = 1; two = 2 }\r\n\r\nName                           Value\r\n----                           -----\r\none                            1\r\ntwo                            2\r\n```\r\n\r\nThe following are examples of other `IDictionary`-implementing types that do NOT work, but it would be nice if they did:\r\n\r\n```powershell\r\n[System.Collections.Generic.SortedList[string, int]] @{ one = 1; two = 2 }\r\n[System.Collections.Generic.SortedDictionary[string, int]] @{ one = 1; two = 2 }\r\n[System.Collections.Generic.Dictionary[string, int]] @{ one = 1; two = 2 }\r\n```\r\n\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2020-10-25T17:45:23Z","url":"https://github.com/PowerShell/PowerShell/issues/13873"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:22201e56-6fe9-f3b5-97ab-0289c6159d13
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE792:178F0E:E0DD2D:1436D91:6AFDB3E4
html-safe-noncee3f1b51d4e948b89d95eb49a377d86139ee67d3123539a334711fc8de506ddf2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzkyOjE3OEYwRTpFMEREMkQ6MTQzNkQ5MTo2QUZEQjNFNCIsInZpc2l0b3JfaWQiOiI4OTM2NDc4ODY2MjA1OTQ2ODUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5d1dd2c97d919a1258570feae76c09d6ff392cfd6d3f964b38be5fdd682fdb0f
hovercard-subject-tagissue:729073307
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/13873/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c6342d64cdea9b78ef10f21d6b03ad9b8f36648bdb6812fd7b1a46148e577b8a/PowerShell/PowerShell/issues/13873
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c6342d64cdea9b78ef10f21d6b03ad9b8f36648bdb6812fd7b1a46148e577b8a/PowerShell/PowerShell/issues/13873
og:image:altSummary of the new feature/enhancement .NET offers a number of specialized dictionary types that all implement the IDictionary interface. [hashtable] (and [ordered] (System.Collections.Specialized....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemklement0
hostnamegithub.com
expected-hostnamegithub.com
None3c532f4d069d6fbe9b1837450343d1b9e0619a7d5c4ba0b3b64fd8e0bae67c7e
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5396ad00d1c6d19097aee7fc4d00a2eb03432c8f
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/13873#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F13873
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F13873
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/13873
Reloadhttps://github.com/PowerShell/PowerShell/issues/13873
Reloadhttps://github.com/PowerShell/PowerShell/issues/13873
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/13873
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/13873
Support hashtable initializers for all IDictionary typeshttps://github.com/PowerShell/PowerShell/issues/13873#top
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Oct 25, 2020https://github.com/PowerShell/PowerShell/issues/13873#issue-729073307
Michael Klement (mklement0)https://github.com/mklement0
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
on Oct 25, 2020https://github.com/PowerShell/PowerShell/issues/13873#event-3918053309
Ilya (iSazonov)https://github.com/iSazonov
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
on Oct 26, 2020https://github.com/PowerShell/PowerShell/issues/13873#event-3918955299
https://github.com/iRon7
iRon7https://github.com/iRon7
on Oct 26, 2020https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-716617466
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Oct 26, 2020https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-716669298
iRon7https://github.com/iRon7
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
on Oct 26, 2020https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-716674519
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Oct 26, 2020https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-716686751
https://stackoverflow.com/a/20691991/45375https://stackoverflow.com/a/20691991/45375
https://camo.githubusercontent.com/aeb19ac101480369de19891df079dcdc760086ebe52cb08bd98183bfd18396e9/68747470733a2f2f63646e2e737374617469632e6e65742f53697465732f737461636b6f766572666c6f772f496d672f6170706c652d746f7563682d69636f6e40322e706e673f763d373364373961383962646564
Accessing the item at a specified index in a 'SortedSet'https://stackoverflow.com/questions/20691753/accessing-the-item-at-a-specified-index-in-a-sortedset
https://github.com/iRon7
iRon7https://github.com/iRon7
on Oct 26, 2020https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-716733434
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Oct 27, 2020https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-716908546
iRon7https://github.com/iRon7
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-1813682812
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-1813682821
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-1813682823
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/13873#event-10974546716
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/13873#issuecomment-1824259326
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/13873#event-11046475808
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/13873
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/13873
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.