From 05fa05d30165374c3c99c9c1387ac253eca16740 Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Wed, 27 May 2020 18:44:49 -0700 Subject: [PATCH 1/2] acrolinx --- docs/core/tools/dotnet-test.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index 373f4b00a0e1a..ffb9a2672fd9a 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -64,7 +64,7 @@ Where `Microsoft.NET.Test.Sdk` is the test host, `xunit` is the test framework. - **`--blame`** - Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash. When a crash is detected, it creates an sequence file in `TestResults//_Sequence.xml` that captures the order of tests that were run before the crash. + Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash. When a crash is detected, it creates a sequence file in `TestResults//_Sequence.xml` that captures the order of tests that were run before the crash. - **`-c|--configuration `** @@ -128,7 +128,7 @@ Where `Microsoft.NET.Test.Sdk` is the test host, `xunit` is the test framework. - **`-s|--settings `** - The `.runsettings` file to use for running the tests. Note that the `TargetPlatform` element (x86|x64) has no effect for `dotnet test`. To run tests that target x86, install the x86 version of .NET Core. The bitness of the *dotnet.exe* that is on the path is what will be used for running tests. For more information, see the following resources: + The `.runsettings` file to use for running the tests. The `TargetPlatform` element (x86|x64) has no effect for `dotnet test`. To run tests that target x86, install the x86 version of .NET Core. The bitness of the *dotnet.exe* that is on the path is what will be used for running tests. For more information, see the following resources: - [Configure unit tests by using a `.runsettings` file.](/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file) - [Configure a test run](https://github.com/Microsoft/vstest-docs/blob/master/docs/configure.md) From ce54c6388734699a79cd155cb7b49ef8cf1b3332 Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 29 May 2020 13:31:38 -0700 Subject: [PATCH 2/2] acrolinx --- .../concepts/linq/standard-query-operators-overview.md | 4 ++-- .../data/wcf/querying-the-data-service-wcf-data-services.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/csharp/programming-guide/concepts/linq/standard-query-operators-overview.md b/docs/csharp/programming-guide/concepts/linq/standard-query-operators-overview.md index 8d5f233bec036..9bcffe4460f72 100644 --- a/docs/csharp/programming-guide/concepts/linq/standard-query-operators-overview.md +++ b/docs/csharp/programming-guide/concepts/linq/standard-query-operators-overview.md @@ -6,13 +6,13 @@ ms.assetid: 812fa119-5f65-4139-b4fa-55dccd8dc3ac # Standard Query Operators Overview (C#) The *standard query operators* are the methods that form the LINQ pattern. Most of these methods operate on sequences, where a sequence is an object whose type implements the interface or the interface. The standard query operators provide query capabilities including filtering, projection, aggregation, sorting and more. - There are two sets of LINQ standard query operators, one that operates on objects of type and the other that operates on objects of type . The methods that make up each set are static members of the and classes, respectively. They are defined as *extension methods* of the type that they operate on. This means that they can be called by using either static method syntax or instance method syntax. + There are two sets of LINQ standard query operators, one that operates on objects of type and the other that operates on objects of type . The methods that make up each set are static members of the and classes, respectively. They are defined as *extension methods* of the type that they operate on. Extension methods can be called by using either static method syntax or instance method syntax. In addition, several standard query operator methods operate on types other than those based on or . The type defines two such methods that both operate on objects of type . These methods, and , let you enable a non-parameterized, or non-generic, collection to be queried in the LINQ pattern. They do this by creating a strongly-typed collection of objects. The class defines two similar methods, and , that operate on objects of type . The standard query operators differ in the timing of their execution, depending on whether they return a singleton value or a sequence of values. Those methods that return a singleton value (for example, and ) execute immediately. Methods that return a sequence defer the query execution and return an enumerable object. - In the case of the methods that operate on in-memory collections, that is, those methods that extend , the returned enumerable object captures the arguments that were passed to the method. When that object is enumerated, the logic of the query operator is employed and the query results are returned. + For methods that operate on in-memory collections, that is, those methods that extend , the returned enumerable object captures the arguments that were passed to the method. When that object is enumerated, the logic of the query operator is employed and the query results are returned. In contrast, methods that extend do not implement any querying behavior, but build an expression tree that represents the query to be performed. The query processing is handled by the source object. diff --git a/docs/framework/data/wcf/querying-the-data-service-wcf-data-services.md b/docs/framework/data/wcf/querying-the-data-service-wcf-data-services.md index 7eed6691b15bb..6c0f07d945cd6 100644 --- a/docs/framework/data/wcf/querying-the-data-service-wcf-data-services.md +++ b/docs/framework/data/wcf/querying-the-data-service-wcf-data-services.md @@ -61,7 +61,7 @@ For more information, see [LINQ Considerations](linq-considerations-wcf-data-ser ## Adding Query Options -Data service queries support all the query options that WCF Data Servicess provides. You call the method to append query options to a instance. returns a new instance that is equivalent to the original query but with the new query option set. The following query, when executed, returns `Orders` that are filtered by the `Freight` value and ordered by the `OrderID`, descending: +Data service queries support all the query options that WCF Data Services provides. You call the method to append query options to a instance. returns a new instance that is equivalent to the original query but with the new query option set. The following query, when executed, returns `Orders` that are filtered by the `Freight` value and ordered by the `OrderID`, descending: [!code-csharp[Astoria Northwind Client#AddQueryOptionsSpecific](../../../../samples/snippets/csharp/VS_Snippets_Misc/astoria_northwind_client/cs/source.cs#addqueryoptionsspecific)] [!code-vb[Astoria Northwind Client#AddQueryOptionsSpecific](../../../../samples/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb#addqueryoptionsspecific)]