Skip to content

Collapse relative links #18830

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
Jun 8, 2020
Merged
Show file tree
Hide file tree
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 @@ -20,7 +20,7 @@ If you’re developing a Windows service with the .NET Framework, you can quickl
> [!WARNING]
> If you want to uninstall a service from your computer, don’t follow the steps in this article. Instead, find out which program or software package installed the service, and then choose **Apps** in Settings to uninstall that program. Note that many services are integral parts of Windows; if you remove them, you might cause system instability.

To use the steps in this article, you first need to add a service installer to your Windows service. For more information, see [Walkthrough: Creating a Windows service app](../windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer.md).
To use the steps in this article, you first need to add a service installer to your Windows service. For more information, see [Walkthrough: Creating a Windows service app](walkthrough-creating-a-windows-service-application-in-the-component-designer.md).

You can't run Windows service projects directly from the Visual Studio development environment by pressing F5. Before you can run the project, you must install the service in the project.

Expand Down Expand Up @@ -91,7 +91,7 @@ You can't run Windows service projects directly from the Visual Studio developme

## See also

- [Introduction to Windows service applications](../windows-services/introduction-to-windows-service-applications.md)
- [How to: Create Windows services](../windows-services/how-to-create-windows-services.md)
- [How to: Add installers to your service application](../windows-services/how-to-add-installers-to-your-service-application.md)
- [Introduction to Windows service applications](introduction-to-windows-service-applications.md)
- [How to: Create Windows services](how-to-create-windows-services.md)
- [How to: Add installers to your service application](how-to-add-installers-to-your-service-application.md)
- [Installutil.exe (Installer tool)](../tools/installutil-exe-installer-tool.md)
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You need the following components to complete this walkthrough:

3. In the Installed Templates pane, select **Data** and in the list of templates, select **ADO.NET Entity Data Model**.

![ADO.NET Entity Data Model item template](../../wcf/feature-details/./media/ado-net-entity-data-model-item-template.png)
![ADO.NET Entity Data Model item template](../../wcf/feature-details/media/ado-net-entity-data-model-item-template.png)

4. Name the file `AdventureWorksModel.edmx` and then click **Add**.

Expand Down
2 changes: 1 addition & 1 deletion docs/framework/wpf/graphics-multimedia/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Images, video, and audio are media-rich ways of conveying information and user e

Images, which include icons, backgrounds, and even parts of animations, are a core part of most applications. Because you frequently need to use images, WPF exposes the ability to work with them in a variety of ways. The following illustration shows just one of those ways.

![Styling sample screenshot](../controls/./media/stylingintro-eventtriggers.png "StylingIntro_EventTriggers")
![Styling sample screenshot](../controls/media/stylingintro-eventtriggers.png "StylingIntro_EventTriggers")

For more information, see [Imaging Overview](imaging-overview.md).

Expand Down
4 changes: 2 additions & 2 deletions docs/fsharp/language-reference/functions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let f x = x + 1

In the previous example, the function name is `f`, the argument is `x`, which has type `int`, the function body is `x + 1`, and the return value is of type `int`.

Functions can be marked `inline`. For information about `inline`, see [Inline Functions](../functions/inline-functions.md).
Functions can be marked `inline`. For information about `inline`, see [Inline Functions](inline-functions.md).

## Scope

Expand Down Expand Up @@ -136,7 +136,7 @@ A *lambda expression* is an unnamed function. In the previous examples, instead

[!code-fsharp[Main](~/samples/snippets/fsharp/lang-ref-1/snippet112.fs)]

You define lambda expressions by using the `fun` keyword. A lambda expression resembles a function definition, except that instead of the `=` token, the `->` token is used to separate the argument list from the function body. As in a regular function definition, the argument types can be inferred or specified explicitly, and the return type of the lambda expression is inferred from the type of the last expression in the body. For more information, see [Lambda Expressions: The `fun` Keyword](../functions/lambda-expressions-the-fun-keyword.md).
You define lambda expressions by using the `fun` keyword. A lambda expression resembles a function definition, except that instead of the `=` token, the `->` token is used to separate the argument list from the function body. As in a regular function definition, the argument types can be inferred or specified explicitly, and the return type of the lambda expression is inferred from the type of the last expression in the body. For more information, see [Lambda Expressions: The `fun` Keyword](lambda-expressions-the-fun-keyword.md).

## Function Composition and Pipelining

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ In the folder structure illustrated below, the top-level directory is *flower_ph
Follow these tutorials to build machine learning apps with Model Builder:

- [Predict prices using regression](../tutorials/predict-prices-with-model-builder.md)
- [Analyze sentiment in a web application using binary classification](../tutorials/sentiment-analysis-model-builder.md )
- [Analyze sentiment in a web application using binary classification](../tutorials/sentiment-analysis-model-builder.md)

If you're training a model using code, [learn how to load data using the ML.NET API](load-data-ml-net.md).
2 changes: 1 addition & 1 deletion docs/spark/how-to-guides/deploy-worker-udf-binaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ hdfs://<path to your files>/mySparkApp.zip mySparkApp
## Next steps

* [Get started with .NET for Apache Spark](../tutorials/get-started.md)
* [Debug a .NET for Apache Spark application on Windows](../how-to-guides/debug.md)
* [Debug a .NET for Apache Spark application on Windows](debug.md)
2 changes: 1 addition & 1 deletion docs/spark/tutorials/batch-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ In this tutorial, you learn how to:

## Prerequisites

If this is your first time using .NET for Apache Spark, check out the [Get started with .NET for Apache Spark](../tutorials/get-started.md) tutorial to learn how to prepare your environment and run your first .NET for Apache Spark application.
If this is your first time using .NET for Apache Spark, check out the [Get started with .NET for Apache Spark](get-started.md) tutorial to learn how to prepare your environment and run your first .NET for Apache Spark application.

## Download the sample data

Expand Down
6 changes: 3 additions & 3 deletions docs/visual-basic/language-reference/modifiers/shared.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ Specifies that one or more declared programming elements are associated with a c

Sharing a member of a class or structure makes it available to every instance, rather than *non-shared*, where each instance keeps its own copy. This is useful, for example, if the value of a variable applies to the entire application. If you declare that variable to be `Shared`, then all instances access the same storage location, and if one instance changes the variable's value, all instances access the updated value.

Sharing does not alter the access level of a member. For example, a class member can be shared and private (accessible only from within the class), or non-shared and public. For more information, see [Access levels in Visual Basic](../../../visual-basic/programming-guide/language-features/declared-elements/access-levels.md).
Sharing does not alter the access level of a member. For example, a class member can be shared and private (accessible only from within the class), or non-shared and public. For more information, see [Access levels in Visual Basic](../../programming-guide/language-features/declared-elements/access-levels.md).

## Rules

- **Declaration Context.** You can use `Shared` only at module level. This means the declaration context for a `Shared` element must be a class or structure, and cannot be a source file, namespace, or procedure.

- **Combined Modifiers.** You cannot specify `Shared` together with [Overrides](../../../visual-basic/language-reference/modifiers/overrides.md), [Overridable](../../../visual-basic/language-reference/modifiers/overridable.md), [NotOverridable](../../../visual-basic/language-reference/modifiers/notoverridable.md), [MustOverride](../../../visual-basic/language-reference/modifiers/mustoverride.md), or [Static](../../../visual-basic/language-reference/modifiers/static.md) in the same declaration.
- **Combined Modifiers.** You cannot specify `Shared` together with [Overrides](overrides.md), [Overridable](overridable.md), [NotOverridable](notoverridable.md), [MustOverride](mustoverride.md), or [Static](static.md) in the same declaration.

- **Accessing.** You access a shared element by qualifying it with its class or structure name, not with the variable name of a specific instance of its class or structure. You do not even have to create an instance of a class or structure to access its shared members.

Expand All @@ -36,7 +36,7 @@ Sharing does not alter the access level of a member. For example, a class member
If Double.IsNaN(result) Then Console.WriteLine("Result is mathematically undefined.")
```

- **Implicit Sharing.** You cannot use the `Shared` modifier in a [Const Statement](../../../visual-basic/language-reference/statements/const-statement.md), but constants are implicitly shared. Similarly, you cannot declare a member of a module or an interface to be `Shared`, but they are implicitly shared.
- **Implicit Sharing.** You cannot use the `Shared` modifier in a [Const Statement](../statements/const-statement.md), but constants are implicitly shared. Similarly, you cannot declare a member of a module or an interface to be `Shared`, but they are implicitly shared.

## Behavior

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Use fields when:

- The property is a `String` data type, and there is no constraint on the size or value of the string.

- For more information, see [Property Procedures](../../../../visual-basic/programming-guide/language-features/procedures/property-procedures.md).
- For more information, see [Property Procedures](../procedures/property-procedures.md).

> [!TIP]
> Always keep the non-constant fields private. When you want to make it public, use a property instead.
Expand Down