From f4d90741507cdef6304834ceffee0ab023c1b729 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Mon, 18 Sep 2023 16:33:59 +0200 Subject: [PATCH] Last clean-up --- .../Microsoft.Extensions.Configuration/src/PACKAGE.md | 1 - .../Microsoft.Extensions.Logging.Debug/src/PACKAGE.md | 1 - src/libraries/Microsoft.Extensions.Logging/src/PACKAGE.md | 1 + src/libraries/System.Data.Odbc/src/PACKAGE.md | 3 +++ src/libraries/System.Data.OleDb/src/PACKAGE.md | 3 +++ .../System.DirectoryServices.AccountManagement/src/PACKAGE.md | 1 - src/libraries/System.DirectoryServices/src/PACKAGE.md | 1 - src/libraries/System.IO.Ports/src/PACKAGE.md | 1 + src/libraries/System.Management/src/PACKAGE.md | 1 + src/libraries/System.Speech/src/PACKAGE.md | 1 + src/libraries/System.Text.Encoding.CodePages/src/PACKAGE.md | 2 +- 11 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/libraries/Microsoft.Extensions.Configuration/src/PACKAGE.md b/src/libraries/Microsoft.Extensions.Configuration/src/PACKAGE.md index b507e18c328a5..1d193afbda866 100644 --- a/src/libraries/Microsoft.Extensions.Configuration/src/PACKAGE.md +++ b/src/libraries/Microsoft.Extensions.Configuration/src/PACKAGE.md @@ -75,7 +75,6 @@ The main types provided by this library are: * [Microsoft.Extensions.Configuration.UserSecrets](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.UserSecrets) * [Microsoft.Extensions.Configuration.Xml](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Xml) - ## Feedback & Contributing diff --git a/src/libraries/Microsoft.Extensions.Logging.Debug/src/PACKAGE.md b/src/libraries/Microsoft.Extensions.Logging.Debug/src/PACKAGE.md index 8a5c652290643..97b378f4350c5 100644 --- a/src/libraries/Microsoft.Extensions.Logging.Debug/src/PACKAGE.md +++ b/src/libraries/Microsoft.Extensions.Logging.Debug/src/PACKAGE.md @@ -3,7 +3,6 @@ `Microsoft.Extensions.Logging.Debug` provides a Debug output logger provider implementation for Microsoft.Extensions.Logging. This logger logs messages to a debugger monitor by writing messages with `System.Diagnostics.Debug.WriteLine()`. - ## Key Features diff --git a/src/libraries/Microsoft.Extensions.Logging/src/PACKAGE.md b/src/libraries/Microsoft.Extensions.Logging/src/PACKAGE.md index 607283d3eb748..87c2d2b79ee29 100644 --- a/src/libraries/Microsoft.Extensions.Logging/src/PACKAGE.md +++ b/src/libraries/Microsoft.Extensions.Logging/src/PACKAGE.md @@ -1,6 +1,7 @@ ## About + `Microsoft.Extensions.Logging` is combined with a core logging abstraction under `Microsoft.Extensions.Logging.Abstractions`. This abstraction is available in our basic built-in implementations like console, event log, and debug (Debug.WriteLine) logging. ## Key Features diff --git a/src/libraries/System.Data.Odbc/src/PACKAGE.md b/src/libraries/System.Data.Odbc/src/PACKAGE.md index 7195ca77a5006..a45dd52364c18 100644 --- a/src/libraries/System.Data.Odbc/src/PACKAGE.md +++ b/src/libraries/System.Data.Odbc/src/PACKAGE.md @@ -11,6 +11,9 @@ Allows access to ODBC data sources. This is a basic example of retrieving the results of a query using an [OdbcDataReader](https://learn.microsoft.com/dotnet/api/system.data.odbc.odbcdatareader). For examples of using an [OdbcDataAdapter](https://learn.microsoft.com/dotnet/api/system.data.odbc.odbcdataadapter), and of updating an ODBC data source, please see the documentation. ```cs +using System.Data.Odbc; + +string connectionString = ""; string queryString = "SELECT DISTINCT CustomerID FROM Orders"; using OdbcConnection connection = new OdbcConnection(connectionString); diff --git a/src/libraries/System.Data.OleDb/src/PACKAGE.md b/src/libraries/System.Data.OleDb/src/PACKAGE.md index be973625ebef7..6e81daa638b2e 100644 --- a/src/libraries/System.Data.OleDb/src/PACKAGE.md +++ b/src/libraries/System.Data.OleDb/src/PACKAGE.md @@ -11,6 +11,9 @@ Allows access to legacy OLE DB data sources. This is a basic example of retrieving the results of a query using an [OleDbDataReader](https://learn.microsoft.com/dotnet/api/system.data.oledb.oledbdatareader). For examples of using an [OleDbDataAdapter](https://learn.microsoft.com/dotnet/api/system.data.oledb.oledbdataadapter), and of updating an OLE DB data source, please see the documentation. ```cs +using System.Data.OleDb; + +string connectionString = ""; string queryString = "SELECT OrderID, CustomerID FROM Orders"; using OleDbConnection connection = new OleDbConnection(connectionString); diff --git a/src/libraries/System.DirectoryServices.AccountManagement/src/PACKAGE.md b/src/libraries/System.DirectoryServices.AccountManagement/src/PACKAGE.md index 7d761e089fbb8..bee50af73d3c4 100644 --- a/src/libraries/System.DirectoryServices.AccountManagement/src/PACKAGE.md +++ b/src/libraries/System.DirectoryServices.AccountManagement/src/PACKAGE.md @@ -67,7 +67,6 @@ The main types provided by this library are: [System.DirectoryServices](https://learn.microsoft.com/dotnet/api/system.directoryservices) - ## Feedback & Contributing diff --git a/src/libraries/System.DirectoryServices/src/PACKAGE.md b/src/libraries/System.DirectoryServices/src/PACKAGE.md index 4c879dd574aa3..981c865baf921 100644 --- a/src/libraries/System.DirectoryServices/src/PACKAGE.md +++ b/src/libraries/System.DirectoryServices/src/PACKAGE.md @@ -69,7 +69,6 @@ The main types provided by this library are: * [Active Directory Service Interfaces](https://learn.microsoft.com/windows/win32/adsi/active-directory-service-interfaces-adsi) * [Lightweight Directory Access Protocol (LDAP)](https://learn.microsoft.com/previous-versions/windows/desktop/ldap/lightweight-directory-access-protocol-ldap-api) - ## Related Packages * [System.DirectoryServices.AccountManagement](https://learn.microsoft.com/dotnet/api/system.directoryservices.accountmanagement) diff --git a/src/libraries/System.IO.Ports/src/PACKAGE.md b/src/libraries/System.IO.Ports/src/PACKAGE.md index 90da18ddefd2f..218bf288eb045 100644 --- a/src/libraries/System.IO.Ports/src/PACKAGE.md +++ b/src/libraries/System.IO.Ports/src/PACKAGE.md @@ -1,6 +1,7 @@ ## About + [System.IO.Ports](https://www.nuget.org/packages/System.IO.Ports) package provides synchronous serial port file resource. Additionally, the functionality of this class can be wrapped in an internal `Stream` object, accessible through the `BaseStream` property, and passed to classes that wrap or use streams. ## Key Features diff --git a/src/libraries/System.Management/src/PACKAGE.md b/src/libraries/System.Management/src/PACKAGE.md index 280347191d101..7138378ac8748 100644 --- a/src/libraries/System.Management/src/PACKAGE.md +++ b/src/libraries/System.Management/src/PACKAGE.md @@ -1,6 +1,7 @@ ## About + Provides access to a rich set of management information and management events about the system, devices, and applications instrumented to the Windows Management Instrumentation (WMI) infrastructure. Not supported on other platforms. ## Key Features diff --git a/src/libraries/System.Speech/src/PACKAGE.md b/src/libraries/System.Speech/src/PACKAGE.md index e7d46cc047307..ac57df4ca354d 100644 --- a/src/libraries/System.Speech/src/PACKAGE.md +++ b/src/libraries/System.Speech/src/PACKAGE.md @@ -1,6 +1,7 @@ ## About + Provides APIs for speech recognition and synthesis built on the [Microsoft Speech API](https://learn.microsoft.com/previous-versions/windows/desktop/ms723627(v=vs.85)) in Windows. Not supported on other platforms. This package is provided primarily for compatibility with code being ported from .NET Framework and is not accepting new features. diff --git a/src/libraries/System.Text.Encoding.CodePages/src/PACKAGE.md b/src/libraries/System.Text.Encoding.CodePages/src/PACKAGE.md index 87e4c8054b2fd..7da4fd98cd740 100644 --- a/src/libraries/System.Text.Encoding.CodePages/src/PACKAGE.md +++ b/src/libraries/System.Text.Encoding.CodePages/src/PACKAGE.md @@ -8,7 +8,7 @@ ## How to Use -```csharp +```C# using System.Text; // Register the CodePages encoding provider at application startup to enable using single and double byte encodings.