{"id":2309,"date":"2015-09-16T05:26:35","date_gmt":"2015-09-16T05:26:35","guid":{"rendered":"http:\/\/truelogic.org\/wordpress\/?p=2309"},"modified":"2015-09-16T05:26:35","modified_gmt":"2015-09-16T05:26:35","slug":"visual-studio-edit-menu-refactor-options","status":"publish","type":"post","link":"https:\/\/truelogic.org\/wordpress\/2015\/09\/16\/visual-studio-edit-menu-refactor-options\/","title":{"rendered":"Visual Studio &#8211; Edit Menu  Refactor options"},"content":{"rendered":"<p>Visual Studio provides very useful tools for doing a certain amount of code refactoring. Refactoring is the task of changing your source code without affecting its functionality.<\/p>\n<p>If you look at the Edit Menu in VS, you will find 6 refactoring options:<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/refactor.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2310\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/refactor-620x582.png\" alt=\"refactor\" width=\"620\" height=\"582\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/refactor-620x582.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/refactor-300x282.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/refactor.png 669w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Lets look at each one of them with examples:<\/p>\n<h4>Rename<\/h4>\n<p>Rename lets you change the name of a variable or an object or a class anywhere in your code. You select the text in your editor and choose the Rename menu option. It will ask you enter the new name for the object:<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2312\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename1-620x410.png\" alt=\"rename1\" width=\"620\" height=\"410\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename1-620x410.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename1-300x198.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename1-940x622.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename1-900x595.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename1.png 1140w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Then it will show a preview of the changes that will be effected:<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2313\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename2-620x424.png\" alt=\"rename2\" width=\"620\" height=\"424\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename2-620x424.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename2-300x205.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename2-940x643.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename2-900x615.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/rename2.png 1242w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Clicking on Apply will make the changes permanent.<\/p>\n<p>&nbsp;<\/p>\n<h4>Extract Method<\/h4>\n<p>Extract Method is used for taking some code out of an existing function or method and converting it into a separate method. This is probably the most common and useful cases of refactoring, where you find that a certain piece of code has been repeated or needs to be callable from a lot of places.<\/p>\n<p>In the sample below, we select some code to refactor:<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2314\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract1-620x330.png\" alt=\"extract1\" width=\"620\" height=\"330\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract1-620x330.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract1-300x160.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract1-940x501.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract1-900x479.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract1.png 1239w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>and we choose a new method into which the code will go into. You can enter the name of the method to what you want . Notice that the original selected code gets replaced by the new method call.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2315\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract2-620x417.png\" alt=\"extract2\" width=\"620\" height=\"417\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract2-620x417.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract2-300x202.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract2-940x633.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract2-900x606.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/extract2.png 1107w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4>Encapsulate Field<\/h4>\n<p>If you have a class level attribute and want to convert into a field with get\/set methods, then this method is useful as it saves you a lot of typing.<\/p>\n<p>Select the variable . It will automatically prefix a capital M to the name. You can change that if you wish.<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2317\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en1-620x403.png\" alt=\"en1\" width=\"620\" height=\"403\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en1-620x403.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en1-300x195.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en1-940x611.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en1-900x585.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en1.png 961w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>After execution, the original variable declaration remains and a new get\/set method pair is added.<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2318\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en2-620x237.png\" alt=\"en2\" width=\"620\" height=\"237\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en2-620x237.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en2-300x115.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/en2.png 738w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4>Extract Interface<\/h4>\n<p>If you want to create an interface for any public method in a class, then this option makes it easy . Choosing this option from the Edit menu will show you the public methods in the current class in your editor:<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2320\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter1-620x446.png\" alt=\"inter1\" width=\"620\" height=\"446\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter1-620x446.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter1-300x216.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter1-900x648.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter1.png 918w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>You can then choose the name of the Interface and which method(s) you want to declare an interface for. A new file will be created with the interface declaration:<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2321\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter2-620x278.png\" alt=\"inter2\" width=\"620\" height=\"278\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter2-620x278.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter2-300x135.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter2-900x404.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/inter2.png 933w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4>Remove Parameters<\/h4>\n<p>As the name suggests this is used to remove some parameters from a function or method call.<strong> Be warned that it will\u00a0 do a syntactical change only all across the source code.<\/strong> Your code may stop working or have unexpected results if the logic changes due to this operation. Select the function you want to remove parameter(s) for:<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2323\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove1-620x339.png\" alt=\"remove1\" width=\"620\" height=\"339\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove1-620x339.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove1-300x164.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove1-940x514.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove1-120x67.png 120w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove1-900x492.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove1.png 1212w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>It will show you a preview of the changes that will be done. Click Apply to make changes permanent.<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2324\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove2-620x356.png\" alt=\"remove2\" width=\"620\" height=\"356\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove2-620x356.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove2-300x172.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove2-940x540.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove2-900x517.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/remove2.png 1289w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4>Reorder Parameters<\/h4>\n<p>Reordering parameters is used for changing the sequence of the arguments being called in a function. Select the function you want to change it for. Then use the arrow keys to change the order of the parameters.<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2325\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder1-620x420.png\" alt=\"reorder1\" width=\"620\" height=\"420\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder1-620x420.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder1-300x203.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder1-940x636.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder1-900x609.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder1.png 1002w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Clicking on Apply in the preview screen makes the changes permanent.<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2326\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder2-620x377.png\" alt=\"reorder2\" width=\"620\" height=\"377\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder2-620x377.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder2-300x182.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder2-940x571.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder2-900x547.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/09\/reorder2.png 1076w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>This completes the explanation of the Refactor options in VS. <strong>Note that even if you save the changes after a Refactor you can use the Undo function to revert the original code back, except for\u00a0 Extract Interface , where the new file created will not be undone. You will have to manually delete it.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Visual Studio provides very useful tools for doing a certain amount of code refactoring. Refactoring is the task of changing your source code without affecting <a class=\"mh-excerpt-more\" href=\"https:\/\/truelogic.org\/wordpress\/2015\/09\/16\/visual-studio-edit-menu-refactor-options\/\" title=\"Visual Studio &#8211; Edit Menu  Refactor options\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":2308,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,15],"tags":[],"class_list":["post-2309","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-asp-net","category-windows"],"_links":{"self":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/2309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/comments?post=2309"}],"version-history":[{"count":6,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/2309\/revisions"}],"predecessor-version":[{"id":2328,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/2309\/revisions\/2328"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media\/2308"}],"wp:attachment":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media?parent=2309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/categories?post=2309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/tags?post=2309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}