Skip to content

correctly refer to "using directives" #4184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Using the managed package framework (MPF) language classes to implement a langua

You can use whatever name you want. These procedures detailed here assume `MyLanguageService` as the name.

6. In the MyLanguageService.cs file, add the following `using` statements.
6. In the MyLanguageService.cs file, add the following `using` directives.

[!code-csharp[CreatingALanguageService(ManagedPackageFramework)#1](../../extensibility/internals/codesnippet/CSharp/walkthrough-creating-a-legacy-language-service_1.cs)]
[!code-vb[CreatingALanguageService(ManagedPackageFramework)#1](../../extensibility/internals/codesnippet/VisualBasic/walkthrough-creating-a-legacy-language-service_1.vb)]
Expand All @@ -80,7 +80,7 @@ Using the managed package framework (MPF) language classes to implement a langua

### Register the Language Service

1. Open the MyLanguagePackagePackage.cs file and add the following `using` statements:
1. Open the MyLanguagePackagePackage.cs file and add the following `using` directives:

[!code-vb[CreatingALanguageService(ManagedPackageFramework)#3](../../extensibility/internals/codesnippet/VisualBasic/walkthrough-creating-a-legacy-language-service_3.vb)]
[!code-csharp[CreatingALanguageService(ManagedPackageFramework)#3](../../extensibility/internals/codesnippet/CSharp/walkthrough-creating-a-legacy-language-service_3.cs)]
Expand All @@ -104,7 +104,7 @@ Using the managed package framework (MPF) language classes to implement a langua

Enter a suitable name for the class file and click **Add**.

3. In the new class file, add the following `using` statements.
3. In the new class file, add the following `using` directives.

[!code-csharp[CreatingALanguageService(ManagedPackageFramework)#4](../../extensibility/internals/codesnippet/CSharp/walkthrough-creating-a-legacy-language-service_4.cs)]
[!code-vb[CreatingALanguageService(ManagedPackageFramework)#4](../../extensibility/internals/codesnippet/VisualBasic/walkthrough-creating-a-legacy-language-service_4.vb)]
Expand All @@ -125,4 +125,4 @@ Using the managed package framework (MPF) language classes to implement a langua
For example, type `public override` to see a list of all methods that can be overridden in that class.

## See Also
- [Implementing a Legacy Language Service](../../extensibility/internals/implementing-a-legacy-language-service1.md)
- [Implementing a Legacy Language Service](../../extensibility/internals/implementing-a-legacy-language-service1.md)