Browse Source

添加postgresql的dal

develop
OCEAN 4 months ago
parent
commit
ac8d46082d
56 changed files with 35488 additions and 209 deletions
  1. +39
    -26
      CNASBalanceDBManage/App.config
  2. +16
    -4
      CNAS_Authorize/App.config
  3. +35
    -27
      CNAS_BalanceClient/App.config
  4. +50
    -40
      CNAS_DBSync/App.config
  5. +43
    -30
      CNAS_RunSync/app.config
  6. +3
    -1
      CNAS_SerialPort/CNAS_SerialPort.csproj
  7. +15
    -0
      CNAS_SerialPort/app.config
  8. +50
    -37
      CNAS_SyncService/App.config
  9. +19
    -6
      CnasSynchronusClient/App.config
  10. +25
    -17
      CnasSynchronusDAL/App.config
  11. +51
    -0
      CnasSynchronusDAL/CnasSynchronusDAL.csproj
  12. +597
    -0
      CnasSynchronusDAL/DAL/PostgreSqlDAL.cs
  13. +1
    -0
      CnasSynchronusDAL/PostgreSqlDAL.cs
  14. +142
    -0
      CnasSynchronusDAL/Service/PostgreSqlDBService.cs
  15. +16
    -0
      CnasSynchronusDAL/packages.config
  16. +5
    -0
      CnasSynchronusIDAL/IDBService.cs
  17. +1
    -0
      CnasSynchrousModel/CnasSynchrousModel.csproj
  18. +31
    -0
      CnasSynchrousModel/Param/PostgreSQLOpenParams .cs
  19. +17
    -4
      WF-ChangeGUID/App.config
  20. BIN
      dll/CNAS_DBSync.exe
  21. BIN
      dll/CnasSynchronusDAL.dll
  22. +25
    -17
      dll/CnasSynchronusDAL.dll.config
  23. BIN
      dll/CnasSynchronusIDAL.dll
  24. BIN
      dll/CnasSynchrousModel.dll
  25. BIN
      dll/Microsoft.Bcl.AsyncInterfaces.dll
  26. +417
    -0
      dll/Microsoft.Bcl.AsyncInterfaces.xml
  27. BIN
      dll/Microsoft.Bcl.HashCode.dll
  28. +34
    -0
      dll/Microsoft.Bcl.HashCode.xml
  29. BIN
      dll/Microsoft.Extensions.DependencyInjection.Abstractions.dll
  30. +2515
    -0
      dll/Microsoft.Extensions.DependencyInjection.Abstractions.xml
  31. BIN
      dll/Microsoft.Extensions.Logging.Abstractions.dll
  32. +1350
    -0
      dll/Microsoft.Extensions.Logging.Abstractions.xml
  33. BIN
      dll/Npgsql.dll
  34. +11559
    -0
      dll/Npgsql.xml
  35. BIN
      dll/System.Buffers.dll
  36. +38
    -0
      dll/System.Buffers.xml
  37. BIN
      dll/System.Collections.Immutable.dll
  38. +6100
    -0
      dll/System.Collections.Immutable.xml
  39. BIN
      dll/System.Diagnostics.DiagnosticSource.dll
  40. +1886
    -0
      dll/System.Diagnostics.DiagnosticSource.xml
  41. BIN
      dll/System.Memory.dll
  42. +355
    -0
      dll/System.Memory.xml
  43. BIN
      dll/System.Numerics.Vectors.dll
  44. +2621
    -0
      dll/System.Numerics.Vectors.xml
  45. BIN
      dll/System.Runtime.CompilerServices.Unsafe.dll
  46. +291
    -0
      dll/System.Runtime.CompilerServices.Unsafe.xml
  47. BIN
      dll/System.Text.Encodings.Web.dll
  48. +939
    -0
      dll/System.Text.Encodings.Web.xml
  49. BIN
      dll/System.Text.Json.dll
  50. +5785
    -0
      dll/System.Text.Json.xml
  51. BIN
      dll/System.Threading.Channels.dll
  52. +243
    -0
      dll/System.Threading.Channels.xml
  53. BIN
      dll/System.Threading.Tasks.Extensions.dll
  54. +166
    -0
      dll/System.Threading.Tasks.Extensions.xml
  55. BIN
      dll/System.ValueTuple.dll
  56. +8
    -0
      dll/System.ValueTuple.xml

+ 39
- 26
CNASBalanceDBManage/App.config View File

@@ -1,49 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<appSettings>
<add key="TargetDBType" value="Oracle"/>
<add key="InitalOperationPwd" value="zIU7s3Rawog="/>
<add key="StartWebApiUrl" value="0"/>
<add key="TargetDBType" value="Oracle" />
<add key="InitalOperationPwd" value="zIU7s3Rawog=" />
<add key="StartWebApiUrl" value="0" />
</appSettings>
<log4net>
<logger name="Log">
<level value="INFO"/>
<appender-ref ref="RollingLog"/>
<level value="INFO" />
<appender-ref ref="RollingLog" />
</logger>
<logger name="Err">
<level value="ERROR"/>
<appender-ref ref="RollingErr"/>
<level value="ERROR" />
<appender-ref ref="RollingErr" />
</logger>
<appender name="RollingLog" type="log4net.Appender.RollingFileAppender">
<file value="Log\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="Log\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="INFO"/>
<param name="LevelMax" value="INFO"/>
<param name="LevelMin" value="INFO" />
<param name="LevelMax" value="INFO" />
</filter>
</appender>
<appender name="RollingErr" type="log4net.Appender.RollingFileAppender">
<file value="ErrorLog\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="ErrorLog\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="ERROR"/>
<param name="LevelMax" value="ERROR"/>
<param name="LevelMin" value="ERROR" />
<param name="LevelMax" value="ERROR" />
</filter>
</appender>
</log4net>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

+ 16
- 4
CNAS_Authorize/App.config View File

@@ -1,11 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="TargetDBType" value="Oracle"/>
<add key="InitalOperationPwd" value="zIU7s3Rawog="/>
<add key="StartWebApiUrl" value="0"/>
<add key="TargetDBType" value="Oracle" />
<add key="InitalOperationPwd" value="zIU7s3Rawog=" />
<add key="StartWebApiUrl" value="0" />
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

+ 35
- 27
CNAS_BalanceClient/App.config View File

@@ -1,56 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
</configSections>
<appSettings>
<add key="TargetDBType" value="Mysql"/>
<add key="InitalOperationPwd" value="zIU7s3Rawog="/>
<add key="TargetDBType" value="Mysql" />
<add key="InitalOperationPwd" value="zIU7s3Rawog=" />
</appSettings>
<log4net>
<logger name="Log">
<level value="INFO"/>
<appender-ref ref="RollingLog"/>
<level value="INFO" />
<appender-ref ref="RollingLog" />
</logger>
<logger name="Err">
<level value="ERROR"/>
<appender-ref ref="RollingErr"/>
<level value="ERROR" />
<appender-ref ref="RollingErr" />
</logger>
<appender name="RollingLog" type="log4net.Appender.RollingFileAppender">
<file value="Log\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="Log\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="INFO"/>
<param name="LevelMax" value="INFO"/>
<param name="LevelMin" value="INFO" />
<param name="LevelMax" value="INFO" />
</filter>
</appender>
<appender name="RollingErr" type="log4net.Appender.RollingFileAppender">
<file value="ErrorLog\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="ErrorLog\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="ERROR"/>
<param name="LevelMax" value="ERROR"/>
<param name="LevelMin" value="ERROR" />
<param name="LevelMax" value="ERROR" />
</filter>
</appender>
</log4net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Devart.Data" publicKeyToken="09af7300eec23701" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.0.2194.0" newVersion="5.0.2194.0"/>
<assemblyIdentity name="Devart.Data" publicKeyToken="09af7300eec23701" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.2194.0" newVersion="5.0.2194.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup></configuration>

+ 50
- 40
CNAS_DBSync/App.config View File

@@ -1,87 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="CNAS_DBSync.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<connectionStrings>
<add name="CoreDb" connectionString="Driver={IBM DB2 ODBC DRIVER};DataBase=SAMPLE; HostName=127.0.0.1; Protocol=TCPIP;Port=50000;Uid=db2admin;Pwd=123" />
<add name="CNAS_DBSync.Properties.Settings.ConnectionString"
connectionString="Data Source=C:\DEV\CNAS\CNASClient\CNAS_DBSync\dll\database.db"
providerName="Devart.Data.SQLite" />
<add name="CNAS_DBSync.Properties.Settings.ConnectionString" connectionString="Data Source=C:\DEV\CNAS\CNASClient\CNAS_DBSync\dll\database.db" providerName="Devart.Data.SQLite" />
</connectionStrings>
<appSettings>
<add key="TargetDBType" value="Mysql"/>
<add key="InitalOperationPwd" value="zIU7s3Rawog="/>
<add key="GetMacMethod" value="1"/>
<add key="StartGeneralVersion" value="1"/>
<add key="StartWebApiUrl" value="1"/>
<add key="WebApiUrl" value="http://localhost:60101/api"/>
<add key="TargetDBType" value="Mysql" />
<add key="InitalOperationPwd" value="zIU7s3Rawog=" />
<add key="GetMacMethod" value="1" />
<add key="StartGeneralVersion" value="1" />
<add key="StartWebApiUrl" value="1" />
<add key="WebApiUrl" value="http://localhost:60101/api" />
</appSettings>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb"/>
<parameter value="mssqllocaldb" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"/>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6"/>
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6"/>
<remove invariant="System.Data.SQLite"/><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/></DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6" />
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories>
</system.data>
<log4net>
<logger name="Log">
<level value="INFO"/>
<appender-ref ref="RollingLog"/>
<level value="INFO" />
<appender-ref ref="RollingLog" />
</logger>
<logger name="Err">
<level value="ERROR"/>
<appender-ref ref="RollingErr"/>
<level value="ERROR" />
<appender-ref ref="RollingErr" />
</logger>
<appender name="RollingLog" type="log4net.Appender.RollingFileAppender">
<file value="Log\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="Log\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="INFO"/>
<param name="LevelMax" value="INFO"/>
<param name="LevelMin" value="INFO" />
<param name="LevelMax" value="INFO" />
</filter>
</appender>
<appender name="RollingErr" type="log4net.Appender.RollingFileAppender">
<file value="ErrorLog\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="ErrorLog\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="ERROR"/>
<param name="LevelMax" value="ERROR"/>
<param name="LevelMin" value="ERROR" />
<param name="LevelMax" value="ERROR" />
</filter>
</appender>
</log4net>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup><applicationSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup><applicationSettings>
<CNAS_DBSync.Properties.Settings>
<setting name="SyncParamSize" serializeAs="String">
<value />
</setting>
</CNAS_DBSync.Properties.Settings>
</applicationSettings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

+ 43
- 30
CNAS_RunSync/app.config View File

@@ -1,53 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<appSettings>
<add key="TargetDBType" value="Mysql"/>
<add key="InitalOperationPwd" value="zIU7s3Rawog="/>
<add key="DelayDays" value="-60"/>
<add key="GetMacMethod" value="1"/>
<add key="StartGeneralVersion" value="1"/>
<add key="StartWebApiUrl" value="1"/>
<add key="WebApiUrl" value="http://localhost:60101/api"/>
<add key="TargetDBType" value="Mysql" />
<add key="InitalOperationPwd" value="zIU7s3Rawog=" />
<add key="DelayDays" value="-60" />
<add key="GetMacMethod" value="1" />
<add key="StartGeneralVersion" value="1" />
<add key="StartWebApiUrl" value="1" />
<add key="WebApiUrl" value="http://localhost:60101/api" />
</appSettings>
<log4net>
<logger name="Log">
<level value="INFO"/>
<appender-ref ref="RollingLog"/>
<level value="INFO" />
<appender-ref ref="RollingLog" />
</logger>
<logger name="Err">
<level value="ERROR"/>
<appender-ref ref="RollingErr"/>
<level value="ERROR" />
<appender-ref ref="RollingErr" />
</logger>
<appender name="RollingLog" type="log4net.Appender.RollingFileAppender">
<file value="Log\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="Log\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="INFO"/>
<param name="LevelMax" value="INFO"/>
<param name="LevelMin" value="INFO" />
<param name="LevelMax" value="INFO" />
</filter>
</appender>
<appender name="RollingErr" type="log4net.Appender.RollingFileAppender">
<file value="ErrorLog\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="ErrorLog\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="ERROR"/>
<param name="LevelMax" value="ERROR"/>
<param name="LevelMin" value="ERROR" />
<param name="LevelMax" value="ERROR" />
</filter>
</appender>
</log4net>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

+ 3
- 1
CNAS_SerialPort/CNAS_SerialPort.csproj View File

@@ -81,6 +81,8 @@
<Name>SyncLocalDAL</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

+ 15
- 0
CNAS_SerialPort/app.config View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

+ 50
- 37
CNAS_SyncService/App.config View File

@@ -1,68 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<appSettings>
<add key="TargetDBType" value="MySQL"/>
<add key="InitalOperationPwd" value="zIU7s3Rawog="/>
<add key="StartWebApiUrl" value="0"/>
<add key="WebApiUrl" value="http://localhost:60101/api"/>
<add key="TargetDBType" value="MySQL" />
<add key="InitalOperationPwd" value="zIU7s3Rawog=" />
<add key="StartWebApiUrl" value="0" />
<add key="WebApiUrl" value="http://localhost:60101/api" />
</appSettings>
<log4net>
<logger name="Log">
<level value="INFO"/>
<appender-ref ref="RollingLog"/>
<level value="INFO" />
<appender-ref ref="RollingLog" />
</logger>
<logger name="Err">
<level value="ERROR"/>
<appender-ref ref="RollingErr"/>
<level value="ERROR" />
<appender-ref ref="RollingErr" />
</logger>
<logger name="ServiceLog">
<level value="INFO"/>
<appender-ref ref="RollingServiceLog"/>
<level value="INFO" />
<appender-ref ref="RollingServiceLog" />
</logger>
<appender name="RollingLog" type="log4net.Appender.RollingFileAppender">
<file value="Log\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="Log\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 操作信息:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="INFO"/>
<param name="LevelMax" value="INFO"/>
<param name="LevelMin" value="INFO" />
<param name="LevelMax" value="INFO" />
</filter>
</appender>
<appender name="RollingErr" type="log4net.Appender.RollingFileAppender">
<file value="ErrorLog\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="ErrorLog\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 错误描述:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="ERROR"/>
<param name="LevelMax" value="ERROR"/>
<param name="LevelMin" value="ERROR" />
<param name="LevelMax" value="ERROR" />
</filter>
</appender>
<appender name="RollingServiceLog" type="log4net.Appender.RollingFileAppender">
<file value="ServiceLog\"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd'.txt'"/>
<staticLogFileName value="false"/>
<file value="ServiceLog\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 信息描述:%m%n"/>
<conversionPattern value="记录时间:%d 线程ID:[%thread]- 信息描述:%m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="INFO"/>
<param name="LevelMax" value="INFO"/>
<param name="LevelMin" value="INFO" />
<param name="LevelMax" value="INFO" />
</filter>
</appender>
</log4net>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

+ 19
- 6
CnasSynchronusClient/App.config View File

@@ -1,19 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb"/>
<parameter value="mssqllocaldb" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"/>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

+ 25
- 17
CnasSynchronusDAL/App.config View File

@@ -1,46 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
<section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
</configSections>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb"/>
<parameter value="mssqllocaldb" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"/>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6"/>
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6"/>
<remove invariant="System.Data.SQLite"/><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>
<remove invariant="Oracle.ManagedDataAccess.Client"/>
<add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
<add name="dotConnect for SQLite" invariant="Devart.Data.SQLite" description="Devart dotConnect for SQLite" type="Devart.Data.SQLite.SQLiteProviderFactory, Devart.Data.SQLite, Version=5.15.1541.0, Culture=neutral, PublicKeyToken=09af7300eec23701"/></DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6" />
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
<remove invariant="Oracle.ManagedDataAccess.Client" />
<add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
<add name="dotConnect for SQLite" invariant="Devart.Data.SQLite" description="Devart dotConnect for SQLite" type="Devart.Data.SQLite.SQLiteProviderFactory, Devart.Data.SQLite, Version=5.15.1541.0, Culture=neutral, PublicKeyToken=09af7300eec23701" /></DbProviderFactories>
</system.data>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<publisherPolicy apply="no"/>
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral"/>
<bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.122.19.1"/>
<publisherPolicy apply="no" />
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
<bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.122.19.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<oracle.manageddataaccess.client>
<version number="*">
<dataSources>
<dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) "/>
<dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " />
</dataSources>
</version>
</oracle.manageddataaccess.client>


+ 51
- 0
CnasSynchronusDAL/CnasSynchronusDAL.csproj View File

@@ -49,13 +49,34 @@
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.2.0\lib\net40\EntityFramework.SqlServer.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Bcl.HashCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.HashCode.1.1.1\lib\net461\Microsoft.Bcl.HashCode.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.8.0.0\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.8.0.0\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
</Reference>
<Reference Include="MySql.Data">
<HintPath>..\..\..\CNASClient\CNAS_DBSync\dll\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="Npgsql, Version=8.0.3.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL">
<HintPath>..\packages\Npgsql.8.0.3\lib\netstandard2.0\Npgsql.dll</HintPath>
</Reference>
<Reference Include="Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=MSIL">
<HintPath>..\packages\Oracle.ManagedDataAccess.19.6.0\lib\net40\Oracle.ManagedDataAccess.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Collections.Immutable.8.0.0\lib\net462\System.Collections.Immutable.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Data.SQLite, Version=1.0.111.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
@@ -67,6 +88,34 @@
<Reference Include="System.Data.SQLite.Linq, Version=1.0.111.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
<HintPath>..\packages\System.Data.SQLite.Linq.1.0.111.0\lib\net40\System.Data.SQLite.Linq.dll</HintPath>
</Reference>
<Reference Include="System.Diagnostics.DiagnosticSource, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.8.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll</HintPath>
</Reference>
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.Encodings.Web.8.0.0\lib\net462\System.Text.Encodings.Web.dll</HintPath>
</Reference>
<Reference Include="System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.Json.8.0.0\lib\net462\System.Text.Json.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Channels, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Channels.8.0.0\lib\net462\System.Threading.Channels.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
@@ -74,6 +123,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="DAL\PostgreSqlDAL.cs" />
<Compile Include="DAL\ReadFileCommon01.cs" />
<Compile Include="FoxProSpecialDtMethod.cs" />
<Compile Include="ReadFileThirdth.cs" />
@@ -97,6 +147,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="BaseReadFileMode.cs" />
<Compile Include="ReadFileSecond.cs" />
<Compile Include="Service\PostgreSqlDBService.cs" />
<Compile Include="Service\SqliteDBService.cs" />
<Compile Include="Service\SqlServerDBService.cs" />
<Compile Include="Service\TXTService.cs" />


+ 597
- 0
CnasSynchronusDAL/DAL/PostgreSqlDAL.cs View File

@@ -0,0 +1,597 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using MySql.Data.MySqlClient;
using CnasSynchronousCommon;
using CnasSynchrousModel;
using System.Reflection;
using Devart.Common;

namespace CnasSynchronusDAL
{
public class PostgreSqlDAL
{
public void CreateConnectString(string strIP,string strPort,string strName, string strUser, string strPwd)
{
MySQLHelper.InitConnectionString(strIP,strPort,strName,strUser,strPwd);
}

public void CreateConnectString(string strConnectString)
{
MySQLHelper.InitConnectionString(strConnectString);
}

//获取所有表单名称
public DataTable GetTableNames(string strName)
{
DataTable dt = new DataTable();
string strSql = string.Format("SELECT table_name as TABNAME FROM information_schema.TABLES WHERE table_schema='{0}'", strName);
try
{
dt = MySQLHelper.ExecuteDataSet(strSql).Tables[0];
}
catch (Exception ex)
{
AppLog.Error(ex.Message);
}
return dt;
}

/// <summary>
/// 获取某表的表结构
/// </summary>
/// <param name="strTableName"></param>
/// <returns></returns>
public DataTable GetTableStruct(string strTableName,string strViewName,string strViewSql)
{
DataTable dt = new DataTable();
if (strTableName.Length <= 0) return dt;
string strSql = "";
if (strViewName == strTableName && !string.IsNullOrWhiteSpace(strViewName))
strSql = strViewSql + " where 0=1";
else
strSql = string.Format("SELECT * FROM {0} Where 0=1", strTableName);
try
{
AppLog.Error("===-222-==="+ strTableName + strSql);
dt = MySQLHelper.ExecuteDataSet(strSql).Tables[0];
AppLog.Error("===-333-==="+ strTableName + "MySQLHelper.ExecuteDataSet(strSql)" + dt);
}
catch (Exception ex)
{
AppLog.Error(ex.Message);
}
return dt;
}

/// <summary>
/// 获取某表的表结构和类型长度
/// </summary>
/// <param name="strTableName"></param>
/// <returns></returns>
public DataTable GetTableTypeAndLenth(string strTableName)
{
DataTable dt = new DataTable();
string strSql = string.Format("select COLUMN_NAME AS 'ColumnName',IS_NULLABLE AS 'IsNullable',DATA_TYPE AS 'DataType',CHARACTER_MAXIMUM_LENGTH AS 'CharMaxLenth',CHARACTER_OCTET_LENGTH AS 'CharOcterLenth',NUMERIC_PRECISION AS 'NumericPrecision',NUMERIC_SCALE AS 'NumericScale' FROM information_schema.COLUMNS WHERE TABLE_NAME LIKE '{0}'", strTableName);
try
{
dt = MySQLHelper.ExecuteDataSet(strSql).Tables[0];
}
catch (Exception ex)
{
AppLog.Error(ex.Message);
}
return dt;
}


/// <summary>
/// 逐行批量插入数据
/// </summary>
/// <param name="dt"></param>
/// <returns></returns>
public int InsertCnasData(DataTable dt, List<SyncParamasInfo> syncParamasInfos, List<CnasConditionMapValue> lstFixedValue,string strInsumentColumn)
{
int iReturn = 0;
if (dt.Rows.Count <= 0) return 0;
try
{
//获取唯一健组(关键字段)
var query = from p in syncParamasInfos
where p.IfPrimaryKey == true
select new
{
p.TargetField
};
List<string> lstKeyColumns = new List<string>();
foreach (var item in query)
{
lstKeyColumns.Add(item.TargetField);
}

//构建SQL语句
string strSql_part1 = "";
string strSql_part2 = "";
List<string> lstColumnName = new List<string>();
foreach (var item in syncParamasInfos)
{
if (!lstColumnName.Contains(item.TargetField.ToLower()))
{
strSql_part1 += item.TargetField + ",";
strSql_part2 += string.Format("@{0},", item.TargetField.ToLower());
lstColumnName.Add(item.TargetField.ToLower());
}
}

//如果映射列中不包含固定列,则需要将这些列添加到SQL语句中
if (lstFixedValue != null)
{
foreach (var cnasfield in lstFixedValue)
{
if (cnasfield.TableName != syncParamasInfos[0].TargetTable) continue;
if (!lstColumnName.Contains(cnasfield.ColumnName.ToLower()))
{
strSql_part1 += cnasfield.ColumnName + ",";
strSql_part2 += string.Format("@{0},", cnasfield.ColumnName.ToLower());

lstColumnName.Add(cnasfield.ColumnName.ToLower());
}
}
}
//增加仪器编号数据
if (!string.IsNullOrWhiteSpace(strInsumentColumn) && !lstColumnName.Contains(strInsumentColumn.ToLower()))
{
strSql_part1 += strInsumentColumn + ",";
strSql_part2 += string.Format("@{0},", strInsumentColumn);

lstColumnName.Add(strInsumentColumn.ToLower());
}

string strInsertSql = string.Format("insert into {0}({1}) values({2})", syncParamasInfos[0].TargetTable, strSql_part1.Substring(0, strSql_part1.Length - 1), strSql_part2.Substring(0, strSql_part2.Length - 1));
string strUpdateSql = "";
DataTable dtSelect = new DataTable();
foreach (DataRow dr in dt.Rows)
{
//插入参数值
MySqlParameter[] parameters = new MySqlParameter[lstColumnName.Count];
int i = 0;
foreach (var item in lstColumnName)
{
parameters[i++] = new MySqlParameter(item, dr[item]);
}
//插入时发现已经在数据库中存在该值,则进行更新操作
int ifHavaValue = ExistSingleCnasData(lstKeyColumns, syncParamasInfos[0].TargetTable, dr, ref dtSelect);
if (ifHavaValue==1)
{
if (dtSelect.Rows.Count == 1)
{
//比对获取的数据跟准备更新的数据是否一样
if (!CompareObjectOperation.DataRowCompare(dtSelect.Rows[0], dr, lstColumnName))
{
//构造更新语句
strUpdateSql = GetUpdateSql(lstColumnName, lstKeyColumns, syncParamasInfos[0].TargetTable, dr);
//执行UpdateSql语句
iReturn += MySQLHelper.ExecuteNonQuery(strUpdateSql, parameters);
}
else
{
iReturn = -2;
AppLog.Info("更新时发现在数据库中相同关键字段数据一致。");
}
}
else
{
AppLog.Error("更新时发现在数据库中多条相同关键字段数据,请重新配置关键字段。");
}
}
else if(ifHavaValue==0)
{
//执行InsertSQL语句
iReturn += MySQLHelper.ExecuteNonQuery(strInsertSql, parameters);
}
}
}
catch (Exception ex)
{
if (!LinkCnasTest())
{
iReturn = -1; //用于表示插入时无法正常数据库连接问题
}
//此处添加错误日志
AppLog.Error(ex.Message);
}
return iReturn;
}

/// <summary>
/// 拼接Update语句
/// </summary>
/// <param name="lstColumnName"></param>
/// <param name="lstPrimaryColumn"></param>
/// <param name="dr"></param>
private string GetUpdateSql(List<string> lstColumnName,List<string> lstPrimaryColumn, string strTableName,DataRow dr)
{
//构造关键字段条件
string strsql_partial = "";
foreach (var item in lstPrimaryColumn)
{
if (dr.Table.Columns.Contains(item.ToString()))
if (dr[item.ToString()].ToString() != "")
strsql_partial += $"{item.ToString()}='{dr[item.ToString()].ToString()}' and ";
else
strsql_partial += $"({item.ToString()}='{dr[item.ToString()].ToString()}' or {item.ToString()} is null) and ";
}

//构造Update语句
string strUpdateSql = "";
string strsql_partial2 = "";
foreach (var item in lstColumnName)
{
strsql_partial2 += $"{item}=@{item},";
}

if(strsql_partial.Length > 3&&strsql_partial2.Length>0)
strUpdateSql = $"update {strTableName} set {strsql_partial2.Substring(0,strsql_partial2.Length-1)} where {strsql_partial.Substring(0, strsql_partial.Length - 4)}";

return strUpdateSql;
}

internal bool CheckMacMessage(string strMac)
{
bool bIfChecked = false;
string strSql = string.Format("select * FROM macaddress WHERE MAC_ADDRESS='{0}'", strMac);
try
{
DataTable dt = MySQLHelper.ExecuteDataSet(strSql).Tables[0];
if (dt != null && dt.Rows.Count > 0)
{
bIfChecked = true;
}
}
catch (Exception ex)
{
AppLog.Error(ex.Message);
}
return bIfChecked;
}

/// <summary>
/// 是否数据库中已经存在数据,如果存在返回1,并且传递返回的数据;如果不存在,返回0;如果发生了异常,返回-1
/// </summary>
/// <param name="lstPrimaryColumn"></param>
/// <param name="strTableName"></param>
/// <param name="dr"></param>
/// <param name="dtSelect"></param>
/// <returns></returns>
private int ExistSingleCnasData(List<string> lstPrimaryColumn, string strTableName, DataRow dr,ref DataTable dtSelect)
{
int bIfHaveValue = 0; //如果存在,返回1;如果不存在,返回0;如果发生了异常,返回-1
string strsql_partial = "";
string strSql = "";
foreach (var item in lstPrimaryColumn)
{
if (dr.Table.Columns.Contains(item.ToString()))
if (dr[item.ToString()].ToString() != "")
strsql_partial += $"{item.ToString()}='{dr[item.ToString()].ToString()}' and ";
else
strsql_partial += $"({item.ToString()}='{dr[item.ToString()].ToString()}' or {item.ToString()} is null) and ";
}
if (strsql_partial.Length > 3)
strSql = $"select * from {strTableName} where {strsql_partial.Substring(0, strsql_partial.Length - 4)}";

if (strsql_partial.Length > 3 && (strTableName.Equals("tcoalweight") || strTableName.Equals("TCOALWEIGHT")))
strSql = $"select * from {strTableName} where (idbatch is null or idbatch = '') and {strsql_partial.Substring(0, strsql_partial.Length - 4)}";

if (strSql != "")
{
DataTable dt = MySQLHelper.ExecuteDataTable(strSql,new MySqlParameter[] { });
if (dt != null && dt.Rows.Count > 0)
{
bIfHaveValue = 1;
dtSelect = dt;
AppLog.Info($"插入前查询时存在重复数据:{strSql}");
}
else if (dt == null)
{
bIfHaveValue = -1;
AppLog.Info($"插入前查询时发生了异常:{strSql}");
}
}
return bIfHaveValue;
}
internal DataTable GetLoginNameByPwd(string strUserName, string strPwd)
{
DataTable dt = new DataTable();
string strSql = string.Format("select * FROM user WHERE userid='{0}' and password='{1}'", strUserName,strPwd);
try
{
dt = MySQLHelper.ExecuteDataSet(strSql).Tables[0];
}
catch (Exception ex)
{
AppLog.Error(ex.Message);
}
return dt;
}

public bool LinkCnasTest()
{
return MySQLHelper.TestConnectMySql();
}

/// <summary>
/// 获得表中该列中最大时间
/// </summary>
/// <param name="dt"></param>
/// <returns></returns>
public string GetMaxTimeByTableName(string strTableName,string strDateColumn, string strInstrumentColumn, string strInstrumentValue)
{
string strReturnTime = "";
//因为数据库用varchar存储日期字段,从而格式不固定,需要使用多种格式读取
try
{
#region 旧的获取时间方法
////string strSql_1 = string.Format("SELECT max(STR_TO_DATE({0},'%Y-%m-%d %H:%i:%s')) FROM {1} ", strDateColumn, strTableName);
////string strSql_2 = string.Format("SELECT max(STR_TO_DATE({0},'%Y/%m/%d %H:%i:%s')) FROM {1} ", strDateColumn, strTableName);
//string strSql_2 = string.Format("SELECT max(Convert({0},datetime)) FROM {1} ", strDateColumn, strTableName);

////string strDateTime_1 = GetMaxTimeByTableName(strSql_1);
//string strDateTime_2= GetMaxTimeByTableName(strSql_2);

////AppLog.Info($"读取到最大的时间(1):表-{strTableName},列-{strDateColumn},值-{strDateTime_1}");
//AppLog.Info($"读取到最大的时间(2):表-{strTableName},列-{strDateColumn},值-{strDateTime_2}");

//List<DateTime> lstTime = new List<DateTime>();
////DateTime dateTime_1 = DateTime.Now;
//DateTime dateTime_2 = DateTime.Now;
////if (DateTime.TryParse(strDateTime_1, out dateTime_1))
////{
//// lstTime.Add(dateTime_1);
////}
//if (DateTime.TryParse(strDateTime_2, out dateTime_2))
//{
// if (!lstTime.Contains(dateTime_2))
// lstTime.Add(dateTime_2);
//}

//if (lstTime.Count > 0)
//{
// strReturnTime = lstTime.Max<DateTime>().ToString();

// AppLog.Info($"返回最大的时间(3):表-{strTableName},列-{strDateColumn},值-{strReturnTime}");
//}
# endregion

string strSql = string.Format("SELECT Convert(max(Convert({0},datetime)) using utf8) FROM {1}", strDateColumn, strTableName, strInstrumentColumn, strInstrumentValue);
if(!string.IsNullOrWhiteSpace(strInstrumentColumn)&& !string.IsNullOrWhiteSpace(strInstrumentValue))
strSql+= string.Format(" where {0}='{1}'", strInstrumentColumn,strInstrumentValue);
string strDateTime = GetMaxTimeByTableName(strSql);
DateTime dateTime = DateTime.Now;
if (DateTime.TryParse(strDateTime, out dateTime))
{
strReturnTime = strDateTime;
}
}
catch (Exception ex)
{
//if (!LinkCnasTest())
//{
// strReturnTime = "1899-1-1"; //用于表示插入时无法正常数据库连接问题
//}
//只要发生异常,就返回这个结果
strReturnTime = "1899-1-1";
AppLog.Error(ex.Message);
}
return strReturnTime;
}

internal DataTable GetDataByDateColumn(string strDBName,string strViewName,string strViewSql,string strTableName, string strDateColumn, string strDate)
{
DataTable dtReturn = new DataTable();
try
{
string strSql = "";
if (strViewName == strTableName && !string.IsNullOrWhiteSpace(strViewName))
strSql = strViewSql + $" where {strDateColumn} >convert( '{strDate}',datetime)";
else
strSql = $"select * from {strDBName}.{strTableName} where {strDateColumn} >convert( '{strDate}',datetime)";
DataTable dt = MySQLHelper.ExecuteDataSet(strSql).Tables[0];

Dictionary<string, string> dictFiled = GetSpecialOperaField(strDBName,strTableName);
if (dictFiled.Count > 0)
dtReturn = DateAndTimeTypeOpera(dt, dictFiled);
else
dtReturn = dt;
}
catch (Exception ex)
{
//发生异常,写入日志
AppLog.Error(ex.Message);
throw ex;
}
return dtReturn;
}

internal Dictionary<string, DataTable> GetAllTableNameAndStructure(string strDBName)
{
Dictionary<string, DataTable> dictTables = new Dictionary<string, DataTable>();
try
{
DataTable TablesName = GetTableNames(strDBName);//得到所有表
foreach (DataRow dr in TablesName.Rows)
{
string strTableName = dr[0].ToString();
AppLog.Error("===---==="+ strTableName + "GetTableStruct(strTableName, )");
dictTables.Add(strTableName.ToUpper(), GetTableStruct(strTableName,"",""));
}
}
catch (Exception ex)
{
//发生异常,写入日志
AppLog.Error(ex.Message);
//throw ex;
}
return dictTables;
}

public string GetMaxTimeByTableName(string strSql)
{
string strDateTime = "";
try
{
DataTable dt = MySQLHelper.ExecuteDataSet(strSql).Tables[0];
AppLog.Info($"执行语句获得最晚时间:{strSql}");
if (dt != null && dt.Rows.Count == 1)
{
strDateTime = dt.Rows[0][0].ToString();
AppLog.Info($"执行语句获得最晚时间:行数-({dt.Rows.Count}),列数-({dt.Columns.Count}),值-({strDateTime})");
}
}
catch (Exception ex)
{
if (!LinkCnasTest())
{
strDateTime = "1899-1-1"; //用于表示插入时无法正常数据库连接问题
}
AppLog.Error(ex.Message);
}
return strDateTime;
}


/// <summary>
/// 获取所有数据字段,然后记录其中是否存在需要特殊处理的字段
/// </summary>
/// <returns></returns>
private static Dictionary<string, string> GetSpecialOperaField(string strDBName,string strTableName)
{
Dictionary<string, string> DictFiled = new Dictionary<string, string>();
DataTable dt = new DataTable();
try
{
string sql = string.Format("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='{0}' and table_schema='{1}'", strTableName, strDBName); //查询字符串
dt = MySQLHelper.ExecuteDataSet(sql).Tables[0];

foreach (DataRow dr in dt.Rows)
{
if (dr["data_type"].ToString().ToLower() == "date" || dr["data_type"].ToString().ToLower() == "time")
{
DictFiled.Add(dr["column_name"].ToString(), dr["data_type"].ToString());
}
}
}
catch (Exception ex)
{
//发生异常,写入日志
AppLog.Error(ex.Message);
}
return DictFiled;
}

/// <summary>
/// 获取数据时,单独处理某些(Date和Time)类型数据,并把数据类型转换为字符串类型
/// </summary>
private static DataTable DateAndTimeTypeOpera(DataTable dt, Dictionary<string, string> DictSpecialField)
{
DataTable dtNewFormat = new DataTable();

//添加列
foreach (DataColumn dc in dt.Columns)
{
if (DictSpecialField.ContainsKey(dc.ColumnName))
{
string strDateType = DictSpecialField[dc.ColumnName];
switch (strDateType.ToUpper())
{
case "DATE":
case "TIME":
dtNewFormat.Columns.Add(dc.ColumnName, typeof(string)); //使用字符串来存储该字段,而不是采用它的数据库格式(C#无法区分Date, Time,DateTime,前两种格式会自动补充数据,导致数据的不准确)
break;
default:
dtNewFormat.Columns.Add(dc.ColumnName, dc.DataType);
break;
}
}
else
{
dtNewFormat.Columns.Add(dc.ColumnName, dc.DataType);
}
}

//添加数据行
foreach (DataRow dr in dt.Rows)
{
DataRow drNewRow = dtNewFormat.NewRow();
foreach (DataColumn dc in dtNewFormat.Columns)
{
if (!DictSpecialField.ContainsKey(dc.ColumnName))
drNewRow[dc.ColumnName] = dr[dc.ColumnName];
else
{
switch (DictSpecialField[dc.ColumnName].ToUpper())
{
case "DATE":
if (dr[dc.ColumnName] != null && dr[dc.ColumnName].ToString() != "")
drNewRow[dc.ColumnName] = Convert.ToDateTime(dr[dc.ColumnName]).ToString("yyyy-MM-dd");
break;
case "TIME":
if (dr[dc.ColumnName] != null && dr[dc.ColumnName].ToString() != "")
drNewRow[dc.ColumnName] = Convert.ToDateTime(dr[dc.ColumnName].ToString()).ToString("HH:mm:ss");
break;
default:
drNewRow[dc.ColumnName] = dr[dc.ColumnName];
break;
}
}
}
dtNewFormat.Rows.Add(drNewRow);
}

//返回数据
return dtNewFormat;
}

/// <summary>
/// 获取某个表的数据
/// </summary>
/// <param name="strSql"></param>
/// <returns></returns>
public DataTable GetTableData(string strSql)
{
DataTable dt = new DataTable();
try
{
dt = MySQLHelper.ExecuteDataSet(strSql).Tables[0];
}
catch (Exception ex)
{
AppLog.Error(ex.Message);
}
return dt;
}

/// <summary>
/// 插入某个表的数据
/// </summary>
/// <param name="strSql"></param>
/// <returns></returns>
public bool InsertTableData(string strSql)
{
try
{
return MySQLHelper.ExecuteNonQuery(strSql)>0;
}
catch (Exception ex)
{
AppLog.Error(ex.Message);
}
return false;
}

}
}

+ 1
- 0
CnasSynchronusDAL/PostgreSqlDAL.cs View File

@@ -0,0 +1 @@

+ 142
- 0
CnasSynchronusDAL/Service/PostgreSqlDBService.cs View File

@@ -0,0 +1,142 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CnasSynchronousCommon;
using CnasSynchronusIDAL;
using CnasSynchrousModel;

namespace CnasSynchronusDAL
{
public class PostgreSqlDBService : IPostgreSqlDBService
{
public bool TestConnect(string strHost, string strName, string strUser, string strPwd, string strPort)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(strHost, strPort, strName, strUser, strPwd);
return mySQLBase.LinkCnasTest();
}

public Dictionary<string, DataTable> GetInstrumentData(PostgreSQLOpenParams t)
{
PostgreSqlDAL mySQL = new PostgreSqlDAL();
mySQL.CreateConnectString(t.StrHost, t.StrPort, t.StrServer, t.StrUser, t.StrPwd);
return mySQL.GetAllTableNameAndStructure(t.StrServer);
}

public DataTable GetInstrumentDataByDate(PostgreSQLOpenParams t, ConditionParams u)
{
PostgreSqlDAL mySQL = new PostgreSqlDAL();
mySQL.CreateConnectString(t.StrHost, t.StrPort, t.StrServer, t.StrUser, t.StrPwd);
return mySQL.GetDataByDateColumn(
t.StrServer,
t.autoSql.PostgreSqlViewName,
t.autoSql.PostgreSqlViewSql,
u.TableName,
u.DateColumn,
u.DateValue);
}

public DataTable GetInstrumentDataStruct(PostgreSQLOpenParams t, ConditionParams u)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(t.StrHost, t.StrPort, t.StrServer, t.StrUser, t.StrPwd);
return mySQLBase.GetTableStruct(
u.TableName,
t.autoSql.PostgreSqlViewName,
t.autoSql.PostgreSqlViewSql
);
}

public DataTable GetAllCNASTablesName(DataBaseInfo dataBase)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(dataBase.DBHost, dataBase.DBPort, dataBase.DBName, dataBase.DBUser, dataBase.DBPwd);
return mySQLBase.GetTableNames(dataBase.DBName);
}

public DataTable GetCNASTablesStruct(string strTableName, DataBaseInfo dataBase)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(dataBase.DBHost, dataBase.DBPort, dataBase.DBName, dataBase.DBUser, dataBase.DBPwd);
return mySQLBase.GetTableStruct(strTableName,"","");
}

public int InsertDataToCNASTable(DataTable dt, DataBaseInfo dataBase, List<SyncParamasInfo> syncParamasInfos, string strInstrumentColumn,List<CnasConditionMapValue> lstFixedValue = null)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(dataBase.DBHost, dataBase.DBPort, dataBase.DBName, dataBase.DBUser, dataBase.DBPwd);
return mySQLBase.InsertCnasData(dt, syncParamasInfos, lstFixedValue, strInstrumentColumn);
}

public DataTable GetCNASTableTypeLenth(string strTableName, DataBaseInfo dataBase)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(dataBase.DBHost, dataBase.DBPort, dataBase.DBName, dataBase.DBUser, dataBase.DBPwd);
return mySQLBase.GetTableTypeAndLenth(strTableName);
}

public DataTable GetLoginNameByPwd(DataBaseInfo dataBase, string strUserName, string strPwd)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(dataBase.DBHost, dataBase.DBPort, dataBase.DBName, dataBase.DBUser, dataBase.DBPwd);
strPwd = EncryptionOperation.GetMD5Hash(strPwd);
AppLog.Info(strPwd);
return mySQLBase.GetLoginNameByPwd(strUserName, strPwd);
}

public bool CheckMacMessage(DataBaseInfo dataBase, string strMac)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(dataBase.DBHost, dataBase.DBPort, dataBase.DBName, dataBase.DBUser, dataBase.DBPwd);
return mySQLBase.CheckMacMessage(strMac);
}

public bool CheckMacMessage(string strConnectionString, string strMac)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(strConnectionString);
return mySQLBase.CheckMacMessage(strMac);
}

public string GetMaxTimeByTableName(DataBaseInfo dataBase, string strTableName, string strDateColumn, string strInstrumentColumn, string strInstrumentValue)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(dataBase.DBHost, dataBase.DBPort, dataBase.DBName, dataBase.DBUser, dataBase.DBPwd);
return mySQLBase.GetMaxTimeByTableName(strTableName, strDateColumn, strInstrumentColumn, strInstrumentValue);
}


/// <summary>
/// 获取某个表的数据
/// </summary>
/// <param name="dataBase"></param>
/// <param name="strSql"></param>
/// <returns></returns>
public DataTable GetTableData(DataBaseInfo dataBase, string strSql)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(dataBase.DBHost, dataBase.DBPort, dataBase.DBName, dataBase.DBUser, dataBase.DBPwd);
return mySQLBase.GetTableData(strSql);
}

/// <summary>
/// 插入某个表的数据
/// </summary>
/// <param name="dataBase"></param>
/// <param name="strSql"></param>
/// <returns></returns>
public bool InsertTableData(DataBaseInfo dataBase, string strSql)
{
PostgreSqlDAL mySQLBase = new PostgreSqlDAL();
mySQLBase.CreateConnectString(dataBase.DBHost, dataBase.DBPort, dataBase.DBName, dataBase.DBUser, dataBase.DBPwd);

return mySQLBase.InsertTableData(strSql);
}
}
}

+ 16
- 0
CnasSynchronusDAL/packages.config View File

@@ -3,9 +3,25 @@
<package id="Devart.Data.SQLite" version="5.15.1541" targetFramework="net40" requireReinstallation="true" />
<package id="dotConnect.Express.for.SQLite" version="5.15.1541" targetFramework="net40" />
<package id="EntityFramework" version="6.2.0" targetFramework="net40" requireReinstallation="true" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net48" />
<package id="Microsoft.Bcl.HashCode" version="1.1.1" targetFramework="net48" />
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="8.0.0" targetFramework="net48" />
<package id="Microsoft.Extensions.Logging.Abstractions" version="8.0.0" targetFramework="net48" />
<package id="Npgsql" version="8.0.3" targetFramework="net48" />
<package id="Oracle.ManagedDataAccess" version="19.6.0" targetFramework="net40" />
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
<package id="System.Collections.Immutable" version="8.0.0" targetFramework="net48" />
<package id="System.Data.SQLite" version="1.0.111.0" targetFramework="net40" />
<package id="System.Data.SQLite.Core" version="1.0.111.0" targetFramework="net40" requireReinstallation="true" />
<package id="System.Data.SQLite.EF6" version="1.0.111.0" targetFramework="net40" requireReinstallation="true" />
<package id="System.Data.SQLite.Linq" version="1.0.111.0" targetFramework="net40" requireReinstallation="true" />
<package id="System.Diagnostics.DiagnosticSource" version="8.0.0" targetFramework="net48" />
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" />
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net48" />
<package id="System.Text.Encodings.Web" version="8.0.0" targetFramework="net48" />
<package id="System.Text.Json" version="8.0.0" targetFramework="net48" />
<package id="System.Threading.Channels" version="8.0.0" targetFramework="net48" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net48" />
</packages>

+ 5
- 0
CnasSynchronusIDAL/IDBService.cs View File

@@ -13,6 +13,11 @@ namespace CnasSynchronusIDAL
}

public interface IPostgreSqlDBService : ITargetDataBaseService, ISourceDataBaseService<PostgreSQLOpenParams, ConditionParams>
{

}

public interface IDB2DBService : ITargetDataBaseService
{



+ 1
- 0
CnasSynchrousModel/CnasSynchrousModel.csproj View File

@@ -50,6 +50,7 @@
<Compile Include="ApiParams\LoginMessageParam.cs" />
<Compile Include="ApiParams\TableMessageParam.cs" />
<Compile Include="AutoSql.cs" />
<Compile Include="Param\PostgreSQLOpenParams .cs" />
<Compile Include="SourceConfigFile\AccessFormatConfig.cs" />
<Compile Include="SourceConfigFile\ExcelFormatConfig.cs" />
<Compile Include="FilterCondition.cs" />


+ 31
- 0
CnasSynchrousModel/Param/PostgreSQLOpenParams .cs View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CnasSynchrousModel
{
public class PostgreSQLOpenParams : OpenSourceParams
{
/// <summary>
/// 服务器IP
/// </summary>
public string StrHost { get; set; }
/// <summary>
/// 服务器实例名
/// </summary>
public string StrServer { get; set; }

/// <summary>
/// 端口
/// </summary>
public string StrPort { get; set; }

/// <summary>
/// 自定义查询
/// </summary>
public PostgreSqlAutoSql autoSql { get; set; }
}
}

+ 17
- 4
WF-ChangeGUID/App.config View File

@@ -1,7 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="TargetDBType" value="MYSQL"/>
<add key="InitalOperationPwd" value="zIU7s3Rawog="/>
<add key="TargetDBType" value="MYSQL" />
<add key="InitalOperationPwd" value="zIU7s3Rawog=" />
</appSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

BIN
dll/CNAS_DBSync.exe View File


BIN
dll/CnasSynchronusDAL.dll View File


+ 25
- 17
dll/CnasSynchronusDAL.dll.config View File

@@ -1,46 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
<section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
</configSections>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb"/>
<parameter value="mssqllocaldb" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"/>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6"/>
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6"/>
<remove invariant="System.Data.SQLite"/><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>
<remove invariant="Oracle.ManagedDataAccess.Client"/>
<add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
<add name="dotConnect for SQLite" invariant="Devart.Data.SQLite" description="Devart dotConnect for SQLite" type="Devart.Data.SQLite.SQLiteProviderFactory, Devart.Data.SQLite, Version=5.15.1541.0, Culture=neutral, PublicKeyToken=09af7300eec23701"/></DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6" />
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
<remove invariant="Oracle.ManagedDataAccess.Client" />
<add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
<add name="dotConnect for SQLite" invariant="Devart.Data.SQLite" description="Devart dotConnect for SQLite" type="Devart.Data.SQLite.SQLiteProviderFactory, Devart.Data.SQLite, Version=5.15.1541.0, Culture=neutral, PublicKeyToken=09af7300eec23701" /></DbProviderFactories>
</system.data>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<publisherPolicy apply="no"/>
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral"/>
<bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.122.19.1"/>
<publisherPolicy apply="no" />
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
<bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.122.19.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<oracle.manageddataaccess.client>
<version number="*">
<dataSources>
<dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) "/>
<dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " />
</dataSources>
</version>
</oracle.manageddataaccess.client>


BIN
dll/CnasSynchronusIDAL.dll View File


BIN
dll/CnasSynchrousModel.dll View File


BIN
dll/Microsoft.Bcl.AsyncInterfaces.dll View File


+ 417
- 0
dll/Microsoft.Bcl.AsyncInterfaces.xml View File

@@ -0,0 +1,417 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Bcl.AsyncInterfaces</name>
</assembly>
<members>
<member name="T:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1">
<summary>Provides the core logic for implementing a manual-reset <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource"/> or <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource`1"/>.</summary>
<typeparam name="TResult"></typeparam>
</member>
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation">
<summary>
The callback to invoke when the operation completes if <see cref="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)"/> was called before the operation completed,
or <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCoreShared.s_sentinel"/> if the operation completed before a callback was supplied,
or null if a callback hasn't yet been provided and the operation hasn't yet completed.
</summary>
</member>
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuationState">
<summary>State to pass to <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation"/>.</summary>
</member>
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext">
<summary><see cref="T:System.Threading.ExecutionContext"/> to flow to the callback, or null if no flowing is required.</summary>
</member>
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._capturedContext">
<summary>
A "captured" <see cref="T:System.Threading.SynchronizationContext"/> or <see cref="T:System.Threading.Tasks.TaskScheduler"/> with which to invoke the callback,
or null if no special context is required.
</summary>
</member>
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._completed">
<summary>Whether the current operation has completed.</summary>
</member>
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._result">
<summary>The result with which the operation succeeded, or the default value if it hasn't yet completed or failed.</summary>
</member>
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._error">
<summary>The exception with which the operation failed, or null if it hasn't yet completed or completed successfully.</summary>
</member>
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._version">
<summary>The current version of this value, used to help prevent misuse.</summary>
</member>
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.RunContinuationsAsynchronously">
<summary>Gets or sets whether to force continuations to run asynchronously.</summary>
<remarks>Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true.</remarks>
</member>
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Reset">
<summary>Resets to prepare for the next operation.</summary>
</member>
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetResult(`0)">
<summary>Completes with a successful result.</summary>
<param name="result">The result.</param>
</member>
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetException(System.Exception)">
<summary>Complets with an error.</summary>
<param name="error"></param>
</member>
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Version">
<summary>Gets the operation version.</summary>
</member>
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetStatus(System.Int16)">
<summary>Gets the status of the operation.</summary>
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
</member>
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(System.Int16)">
<summary>Gets the result of the operation.</summary>
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
</member>
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)">
<summary>Schedules the continuation action for this operation.</summary>
<param name="continuation">The continuation to invoke when the operation has completed.</param>
<param name="state">The state object to pass to <paramref name="continuation"/> when it's invoked.</param>
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
<param name="flags">The flags describing the behavior of the continuation.</param>
</member>
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.ValidateToken(System.Int16)">
<summary>Ensures that the specified token matches the current version.</summary>
<param name="token">The token supplied by <see cref="T:System.Threading.Tasks.ValueTask"/>.</param>
</member>
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SignalCompletion">
<summary>Signals that the operation has completed. Invoked after the result or error has been set.</summary>
</member>
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.InvokeContinuation">
<summary>
Invokes the continuation with the appropriate captured context / scheduler.
This assumes that if <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext"/> is not null we're already
running within that <see cref="T:System.Threading.ExecutionContext"/>.
</summary>
</member>
<member name="T:System.Threading.Tasks.TaskAsyncEnumerableExtensions">
<summary>Provides a set of static methods for configuring <see cref="T:System.Threading.Tasks.Task"/>-related behaviors on asynchronous enumerables and disposables.</summary>
</member>
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait(System.IAsyncDisposable,System.Boolean)">
<summary>Configures how awaits on the tasks returned from an async disposable will be performed.</summary>
<param name="source">The source async disposable.</param>
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
<returns>The configured async disposable.</returns>
</member>
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Boolean)">
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
<typeparam name="T">The type of the objects being iterated.</typeparam>
<param name="source">The source enumerable being iterated.</param>
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
<returns>The configured enumerable.</returns>
</member>
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.WithCancellation``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Threading.CancellationToken)">
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
<typeparam name="T">The type of the objects being iterated.</typeparam>
<param name="source">The source enumerable being iterated.</param>
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
<returns>The configured enumerable.</returns>
</member>
<member name="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder">
<summary>Represents a builder for asynchronous iterators.</summary>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Create">
<summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder"/> struct.</summary>
<returns>The initialized instance.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.MoveNext``1(``0@)">
<summary>Invokes <see cref="M:System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext"/> on the state machine while guarding the <see cref="T:System.Threading.ExecutionContext"/>.</summary>
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
<param name="stateMachine">The state machine instance, passed by reference.</param>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
<param name="awaiter">The awaiter.</param>
<param name="stateMachine">The state machine.</param>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
<param name="awaiter">The awaiter.</param>
<param name="stateMachine">The state machine.</param>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Complete">
<summary>Marks iteration as being completed, whether successfully or otherwise.</summary>
</member>
<member name="P:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.ObjectIdForDebugger">
<summary>Gets an object that may be used to uniquely identify this builder to the debugger.</summary>
</member>
<member name="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute">
<summary>Indicates whether a method is an asynchronous iterator.</summary>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute.#ctor(System.Type)">
<summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute"/> class.</summary>
<param name="stateMachineType">The type object for the underlying state machine type that's used to implement a state machine method.</param>
</member>
<member name="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable">
<summary>Provides a type that can be used to configure how awaits on an <see cref="T:System.IAsyncDisposable"/> are performed.</summary>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredAsyncDisposable.DisposeAsync">
<summary>Asynchronously releases the unmanaged resources used by the <see cref="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable" />.</summary>
<returns>A task that represents the asynchronous dispose operation.</returns>
</member>
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1">
<summary>Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.</summary>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)">
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
<returns>The configured enumerable.</returns>
<remarks>This will replace any previous value set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)"/> for this iteration.</remarks>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)">
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
<returns>The configured enumerable.</returns>
<remarks>This will replace any previous <see cref="T:System.Threading.CancellationToken"/> set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)"/> for this iteration.</remarks>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.GetAsyncEnumerator">
<summary>Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits.</summary>
<returns>An enumerator for the <see cref="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1" /> class.</returns>
</member>
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator">
<summary>Provides an awaitable async enumerator that enables cancelable iteration and configured awaits.</summary>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.MoveNextAsync">
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
<returns>
A <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> that will complete with a result of <c>true</c>
if the enumerator was successfully advanced to the next element, or <c>false</c> if the enumerator has
passed the end of the collection.
</returns>
</member>
<member name="P:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.Current">
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.DisposeAsync">
<summary>
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources asynchronously.
</summary>
</member>
<member name="T:System.Runtime.CompilerServices.EnumeratorCancellationAttribute">
<summary>Allows users of async-enumerable methods to mark the parameter that should receive the cancellation token value from <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)" />.</summary>
</member>
<member name="M:System.Runtime.CompilerServices.EnumeratorCancellationAttribute.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.EnumeratorCancellationAttribute" /> class.</summary>
</member>
<member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
<summary>
Attribute used to indicate a source generator should create a function for marshalling
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
</summary>
<remarks>
This attribute is meaningless if the source generator associated with it is not enabled.
The current built-in source generator only supports C# and only supplies an implementation when
applied to static, partial, non-generic methods.
</remarks>
</member>
<member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
</summary>
<param name="libraryName">Name of the library containing the import.</param>
</member>
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
<summary>
Gets the name of the library containing the import.
</summary>
</member>
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
<summary>
Gets or sets the name of the entry point to be called.
</summary>
</member>
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
<summary>
Gets or sets how to marshal string arguments to the method.
</summary>
<remarks>
If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
<see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
</remarks>
</member>
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
<summary>
Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
</summary>
<remarks>
If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
</remarks>
</member>
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
<summary>
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
on other platforms) before returning from the attributed method.
</summary>
</member>
<member name="T:System.Runtime.InteropServices.StringMarshalling">
<summary>
Specifies how strings should be marshalled for generated p/invokes
</summary>
</member>
<member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
<summary>
Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
</summary>
</member>
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
<summary>
Use the platform-provided UTF-8 marshaller.
</summary>
</member>
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
<summary>
Use the platform-provided UTF-16 marshaller.
</summary>
</member>
<member name="T:System.Collections.Generic.IAsyncEnumerable`1">
<summary>Exposes an enumerator that provides asynchronous iteration over values of a specified type.</summary>
<typeparam name="T">The type of values to enumerate.</typeparam>
</member>
<member name="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)">
<summary>Returns an enumerator that iterates asynchronously through the collection.</summary>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that may be used to cancel the asynchronous iteration.</param>
<returns>An enumerator that can be used to iterate asynchronously through the collection.</returns>
</member>
<member name="T:System.Collections.Generic.IAsyncEnumerator`1">
<summary>Supports a simple asynchronous iteration over a generic collection.</summary>
<typeparam name="T">The type of objects to enumerate.</typeparam>
</member>
<member name="M:System.Collections.Generic.IAsyncEnumerator`1.MoveNextAsync">
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
<returns>
A <see cref="T:System.Threading.Tasks.ValueTask`1"/> that will complete with a result of <c>true</c> if the enumerator
was successfully advanced to the next element, or <c>false</c> if the enumerator has passed the end
of the collection.
</returns>
</member>
<member name="P:System.Collections.Generic.IAsyncEnumerator`1.Current">
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
</member>
<member name="T:System.IAsyncDisposable">
<summary>Provides a mechanism for releasing unmanaged resources asynchronously.</summary>
</member>
<member name="M:System.IAsyncDisposable.DisposeAsync">
<summary>
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources asynchronously.
</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
<summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.DisallowNullAttribute">
<summary>Specifies that null is disallowed as an input even if the corresponding type allows it.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullAttribute">
<summary>Specifies that an output may be null even if the corresponding type disallows it.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.NotNullAttribute">
<summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
<summary>Initializes the attribute with the specified return value condition.</summary>
<param name="returnValue">
The return value condition. If the method returns this value, the associated parameter may be null.
</param>
</member>
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
<summary>Gets the return value condition.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute">
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.#ctor(System.Boolean)">
<summary>Initializes the attribute with the specified return value condition.</summary>
<param name="returnValue">
The return value condition. If the method returns this value, the associated parameter will not be null.
</param>
</member>
<member name="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue">
<summary>Gets the return value condition.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute">
<summary>Specifies that the output will be non-null if the named parameter is non-null.</summary>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.#ctor(System.String)">
<summary>Initializes the attribute with the associated parameter name.</summary>
<param name="parameterName">
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
</param>
</member>
<member name="P:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.ParameterName">
<summary>Gets the associated parameter name.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
<summary>Applied to a method that will never return under any circumstance.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute">
<summary>Specifies that the method will not return if the associated Boolean parameter is passed the specified value.</summary>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.#ctor(System.Boolean)">
<summary>Initializes the attribute with the specified parameter value.</summary>
<param name="parameterValue">
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
the associated parameter matches this value.
</param>
</member>
<member name="P:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.ParameterValue">
<summary>Gets the condition parameter value.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
<summary>Initializes the attribute with a field or property member.</summary>
<param name="member">
The field or property member that is promised to be not-null.
</param>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
<summary>Initializes the attribute with the list of field and property members.</summary>
<param name="members">
The list of field and property members that are promised to be not-null.
</param>
</member>
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
<summary>Gets field or property member names.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
<summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
<param name="returnValue">
The return value condition. If the method returns this value, the associated parameter will not be null.
</param>
<param name="member">
The field or property member that is promised to be not-null.
</param>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
<summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
<param name="returnValue">
The return value condition. If the method returns this value, the associated parameter will not be null.
</param>
<param name="members">
The list of field and property members that are promised to be not-null.
</param>
</member>
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
<summary>Gets the return value condition.</summary>
</member>
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
<summary>Gets field or property member names.</summary>
</member>
</members>
</doc>

BIN
dll/Microsoft.Bcl.HashCode.dll View File


+ 34
- 0
dll/Microsoft.Bcl.HashCode.xml View File

@@ -0,0 +1,34 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Bcl.HashCode</name>
</assembly>
<members>
<member name="M:System.Numerics.BitOperations.RotateLeft(System.UInt32,System.Int32)">
<summary>
Rotates the specified value left by the specified number of bits.
Similar in behavior to the x86 instruction ROL.
</summary>
<param name="value">The value to rotate.</param>
<param name="offset">The number of bits to rotate by.
Any value outside the range [0..31] is treated as congruent mod 32.</param>
<returns>The rotated value.</returns>
</member>
<member name="M:System.Numerics.BitOperations.RotateLeft(System.UInt64,System.Int32)">
<summary>
Rotates the specified value left by the specified number of bits.
Similar in behavior to the x86 instruction ROL.
</summary>
<param name="value">The value to rotate.</param>
<param name="offset">The number of bits to rotate by.
Any value outside the range [0..63] is treated as congruent mod 64.</param>
<returns>The rotated value.</returns>
</member>
<member name="P:System.SR.HashCode_EqualityNotSupported">
<summary>HashCode is a mutable struct and should not be compared with other HashCodes.</summary>
</member>
<member name="P:System.SR.HashCode_HashCodeNotSupported">
<summary>HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.</summary>
</member>
</members>
</doc>

BIN
dll/Microsoft.Extensions.DependencyInjection.Abstractions.dll View File


+ 2515
- 0
dll/Microsoft.Extensions.DependencyInjection.Abstractions.xml
File diff suppressed because it is too large
View File


BIN
dll/Microsoft.Extensions.Logging.Abstractions.dll View File


+ 1350
- 0
dll/Microsoft.Extensions.Logging.Abstractions.xml
File diff suppressed because it is too large
View File


BIN
dll/Npgsql.dll View File


+ 11559
- 0
dll/Npgsql.xml
File diff suppressed because it is too large
View File


BIN
dll/System.Buffers.dll View File


+ 38
- 0
dll/System.Buffers.xml View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>System.Buffers</name>
</assembly>
<members>
<member name="T:System.Buffers.ArrayPool`1">
<summary>Provides a resource pool that enables reusing instances of type <see cref="T[]"></see>.</summary>
<typeparam name="T">The type of the objects that are in the resource pool.</typeparam>
</member>
<member name="M:System.Buffers.ArrayPool`1.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class.</summary>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create">
<summary>Creates a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class.</summary>
<returns>A new instance of the <see cref="System.Buffers.ArrayPool`1"></see> class.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create(System.Int32,System.Int32)">
<summary>Creates a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class using the specifed configuration.</summary>
<param name="maxArrayLength">The maximum length of an array instance that may be stored in the pool.</param>
<param name="maxArraysPerBucket">The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access.</param>
<returns>A new instance of the <see cref="System.Buffers.ArrayPool`1"></see> class with the specified configuration.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Rent(System.Int32)">
<summary>Retrieves a buffer that is at least the requested length.</summary>
<param name="minimumLength">The minimum length of the array.</param>
<returns>An array of type <see cref="T[]"></see> that is at least <paramref name="minimumLength">minimumLength</paramref> in length.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)">
<summary>Returns an array to the pool that was previously obtained using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method on the same <see cref="T:System.Buffers.ArrayPool`1"></see> instance.</summary>
<param name="array">A buffer to return to the pool that was previously obtained using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method.</param>
<param name="clearArray">Indicates whether the contents of the buffer should be cleared before reuse. If <paramref name="clearArray">clearArray</paramref> is set to true, and if the pool will store the buffer to enable subsequent reuse, the <see cref="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)"></see> method will clear the <paramref name="array">array</paramref> of its contents so that a subsequent caller using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method will not see the content of the previous caller. If <paramref name="clearArray">clearArray</paramref> is set to false or if the pool will release the buffer, the array&amp;#39;s contents are left unchanged.</param>
</member>
<member name="P:System.Buffers.ArrayPool`1.Shared">
<summary>Gets a shared <see cref="T:System.Buffers.ArrayPool`1"></see> instance.</summary>
<returns>A shared <see cref="System.Buffers.ArrayPool`1"></see> instance.</returns>
</member>
</members>
</doc>

BIN
dll/System.Collections.Immutable.dll View File


+ 6100
- 0
dll/System.Collections.Immutable.xml
File diff suppressed because it is too large
View File


BIN
dll/System.Diagnostics.DiagnosticSource.dll View File


+ 1886
- 0
dll/System.Diagnostics.DiagnosticSource.xml
File diff suppressed because it is too large
View File


BIN
dll/System.Memory.dll View File


+ 355
- 0
dll/System.Memory.xml View File

@@ -0,0 +1,355 @@
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>System.Memory</name>
</assembly>
<members>
<member name="T:System.Span`1">
<typeparam name="T"></typeparam>
</member>
<member name="M:System.Span`1.#ctor(`0[])">
<param name="array"></param>
</member>
<member name="M:System.Span`1.#ctor(System.Void*,System.Int32)">
<param name="pointer"></param>
<param name="length"></param>
</member>
<member name="M:System.Span`1.#ctor(`0[],System.Int32)">
<param name="array"></param>
<param name="start"></param>
</member>
<member name="M:System.Span`1.#ctor(`0[],System.Int32,System.Int32)">
<param name="array"></param>
<param name="start"></param>
<param name="length"></param>
</member>
<member name="M:System.Span`1.Clear">
</member>
<member name="M:System.Span`1.CopyTo(System.Span{`0})">
<param name="destination"></param>
</member>
<member name="M:System.Span`1.DangerousCreate(System.Object,`0@,System.Int32)">
<param name="obj"></param>
<param name="objectData"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.DangerousGetPinnableReference">
<returns></returns>
</member>
<member name="P:System.Span`1.Empty">
<returns></returns>
</member>
<member name="M:System.Span`1.Equals(System.Object)">
<param name="obj"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.Fill(`0)">
<param name="value"></param>
</member>
<member name="M:System.Span`1.GetHashCode">
<returns></returns>
</member>
<member name="P:System.Span`1.IsEmpty">
<returns></returns>
</member>
<member name="P:System.Span`1.Item(System.Int32)">
<param name="index"></param>
<returns></returns>
</member>
<member name="P:System.Span`1.Length">
<returns></returns>
</member>
<member name="M:System.Span`1.op_Equality(System.Span{`0},System.Span{`0})">
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.op_Implicit(System.ArraySegment{T})~System.Span{T}">
<param name="arraySegment"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.op_Implicit(System.Span{T})~System.ReadOnlySpan{T}">
<param name="span"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.op_Implicit(T[])~System.Span{T}">
<param name="array"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.op_Inequality(System.Span{`0},System.Span{`0})">
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.Slice(System.Int32)">
<param name="start"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.Slice(System.Int32,System.Int32)">
<param name="start"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.ToArray">
<returns></returns>
</member>
<member name="M:System.Span`1.TryCopyTo(System.Span{`0})">
<param name="destination"></param>
<returns></returns>
</member>
<member name="T:System.SpanExtensions">
</member>
<member name="M:System.SpanExtensions.AsBytes``1(System.ReadOnlySpan{``0})">
<param name="source"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.AsBytes``1(System.Span{``0})">
<param name="source"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.AsSpan(System.String)">
<param name="text"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.AsSpan``1(System.ArraySegment{``0})">
<param name="arraySegment"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.AsSpan``1(``0[])">
<param name="array"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.CopyTo``1(``0[],System.Span{``0})">
<param name="array"></param>
<param name="destination"></param>
<typeparam name="T"></typeparam>
</member>
<member name="M:System.SpanExtensions.IndexOf(System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf(System.Span{System.Byte},System.Byte)">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf(System.ReadOnlySpan{System.Byte},System.Byte)">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf``1(System.ReadOnlySpan{``0},``0)">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf``1(System.Span{``0},System.ReadOnlySpan{``0})">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf``1(System.Span{``0},``0)">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.ReadOnlySpan{System.Byte},System.Byte,System.Byte,System.Byte)">
<param name="span"></param>
<param name="value0"></param>
<param name="value1"></param>
<param name="value2"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.Span{System.Byte},System.Byte,System.Byte,System.Byte)">
<param name="span"></param>
<param name="value0"></param>
<param name="value1"></param>
<param name="value2"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.Span{System.Byte},System.Byte,System.Byte)">
<param name="span"></param>
<param name="value0"></param>
<param name="value1"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="values"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="values"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.ReadOnlySpan{System.Byte},System.Byte,System.Byte)">
<param name="span"></param>
<param name="value0"></param>
<param name="value1"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.NonPortableCast``2(System.ReadOnlySpan{``0})">
<param name="source"></param>
<typeparam name="TFrom"></typeparam>
<typeparam name="TTo"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.NonPortableCast``2(System.Span{``0})">
<param name="source"></param>
<typeparam name="TFrom"></typeparam>
<typeparam name="TTo"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.SequenceEqual(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="first"></param>
<param name="second"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.SequenceEqual(System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="first"></param>
<param name="second"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.SequenceEqual``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
<param name="first"></param>
<param name="second"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.SequenceEqual``1(System.Span{``0},System.ReadOnlySpan{``0})">
<param name="first"></param>
<param name="second"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.StartsWith(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.StartsWith(System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.StartsWith``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.StartsWith``1(System.Span{``0},System.ReadOnlySpan{``0})">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="T:System.ReadOnlySpan`1">
<typeparam name="T"></typeparam>
</member>
<member name="M:System.ReadOnlySpan`1.#ctor(`0[])">
<param name="array"></param>
</member>
<member name="M:System.ReadOnlySpan`1.#ctor(System.Void*,System.Int32)">
<param name="pointer"></param>
<param name="length"></param>
</member>
<member name="M:System.ReadOnlySpan`1.#ctor(`0[],System.Int32)">
<param name="array"></param>
<param name="start"></param>
</member>
<member name="M:System.ReadOnlySpan`1.#ctor(`0[],System.Int32,System.Int32)">
<param name="array"></param>
<param name="start"></param>
<param name="length"></param>
</member>
<member name="M:System.ReadOnlySpan`1.CopyTo(System.Span{`0})">
<param name="destination"></param>
</member>
<member name="M:System.ReadOnlySpan`1.DangerousCreate(System.Object,`0@,System.Int32)">
<param name="obj"></param>
<param name="objectData"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.DangerousGetPinnableReference">
<returns></returns>
</member>
<member name="P:System.ReadOnlySpan`1.Empty">
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.Equals(System.Object)">
<param name="obj"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.GetHashCode">
<returns></returns>
</member>
<member name="P:System.ReadOnlySpan`1.IsEmpty">
<returns></returns>
</member>
<member name="P:System.ReadOnlySpan`1.Item(System.Int32)">
<param name="index"></param>
<returns></returns>
</member>
<member name="P:System.ReadOnlySpan`1.Length">
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.op_Equality(System.ReadOnlySpan{`0},System.ReadOnlySpan{`0})">
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.op_Implicit(System.ArraySegment{T})~System.ReadOnlySpan{T}">
<param name="arraySegment"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.op_Implicit(T[])~System.ReadOnlySpan{T}">
<param name="array"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.op_Inequality(System.ReadOnlySpan{`0},System.ReadOnlySpan{`0})">
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.Slice(System.Int32)">
<param name="start"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.Slice(System.Int32,System.Int32)">
<param name="start"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.ToArray">
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.TryCopyTo(System.Span{`0})">
<param name="destination"></param>
<returns></returns>
</member>
</members>
</doc>

BIN
dll/System.Numerics.Vectors.dll View File


+ 2621
- 0
dll/System.Numerics.Vectors.xml
File diff suppressed because it is too large
View File


BIN
dll/System.Runtime.CompilerServices.Unsafe.dll View File


+ 291
- 0
dll/System.Runtime.CompilerServices.Unsafe.xml View File

@@ -0,0 +1,291 @@
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Runtime.CompilerServices.Unsafe</name>
</assembly>
<members>
<member name="T:System.Runtime.CompilerServices.Unsafe">
<summary>Contains generic, low-level functionality for manipulating pointers.</summary>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(``0@,System.Int32)">
<summary>Adds an element offset to the given reference.</summary>
<param name="source">The reference to add the offset to.</param>
<param name="elementOffset">The offset to add.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the addition of offset to pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(``0@,System.IntPtr)">
<summary>Adds an element offset to the given reference.</summary>
<param name="source">The reference to add the offset to.</param>
<param name="elementOffset">The offset to add.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the addition of offset to pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(``0@,System.UIntPtr)">
<summary>Adds an element offset to the given reference.</summary>
<param name="source">The reference to add the offset to.</param>
<param name="elementOffset">The offset to add.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the addition of offset to pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(System.Void*,System.Int32)">
<summary>Adds an element offset to the given void pointer.</summary>
<param name="source">The void pointer to add the offset to.</param>
<param name="elementOffset">The offset to add.</param>
<typeparam name="T">The type of void pointer.</typeparam>
<returns>A new void pointer that reflects the addition of offset to the specified pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AddByteOffset``1(``0@,System.IntPtr)">
<summary>Adds a byte offset to the given reference.</summary>
<param name="source">The reference to add the offset to.</param>
<param name="byteOffset">The offset to add.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the addition of byte offset to pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AddByteOffset``1(``0@,System.UIntPtr)">
<summary>Adds a byte offset to the given reference.</summary>
<param name="source">The reference to add the offset to.</param>
<param name="byteOffset">The offset to add.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the addition of byte offset to pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AreSame``1(``0@,``0@)">
<summary>Determines whether the specified references point to the same location.</summary>
<param name="left">The first reference to compare.</param>
<param name="right">The second reference to compare.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>
<see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> point to the same location; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.As``1(System.Object)">
<summary>Casts the given object to the specified type.</summary>
<param name="o">The object to cast.</param>
<typeparam name="T">The type which the object will be cast to.</typeparam>
<returns>The original object, casted to the given type.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.As``2(``0@)">
<summary>Reinterprets the given reference as a reference to a value of type <typeparamref name="TTo" />.</summary>
<param name="source">The reference to reinterpret.</param>
<typeparam name="TFrom">The type of reference to reinterpret.</typeparam>
<typeparam name="TTo">The desired type of the reference.</typeparam>
<returns>A reference to a value of type <typeparamref name="TTo" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AsPointer``1(``0@)">
<summary>Returns a pointer to the given by-ref parameter.</summary>
<param name="value">The object whose pointer is obtained.</param>
<typeparam name="T">The type of object.</typeparam>
<returns>A pointer to the given value.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AsRef``1(``0@)">
<summary>Reinterprets the given read-only reference as a reference.</summary>
<param name="source">The read-only reference to reinterpret.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A reference to a value of type <typeparamref name="T" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AsRef``1(System.Void*)">
<summary>Reinterprets the given location as a reference to a value of type <typeparamref name="T" />.</summary>
<param name="source">The location of the value to reference.</param>
<typeparam name="T">The type of the interpreted location.</typeparam>
<returns>A reference to a value of type <typeparamref name="T" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.ByteOffset``1(``0@,``0@)">
<summary>Determines the byte offset from origin to target from the given references.</summary>
<param name="origin">The reference to origin.</param>
<param name="target">The reference to target.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>Byte offset from origin to target i.e. <paramref name="target" /> - <paramref name="origin" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Copy``1(``0@,System.Void*)">
<summary>Copies a value of type <typeparamref name="T" /> to the given location.</summary>
<param name="destination">The location to copy to.</param>
<param name="source">A pointer to the value to copy.</param>
<typeparam name="T">The type of value to copy.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Copy``1(System.Void*,``0@)">
<summary>Copies a value of type <typeparamref name="T" /> to the given location.</summary>
<param name="destination">The location to copy to.</param>
<param name="source">A reference to the value to copy.</param>
<typeparam name="T">The type of value to copy.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlock(System.Byte@,System.Byte@,System.UInt32)">
<summary>Copies bytes from the source address to the destination address.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlock(System.Void*,System.Void*,System.UInt32)">
<summary>Copies bytes from the source address to the destination address.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Byte@,System.Byte@,System.UInt32)">
<summary>Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Void*,System.Void*,System.UInt32)">
<summary>Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlock(System.Byte@,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlock(System.Void*,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(System.Byte@,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(System.Void*,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.IsAddressGreaterThan``1(``0@,``0@)">
<summary>Returns a value that indicates whether a specified reference is greater than another specified reference.</summary>
<param name="left">The first value to compare.</param>
<param name="right">The second value to compare.</param>
<typeparam name="T">The type of the reference.</typeparam>
<returns>
<see langword="true" /> if <paramref name="left" /> is greater than <paramref name="right" />; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.IsAddressLessThan``1(``0@,``0@)">
<summary>Returns a value that indicates whether a specified reference is less than another specified reference.</summary>
<param name="left">The first value to compare.</param>
<param name="right">The second value to compare.</param>
<typeparam name="T">The type of the reference.</typeparam>
<returns>
<see langword="true" /> if <paramref name="left" /> is less than <paramref name="right" />; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.IsNullRef``1(``0@)">
<summary>Determines if a given reference to a value of type <typeparamref name="T" /> is a null reference.</summary>
<param name="source">The reference to check.</param>
<typeparam name="T">The type of the reference.</typeparam>
<returns>
<see langword="true" /> if <paramref name="source" /> is a null reference; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.NullRef``1">
<summary>Returns a reference to a value of type <typeparamref name="T" /> that is a null reference.</summary>
<typeparam name="T">The type of the reference.</typeparam>
<returns>A reference to a value of type <typeparamref name="T" /> that is a null reference.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Read``1(System.Void*)">
<summary>Reads a value of type <typeparamref name="T" /> from the given location.</summary>
<param name="source">The location to read from.</param>
<typeparam name="T">The type to read.</typeparam>
<returns>An object of type <typeparamref name="T" /> read from the given location.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.ReadUnaligned``1(System.Byte@)">
<summary>Reads a value of type <typeparamref name="T" /> from the given location without assuming architecture dependent alignment of the addresses.</summary>
<param name="source">The location to read from.</param>
<typeparam name="T">The type to read.</typeparam>
<returns>An object of type <typeparamref name="T" /> read from the given location.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.ReadUnaligned``1(System.Void*)">
<summary>Reads a value of type <typeparamref name="T" /> from the given location without assuming architecture dependent alignment of the addresses.</summary>
<param name="source">The location to read from.</param>
<typeparam name="T">The type to read.</typeparam>
<returns>An object of type <typeparamref name="T" /> read from the given location.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.SizeOf``1">
<summary>Returns the size of an object of the given type parameter.</summary>
<typeparam name="T">The type of object whose size is retrieved.</typeparam>
<returns>The size of an object of type <typeparamref name="T" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.SkipInit``1(``0@)">
<summary>Bypasses definite assignment rules for a given value.</summary>
<param name="value">The uninitialized object.</param>
<typeparam name="T">The type of the uninitialized object.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.Int32)">
<summary>Subtracts an element offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="elementOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subtraction of offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.IntPtr)">
<summary>Subtracts an element offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="elementOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subtraction of offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.UIntPtr)">
<summary>Subtracts an element offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="elementOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subraction of offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(System.Void*,System.Int32)">
<summary>Subtracts an element offset from the given void pointer.</summary>
<param name="source">The void pointer to subtract the offset from.</param>
<param name="elementOffset">The offset to subtract.</param>
<typeparam name="T">The type of the void pointer.</typeparam>
<returns>A new void pointer that reflects the subtraction of offset from the specified pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.SubtractByteOffset``1(``0@,System.IntPtr)">
<summary>Subtracts a byte offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="byteOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subtraction of byte offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.SubtractByteOffset``1(``0@,System.UIntPtr)">
<summary>Subtracts a byte offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="byteOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subraction of byte offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Unbox``1(System.Object)">
<summary>Returns a <see langword="mutable ref" /> to a boxed value.</summary>
<param name="box">The value to unbox.</param>
<typeparam name="T">The type to be unboxed.</typeparam>
<exception cref="T:System.NullReferenceException">
<paramref name="box" /> is <see langword="null" />, and <typeparamref name="T" /> is a non-nullable value type.</exception>
<exception cref="T:System.InvalidCastException">
<paramref name="box" /> is not a boxed value type.
-or-

<paramref name="box" /> is not a boxed <typeparamref name="T" />.</exception>
<exception cref="T:System.TypeLoadException">
<typeparamref name="T" /> cannot be found.</exception>
<returns>A <see langword="mutable ref" /> to the boxed value <paramref name="box" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Write``1(System.Void*,``0)">
<summary>Writes a value of type <typeparamref name="T" /> to the given location.</summary>
<param name="destination">The location to write to.</param>
<param name="value">The value to write.</param>
<typeparam name="T">The type of value to write.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.WriteUnaligned``1(System.Byte@,``0)">
<summary>Writes a value of type <typeparamref name="T" /> to the given location without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The location to write to.</param>
<param name="value">The value to write.</param>
<typeparam name="T">The type of value to write.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.WriteUnaligned``1(System.Void*,``0)">
<summary>Writes a value of type <typeparamref name="T" /> to the given location without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The location to write to.</param>
<param name="value">The value to write.</param>
<typeparam name="T">The type of value to write.</typeparam>
</member>
</members>
</doc>

BIN
dll/System.Text.Encodings.Web.dll View File


+ 939
- 0
dll/System.Text.Encodings.Web.xml View File

@@ -0,0 +1,939 @@
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Text.Encodings.Web</name>
</assembly>
<members>
<member name="T:System.Text.Encodings.Web.HtmlEncoder">
<summary>Represents an HTML character encoding.</summary>
</member>
<member name="M:System.Text.Encodings.Web.HtmlEncoder.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Text.Encodings.Web.HtmlEncoder" /> class.</summary>
</member>
<member name="M:System.Text.Encodings.Web.HtmlEncoder.Create(System.Text.Encodings.Web.TextEncoderSettings)">
<summary>Creates a new instance of the HtmlEncoder class with the specified settings.</summary>
<param name="settings">Settings that control how the <see cref="T:System.Text.Encodings.Web.HtmlEncoder" /> instance encodes, primarily which characters to encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="settings" /> is <see langword="null" />.</exception>
<returns>A new instance of the <see cref="T:System.Text.Encodings.Web.HtmlEncoder" /> class.</returns>
</member>
<member name="M:System.Text.Encodings.Web.HtmlEncoder.Create(System.Text.Unicode.UnicodeRange[])">
<summary>Creates a new instance of the HtmlEncoder class that specifies characters the encoder is allowed to not encode.</summary>
<param name="allowedRanges">The set of characters that the encoder is allowed to not encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="allowedRanges" /> is <see langword="null" />.</exception>
<returns>A new instance of the <see cref="T:System.Text.Encodings.Web.HtmlEncoder" /> class.</returns>
</member>
<member name="P:System.Text.Encodings.Web.HtmlEncoder.Default">
<summary>Gets a built-in instance of the <see cref="T:System.Text.Encodings.Web.HtmlEncoder" /> class.</summary>
<returns>A built-in instance of the <see cref="T:System.Text.Encodings.Web.HtmlEncoder" /> class.</returns>
</member>
<member name="T:System.Text.Encodings.Web.JavaScriptEncoder">
<summary>Represents a JavaScript character encoding.</summary>
</member>
<member name="M:System.Text.Encodings.Web.JavaScriptEncoder.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Text.Encodings.Web.JavaScriptEncoder" /> class.</summary>
</member>
<member name="M:System.Text.Encodings.Web.JavaScriptEncoder.Create(System.Text.Encodings.Web.TextEncoderSettings)">
<summary>Creates a new instance of JavaScriptEncoder class with the specified settings.</summary>
<param name="settings">Settings that control how the <see cref="T:System.Text.Encodings.Web.JavaScriptEncoder" /> instance encodes, primarily which characters to encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="settings" /> is <see langword="null" />.</exception>
<returns>A new instance of the <see cref="T:System.Text.Encodings.Web.JavaScriptEncoder" /> class.</returns>
</member>
<member name="M:System.Text.Encodings.Web.JavaScriptEncoder.Create(System.Text.Unicode.UnicodeRange[])">
<summary>Creates a new instance of the JavaScriptEncoder class that specifies characters the encoder is allowed to not encode.</summary>
<param name="allowedRanges">The set of characters that the encoder is allowed to not encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="allowedRanges" /> is <see langword="null" />.</exception>
<returns>A new instance of the <see cref="T:System.Text.Encodings.Web.JavaScriptEncoder" /> class.</returns>
</member>
<member name="P:System.Text.Encodings.Web.JavaScriptEncoder.Default">
<summary>Gets a built-in instance of the <see cref="T:System.Text.Encodings.Web.JavaScriptEncoder" /> class.</summary>
<returns>A built-in instance of the <see cref="T:System.Text.Encodings.Web.JavaScriptEncoder" /> class.</returns>
</member>
<member name="P:System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping">
<summary>Gets a built-in JavaScript encoder instance that is less strict about what is encoded.</summary>
<returns>A JavaScript encoder instance.</returns>
</member>
<member name="T:System.Text.Encodings.Web.TextEncoder">
<summary>The base class of web encoders.</summary>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Text.Encodings.Web.TextEncoder" /> class.</summary>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.Encode(System.IO.TextWriter,System.Char[],System.Int32,System.Int32)">
<summary>Encodes characters from an array and writes them to a <see cref="T:System.IO.TextWriter" /> object.</summary>
<param name="output">The stream to which to write the encoded text.</param>
<param name="value">The array of characters to encode.</param>
<param name="startIndex">The array index of the first character to encode.</param>
<param name="characterCount">The number of characters in the array to encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="output" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">The <see cref="M:System.Text.Encodings.Web.TextEncoder.TryEncodeUnicodeScalar(System.Int32,System.Char*,System.Int32,System.Int32@)" /> method failed. The encoder does not implement <see cref="P:System.Text.Encodings.Web.TextEncoder.MaxOutputCharactersPerInputCharacter" /> correctly.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="value" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> is out of range.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="characterCount" /> is out of range.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.Encode(System.IO.TextWriter,System.String)">
<summary>Encodes the specified string to a <see cref="T:System.IO.TextWriter" /> object.</summary>
<param name="output">The stream to which to write the encoded text.</param>
<param name="value">The string to encode.</param>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.Encode(System.IO.TextWriter,System.String,System.Int32,System.Int32)">
<summary>Encodes a substring and writes it to a <see cref="T:System.IO.TextWriter" /> object.</summary>
<param name="output">The stream to which to write the encoded text.</param>
<param name="value">The string whose substring is to be encoded.</param>
<param name="startIndex">The index where the substring starts.</param>
<param name="characterCount">The number of characters in the substring.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="output" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">The <see cref="M:System.Text.Encodings.Web.TextEncoder.TryEncodeUnicodeScalar(System.Int32,System.Char*,System.Int32,System.Int32@)" /> method failed. The encoder does not implement <see cref="P:System.Text.Encodings.Web.TextEncoder.MaxOutputCharactersPerInputCharacter" /> correctly.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="value" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> is out of range.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="characterCount" /> is out of range.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.Encode(System.ReadOnlySpan{System.Char},System.Span{System.Char},System.Int32@,System.Int32@,System.Boolean)">
<summary>Encodes the supplied characters.</summary>
<param name="source">A source buffer containing the characters to encode.</param>
<param name="destination">The destination buffer to which the encoded form of <paramref name="source" /> will be written.</param>
<param name="charsConsumed">The number of characters consumed from the <paramref name="source" /> buffer.</param>
<param name="charsWritten">The number of characters written to the <paramref name="destination" /> buffer.</param>
<param name="isFinalBlock">
<see langword="true" /> to indicate there is no further source data that needs to be encoded; otherwise, <see langword="false" />.</param>
<returns>An enumeration value that describes the result of the encoding operation.</returns>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.Encode(System.String)">
<summary>Encodes the supplied string and returns the encoded text as a new string.</summary>
<param name="value">The string to encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="value" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">The <see cref="M:System.Text.Encodings.Web.TextEncoder.TryEncodeUnicodeScalar(System.Int32,System.Char*,System.Int32,System.Int32@)" /> method failed. The encoder does not implement <see cref="P:System.Text.Encodings.Web.TextEncoder.MaxOutputCharactersPerInputCharacter" /> correctly.</exception>
<returns>The encoded string.</returns>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.EncodeUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@,System.Int32@,System.Boolean)">
<summary>Encodes the supplied UTF-8 text.</summary>
<param name="utf8Source">A source buffer containing the UTF-8 text to encode.</param>
<param name="utf8Destination">The destination buffer to which the encoded form of <paramref name="utf8Source" /> will be written.</param>
<param name="bytesConsumed">The number of bytes consumed from the <paramref name="utf8Source" /> buffer.</param>
<param name="bytesWritten">The number of bytes written to the <paramref name="utf8Destination" /> buffer.</param>
<param name="isFinalBlock">
<see langword="true" /> to indicate there is no further source data that needs to be encoded; otherwise, <see langword="false" />.</param>
<returns>A status code that describes the result of the encoding operation.</returns>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.FindFirstCharacterToEncode(System.Char*,System.Int32)">
<summary>Finds the index of the first character to encode.</summary>
<param name="text">The text buffer to search.</param>
<param name="textLength">The number of characters in <paramref name="text" />.</param>
<returns>The index of the first character to encode.</returns>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.FindFirstCharacterToEncodeUtf8(System.ReadOnlySpan{System.Byte})">
<summary>Finds the first element in a UTF-8 text input buffer that would be escaped by the current encoder instance.</summary>
<param name="utf8Text">The UTF-8 text input buffer to search.</param>
<returns>The index of the first element in <paramref name="utf8Text" /> that would be escaped by the current encoder instance, or -1 if no data in <paramref name="utf8Text" /> requires escaping.</returns>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.TryEncodeUnicodeScalar(System.Int32,System.Char*,System.Int32,System.Int32@)">
<summary>Encodes a Unicode scalar value and writes it to a buffer.</summary>
<param name="unicodeScalar">A Unicode scalar value.</param>
<param name="buffer">A pointer to the buffer to which to write the encoded text.</param>
<param name="bufferLength">The length of the destination <paramref name="buffer" /> in characters.</param>
<param name="numberOfCharactersWritten">When the method returns, indicates the number of characters written to the <paramref name="buffer" />.</param>
<returns>
<see langword="false" /> if <paramref name="bufferLength" /> is too small to fit the encoded text; otherwise, returns <see langword="true" />.</returns>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoder.WillEncode(System.Int32)">
<summary>Determines if a given Unicode scalar value will be encoded.</summary>
<param name="unicodeScalar">A Unicode scalar value.</param>
<returns>
<see langword="true" /> if the <paramref name="unicodeScalar" /> value will be encoded by this encoder; otherwise, returns <see langword="false" />.</returns>
</member>
<member name="P:System.Text.Encodings.Web.TextEncoder.MaxOutputCharactersPerInputCharacter">
<summary>Gets the maximum number of characters that this encoder can generate for each input code point.</summary>
<returns>The maximum number of characters.</returns>
</member>
<member name="T:System.Text.Encodings.Web.TextEncoderSettings">
<summary>Represents a filter that allows only certain Unicode code points.</summary>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.#ctor">
<summary>Instantiates an empty filter (allows no code points through by default).</summary>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.#ctor(System.Text.Encodings.Web.TextEncoderSettings)">
<summary>Instantiates a filter by cloning the allowed list of another <see cref="T:System.Text.Encodings.Web.TextEncoderSettings" /> object.</summary>
<param name="other">The other <see cref="T:System.Text.Encodings.Web.TextEncoderSettings" /> object to be cloned.</param>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.#ctor(System.Text.Unicode.UnicodeRange[])">
<summary>Instantiates a filter where only the character ranges specified by <paramref name="allowedRanges" /> are allowed by the filter.</summary>
<param name="allowedRanges">The allowed character ranges.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="allowedRanges" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.AllowCharacter(System.Char)">
<summary>Allows the character specified by <paramref name="character" /> through the filter.</summary>
<param name="character">The allowed character.</param>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.AllowCharacters(System.Char[])">
<summary>Allows all characters specified by <paramref name="characters" /> through the filter.</summary>
<param name="characters">The allowed characters.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="characters" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.AllowCodePoints(System.Collections.Generic.IEnumerable{System.Int32})">
<summary>Allows all code points specified by <paramref name="codePoints" />.</summary>
<param name="codePoints">The allowed code points.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="codePoints" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.AllowRange(System.Text.Unicode.UnicodeRange)">
<summary>Allows all characters specified by <paramref name="range" /> through the filter.</summary>
<param name="range">The range of characters to be allowed.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="range" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.AllowRanges(System.Text.Unicode.UnicodeRange[])">
<summary>Allows all characters specified by <paramref name="ranges" /> through the filter.</summary>
<param name="ranges">The ranges of characters to be allowed.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="ranges" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.Clear">
<summary>Resets this object by disallowing all characters.</summary>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.ForbidCharacter(System.Char)">
<summary>Disallows the character <paramref name="character" /> through the filter.</summary>
<param name="character">The disallowed character.</param>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.ForbidCharacters(System.Char[])">
<summary>Disallows all characters specified by <paramref name="characters" /> through the filter.</summary>
<param name="characters">The disallowed characters.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="characters" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.ForbidRange(System.Text.Unicode.UnicodeRange)">
<summary>Disallows all characters specified by <paramref name="range" /> through the filter.</summary>
<param name="range">The range of characters to be disallowed.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="range" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.ForbidRanges(System.Text.Unicode.UnicodeRange[])">
<summary>Disallows all characters specified by <paramref name="ranges" /> through the filter.</summary>
<param name="ranges">The ranges of characters to be disallowed.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="ranges" /> is <see langword="null" />.</exception>
</member>
<member name="M:System.Text.Encodings.Web.TextEncoderSettings.GetAllowedCodePoints">
<summary>Gets an enumerator of all allowed code points.</summary>
<returns>The enumerator of allowed code points.</returns>
</member>
<member name="T:System.Text.Encodings.Web.UrlEncoder">
<summary>Represents a URL character encoding.</summary>
</member>
<member name="M:System.Text.Encodings.Web.UrlEncoder.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Text.Encodings.Web.UrlEncoder" /> class.</summary>
</member>
<member name="M:System.Text.Encodings.Web.UrlEncoder.Create(System.Text.Encodings.Web.TextEncoderSettings)">
<summary>Creates a new instance of UrlEncoder class with the specified settings.</summary>
<param name="settings">Settings that control how the <see cref="T:System.Text.Encodings.Web.UrlEncoder" /> instance encodes, primarily which characters to encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="settings" /> is <see langword="null" />.</exception>
<returns>A new instance of the <see cref="T:System.Text.Encodings.Web.UrlEncoder" /> class.</returns>
</member>
<member name="M:System.Text.Encodings.Web.UrlEncoder.Create(System.Text.Unicode.UnicodeRange[])">
<summary>Creates a new instance of the UrlEncoder class that specifies characters the encoder is allowed to not encode.</summary>
<param name="allowedRanges">The set of characters that the encoder is allowed to not encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="allowedRanges" /> is <see langword="null" />.</exception>
<returns>A new instance of the <see cref="T:System.Text.Encodings.Web.UrlEncoder" /> class.</returns>
</member>
<member name="P:System.Text.Encodings.Web.UrlEncoder.Default">
<summary>Gets a built-in instance of the <see cref="T:System.Text.Encodings.Web.UrlEncoder" /> class.</summary>
<returns>A built-in instance of the <see cref="T:System.Text.Encodings.Web.UrlEncoder" /> class.</returns>
</member>
<member name="T:System.Text.Unicode.UnicodeRange">
<summary>Represents a contiguous range of Unicode code points.</summary>
</member>
<member name="M:System.Text.Unicode.UnicodeRange.#ctor(System.Int32,System.Int32)">
<summary>Creates a new <see cref="T:System.Text.Unicode.UnicodeRange" /> that includes a specified number of characters starting at a specified Unicode code point.</summary>
<param name="firstCodePoint">The first code point in the range.</param>
<param name="length">The number of code points in the range.</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="firstCodePoint" /> is less than zero or greater than 0xFFFF.

-or-

<paramref name="length" /> is less than zero.

-or-

<paramref name="firstCodePoint" /> plus <paramref name="length" /> is greater than 0xFFFF.</exception>
</member>
<member name="M:System.Text.Unicode.UnicodeRange.Create(System.Char,System.Char)">
<summary>Creates a new <see cref="T:System.Text.Unicode.UnicodeRange" /> instance from a span of characters.</summary>
<param name="firstCharacter">The first character in the range.</param>
<param name="lastCharacter">The last character in the range.</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="lastCharacter" /> precedes <paramref name="firstCharacter" />.</exception>
<returns>A range that includes all characters between <paramref name="firstCharacter" /> and <paramref name="lastCharacter" />.</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRange.FirstCodePoint">
<summary>Gets the first code point in the range represented by this <see cref="T:System.Text.Unicode.UnicodeRange" /> instance.</summary>
<returns>The first code point in the range.</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRange.Length">
<summary>Gets the number of code points in the range represented by this <see cref="T:System.Text.Unicode.UnicodeRange" /> instance.</summary>
<returns>The number of code points in the range.</returns>
</member>
<member name="T:System.Text.Unicode.UnicodeRanges">
<summary>Provides static properties that return predefined <see cref="T:System.Text.Unicode.UnicodeRange" /> instances that correspond to blocks from the Unicode specification.</summary>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.All">
<summary>Gets a range that consists of the entire Basic Multilingual Plane (BMP), from U+0000 to U+FFFF).</summary>
<returns>A range that consists of the entire BMP.</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.AlphabeticPresentationForms">
<summary>Gets the Alphabetic Presentation Forms Unicode block (U+FB00-U+FB4F).</summary>
<returns>The Alphabetic Presentation Forms Unicode block (U+FB00-U+FB4F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Arabic">
<summary>Gets the Arabic Unicode block (U+0600-U+06FF).</summary>
<returns>The Arabic Unicode block (U+0600-U+06FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.ArabicExtendedA">
<summary>Gets the Arabic Extended-A Unicode block (U+08A0-U+08FF).</summary>
<returns>The Arabic Extended-A Unicode block (U+08A0-U+08FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.ArabicExtendedB">
<summary>A <see cref="T:System.Text.Unicode.UnicodeRange" /> corresponding to the 'Arabic Extended-B' Unicode block (U+0870..U+089F).</summary>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.ArabicPresentationFormsA">
<summary>Gets the Arabic Presentation Forms-A Unicode block (U+FB50-U+FDFF).</summary>
<returns>The Arabic Presentation Forms-A Unicode block (U+FB50-U+FDFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.ArabicPresentationFormsB">
<summary>Gets the Arabic Presentation Forms-B Unicode block (U+FE70-U+FEFF).</summary>
<returns>The Arabic Presentation Forms-B Unicode block (U+FE70-U+FEFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.ArabicSupplement">
<summary>Gets the Arabic Supplement Unicode block (U+0750-U+077F).</summary>
<returns>The Arabic Supplement Unicode block (U+0750-U+077F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Armenian">
<summary>Gets the Armenian Unicode block (U+0530-U+058F).</summary>
<returns>The Armenian Unicode block (U+0530-U+058F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Arrows">
<summary>Gets the Arrows Unicode block (U+2190-U+21FF).</summary>
<returns>The Arrows Unicode block (U+2190-U+21FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Balinese">
<summary>Gets the Balinese Unicode block (U+1B00-U+1B7F).</summary>
<returns>The Balinese Unicode block (U+1B00-U+1B7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Bamum">
<summary>Gets the Bamum Unicode block (U+A6A0-U+A6FF).</summary>
<returns>The Bamum Unicode block (U+A6A0-U+A6FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.BasicLatin">
<summary>Gets the Basic Latin Unicode block (U+0021-U+007F).</summary>
<returns>The Basic Latin Unicode block (U+0021-U+007F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Batak">
<summary>Gets the Batak Unicode block (U+1BC0-U+1BFF).</summary>
<returns>The Batak Unicode block (U+1BC0-U+1BFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Bengali">
<summary>Gets the Bengali Unicode block (U+0980-U+09FF).</summary>
<returns>The Bengali Unicode block (U+0980-U+09FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.BlockElements">
<summary>Gets the Block Elements Unicode block (U+2580-U+259F).</summary>
<returns>The Block Elements Unicode block (U+2580-U+259F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Bopomofo">
<summary>Gets the Bopomofo Unicode block (U+3100-U+312F).</summary>
<returns>The Bopomofo Unicode block (U+3105-U+312F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.BopomofoExtended">
<summary>Gets the Bopomofo Extended Unicode block (U+31A0-U+31BF).</summary>
<returns>The Bopomofo Extended Unicode block (U+31A0-U+31BF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.BoxDrawing">
<summary>Gets the Box Drawing Unicode block (U+2500-U+257F).</summary>
<returns>The Box Drawing Unicode block (U+2500-U+257F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.BraillePatterns">
<summary>Gets the Braille Patterns Unicode block (U+2800-U+28FF).</summary>
<returns>The Braille Patterns Unicode block (U+2800-U+28FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Buginese">
<summary>Gets the Buginese Unicode block (U+1A00-U+1A1F).</summary>
<returns>The Buginese Unicode block (U+1A00-U+1A1F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Buhid">
<summary>Gets the Buhid Unicode block (U+1740-U+175F).</summary>
<returns>The Buhid Unicode block (U+1740-U+175F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Cham">
<summary>Gets the Cham Unicode block (U+AA00-U+AA5F).</summary>
<returns>The Cham Unicode block (U+AA00-U+AA5F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Cherokee">
<summary>Gets the Cherokee Unicode block (U+13A0-U+13FF).</summary>
<returns>The Cherokee Unicode block (U+13A0-U+13FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CherokeeSupplement">
<summary>Gets the Cherokee Supplement Unicode block (U+AB70-U+ABBF).</summary>
<returns>The Cherokee Supplement Unicode block (U+AB70-U+ABBF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CjkCompatibility">
<summary>Gets the CJK Compatibility Unicode block (U+3300-U+33FF).</summary>
<returns>The CJK Compatibility Unicode block (U+3300-U+33FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CjkCompatibilityForms">
<summary>Gets the CJK Compatibility Forms Unicode block (U+FE30-U+FE4F).</summary>
<returns>The CJK Compatibility Forms Unicode block (U+FE30-U+FE4F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CjkCompatibilityIdeographs">
<summary>Gets the CJK Compatibility Ideographs Unicode block (U+F900-U+FAD9).</summary>
<returns>The CJK Compatibility Ideographs Unicode block (U+F900-U+FAD9).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CjkRadicalsSupplement">
<summary>Gets the CJK Radicals Supplement Unicode block (U+2E80-U+2EFF).</summary>
<returns>The CJK Radicals Supplement Unicode block (U+2E80-U+2EFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CjkStrokes">
<summary>Gets the CJK Strokes Unicode block (U+31C0-U+31EF).</summary>
<returns>The CJK Strokes Unicode block (U+31C0-U+31EF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CjkSymbolsandPunctuation">
<summary>Gets the CJK Symbols and Punctuation Unicode block (U+3000-U+303F).</summary>
<returns>The CJK Symbols and Punctuation Unicode block (U+3000-U+303F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CjkUnifiedIdeographs">
<summary>Gets the CJK Unified Ideographs Unicode block (U+4E00-U+9FCC).</summary>
<returns>The CJK Unified Ideographs Unicode block (U+4E00-U+9FCC).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CjkUnifiedIdeographsExtensionA">
<summary>Gets the CJK Unitied Ideographs Extension A Unicode block (U+3400-U+4DB5).</summary>
<returns>The CJK Unitied Ideographs Extension A Unicode block (U+3400-U+4DB5).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CombiningDiacriticalMarks">
<summary>Gets the Combining Diacritical Marks Unicode block (U+0300-U+036F).</summary>
<returns>The Combining Diacritical Marks Unicode block (U+0300-U+036F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CombiningDiacriticalMarksExtended">
<summary>Gets the Combining Diacritical Marks Extended Unicode block (U+1AB0-U+1AFF).</summary>
<returns>The Combining Diacritical Marks Extended Unicode block (U+1AB0-U+1AFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CombiningDiacriticalMarksforSymbols">
<summary>Gets the Combining Diacritical Marks for Symbols Unicode block (U+20D0-U+20FF).</summary>
<returns>The Combining Diacritical Marks for Symbols Unicode block (U+20D0-U+20FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CombiningDiacriticalMarksSupplement">
<summary>Gets the Combining Diacritical Marks Supplement Unicode block (U+1DC0-U+1DFF).</summary>
<returns>The Combining Diacritical Marks Supplement Unicode block (U+1DC0-U+1DFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CombiningHalfMarks">
<summary>Gets the Combining Half Marks Unicode block (U+FE20-U+FE2F).</summary>
<returns>The Combining Half Marks Unicode block (U+FE20-U+FE2F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CommonIndicNumberForms">
<summary>Gets the Common Indic Number Forms Unicode block (U+A830-U+A83F).</summary>
<returns>The Common Indic Number Forms Unicode block (U+A830-U+A83F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.ControlPictures">
<summary>Gets the Control Pictures Unicode block (U+2400-U+243F).</summary>
<returns>The Control Pictures Unicode block (U+2400-U+243F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Coptic">
<summary>Gets the Coptic Unicode block (U+2C80-U+2CFF).</summary>
<returns>The Coptic Unicode block (U+2C80-U+2CFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CurrencySymbols">
<summary>Gets the Currency Symbols Unicode block (U+20A0-U+20CF).</summary>
<returns>The Currency Symbols Unicode block (U+20A0-U+20CF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Cyrillic">
<summary>Gets the Cyrillic Unicode block (U+0400-U+04FF).</summary>
<returns>The Cyrillic Unicode block (U+0400-U+04FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CyrillicExtendedA">
<summary>Gets the Cyrillic Extended-A Unicode block (U+2DE0-U+2DFF).</summary>
<returns>The Cyrillic Extended-A Unicode block (U+2DE0-U+2DFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CyrillicExtendedB">
<summary>Gets the Cyrillic Extended-B Unicode block (U+A640-U+A69F).</summary>
<returns>The Cyrillic Extended-B Unicode block (U+A640-U+A69F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CyrillicExtendedC">
<summary>A <see cref="T:System.Text.Unicode.UnicodeRange" /> corresponding to the 'Cyrillic Extended-C' Unicode block (U+1C80..U+1C8F).</summary>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.CyrillicSupplement">
<summary>Gets the Cyrillic Supplement Unicode block (U+0500-U+052F).</summary>
<returns>The Cyrillic Supplement Unicode block (U+0500-U+052F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Devanagari">
<summary>Gets the Devangari Unicode block (U+0900-U+097F).</summary>
<returns>The Devangari Unicode block (U+0900-U+097F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.DevanagariExtended">
<summary>Gets the Devanagari Extended Unicode block (U+A8E0-U+A8FF).</summary>
<returns>The Devanagari Extended Unicode block (U+A8E0-U+A8FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Dingbats">
<summary>Gets the Dingbats Unicode block (U+2700-U+27BF).</summary>
<returns>The Dingbats Unicode block (U+2700-U+27BF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.EnclosedAlphanumerics">
<summary>Gets the Enclosed Alphanumerics Unicode block (U+2460-U+24FF).</summary>
<returns>The Enclosed Alphanumerics Unicode block (U+2460-U+24FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.EnclosedCjkLettersandMonths">
<summary>Gets the Enclosed CJK Letters and Months Unicode block (U+3200-U+32FF).</summary>
<returns>The Enclosed CJK Letters and Months Unicode block (U+3200-U+32FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Ethiopic">
<summary>Gets the Ethiopic Unicode block (U+1200-U+137C).</summary>
<returns>The Ethiopic Unicode block (U+1200-U+137C).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.EthiopicExtended">
<summary>Gets the Ethipic Extended Unicode block (U+2D80-U+2DDF).</summary>
<returns>The Ethipic Extended Unicode block (U+2D80-U+2DDF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.EthiopicExtendedA">
<summary>Gets the Ethiopic Extended-A Unicode block (U+AB00-U+AB2F).</summary>
<returns>The Ethiopic Extended-A Unicode block (U+AB00-U+AB2F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.EthiopicSupplement">
<summary>Gets the Ethiopic Supplement Unicode block (U+1380-U+1399).</summary>
<returns>The Ethiopic Supplement Unicode block (U+1380-U+1399).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.GeneralPunctuation">
<summary>Gets the General Punctuation Unicode block (U+2000-U+206F).</summary>
<returns>The General Punctuation Unicode block (U+2000-U+206F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.GeometricShapes">
<summary>Gets the Geometric Shapes Unicode block (U+25A0-U+25FF).</summary>
<returns>The Geometric Shapes Unicode block (U+25A0-U+25FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Georgian">
<summary>Gets the Georgian Unicode block (U+10A0-U+10FF).</summary>
<returns>The Georgian Unicode block (U+10A0-U+10FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.GeorgianExtended">
<summary>A <see cref="T:System.Text.Unicode.UnicodeRange" /> corresponding to the 'Georgian Extended' Unicode block (U+1C90..U+1CBF).</summary>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.GeorgianSupplement">
<summary>Gets the Georgian Supplement Unicode block (U+2D00-U+2D2F).</summary>
<returns>The Georgian Supplement Unicode block (U+2D00-U+2D2F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Glagolitic">
<summary>Gets the Glagolitic Unicode block (U+2C00-U+2C5F).</summary>
<returns>The Glagolitic Unicode block (U+2C00-U+2C5F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.GreekandCoptic">
<summary>Gets the Greek and Coptic Unicode block (U+0370-U+03FF).</summary>
<returns>The Greek and Coptic Unicode block (U+0370-U+03FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.GreekExtended">
<summary>Gets the Greek Extended Unicode block (U+1F00-U+1FFF).</summary>
<returns>The Greek Extended Unicode block (U+1F00-U+1FFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Gujarati">
<summary>Gets the Gujarti Unicode block (U+0A81-U+0AFF).</summary>
<returns>The Gujarti Unicode block (U+0A81-U+0AFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Gurmukhi">
<summary>Gets the Gurmukhi Unicode block (U+0A01-U+0A7F).</summary>
<returns>The Gurmukhi Unicode block (U+0A01-U+0A7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.HalfwidthandFullwidthForms">
<summary>Gets the Halfwidth and Fullwidth Forms Unicode block (U+FF00-U+FFEE).</summary>
<returns>The Halfwidth and Fullwidth Forms Unicode block (U+FF00-U+FFEE).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.HangulCompatibilityJamo">
<summary>Gets the Hangul Compatibility Jamo Unicode block (U+3131-U+318F).</summary>
<returns>The Hangul Compatibility Jamo Unicode block (U+3131-U+318F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.HangulJamo">
<summary>Gets the Hangul Jamo Unicode block (U+1100-U+11FF).</summary>
<returns>The Hangul Jamo Unicode block (U+1100-U+11FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.HangulJamoExtendedA">
<summary>Gets the Hangul Jamo Extended-A Unicode block (U+A960-U+A9F).</summary>
<returns>The Hangul Jamo Extended-A Unicode block (U+A960-U+A97F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.HangulJamoExtendedB">
<summary>Gets the Hangul Jamo Extended-B Unicode block (U+D7B0-U+D7FF).</summary>
<returns>The Hangul Jamo Extended-B Unicode block (U+D7B0-U+D7FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.HangulSyllables">
<summary>Gets the Hangul Syllables Unicode block (U+AC00-U+D7AF).</summary>
<returns>The Hangul Syllables Unicode block (U+AC00-U+D7AF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Hanunoo">
<summary>Gets the Hanunoo Unicode block (U+1720-U+173F).</summary>
<returns>The Hanunoo Unicode block (U+1720-U+173F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Hebrew">
<summary>Gets the Hebrew Unicode block (U+0590-U+05FF).</summary>
<returns>The Hebrew Unicode block (U+0590-U+05FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Hiragana">
<summary>Gets the Hiragana Unicode block (U+3040-U+309F).</summary>
<returns>The Hiragana Unicode block (U+3040-U+309F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.IdeographicDescriptionCharacters">
<summary>Gets the Ideographic Description Characters Unicode block (U+2FF0-U+2FFF).</summary>
<returns>The Ideographic Description Characters Unicode block (U+2FF0-U+2FFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.IpaExtensions">
<summary>Gets the IPA Extensions Unicode block (U+0250-U+02AF).</summary>
<returns>The IPA Extensions Unicode block (U+0250-U+02AF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Javanese">
<summary>Gets the Javanese Unicode block (U+A980-U+A9DF).</summary>
<returns>The Javanese Unicode block (U+A980-U+A9DF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Kanbun">
<summary>Gets the Kanbun Unicode block (U+3190-U+319F).</summary>
<returns>The Kanbun Unicode block (U+3190-U+319F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.KangxiRadicals">
<summary>Gets the Kangxi Radicals Supplement Unicode block (U+2F00-U+2FDF).</summary>
<returns>The Kangxi Radicals Supplement Unicode block (U+2F00-U+2FDF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Kannada">
<summary>Gets the Kannada Unicode block (U+0C81-U+0CFF).</summary>
<returns>The Kannada Unicode block (U+0C81-U+0CFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Katakana">
<summary>Gets the Katakana Unicode block (U+30A0-U+30FF).</summary>
<returns>The Katakana Unicode block (U+30A0-U+30FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.KatakanaPhoneticExtensions">
<summary>Gets the Katakana Phonetic Extensions Unicode block (U+31F0-U+31FF).</summary>
<returns>The Katakana Phonetic Extensions Unicode block (U+31F0-U+31FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.KayahLi">
<summary>Gets the Kayah Li Unicode block (U+A900-U+A92F).</summary>
<returns>The Kayah Li Unicode block (U+A900-U+A92F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Khmer">
<summary>Gets the Khmer Unicode block (U+1780-U+17FF).</summary>
<returns>The Khmer Unicode block (U+1780-U+17FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.KhmerSymbols">
<summary>Gets the Khmer Symbols Unicode block (U+19E0-U+19FF).</summary>
<returns>The Khmer Symbols Unicode block (U+19E0-U+19FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Lao">
<summary>Gets the Lao Unicode block (U+0E80-U+0EDF).</summary>
<returns>The Lao Unicode block (U+0E80-U+0EDF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Latin1Supplement">
<summary>Gets the Latin-1 Supplement Unicode block (U+00A1-U+00FF).</summary>
<returns>The Latin-1 Supplement Unicode block (U+00A1-U+00FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.LatinExtendedA">
<summary>Gets the Latin Extended-A Unicode block (U+0100-U+017F).</summary>
<returns>The Latin Extended-A Unicode block (U+0100-U+017F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.LatinExtendedAdditional">
<summary>Gets the Latin Extended Additional Unicode block (U+1E00-U+1EFF).</summary>
<returns>The Latin Extended Additional Unicode block (U+1E00-U+1EFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.LatinExtendedB">
<summary>Gets the Latin Extended-B Unicode block (U+0180-U+024F).</summary>
<returns>The Latin Extended-B Unicode block (U+0180-U+024F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.LatinExtendedC">
<summary>Gets the Latin Extended-C Unicode block (U+2C60-U+2C7F).</summary>
<returns>The Latin Extended-C Unicode block (U+2C60-U+2C7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.LatinExtendedD">
<summary>Gets the Latin Extended-D Unicode block (U+A720-U+A7FF).</summary>
<returns>The Latin Extended-D Unicode block (U+A720-U+A7FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.LatinExtendedE">
<summary>Gets the Latin Extended-E Unicode block (U+AB30-U+AB6F).</summary>
<returns>The Latin Extended-E Unicode block (U+AB30-U+AB6F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Lepcha">
<summary>Gets the Lepcha Unicode block (U+1C00-U+1C4F).</summary>
<returns>The Lepcha Unicode block (U+1C00-U+1C4F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.LetterlikeSymbols">
<summary>Gets the Letterlike Symbols Unicode block (U+2100-U+214F).</summary>
<returns>The Letterlike Symbols Unicode block (U+2100-U+214F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Limbu">
<summary>Gets the Limbu Unicode block (U+1900-U+194F).</summary>
<returns>The Limbu Unicode block (U+1900-U+194F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Lisu">
<summary>Gets the Lisu Unicode block (U+A4D0-U+A4FF).</summary>
<returns>The Lisu Unicode block (U+A4D0-U+A4FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Malayalam">
<summary>Gets the Malayalam Unicode block (U+0D00-U+0D7F).</summary>
<returns>The Malayalam Unicode block (U+0D00-U+0D7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Mandaic">
<summary>Gets the Mandaic Unicode block (U+0840-U+085F).</summary>
<returns>The Mandaic Unicode block (U+0840-U+085F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MathematicalOperators">
<summary>Gets the Mathematical Operators Unicode block (U+2200-U+22FF).</summary>
<returns>The Mathematical Operators Unicode block (U+2200-U+22FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MeeteiMayek">
<summary>Gets the Meetei Mayek Unicode block (U+ABC0-U+ABFF).</summary>
<returns>The Meetei Mayek Unicode block (U+ABC0-U+ABFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MeeteiMayekExtensions">
<summary>Gets the Meetei Mayek Extensions Unicode block (U+AAE0-U+AAFF).</summary>
<returns>The Meetei Mayek Extensions Unicode block (U+AAE0-U+AAFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MiscellaneousMathematicalSymbolsA">
<summary>Gets the Miscellaneous Mathematical Symbols-A Unicode block (U+27C0-U+27EF).</summary>
<returns>The Miscellaneous Mathematical Symbols-A Unicode block (U+27C0-U+27EF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MiscellaneousMathematicalSymbolsB">
<summary>Gets the Miscellaneous Mathematical Symbols-B Unicode block (U+2980-U+29FF).</summary>
<returns>The Miscellaneous Mathematical Symbols-B Unicode block (U+2980-U+29FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MiscellaneousSymbols">
<summary>Gets the Miscellaneous Symbols Unicode block (U+2600-U+26FF).</summary>
<returns>The Miscellaneous Symbols Unicode block (U+2600-U+26FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MiscellaneousSymbolsandArrows">
<summary>Gets the Miscellaneous Symbols and Arrows Unicode block (U+2B00-U+2BFF).</summary>
<returns>The Miscellaneous Symbols and Arrows Unicode block (U+2B00-U+2BFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MiscellaneousTechnical">
<summary>Gets the Miscellaneous Technical Unicode block (U+2300-U+23FF).</summary>
<returns>The Miscellaneous Technical Unicode block (U+2300-U+23FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.ModifierToneLetters">
<summary>Gets the Modifier Tone Letters Unicode block (U+A700-U+A71F).</summary>
<returns>The Modifier Tone Letters Unicode block (U+A700-U+A71F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Mongolian">
<summary>Gets the Mongolian Unicode block (U+1800-U+18AF).</summary>
<returns>The Mongolian Unicode block (U+1800-U+18AF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Myanmar">
<summary>Gets the Myanmar Unicode block (U+1000-U+109F).</summary>
<returns>The Myanmar Unicode block (U+1000-U+109F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MyanmarExtendedA">
<summary>Gets the Myanmar Extended-A Unicode block (U+AA60-U+AA7F).</summary>
<returns>The Myanmar Extended-A Unicode block (U+AA60-U+AA7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.MyanmarExtendedB">
<summary>Gets the Myanmar Extended-B Unicode block (U+A9E0-U+A9FF).</summary>
<returns>The Myanmar Extended-B Unicode block (U+A9E0-U+A9FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.NewTaiLue">
<summary>Gets the New Tai Lue Unicode block (U+1980-U+19DF).</summary>
<returns>The New Tai Lue Unicode block (U+1980-U+19DF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.NKo">
<summary>Gets the NKo Unicode block (U+07C0-U+07FF).</summary>
<returns>The NKo Unicode block (U+07C0-U+07FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.None">
<summary>Gets an empty Unicode range.</summary>
<returns>A Unicode range with no elements.</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.NumberForms">
<summary>Gets the Number Forms Unicode block (U+2150-U+218F).</summary>
<returns>The Number Forms Unicode block (U+2150-U+218F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Ogham">
<summary>Gets the Ogham Unicode block (U+1680-U+169F).</summary>
<returns>The Ogham Unicode block (U+1680-U+169F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.OlChiki">
<summary>Gets the Ol Chiki Unicode block (U+1C50-U+1C7F).</summary>
<returns>The Ol Chiki Unicode block (U+1C50-U+1C7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.OpticalCharacterRecognition">
<summary>Gets the Optical Character Recognition Unicode block (U+2440-U+245F).</summary>
<returns>The Optical Character Recognition Unicode block (U+2440-U+245F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Oriya">
<summary>Gets the Oriya Unicode block (U+0B00-U+0B7F).</summary>
<returns>The Oriya Unicode block (U+0B00-U+0B7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Phagspa">
<summary>Gets the Phags-pa Unicode block (U+A840-U+A87F).</summary>
<returns>The Phags-pa Unicode block (U+A840-U+A87F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.PhoneticExtensions">
<summary>Gets the Phonetic Extensions Unicode block (U+1D00-U+1D7F).</summary>
<returns>The Phonetic Extensions Unicode block (U+1D00-U+1D7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.PhoneticExtensionsSupplement">
<summary>Gets the Phonetic Extensions Supplement Unicode block (U+1D80-U+1DBF).</summary>
<returns>The Phonetic Extensions Supplement Unicode block (U+1D80-U+1DBF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Rejang">
<summary>Gets the Rejang Unicode block (U+A930-U+A95F).</summary>
<returns>The Rejang Unicode block (U+A930-U+A95F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Runic">
<summary>Gets the Runic Unicode block (U+16A0-U+16FF).</summary>
<returns>The Runic Unicode block (U+16A0-U+16FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Samaritan">
<summary>Gets the Samaritan Unicode block (U+0800-U+083F).</summary>
<returns>The Samaritan Unicode block (U+0800-U+083F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Saurashtra">
<summary>Gets the Saurashtra Unicode block (U+A880-U+A8DF).</summary>
<returns>The Saurashtra Unicode block (U+A880-U+A8DF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Sinhala">
<summary>Gets the Sinhala Unicode block (U+0D80-U+0DFF).</summary>
<returns>The Sinhala Unicode block (U+0D80-U+0DFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SmallFormVariants">
<summary>Gets the Small Form Variants Unicode block (U+FE50-U+FE6F).</summary>
<returns>The Small Form Variants Unicode block (U+FE50-U+FE6F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SpacingModifierLetters">
<summary>Gets the Spacing Modifier Letters Unicode block (U+02B0-U+02FF).</summary>
<returns>The Spacing Modifier Letters Unicode block (U+02B0-U+02FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Specials">
<summary>Gets the Specials Unicode block (U+FFF0-U+FFFF).</summary>
<returns>The Specials Unicode block (U+FFF0-U+FFFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Sundanese">
<summary>Gets the Sundanese Unicode block (U+1B80-U+1BBF).</summary>
<returns>The Sundanese Unicode block (U+1B80-U+1BBF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SundaneseSupplement">
<summary>Gets the Sundanese Supplement Unicode block (U+1CC0-U+1CCF).</summary>
<returns>The Sundanese Supplement Unicode block (U+1CC0-U+1CCF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SuperscriptsandSubscripts">
<summary>Gets the Superscripts and Subscripts Unicode block (U+2070-U+209F).</summary>
<returns>The Superscripts and Subscripts Unicode block (U+2070-U+209F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SupplementalArrowsA">
<summary>Gets the Supplemental Arrows-A Unicode block (U+27F0-U+27FF).</summary>
<returns>The Supplemental Arrows-A Unicode block (U+27F0-U+27FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SupplementalArrowsB">
<summary>Gets the Supplemental Arrows-B Unicode block (U+2900-U+297F).</summary>
<returns>The Supplemental Arrows-B Unicode block (U+2900-U+297F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SupplementalMathematicalOperators">
<summary>Gets the Supplemental Mathematical Operators Unicode block (U+2A00-U+2AFF).</summary>
<returns>The Supplemental Mathematical Operators Unicode block (U+2A00-U+2AFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SupplementalPunctuation">
<summary>Gets the Supplemental Punctuation Unicode block (U+2E00-U+2E7F).</summary>
<returns>The Supplemental Punctuation Unicode block (U+2E00-U+2E7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SylotiNagri">
<summary>Gets the Syloti Nagri Unicode block (U+A800-U+A82F).</summary>
<returns>The Syloti Nagri Unicode block (U+A800-U+A82F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Syriac">
<summary>Gets the Syriac Unicode block (U+0700-U+074F).</summary>
<returns>The Syriac Unicode block (U+0700-U+074F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.SyriacSupplement">
<summary>A <see cref="T:System.Text.Unicode.UnicodeRange" /> corresponding to the 'Syriac Supplement' Unicode block (U+0860..U+086F).</summary>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Tagalog">
<summary>Gets the Tagalog Unicode block (U+1700-U+171F).</summary>
<returns>The Tagalog Unicode block (U+1700-U+171F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Tagbanwa">
<summary>Gets the Tagbanwa Unicode block (U+1760-U+177F).</summary>
<returns>The Tagbanwa Unicode block (U+1760-U+177F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.TaiLe">
<summary>Gets the Tai Le Unicode block (U+1950-U+197F).</summary>
<returns>The Tai Le Unicode block (U+1950-U+197F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.TaiTham">
<summary>Gets the Tai Tham Unicode block (U+1A20-U+1AAF).</summary>
<returns>The Tai Tham Unicode block (U+1A20-U+1AAF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.TaiViet">
<summary>Gets the Tai Viet Unicode block (U+AA80-U+AADF).</summary>
<returns>The Tai Viet Unicode block (U+AA80-U+AADF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Tamil">
<summary>Gets the Tamil Unicode block (U+0B80-U+0BFF).</summary>
<returns>The Tamil Unicode block (U+0B82-U+0BFA).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Telugu">
<summary>Gets the Telugu Unicode block (U+0C00-U+0C7F).</summary>
<returns>The Telugu Unicode block (U+0C00-U+0C7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Thaana">
<summary>Gets the Thaana Unicode block (U+0780-U+07BF).</summary>
<returns>The Thaana Unicode block (U+0780-U+07BF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Thai">
<summary>Gets the Thai Unicode block (U+0E00-U+0E7F).</summary>
<returns>The Thai Unicode block (U+0E00-U+0E7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Tibetan">
<summary>Gets the Tibetan Unicode block (U+0F00-U+0FFF).</summary>
<returns>The Tibetan Unicode block (U+0F00-U+0FFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Tifinagh">
<summary>Gets the Tifinagh Unicode block (U+2D30-U+2D7F).</summary>
<returns>The Tifinagh Unicode block (U+2D30-U+2D7F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.UnifiedCanadianAboriginalSyllabics">
<summary>Gets the Unified Canadian Aboriginal Syllabics Unicode block (U+1400-U+167F).</summary>
<returns>The Unified Canadian Aboriginal Syllabics Unicode block (U+1400-U+167F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.UnifiedCanadianAboriginalSyllabicsExtended">
<summary>Gets the Unified Canadian Aboriginal Syllabics Extended Unicode block (U+18B0-U+18FF).</summary>
<returns>The Unified Canadian Aboriginal Syllabics Extended Unicode block (U+18B0-U+18FF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.Vai">
<summary>Gets the Vai Unicode block (U+A500-U+A63F).</summary>
<returns>The Vai Unicode block (U+A500-U+A63F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.VariationSelectors">
<summary>Gets the Variation Selectors Unicode block (U+FE00-U+FE0F).</summary>
<returns>The Variation Selectors Unicode block (U+FE00-U+FE0F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.VedicExtensions">
<summary>Gets the Vedic Extensions Unicode block (U+1CD0-U+1CFF).</summary>
<returns>The Vedic Extensions Unicode block (U+1CD0-U+1CFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.VerticalForms">
<summary>Gets the Vertical Forms Unicode block (U+FE10-U+FE1F).</summary>
<returns>The Vertical Forms Unicode block (U+FE10-U+FE1F).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.YijingHexagramSymbols">
<summary>Gets the Yijing Hexagram Symbols Unicode block (U+4DC0-U+4DFF).</summary>
<returns>The Yijing Hexagram Symbols Unicode block (U+4DC0-U+4DFF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.YiRadicals">
<summary>Gets the Yi Radicals Unicode block (U+A490-U+A4CF).</summary>
<returns>The Yi Radicals Unicode block (U+A490-U+A4CF).</returns>
</member>
<member name="P:System.Text.Unicode.UnicodeRanges.YiSyllables">
<summary>Gets the Yi Syllables Unicode block (U+A000-U+A48F).</summary>
<returns>The Yi Syllables Unicode block (U+A000-U+A48F).</returns>
</member>
</members>
</doc>

BIN
dll/System.Text.Json.dll View File


+ 5785
- 0
dll/System.Text.Json.xml
File diff suppressed because it is too large
View File


BIN
dll/System.Threading.Channels.dll View File


+ 243
- 0
dll/System.Threading.Channels.xml View File

@@ -0,0 +1,243 @@
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Threading.Channels</name>
</assembly>
<members>
<member name="T:System.Threading.Channels.BoundedChannelFullMode">
<summary>Specifies the behavior to use when writing to a bounded channel that is already full.</summary>
</member>
<member name="F:System.Threading.Channels.BoundedChannelFullMode.DropNewest">
<summary>Removes and ignores the newest item in the channel in order to make room for the item being written.</summary>
</member>
<member name="F:System.Threading.Channels.BoundedChannelFullMode.DropOldest">
<summary>Removes and ignores the oldest item in the channel in order to make room for the item being written.</summary>
</member>
<member name="F:System.Threading.Channels.BoundedChannelFullMode.DropWrite">
<summary>Drops the item being written.</summary>
</member>
<member name="F:System.Threading.Channels.BoundedChannelFullMode.Wait">
<summary>Waits for space to be available in order to complete the write operation.</summary>
</member>
<member name="T:System.Threading.Channels.BoundedChannelOptions">
<summary>Provides options that control the behavior of bounded <see cref="T:System.Threading.Channels.Channel`1" /> instances.</summary>
</member>
<member name="M:System.Threading.Channels.BoundedChannelOptions.#ctor(System.Int32)">
<summary>Initializes the options.</summary>
<param name="capacity">The maximum number of items the bounded channel may store.</param>
</member>
<member name="P:System.Threading.Channels.BoundedChannelOptions.Capacity">
<summary>Gets or sets the maximum number of items the bounded channel may store.</summary>
</member>
<member name="P:System.Threading.Channels.BoundedChannelOptions.FullMode">
<summary>Gets or sets the behavior incurred by write operations when the channel is full.</summary>
</member>
<member name="T:System.Threading.Channels.Channel">
<summary>Provides static methods for creating channels.</summary>
</member>
<member name="M:System.Threading.Channels.Channel.CreateBounded``1(System.Int32)">
<summary>Creates a channel with the specified maximum capacity.</summary>
<param name="capacity">The maximum number of items the channel may store.</param>
<typeparam name="T">Specifies the type of data in the channel.</typeparam>
<returns>The created channel.</returns>
</member>
<member name="M:System.Threading.Channels.Channel.CreateBounded``1(System.Threading.Channels.BoundedChannelOptions)">
<summary>Creates a channel with the specified maximum capacity.</summary>
<param name="options">Options that guide the behavior of the channel.</param>
<typeparam name="T">Specifies the type of data in the channel.</typeparam>
<returns>The created channel.</returns>
</member>
<member name="M:System.Threading.Channels.Channel.CreateBounded``1(System.Threading.Channels.BoundedChannelOptions,System.Action{``0})">
<summary>Creates a channel subject to the provided options.</summary>
<param name="options">Options that guide the behavior of the channel.</param>
<param name="itemDropped">Delegate that will be called when item is being dropped from channel. See <see cref="T:System.Threading.Channels.BoundedChannelFullMode" />.</param>
<typeparam name="T">Specifies the type of data in the channel.</typeparam>
<returns>The created channel.</returns>
</member>
<member name="M:System.Threading.Channels.Channel.CreateUnbounded``1">
<summary>Creates an unbounded channel usable by any number of readers and writers concurrently.</summary>
<typeparam name="T">The type of data in the channel.</typeparam>
<returns>The created channel.</returns>
</member>
<member name="M:System.Threading.Channels.Channel.CreateUnbounded``1(System.Threading.Channels.UnboundedChannelOptions)">
<summary>Creates an unbounded channel subject to the provided options.</summary>
<param name="options">Options that guide the behavior of the channel.</param>
<typeparam name="T">Specifies the type of data in the channel.</typeparam>
<returns>The created channel.</returns>
</member>
<member name="T:System.Threading.Channels.Channel`1">
<summary>Provides a base class for channels that support reading and writing elements of type <typeparamref name="T" />.</summary>
<typeparam name="T">Specifies the type of data readable and writable in the channel.</typeparam>
</member>
<member name="M:System.Threading.Channels.Channel`1.#ctor">
<summary>Initializes an instance of the <see cref="T:System.Threading.Channels.Channel`1" /> class.</summary>
</member>
<member name="T:System.Threading.Channels.Channel`2">
<summary>Provides a base class for channels that support reading elements of type <typeparamref name="TRead" /> and writing elements of type <typeparamref name="TWrite" />.</summary>
<typeparam name="TWrite">Specifies the type of data that may be written to the channel.</typeparam>
<typeparam name="TRead">Specifies the type of data that may be read from the channel.</typeparam>
</member>
<member name="M:System.Threading.Channels.Channel`2.#ctor">
<summary>Initializes an instance of the <see cref="T:System.Threading.Channels.Channel`2" /> class.</summary>
</member>
<member name="M:System.Threading.Channels.Channel`2.op_Implicit(System.Threading.Channels.Channel{`0,`1})~System.Threading.Channels.ChannelReader{`1}">
<summary>Implicit cast from a <see cref="T:System.Threading.Channels.Channel`2" /> to its readable half.</summary>
<param name="channel">The <see cref="T:System.Threading.Channels.Channel`2" /> being cast.</param>
<returns>The readable half.</returns>
</member>
<member name="M:System.Threading.Channels.Channel`2.op_Implicit(System.Threading.Channels.Channel{`0,`1})~System.Threading.Channels.ChannelWriter{`0}">
<summary>Implicit cast from a <see cref="T:System.Threading.Channels.Channel`2" /> to its writable half.</summary>
<param name="channel">The <see cref="T:System.Threading.Channels.Channel`2" /> being cast.</param>
<returns>The writable half.</returns>
</member>
<member name="P:System.Threading.Channels.Channel`2.Reader">
<summary>Gets the readable half of this channel.</summary>
</member>
<member name="P:System.Threading.Channels.Channel`2.Writer">
<summary>Gets the writable half of this channel.</summary>
</member>
<member name="T:System.Threading.Channels.ChannelClosedException">
<summary>Exception thrown when a channel is used after it's been closed.</summary>
</member>
<member name="M:System.Threading.Channels.ChannelClosedException.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Threading.Channels.ChannelClosedException" /> class.</summary>
</member>
<member name="M:System.Threading.Channels.ChannelClosedException.#ctor(System.Exception)">
<summary>Initializes a new instance of the <see cref="T:System.Threading.Channels.ChannelClosedException" /> class.</summary>
<param name="innerException">The exception that is the cause of this exception.</param>
</member>
<member name="M:System.Threading.Channels.ChannelClosedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>Initializes a new instance of the <see cref="T:System.Threading.Channels.ChannelClosedException" /> class with serialized data.</summary>
<param name="info">The object that holds the serialized object data.</param>
<param name="context">The contextual information about the source or destination.</param>
</member>
<member name="M:System.Threading.Channels.ChannelClosedException.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:System.Threading.Channels.ChannelClosedException" /> class.</summary>
<param name="message">The message that describes the error.</param>
</member>
<member name="M:System.Threading.Channels.ChannelClosedException.#ctor(System.String,System.Exception)">
<summary>Initializes a new instance of the <see cref="T:System.Threading.Channels.ChannelClosedException" /> class.</summary>
<param name="message">The message that describes the error.</param>
<param name="innerException">The exception that is the cause of this exception.</param>
</member>
<member name="T:System.Threading.Channels.ChannelOptions">
<summary>Provides options that control the behavior of channel instances.</summary>
</member>
<member name="M:System.Threading.Channels.ChannelOptions.#ctor">
<summary>Initializes an instance of the <see cref="T:System.Threading.Channels.ChannelOptions" /> class.</summary>
</member>
<member name="P:System.Threading.Channels.ChannelOptions.AllowSynchronousContinuations">
<summary>
<see langword="true" /> if operations performed on a channel may synchronously invoke continuations subscribed to
notifications of pending async operations; <see langword="false" /> if all continuations should be invoked asynchronously.</summary>
</member>
<member name="P:System.Threading.Channels.ChannelOptions.SingleReader">
<summary>
<see langword="true" /> readers from the channel guarantee that there will only ever be at most one read operation at a time;
<see langword="false" /> if no such constraint is guaranteed.</summary>
</member>
<member name="P:System.Threading.Channels.ChannelOptions.SingleWriter">
<summary>
<see langword="true" /> if writers to the channel guarantee that there will only ever be at most one write operation
at a time; <see langword="false" /> if no such constraint is guaranteed.</summary>
</member>
<member name="T:System.Threading.Channels.ChannelReader`1">
<summary>Provides a base class for reading from a channel.</summary>
<typeparam name="T">Specifies the type of data that may be read from the channel.</typeparam>
</member>
<member name="M:System.Threading.Channels.ChannelReader`1.#ctor">
<summary>Initializes an instance of the <see cref="T:System.Threading.Channels.ChannelReader`1" /> class.</summary>
</member>
<member name="M:System.Threading.Channels.ChannelReader`1.ReadAllAsync(System.Threading.CancellationToken)">
<summary>Creates an <see cref="T:System.Collections.Generic.IAsyncEnumerable`1" /> that enables reading all of the data from the channel.</summary>
<param name="cancellationToken">The cancellation token to use to cancel the enumeration. If data is immediately ready for reading, then that data may be yielded even after cancellation has been requested.</param>
<returns>The created async enumerable.</returns>
</member>
<member name="M:System.Threading.Channels.ChannelReader`1.ReadAsync(System.Threading.CancellationToken)">
<summary>Asynchronously reads an item from the channel.</summary>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> used to cancel the read operation.</param>
<returns>A <see cref="T:System.Threading.Tasks.ValueTask`1" /> that represents the asynchronous read operation.</returns>
</member>
<member name="M:System.Threading.Channels.ChannelReader`1.TryPeek(`0@)">
<summary>Attempts to peek at an item from the channel.</summary>
<param name="item">The peeked item, or a default value if no item could be peeked.</param>
<returns>
<see langword="true" /> if an item was read; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Threading.Channels.ChannelReader`1.TryRead(`0@)">
<summary>Attempts to read an item from the channel.</summary>
<param name="item">The read item, or a default value if no item could be read.</param>
<returns>
<see langword="true" /> if an item was read; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Threading.Channels.ChannelReader`1.WaitToReadAsync(System.Threading.CancellationToken)">
<summary>Returns a <see cref="T:System.Threading.Tasks.ValueTask`1" /> that will complete when data is available to read.</summary>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> used to cancel the wait operation.</param>
<returns>
<para>A <see cref="T:System.Threading.Tasks.ValueTask`1" /> that will complete with a <see langword="true" /> result when data is available to read
or with a <see langword="false" /> result when no further data will ever be available to be read due to the channel completing successfully.</para>
<para>If the channel completes with an exception, the task will also complete with an exception.</para>
</returns>
</member>
<member name="P:System.Threading.Channels.ChannelReader`1.CanCount">
<summary>Gets a value that indicates whether <see cref="P:System.Threading.Channels.ChannelReader`1.Count" /> is available for use on this <see cref="T:System.Threading.Channels.ChannelReader`1" /> instance.</summary>
</member>
<member name="P:System.Threading.Channels.ChannelReader`1.CanPeek">
<summary>Gets a value that indicates whether <see cref="M:System.Threading.Channels.ChannelReader`1.TryPeek(`0@)" /> is available for use on this <see cref="T:System.Threading.Channels.ChannelReader`1" /> instance.</summary>
<returns>
<see langword="true" /> if peeking is supported by this channel instance; <see langword="false" /> otherwise.</returns>
</member>
<member name="P:System.Threading.Channels.ChannelReader`1.Completion">
<summary>Gets a <see cref="T:System.Threading.Tasks.Task" /> that completes when no more data will ever
be available to be read from this channel.</summary>
</member>
<member name="P:System.Threading.Channels.ChannelReader`1.Count">
<summary>Gets the current number of items available from this channel reader.</summary>
<exception cref="T:System.NotSupportedException">Counting is not supported on this instance.</exception>
</member>
<member name="T:System.Threading.Channels.ChannelWriter`1">
<summary>Provides a base class for writing to a channel.</summary>
<typeparam name="T">Specifies the type of data that may be written to the channel.</typeparam>
</member>
<member name="M:System.Threading.Channels.ChannelWriter`1.#ctor">
<summary>Initializes an instance of the <see cref="T:System.Threading.Channels.ChannelWriter`1" /> class.</summary>
</member>
<member name="M:System.Threading.Channels.ChannelWriter`1.Complete(System.Exception)">
<summary>Mark the channel as being complete, meaning no more items will be written to it.</summary>
<param name="error">Optional Exception indicating a failure that's causing the channel to complete.</param>
<exception cref="T:System.InvalidOperationException">The channel has already been marked as complete.</exception>
</member>
<member name="M:System.Threading.Channels.ChannelWriter`1.TryComplete(System.Exception)">
<summary>Attempts to mark the channel as being completed, meaning no more data will be written to it.</summary>
<param name="error">An <see cref="T:System.Exception" /> indicating the failure causing no more data to be written, or null for success.</param>
<returns>
<see langword="true" /> if this operation successfully completes the channel; otherwise, <see langword="false" /> if the channel could not be marked for completion,
for example due to having already been marked as such, or due to not supporting completion.
.</returns>
</member>
<member name="M:System.Threading.Channels.ChannelWriter`1.TryWrite(`0)">
<summary>Attempts to write the specified item to the channel.</summary>
<param name="item">The item to write.</param>
<returns>
<see langword="true" /> if the item was written; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Threading.Channels.ChannelWriter`1.WaitToWriteAsync(System.Threading.CancellationToken)">
<summary>Returns a <see cref="T:System.Threading.Tasks.ValueTask`1" /> that will complete when space is available to write an item.</summary>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> used to cancel the wait operation.</param>
<returns>A <see cref="T:System.Threading.Tasks.ValueTask`1" /> that will complete with a <see langword="true" /> result when space is available to write an item
or with a <see langword="false" /> result when no further writing will be permitted.</returns>
</member>
<member name="M:System.Threading.Channels.ChannelWriter`1.WriteAsync(`0,System.Threading.CancellationToken)">
<summary>Asynchronously writes an item to the channel.</summary>
<param name="item">The value to write to the channel.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> used to cancel the write operation.</param>
<returns>A <see cref="T:System.Threading.Tasks.ValueTask" /> that represents the asynchronous write operation.</returns>
</member>
<member name="T:System.Threading.Channels.UnboundedChannelOptions">
<summary>Provides options that control the behavior of unbounded <see cref="T:System.Threading.Channels.Channel`1" /> instances.</summary>
</member>
<member name="M:System.Threading.Channels.UnboundedChannelOptions.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Threading.Channels.UnboundedChannelOptions" /> class.</summary>
</member>
</members>
</doc>

BIN
dll/System.Threading.Tasks.Extensions.dll View File


+ 166
- 0
dll/System.Threading.Tasks.Extensions.xml View File

@@ -0,0 +1,166 @@
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>System.Threading.Tasks.Extensions</name>
</assembly>
<members>
<member name="T:System.Runtime.CompilerServices.ValueTaskAwaiter`1">
<typeparam name="TResult"></typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult">
<returns></returns>
</member>
<member name="P:System.Runtime.CompilerServices.ValueTaskAwaiter`1.IsCompleted">
<returns></returns>
</member>
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.OnCompleted(System.Action)">
<param name="continuation"></param>
</member>
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.UnsafeOnCompleted(System.Action)">
<param name="continuation"></param>
</member>
<member name="T:System.Threading.Tasks.ValueTask`1">
<summary>Provides a value type that wraps a <see cref="Task{TResult}"></see> and a <typeparamref name="TResult">TResult</typeparamref>, only one of which is used.</summary>
<typeparam name="TResult">The result.</typeparam>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(System.Threading.Tasks.Task{`0})">
<summary>Initializes a new instance of the <see cref="ValueTask{TResult}"></see> class using the supplied task that represents the operation.</summary>
<param name="task">The task.</param>
<exception cref="T:System.ArgumentNullException">The <paramref name="task">task</paramref> argument is null.</exception>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(`0)">
<summary>Initializes a new instance of the <see cref="ValueTask{TResult}"></see> class using the supplied result of a successful operation.</summary>
<param name="result">The result.</param>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.AsTask">
<summary>Retrieves a <see cref="Task{TResult}"></see> object that represents this <see cref="ValueTask{TResult}"></see>.</summary>
<returns>The <see cref="Task{TResult}"></see> object that is wrapped in this <see cref="ValueTask{TResult}"></see> if one exists, or a new <see cref="Task{TResult}"></see> object that represents the result.</returns>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.ConfigureAwait(System.Boolean)">
<summary>Configures an awaiter for this value.</summary>
<param name="continueOnCapturedContext">true to attempt to marshal the continuation back to the captured context; otherwise, false.</param>
<returns>The configured awaiter.</returns>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.CreateAsyncMethodBuilder">
<summary>Creates a method builder for use with an async method.</summary>
<returns>The created builder.</returns>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Object)">
<summary>Determines whether the specified object is equal to the current object.</summary>
<param name="obj">The object to compare with the current object.</param>
<returns>true if the specified object is equal to the current object; otherwise, false.</returns>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Threading.Tasks.ValueTask{`0})">
<summary>Determines whether the specified <see cref="ValueTask{TResult}"></see> object is equal to the current <see cref="ValueTask{TResult}"></see> object.</summary>
<param name="other">The object to compare with the current object.</param>
<returns>true if the specified object is equal to the current object; otherwise, false.</returns>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.GetAwaiter">
<summary>Creates an awaiter for this value.</summary>
<returns>The awaiter.</returns>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.GetHashCode">
<summary>Returns the hash code for this instance.</summary>
<returns>The hash code for the current object.</returns>
</member>
<member name="P:System.Threading.Tasks.ValueTask`1.IsCanceled">
<summary>Gets a value that indicates whether this object represents a canceled operation.</summary>
<returns>true if this object represents a canceled operation; otherwise, false.</returns>
</member>
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompleted">
<summary>Gets a value that indicates whether this object represents a completed operation.</summary>
<returns>true if this object represents a completed operation; otherwise, false.</returns>
</member>
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompletedSuccessfully">
<summary>Gets a value that indicates whether this object represents a successfully completed operation.</summary>
<returns>true if this object represents a successfully completed operation; otherwise, false.</returns>
</member>
<member name="P:System.Threading.Tasks.ValueTask`1.IsFaulted">
<summary>Gets a value that indicates whether this object represents a failed operation.</summary>
<returns>true if this object represents a failed operation; otherwise, false.</returns>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.op_Equality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
<summary>Compares two values for equality.</summary>
<param name="left">The first value to compare.</param>
<param name="right">The second value to compare.</param>
<returns>true if the two <see cref="ValueTask{TResult}"></see> values are equal; otherwise, false.</returns>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.op_Inequality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
<summary>Determines whether two <see cref="ValueTask{TResult}"></see> values are unequal.</summary>
<param name="left">The first value to compare.</param>
<param name="right">The seconed value to compare.</param>
<returns>true if the two <see cref="ValueTask{TResult}"></see> values are not equal; otherwise, false.</returns>
</member>
<member name="P:System.Threading.Tasks.ValueTask`1.Result">
<summary>Gets the result.</summary>
<returns>The result.</returns>
</member>
<member name="M:System.Threading.Tasks.ValueTask`1.ToString">
<summary>Returns a string that represents the current object.</summary>
<returns>A string that represents the current object.</returns>
</member>
<member name="T:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute">
</member>
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.#ctor(System.Type)">
<param name="builderType"></param>
</member>
<member name="P:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.BuilderType">
<returns></returns>
</member>
<member name="T:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1">
<typeparam name="TResult"></typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.AwaitOnCompleted``2(``0@,``1@)">
<param name="awaiter"></param>
<param name="stateMachine"></param>
<typeparam name="TAwaiter"></typeparam>
<typeparam name="TStateMachine"></typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.AwaitUnsafeOnCompleted``2(``0@,``1@)">
<param name="awaiter"></param>
<param name="stateMachine"></param>
<typeparam name="TAwaiter"></typeparam>
<typeparam name="TStateMachine"></typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Create">
<returns></returns>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetException(System.Exception)">
<param name="exception"></param>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(`0)">
<param name="result"></param>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
<param name="stateMachine"></param>
</member>
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Start``1(``0@)">
<param name="stateMachine"></param>
<typeparam name="TStateMachine"></typeparam>
</member>
<member name="P:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Task">
<returns></returns>
</member>
<member name="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter">
<typeparam name="TResult"></typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult">
<returns></returns>
</member>
<member name="P:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.IsCompleted">
<returns></returns>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.OnCompleted(System.Action)">
<param name="continuation"></param>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.UnsafeOnCompleted(System.Action)">
<param name="continuation"></param>
</member>
<member name="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1">
<typeparam name="TResult"></typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.GetAwaiter">
<returns></returns>
</member>
</members>
</doc>

BIN
dll/System.ValueTuple.dll View File


+ 8
- 0
dll/System.ValueTuple.xml View File

@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>System.ValueTuple</name>
</assembly>
<members>
</members>
</doc>

Loading…
Cancel
Save