You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docs/Introduction/VsActions/Overview.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@ Actions are a series of API calls that perform IDE specific functionality. CodeF
3
3
4
4
## Visual Studio Actions
5
5
The core actions within CodeFactory today directly interop with Visual Studio itself. Visual Studio actions are accessible at two different levels within the SDK. CodeFactory data models have direct links to Visual Studio actions that directly impact the target data model. At the command level there is direct access to all Visual Studio actions by calling the property VisualStudioActions.
6
-
The following provides a high level summary of the actions that are avaliable at diffrent levels of the CodeFactory platform.
6
+
The following provides a high level summary of the actions that are avaliable at different levels of the CodeFactory platform:
7
7
8
8
### Project System Actions
9
-
The following are the target actions that are avaliable at the project system level of Visual Studio.
9
+
The following are the target actions that are available at the project system level of Visual Studio.
10
10
11
11
#### Solution Actions
12
12
These actions are directly executed at the solution level.
@@ -21,20 +21,20 @@ These actions are directly executed at the solution folder level.
21
21
- AddDocumentAsync - Creates a new document data model and assigns it to the solution folder
22
22
- AddExitingDocumentAsync - Adds an existing document to the target solution folder
23
23
- AddSolutionFolder - Adds a solution folder under the current solution folder
24
-
- GetChildrenAsync - Gets all Visul Studio models that are children of this solution folder
24
+
- GetChildrenAsync - Gets all Visual Studio models that are children of this solution folder
25
25
- GetParentAsync - Gets the parent Visual Studio model for this solution folder
26
26
- Remove - Removes the solution folder from the solution
27
27
28
28
#### Project Actions
29
29
These actions are directly executed at the project level.
30
30
31
31
- AddDocumentAsync - Creates a new document and assigns it to the root of the project
32
-
- AddExistingDocumentAsync - Adds an executing document to the root of the project
32
+
- AddExistingDocumentAsync - Adds an existing document to the root of the project
33
33
- AddProjectFolderAsync - Creates a new project folder under the root of the project
34
34
- GetChildrenAsync - Gets the Visual Studio models that are children of the project
35
35
- GetParentAsync - Gets the Visual Studio model that is the parent to this project
36
36
- GetReferencedProjects - Gets the project data models that are referenced by this project
37
-
- GetReferencesAsync - Genereates the full list of Project Reference data models that support this project
37
+
- GetReferencesAsync - Generates the full list of Project Reference data models that support this project
38
38
39
39
#### Project Reference Actions
40
40
These actions are directly executed at the project reference level.
@@ -54,7 +54,7 @@ These actions are directly executed at the project folder level.
54
54
- RemoveAsync - Removes the project folder from the project but does not remove it from the file system
55
55
56
56
#### Document Actions
57
-
These actions are directly exected at the document level.
57
+
These actions are directly executed at the document level.
58
58
59
59
- AddContentAsync - Adds content to a document starting at a target line number and character position
60
60
- AddContentToBeginningAsync - Adds content at the beginning of the document
@@ -70,12 +70,12 @@ These actions are directly exected at the document level.
70
70
71
71
#### Source Actions
72
72
These actions are directly executed at the C# document level
73
-
- LoadDocumentFromSourceAsync - Loads a document model from the c# source document
73
+
- LoadDocumentFromSourceAsync - Loads a document model from the C# source document
74
74
75
-
#### User model Actions
75
+
#### User Model Actions
76
76
These actions are directly related to creating and executed customer user models that are hosted in Visual Studio.
77
77
78
-
- CreateVsUserControlAsync - Generic method that creates a new instance of a visual studio user control
78
+
- CreateVsUserControlAsync - Generic method that creates a new instance of a Visual Studio user control
79
79
- ShowDialogWindowAsync - Displays the target user control in the Visual Studio IDE
80
80
81
81
## C# Actions
@@ -120,7 +120,7 @@ The following actions occur at the structure model level.
120
120
- DeleteAsync - Delete the model definition
121
121
- GetBodySourceLocationAsync - Get the document coordinates where the body starts and ends
122
122
- GetBodySyntaxAsync - Get the raw syntax within the body
123
-
- GetSourceLocationAsync - Get the full model definitions document coordiants where it starts and ends
123
+
- GetSourceLocationAsync - Get the full model definitions document coordinates where it starts and ends
124
124
- ReplaceAsync - Replaces the entire definition of the model with the provided syntax
125
125
126
126
### Member Actions
@@ -172,7 +172,7 @@ The following are other C# models that also have direct actions.
172
172
The following actions apply to the using statement model level.
173
173
174
174
- AddAfterAsync - Adds the syntax after the model definition
175
-
- AddBeforeAsync - Adds the syntax before the model defintion
175
+
- AddBeforeAsync - Adds the syntax before the model definition
176
176
- DeleteAsync - Deletes the model
177
177
- GetSourceLocationAsync - Gets the document coordinates where the model starts and ends
178
178
- ReplaceAsync - Replaces the model with the provided syntax
0 commit comments