{"id":5514,"date":"2012-11-20T09:48:00","date_gmt":"2012-11-20T17:48:00","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/?p=5514"},"modified":"2012-11-20T09:48:06","modified_gmt":"2012-11-20T17:48:06","slug":"powershell-studio-primalsense-for-object-constructors","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2012\/11\/20\/powershell-studio-primalsense-for-object-constructors\/","title":{"rendered":"PowerShell Studio: PrimalSense for Object Constructors"},"content":{"rendered":"<p>In the last service release (v3.1.13), we expanded PowerShell Studio\u2019s PrimalSense. Now when you use the New-Object\u2019s ArgumentList parameter, PowerShell Studio will automatically display the list of possible constructors for the given object type:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Constructor PrimalSense for New-Object\" border=\"0\" alt=\"Constructor PrimalSense for New-Object\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/11\/Constructor-PrimalSense-for-New-Object.png\" width=\"641\" height=\"138\"><\/p>\n<p>&nbsp;<\/p>\n<p>In addition, you can tab insert the constructor parameters in a similar fashion to the previously announced <a href=\"http:\/\/www.sapien.com\/blog\/2012\/05\/01\/powershell-studio-2012-whats-new-part-4\/\" target=\"_blank\">method completion feature<\/a>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Tab Insertion of Constructor Parameters\" border=\"0\" alt=\"Tab Insertion of Constructor Parameters\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/11\/Tab-Insertion-of-Constructor-Parameters.png\" width=\"645\" height=\"109\"><\/p>\n<p>&nbsp;<\/p>\n<p>This new addition saves time by eliminating the need to visit the MSDN website in order to determine what constructors are available for the given object type.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the last service release (v3.1.13), we expanded PowerShell Studio\u2019s PrimalSense. Now when you use the New-Object\u2019s ArgumentList parameter, PowerShell Studio will automatically display the list of possible constructors for the given object type: &nbsp; In addition, you can tab insert the constructor parameters in a similar fashion to the previously announced method completion feature: [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[705,21,25],"tags":[783,784,28,1017,168],"class_list":["post-5514","post","type-post","status-publish","format-standard","hentry","category-powershell-studio-2012","category-software-news","category-windows-powershell","tag-constructor","tag-method","tag-powershell","tag-powershell-studio-2012","tag-primalsense"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/5514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=5514"}],"version-history":[{"count":3,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/5514\/revisions"}],"predecessor-version":[{"id":5521,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/5514\/revisions\/5521"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=5514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=5514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=5514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}