Updated PostgreSQL nuget.
This commit is contained in:
Родитель
bd0292c270
Коммит
9fe762b018
|
@ -22,12 +22,13 @@
|
|||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="..\packages\Npgsql.2.2.6\lib\net40\Npgsql.dll" target="tools" />
|
||||
<file src="..\packages\Npgsql.2.2.6\lib\net40\Mono.Security.dll" target="tools" />
|
||||
<file src="LinqToDB.PostgreSQL.Tools.ttinclude" target="content\LinqToDB.Templates" />
|
||||
<file src="CopyMe.PostgreSQL.tt.txt" target="content\LinqToDB.Templates" />
|
||||
<file src="..\packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll"
|
||||
target="tools" />
|
||||
<file src="..\packages\Npgsql.3.2.5\lib\net45\Npgsql.dll" target="tools" />
|
||||
<file src="LinqToDB.PostgreSQL.Tools.ttinclude" target="content\LinqToDB.Templates" />
|
||||
<file src="CopyMe.PostgreSQL.tt.txt" target="content\LinqToDB.Templates" />
|
||||
|
||||
<file src="init.ps1" target="tools" />
|
||||
<file src="CopyMe.PostgreSQL.Core.tt.txt" target="tools" />
|
||||
<file src="init.ps1" target="tools" />
|
||||
<file src="CopyMe.PostgreSQL.Core.tt.txt" target="tools" />
|
||||
</files>
|
||||
</package>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<#@ include file="LinqToDB.ttinclude" #>
|
||||
<#
|
||||
<#@ include file="LinqToDB.ttinclude" #>
|
||||
<#
|
||||
LinqToDB.DataProvider.PostgreSQL.PostgreSQLTools.ResolvePostgreSQL(
|
||||
typeof(Npgsql.NpgsqlConnection).Assembly);
|
||||
|
||||
|
@ -11,8 +11,8 @@
|
|||
SetCaseSensitiveNames();
|
||||
};
|
||||
}
|
||||
#><#+
|
||||
|
||||
#>
|
||||
<#+
|
||||
bool GenerateCaseSensitiveNames = false; // Defines whether to generate case sensitive or insensitive names
|
||||
|
||||
void SetCaseSensitiveNames()
|
||||
|
@ -40,7 +40,7 @@ LinqToDB.Data.DataConnection GetPostgreSQLConnection(string connectionString)
|
|||
|
||||
LinqToDB.Data.DataConnection GetPostgreSQLConnection(string server, string port, string database, string uid, string password)
|
||||
{
|
||||
return GetPostgreSQLConnection(string.Format(@"Server={0};Port={1};Database={2};User Id={3};Password={4};Pooling=true;MinPoolSize=10;MaxPoolSize=100;Protocol=3;", server, port, database, uid, password));
|
||||
return GetPostgreSQLConnection(string.Format(@"Server={0};Port={1};Database={2};User Id={3};Password={4};Pooling=true;MinPoolSize=10;MaxPoolSize=100;", server, port, database, uid, password));
|
||||
}
|
||||
|
||||
void LoadPostgreSQLMetadata(string connectionString)
|
||||
|
@ -54,4 +54,4 @@ void LoadPostgreSQLMetadata(string server, string port, string database, string
|
|||
var dataConnection = GetPostgreSQLConnection(server, port, database, uid, password);
|
||||
LoadMetadata(dataConnection);
|
||||
}
|
||||
#>
|
||||
#>
|
||||
|
|
|
@ -16,16 +16,16 @@ namespace PostreSQLDataContext
|
|||
{
|
||||
/// <summary>
|
||||
/// Database : TestData
|
||||
/// Data Source : DBHost
|
||||
/// Data Source : tcp://DBHost:5432
|
||||
/// Server Version : 9.2.1
|
||||
/// </summary>
|
||||
public partial class TestDataDB : LinqToDB.Data.DataConnection
|
||||
{
|
||||
public ITable<_testsamename> _testsamename { get { return this.GetTable<_testsamename>(); } }
|
||||
public ITable<alltype> alltypes { get { return this.GetTable<alltype>(); } }
|
||||
public ITable<Alltype> Alltypes { get { return this.GetTable<Alltype>(); } }
|
||||
public ITable<Child> Children { get { return this.GetTable<Child>(); } }
|
||||
public ITable<Doctor> Doctors { get { return this.GetTable<Doctor>(); } }
|
||||
public ITable<entity> entities { get { return this.GetTable<entity>(); } }
|
||||
public ITable<Entity> Entities { get { return this.GetTable<Entity>(); } }
|
||||
public ITable<GrandChild> GrandChildren { get { return this.GetTable<GrandChild>(); } }
|
||||
public ITable<LinqDataType> LinqDataTypes { get { return this.GetTable<LinqDataType>(); } }
|
||||
public ITable<Parent> Parents { get { return this.GetTable<Parent>(); } }
|
||||
|
@ -35,9 +35,9 @@ namespace PostreSQLDataContext
|
|||
public ITable<SequenceTest2> SequenceTest2 { get { return this.GetTable<SequenceTest2>(); } }
|
||||
public ITable<SequenceTest3> SequenceTest3 { get { return this.GetTable<SequenceTest3>(); } }
|
||||
public ITable<TestIdentity> TestIdentities { get { return this.GetTable<TestIdentity>(); } }
|
||||
public ITable<testsamename> testsamenames { get { return this.GetTable<testsamename>(); } }
|
||||
public ITable<Testsamename> Testsamenames { get { return this.GetTable<Testsamename>(); } }
|
||||
public ITable<TestSchemaIdentity> TestSchemaIdentities { get { return this.GetTable<TestSchemaIdentity>(); } }
|
||||
public ITable<testserialidentity> testserialidentities { get { return this.GetTable<testserialidentity>(); } }
|
||||
public ITable<Testserialidentity> Testserialidentities { get { return this.GetTable<Testserialidentity>(); } }
|
||||
public ITable<TestTable2> TestTable2 { get { return this.GetTable<TestTable2>(); } }
|
||||
public ITable<TestTable3> TestTable3 { get { return this.GetTable<TestTable3>(); } }
|
||||
|
||||
|
@ -58,44 +58,44 @@ namespace PostreSQLDataContext
|
|||
[Table(Schema="public", Name="testsamename")]
|
||||
public partial class _testsamename
|
||||
{
|
||||
[PrimaryKey, Identity] public int id { get; set; } // integer
|
||||
[Column(@"id"), PrimaryKey, Identity] public int Id { get; set; } // integer
|
||||
}
|
||||
|
||||
[Table(Schema="public", Name="alltypes")]
|
||||
public partial class alltype
|
||||
public partial class Alltype
|
||||
{
|
||||
[PrimaryKey, Identity] public int id { get; set; } // integer
|
||||
[Column, Nullable] public long? bigintdatatype { get; set; } // bigint
|
||||
[Column, Nullable] public decimal? numericdatatype { get; set; } // numeric
|
||||
[Column, Nullable] public short? smallintdatatype { get; set; } // smallint
|
||||
[Column, Nullable] public int? intdatatype { get; set; } // integer
|
||||
[Column, Nullable] public decimal? moneydatatype { get; set; } // money
|
||||
[Column, Nullable] public double? doubledatatype { get; set; } // double precision
|
||||
[Column, Nullable] public float? realdatatype { get; set; } // real
|
||||
[Column, Nullable] public DateTime? timestampdatatype { get; set; } // timestamp (6) without time zone
|
||||
[Column, Nullable] public DateTimeOffset? timestamptzdatatype { get; set; } // timestamp (6) with time zone
|
||||
[Column, Nullable] public DateTime? datedatatype { get; set; } // date
|
||||
[Column, Nullable] public object timedatatype { get; set; } // time without time zone
|
||||
[Column, Nullable] public object timetzdatatype { get; set; } // time with time zone
|
||||
[Column, Nullable] public object intervaldatatype { get; set; } // interval
|
||||
[Column, Nullable] public char? chardatatype { get; set; } // character(1)
|
||||
[Column, Nullable] public string varchardatatype { get; set; } // character varying(20)
|
||||
[Column, Nullable] public string textdatatype { get; set; } // text
|
||||
[Column, Nullable] public byte[] binarydatatype { get; set; } // bytea
|
||||
[Column, Nullable] public Guid? uuiddatatype { get; set; } // uuid
|
||||
[Column, Nullable] public BitArray bitdatatype { get; set; } // bit(3)
|
||||
[Column, Nullable] public bool? booleandatatype { get; set; } // boolean
|
||||
[Column, Nullable] public object colordatatype { get; set; } // USER-DEFINED
|
||||
[Column, Nullable] public object pointdatatype { get; set; } // point
|
||||
[Column, Nullable] public object lsegdatatype { get; set; } // lseg
|
||||
[Column, Nullable] public object boxdatatype { get; set; } // box
|
||||
[Column, Nullable] public object pathdatatype { get; set; } // path
|
||||
[Column, Nullable] public object polygondatatype { get; set; } // polygon
|
||||
[Column, Nullable] public object circledatatype { get; set; } // circle
|
||||
[Column, Nullable] public object inetdatatype { get; set; } // inet
|
||||
[Column, Nullable] public object macaddrdatatype { get; set; } // macaddr
|
||||
[Column, Nullable] public string xmldatatype { get; set; } // xml
|
||||
[Column, Nullable] public object varbitdatatype { get; set; } // bit varying
|
||||
[Column(@"id"), PrimaryKey, Identity] public int Id { get; set; } // integer
|
||||
[Column(@"bigintdatatype"), Nullable ] public long? Bigintdatatype { get; set; } // bigint
|
||||
[Column(@"numericdatatype"), Nullable ] public decimal? Numericdatatype { get; set; } // numeric
|
||||
[Column(@"smallintdatatype"), Nullable ] public short? Smallintdatatype { get; set; } // smallint
|
||||
[Column(@"intdatatype"), Nullable ] public int? Intdatatype { get; set; } // integer
|
||||
[Column(@"moneydatatype"), Nullable ] public decimal? Moneydatatype { get; set; } // money
|
||||
[Column(@"doubledatatype"), Nullable ] public double? Doubledatatype { get; set; } // double precision
|
||||
[Column(@"realdatatype"), Nullable ] public float? Realdatatype { get; set; } // real
|
||||
[Column(@"timestampdatatype"), Nullable ] public DateTime? Timestampdatatype { get; set; } // timestamp (6) without time zone
|
||||
[Column(@"timestamptzdatatype"), Nullable ] public DateTimeOffset? Timestamptzdatatype { get; set; } // timestamp (6) with time zone
|
||||
[Column(@"datedatatype"), Nullable ] public DateTime? Datedatatype { get; set; } // date
|
||||
[Column(@"timedatatype"), Nullable ] public object Timedatatype { get; set; } // time without time zone
|
||||
[Column(@"timetzdatatype"), Nullable ] public object Timetzdatatype { get; set; } // time with time zone
|
||||
[Column(@"intervaldatatype"), Nullable ] public object Intervaldatatype { get; set; } // interval
|
||||
[Column(@"chardatatype"), Nullable ] public char? Chardatatype { get; set; } // character(1)
|
||||
[Column(@"varchardatatype"), Nullable ] public string Varchardatatype { get; set; } // character varying(20)
|
||||
[Column(@"textdatatype"), Nullable ] public string Textdatatype { get; set; } // text
|
||||
[Column(@"binarydatatype"), Nullable ] public byte[] Binarydatatype { get; set; } // bytea
|
||||
[Column(@"uuiddatatype"), Nullable ] public Guid? Uuiddatatype { get; set; } // uuid
|
||||
[Column(@"bitdatatype"), Nullable ] public BitArray Bitdatatype { get; set; } // bit(3)
|
||||
[Column(@"booleandatatype"), Nullable ] public bool? Booleandatatype { get; set; } // boolean
|
||||
[Column(@"colordatatype"), Nullable ] public object Colordatatype { get; set; } // USER-DEFINED
|
||||
[Column(@"pointdatatype"), Nullable ] public object Pointdatatype { get; set; } // point
|
||||
[Column(@"lsegdatatype"), Nullable ] public object Lsegdatatype { get; set; } // lseg
|
||||
[Column(@"boxdatatype"), Nullable ] public object Boxdatatype { get; set; } // box
|
||||
[Column(@"pathdatatype"), Nullable ] public object Pathdatatype { get; set; } // path
|
||||
[Column(@"polygondatatype"), Nullable ] public object Polygondatatype { get; set; } // polygon
|
||||
[Column(@"circledatatype"), Nullable ] public object Circledatatype { get; set; } // circle
|
||||
[Column(@"inetdatatype"), Nullable ] public object Inetdatatype { get; set; } // inet
|
||||
[Column(@"macaddrdatatype"), Nullable ] public object Macaddrdatatype { get; set; } // macaddr
|
||||
[Column(@"xmldatatype"), Nullable ] public string Xmldatatype { get; set; } // xml
|
||||
[Column(@"varbitdatatype"), Nullable ] public object Varbitdatatype { get; set; } // bit varying
|
||||
}
|
||||
|
||||
[Table(Schema="public", Name="Child")]
|
||||
|
@ -123,9 +123,9 @@ namespace PostreSQLDataContext
|
|||
}
|
||||
|
||||
[Table(Schema="public", Name="entity")]
|
||||
public partial class entity
|
||||
public partial class Entity
|
||||
{
|
||||
[Column, NotNull] public string the_name { get; set; } // character varying(255)
|
||||
[Column(@"the_name"), NotNull] public string TheName { get; set; } // character varying(255)
|
||||
}
|
||||
|
||||
[Table(Schema="public", Name="GrandChild")]
|
||||
|
@ -229,9 +229,9 @@ namespace PostreSQLDataContext
|
|||
}
|
||||
|
||||
[Table(Schema="test_schema", Name="testsamename")]
|
||||
public partial class testsamename
|
||||
public partial class Testsamename
|
||||
{
|
||||
[PrimaryKey, Identity] public int id { get; set; } // integer
|
||||
[Column(@"id"), PrimaryKey, Identity] public int Id { get; set; } // integer
|
||||
}
|
||||
|
||||
[Table(Schema="test_schema", Name="TestSchemaIdentity")]
|
||||
|
@ -241,7 +241,7 @@ namespace PostreSQLDataContext
|
|||
}
|
||||
|
||||
[Table(Schema="test_schema", Name="testserialidentity")]
|
||||
public partial class testserialidentity
|
||||
public partial class Testserialidentity
|
||||
{
|
||||
[PrimaryKey, Identity] public int ID { get; set; } // integer
|
||||
}
|
||||
|
@ -264,16 +264,16 @@ namespace PostreSQLDataContext
|
|||
|
||||
public static partial class TableExtensions
|
||||
{
|
||||
public static _testsamename Find(this ITable<_testsamename> table, int id)
|
||||
public static _testsamename Find(this ITable<_testsamename> table, int Id)
|
||||
{
|
||||
return table.FirstOrDefault(t =>
|
||||
t.id == id);
|
||||
t.Id == Id);
|
||||
}
|
||||
|
||||
public static alltype Find(this ITable<alltype> table, int id)
|
||||
public static Alltype Find(this ITable<Alltype> table, int Id)
|
||||
{
|
||||
return table.FirstOrDefault(t =>
|
||||
t.id == id);
|
||||
t.Id == Id);
|
||||
}
|
||||
|
||||
public static Person Find(this ITable<Person> table, int PersonID)
|
||||
|
@ -306,10 +306,10 @@ namespace PostreSQLDataContext
|
|||
t.ID == ID);
|
||||
}
|
||||
|
||||
public static testsamename Find(this ITable<testsamename> table, int id)
|
||||
public static Testsamename Find(this ITable<Testsamename> table, int Id)
|
||||
{
|
||||
return table.FirstOrDefault(t =>
|
||||
t.id == id);
|
||||
t.Id == Id);
|
||||
}
|
||||
|
||||
public static TestSchemaIdentity Find(this ITable<TestSchemaIdentity> table, int ID)
|
||||
|
@ -318,7 +318,7 @@ namespace PostreSQLDataContext
|
|||
t.ID == ID);
|
||||
}
|
||||
|
||||
public static testserialidentity Find(this ITable<testserialidentity> table, int ID)
|
||||
public static Testserialidentity Find(this ITable<Testserialidentity> table, int ID)
|
||||
{
|
||||
return table.FirstOrDefault(t =>
|
||||
t.ID == ID);
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
<#@ output extension=".generated.cs" #>
|
||||
<#@ include file="..\..\Templates\LinqToDB.PostgreSQL.ttinclude" #>
|
||||
<#@ include file="..\..\Templates\PluralizationService.ttinclude" #>
|
||||
<#@ assembly name="$(SolutionDir)packages\Npgsql.2.2.6\lib\net40\Npgsql.dll" #>
|
||||
<#@ assembly name="$(SolutionDir)packages\Npgsql.2.2.6\lib\net40\Mono.Security.dll" #>
|
||||
<#@ assembly name="$(SolutionDir)\packages\linq2db.1.7.5\lib\net40\linq2db.dll" #>
|
||||
<#@ assembly name="$(SolutionDir)packages\Npgsql.3.2.5\lib\net45\Npgsql.dll" #>
|
||||
<#@ assembly name="$(SolutionDir)packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll" #>
|
||||
<#@ assembly name="I:\linq2db\Source\bin\Debug.4.5\linq2db.dll" #>
|
||||
<#
|
||||
NamespaceName = "PostreSQLDataContext";
|
||||
|
||||
|
|
|
@ -48,16 +48,12 @@
|
|||
<HintPath>..\..\packages\Microsoft.SqlServer.Types.14.0.314.76\lib\Net40\Microsoft.SqlServer.Types.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Npgsql.2.2.6\lib\net45\Mono.Security.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\MySql.Data.6.9.9\lib\net45\MySql.Data.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Npgsql, Version=2.2.6.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Npgsql.2.2.6\lib\net45\Npgsql.dll</HintPath>
|
||||
<Reference Include="Npgsql, Version=3.2.5.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Npgsql.3.2.5\lib\net45\Npgsql.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=MSIL">
|
||||
|
@ -75,6 +71,10 @@
|
|||
<Private>True</Private>
|
||||
<HintPath>..\..\packages\Microsoft.SqlServer.Compact.4.0.8876.1\lib\net40\System.Data.SqlServerCe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
<package id="Microsoft.SqlServer.Compact" version="4.0.8876.1" targetFramework="net40" />
|
||||
<package id="Microsoft.SqlServer.Types" version="14.0.314.76" targetFramework="net45" />
|
||||
<package id="MySql.Data" version="6.9.9" targetFramework="net45" />
|
||||
<package id="Npgsql" version="2.2.6" targetFramework="net45" />
|
||||
<package id="Npgsql" version="3.2.5" targetFramework="net45" />
|
||||
<package id="Oracle.ManagedDataAccess" version="12.1.24160719" targetFramework="net45" />
|
||||
<package id="System.Data.SQLite.Core" version="1.0.103" targetFramework="net45" />
|
||||
<package id="System.Threading.Tasks.Extensions" version="4.3.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -49,7 +49,7 @@ namespace ToolsGenerator
|
|||
CreateProviderFile (nugetDir, "SapHana", "Sap.Data.Hana.v4.5.dll");
|
||||
CreateProviderFile (nugetDir, "DB2", "IBM.Data.DB2.dll");
|
||||
CreateProviderFile (nugetDir, "Informix", "IBM.Data.Informix.dll");
|
||||
CreateProviderFile (nugetDir, "PostgreSQL", "Npgsql.dll", "Mono.Security.dll");
|
||||
CreateProviderFile (nugetDir, "PostgreSQL", "Npgsql.dll", "System.Threading.Tasks.Extensions.dll");
|
||||
|
||||
CreateProviderFile(nugetDir, "SqlCe",
|
||||
@"<#@ assembly name=""$(SolutionDir).tools\System.Data.SqlServerCe.dll"" #>");
|
||||
|
|
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Двоичные данные
packages/System.Threading.Tasks.Extensions.4.3.0/System.Threading.Tasks.Extensions.4.3.0.nupkg
поставляемый
Normal file
Двоичные данные
packages/System.Threading.Tasks.Extensions.4.3.0/System.Threading.Tasks.Extensions.4.3.0.nupkg
поставляемый
Normal file
Двоичный файл не отображается.
|
@ -0,0 +1,31 @@
|
|||
This Microsoft .NET Library may incorporate components from the projects listed
|
||||
below. Microsoft licenses these components under the Microsoft .NET Library
|
||||
software license terms. The original copyright notices and the licenses under
|
||||
which Microsoft received such components are set forth below for informational
|
||||
purposes only. Microsoft reserves all rights not expressly granted herein,
|
||||
whether by implication, estoppel or otherwise.
|
||||
|
||||
1. .NET Core (https://github.com/dotnet/core/)
|
||||
|
||||
.NET Core
|
||||
Copyright (c) .NET Foundation and Contributors
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
128
packages/System.Threading.Tasks.Extensions.4.3.0/dotnet_library_license.txt
поставляемый
Normal file
128
packages/System.Threading.Tasks.Extensions.4.3.0/dotnet_library_license.txt
поставляемый
Normal file
|
@ -0,0 +1,128 @@
|
|||
|
||||
MICROSOFT SOFTWARE LICENSE TERMS
|
||||
|
||||
|
||||
MICROSOFT .NET LIBRARY
|
||||
|
||||
These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft
|
||||
|
||||
· updates,
|
||||
|
||||
· supplements,
|
||||
|
||||
· Internet-based services, and
|
||||
|
||||
· support services
|
||||
|
||||
for this software, unless other terms accompany those items. If so, those terms apply.
|
||||
|
||||
BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
|
||||
|
||||
|
||||
IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.
|
||||
|
||||
1. INSTALLATION AND USE RIGHTS.
|
||||
|
||||
a. Installation and Use. You may install and use any number of copies of the software to design, develop and test your programs.
|
||||
|
||||
b. Third Party Programs. The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.
|
||||
|
||||
2. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
|
||||
|
||||
a. DISTRIBUTABLE CODE. The software is comprised of Distributable Code. “Distributable Code” is code that you are permitted to distribute in programs you develop if you comply with the terms below.
|
||||
|
||||
i. Right to Use and Distribute.
|
||||
|
||||
· You may copy and distribute the object code form of the software.
|
||||
|
||||
· Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.
|
||||
|
||||
ii. Distribution Requirements. For any Distributable Code you distribute, you must
|
||||
|
||||
· add significant primary functionality to it in your programs;
|
||||
|
||||
· require distributors and external end users to agree to terms that protect it at least as much as this agreement;
|
||||
|
||||
· display your valid copyright notice on your programs; and
|
||||
|
||||
· indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your programs.
|
||||
|
||||
iii. Distribution Restrictions. You may not
|
||||
|
||||
· alter any copyright, trademark or patent notice in the Distributable Code;
|
||||
|
||||
· use Microsoft’s trademarks in your programs’ names or in a way that suggests your programs come from or are endorsed by Microsoft;
|
||||
|
||||
· include Distributable Code in malicious, deceptive or unlawful programs; or
|
||||
|
||||
· modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that
|
||||
|
||||
· the code be disclosed or distributed in source code form; or
|
||||
|
||||
· others have the right to modify it.
|
||||
|
||||
3. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
|
||||
|
||||
· work around any technical limitations in the software;
|
||||
|
||||
· reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
|
||||
|
||||
· publish the software for others to copy;
|
||||
|
||||
· rent, lease or lend the software;
|
||||
|
||||
· transfer the software or this agreement to any third party; or
|
||||
|
||||
· use the software for commercial software hosting services.
|
||||
|
||||
4. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the software.
|
||||
|
||||
5. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
|
||||
|
||||
6. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting.
|
||||
|
||||
7. SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it.
|
||||
|
||||
8. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
|
||||
|
||||
9. APPLICABLE LAW.
|
||||
|
||||
a. United States. If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
|
||||
|
||||
b. Outside the United States. If you acquired the software in any other country, the laws of that country apply.
|
||||
|
||||
10. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
|
||||
|
||||
11. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
|
||||
FOR AUSTRALIA – YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.
|
||||
|
||||
12. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
|
||||
|
||||
This limitation applies to
|
||||
|
||||
· anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
|
||||
|
||||
· claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
|
||||
|
||||
It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
|
||||
|
||||
Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.
|
||||
|
||||
Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français.
|
||||
|
||||
EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues.
|
||||
|
||||
LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices.
|
||||
|
||||
Cette limitation concerne :
|
||||
|
||||
· tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et
|
||||
|
||||
· les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur.
|
||||
|
||||
Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard.
|
||||
|
||||
EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas.
|
||||
|
||||
|
Двоичные данные
packages/System.Threading.Tasks.Extensions.4.3.0/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll
поставляемый
Normal file
Двоичные данные
packages/System.Threading.Tasks.Extensions.4.3.0/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll
поставляемый
Normal file
Двоичный файл не отображается.
253
packages/System.Threading.Tasks.Extensions.4.3.0/lib/netstandard1.0/System.Threading.Tasks.Extensions.xml
поставляемый
Normal file
253
packages/System.Threading.Tasks.Extensions.4.3.0/lib/netstandard1.0/System.Threading.Tasks.Extensions.xml
поставляемый
Normal file
|
@ -0,0 +1,253 @@
|
|||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Threading.Tasks.Extensions</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute">
|
||||
<summary>
|
||||
Indicates the type of the async method builder that should be used by a language compiler to
|
||||
build the attributed type when used as the return type of an async method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.#ctor(System.Type)">
|
||||
<summary>Initializes the <see cref="T:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute"/>.</summary>
|
||||
<param name="builderType">The <see cref="T:System.Type"/> of the associated builder.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.BuilderType">
|
||||
<summary>Gets the <see cref="T:System.Type"/> of the associated builder.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1">
|
||||
<summary>Represents a builder for asynchronous methods that returns a <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
<typeparam name="TResult">The type of the result.</typeparam>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._methodBuilder">
|
||||
<summary>The <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1"/> to which most operations are delegated.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._result">
|
||||
<summary>The result for this builder, if it's completed before any awaits occur.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._haveResult">
|
||||
<summary>true if <see cref="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._result"/> contains the synchronous result for the async method; otherwise, false.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._useBuilder">
|
||||
<summary>true if the builder should be used for setting/getting the result; otherwise, false.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Create">
|
||||
<summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1"/> struct.</summary>
|
||||
<returns>The initialized instance.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Start``1(``0@)">
|
||||
<summary>Begins running the builder with the associated state machine.</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.AsyncValueTaskMethodBuilder`1.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
|
||||
<summary>Associates the builder with the specified state machine.</summary>
|
||||
<param name="stateMachine">The state machine instance to associate with the builder.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(`0)">
|
||||
<summary>Marks the task as successfully completed.</summary>
|
||||
<param name="result">The result to use to complete the task.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetException(System.Exception)">
|
||||
<summary>Marks the task as failed and binds the specified exception to the task.</summary>
|
||||
<param name="exception">The exception to bind to the task.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Task">
|
||||
<summary>Gets the task for this builder.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.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.AsyncValueTaskMethodBuilder`1.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="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1">
|
||||
<summary>Provides an awaitable type that enables configured awaits on a <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
<typeparam name="TResult">The type of the result produced.</typeparam>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1._value">
|
||||
<summary>The wrapped <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1._continueOnCapturedContext">
|
||||
<summary>true to attempt to marshal the continuation back to the original context captured; otherwise, false.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.#ctor(System.Threading.Tasks.ValueTask{`0},System.Boolean)">
|
||||
<summary>Initializes the awaitable.</summary>
|
||||
<param name="value">The wrapped <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</param>
|
||||
<param name="continueOnCapturedContext">
|
||||
true to attempt to marshal the continuation back to the original synchronization context captured; otherwise, false.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.GetAwaiter">
|
||||
<summary>Returns an awaiter for this <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> instance.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter">
|
||||
<summary>Provides an awaiter for a <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/>.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter._value">
|
||||
<summary>The value being awaited.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter._continueOnCapturedContext">
|
||||
<summary>The value to pass to ConfigureAwait.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.#ctor(System.Threading.Tasks.ValueTask{`0},System.Boolean)">
|
||||
<summary>Initializes the awaiter.</summary>
|
||||
<param name="value">The value to be awaited.</param>
|
||||
<param name="continueOnCapturedContext">The value to pass to ConfigureAwait.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.IsCompleted">
|
||||
<summary>Gets whether the <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> has completed.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult">
|
||||
<summary>Gets the result of the ValueTask.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.OnCompleted(System.Action)">
|
||||
<summary>Schedules the continuation action for the <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/>.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.UnsafeOnCompleted(System.Action)">
|
||||
<summary>Schedules the continuation action for the <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/>.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ValueTaskAwaiter`1">
|
||||
<summary>Provides an awaiter for a <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ValueTaskAwaiter`1._value">
|
||||
<summary>The value being awaited.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.#ctor(System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Initializes the awaiter.</summary>
|
||||
<param name="value">The value to be awaited.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.ValueTaskAwaiter`1.IsCompleted">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> has completed.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult">
|
||||
<summary>Gets the result of the ValueTask.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.OnCompleted(System.Action)">
|
||||
<summary>Schedules the continuation action for this ValueTask.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.UnsafeOnCompleted(System.Action)">
|
||||
<summary>Schedules the continuation action for this ValueTask.</summary>
|
||||
</member>
|
||||
<member name="T:System.Threading.Tasks.ValueTask`1">
|
||||
<summary>
|
||||
Provides a value type that wraps a <see cref="T:System.Threading.Tasks.Task`1"/> and a <typeparamref name="TResult"/>,
|
||||
only one of which is used.
|
||||
</summary>
|
||||
<typeparam name="TResult">The type of the result.</typeparam>
|
||||
<remarks>
|
||||
<para>
|
||||
Methods may return an instance of this value type when it's likely that the result of their
|
||||
operations will be available synchronously and when the method is expected to be invoked so
|
||||
frequently that the cost of allocating a new <see cref="T:System.Threading.Tasks.Task`1"/> for each call will
|
||||
be prohibitive.
|
||||
</para>
|
||||
<para>
|
||||
There are tradeoffs to using a <see cref="T:System.Threading.Tasks.ValueTask`1"/> instead of a <see cref="T:System.Threading.Tasks.Task`1"/>.
|
||||
For example, while a <see cref="T:System.Threading.Tasks.ValueTask`1"/> can help avoid an allocation in the case where the
|
||||
successful result is available synchronously, it also contains two fields whereas a <see cref="T:System.Threading.Tasks.Task`1"/>
|
||||
as a reference type is a single field. This means that a method call ends up returning two fields worth of
|
||||
data instead of one, which is more data to copy. It also means that if a method that returns one of these
|
||||
is awaited within an async method, the state machine for that async method will be larger due to needing
|
||||
to store the struct that's two fields instead of a single reference.
|
||||
</para>
|
||||
<para>
|
||||
Further, for uses other than consuming the result of an asynchronous operation via await,
|
||||
<see cref="T:System.Threading.Tasks.ValueTask`1"/> can lead to a more convoluted programming model, which can in turn actually
|
||||
lead to more allocations. For example, consider a method that could return either a <see cref="T:System.Threading.Tasks.Task`1"/>
|
||||
with a cached task as a common result or a <see cref="T:System.Threading.Tasks.ValueTask`1"/>. If the consumer of the result
|
||||
wants to use it as a <see cref="T:System.Threading.Tasks.Task`1"/>, such as to use with in methods like Task.WhenAll and Task.WhenAny,
|
||||
the <see cref="T:System.Threading.Tasks.ValueTask`1"/> would first need to be converted into a <see cref="T:System.Threading.Tasks.Task`1"/> using
|
||||
<see cref="M:System.Threading.Tasks.ValueTask`1.AsTask"/>, which leads to an allocation that would have been avoided if a cached
|
||||
<see cref="T:System.Threading.Tasks.Task`1"/> had been used in the first place.
|
||||
</para>
|
||||
<para>
|
||||
As such, the default choice for any asynchronous method should be to return a <see cref="T:System.Threading.Tasks.Task"/> or
|
||||
<see cref="T:System.Threading.Tasks.Task`1"/>. Only if performance analysis proves it worthwhile should a <see cref="T:System.Threading.Tasks.ValueTask`1"/>
|
||||
be used instead of <see cref="T:System.Threading.Tasks.Task`1"/>. There is no non-generic version of <see cref="T:System.Threading.Tasks.ValueTask`1"/>
|
||||
as the Task.CompletedTask property may be used to hand back a successfully completed singleton in the case where
|
||||
a <see cref="T:System.Threading.Tasks.Task"/>-returning method completes synchronously and successfully.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.ValueTask`1._task">
|
||||
<summary>The task to be used if the operation completed asynchronously or if it completed synchronously but non-successfully.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.ValueTask`1._result">
|
||||
<summary>The result to be used if the operation completed successfully synchronously.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(`0)">
|
||||
<summary>Initialize the <see cref="T:System.Threading.Tasks.ValueTask`1"/> with the result of the successful operation.</summary>
|
||||
<param name="result">The result.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(System.Threading.Tasks.Task{`0})">
|
||||
<summary>
|
||||
Initialize the <see cref="T:System.Threading.Tasks.ValueTask`1"/> with a <see cref="T:System.Threading.Tasks.Task`1"/> that represents the operation.
|
||||
</summary>
|
||||
<param name="task">The task.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.GetHashCode">
|
||||
<summary>Returns the hash code for this instance.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Object)">
|
||||
<summary>Returns a value indicating whether this value is equal to a specified <see cref="T:System.Object"/>.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Returns a value indicating whether this value is equal to a specified <see cref="T:System.Threading.Tasks.ValueTask`1"/> value.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.op_Equality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Returns a value indicating whether two <see cref="T:System.Threading.Tasks.ValueTask`1"/> values are equal.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.op_Inequality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Returns a value indicating whether two <see cref="T:System.Threading.Tasks.ValueTask`1"/> values are not equal.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.AsTask">
|
||||
<summary>
|
||||
Gets a <see cref="T:System.Threading.Tasks.Task`1"/> object to represent this ValueTask. It will
|
||||
either return the wrapped task object if one exists, or it'll manufacture a new
|
||||
task object to represent the result.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompleted">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> represents a completed operation.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompletedSuccessfully">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> represents a successfully completed operation.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsFaulted">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> represents a failed operation.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsCanceled">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> represents a canceled operation.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.Result">
|
||||
<summary>Gets the result.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.GetAwaiter">
|
||||
<summary>Gets an awaiter for this value.</summary>
|
||||
</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>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.ToString">
|
||||
<summary>Gets a string-representation of this <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
</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>
|
||||
</members>
|
||||
</doc>
|
Двоичные данные
packages/System.Threading.Tasks.Extensions.4.3.0/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll
поставляемый
Normal file
Двоичные данные
packages/System.Threading.Tasks.Extensions.4.3.0/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll
поставляемый
Normal file
Двоичный файл не отображается.
|
@ -0,0 +1,253 @@
|
|||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Threading.Tasks.Extensions</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute">
|
||||
<summary>
|
||||
Indicates the type of the async method builder that should be used by a language compiler to
|
||||
build the attributed type when used as the return type of an async method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.#ctor(System.Type)">
|
||||
<summary>Initializes the <see cref="T:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute"/>.</summary>
|
||||
<param name="builderType">The <see cref="T:System.Type"/> of the associated builder.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.BuilderType">
|
||||
<summary>Gets the <see cref="T:System.Type"/> of the associated builder.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1">
|
||||
<summary>Represents a builder for asynchronous methods that returns a <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
<typeparam name="TResult">The type of the result.</typeparam>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._methodBuilder">
|
||||
<summary>The <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1"/> to which most operations are delegated.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._result">
|
||||
<summary>The result for this builder, if it's completed before any awaits occur.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._haveResult">
|
||||
<summary>true if <see cref="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._result"/> contains the synchronous result for the async method; otherwise, false.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1._useBuilder">
|
||||
<summary>true if the builder should be used for setting/getting the result; otherwise, false.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Create">
|
||||
<summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1"/> struct.</summary>
|
||||
<returns>The initialized instance.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Start``1(``0@)">
|
||||
<summary>Begins running the builder with the associated state machine.</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.AsyncValueTaskMethodBuilder`1.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
|
||||
<summary>Associates the builder with the specified state machine.</summary>
|
||||
<param name="stateMachine">The state machine instance to associate with the builder.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(`0)">
|
||||
<summary>Marks the task as successfully completed.</summary>
|
||||
<param name="result">The result to use to complete the task.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetException(System.Exception)">
|
||||
<summary>Marks the task as failed and binds the specified exception to the task.</summary>
|
||||
<param name="exception">The exception to bind to the task.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Task">
|
||||
<summary>Gets the task for this builder.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.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.AsyncValueTaskMethodBuilder`1.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="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1">
|
||||
<summary>Provides an awaitable type that enables configured awaits on a <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
<typeparam name="TResult">The type of the result produced.</typeparam>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1._value">
|
||||
<summary>The wrapped <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1._continueOnCapturedContext">
|
||||
<summary>true to attempt to marshal the continuation back to the original context captured; otherwise, false.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.#ctor(System.Threading.Tasks.ValueTask{`0},System.Boolean)">
|
||||
<summary>Initializes the awaitable.</summary>
|
||||
<param name="value">The wrapped <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</param>
|
||||
<param name="continueOnCapturedContext">
|
||||
true to attempt to marshal the continuation back to the original synchronization context captured; otherwise, false.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.GetAwaiter">
|
||||
<summary>Returns an awaiter for this <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> instance.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter">
|
||||
<summary>Provides an awaiter for a <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/>.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter._value">
|
||||
<summary>The value being awaited.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter._continueOnCapturedContext">
|
||||
<summary>The value to pass to ConfigureAwait.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.#ctor(System.Threading.Tasks.ValueTask{`0},System.Boolean)">
|
||||
<summary>Initializes the awaiter.</summary>
|
||||
<param name="value">The value to be awaited.</param>
|
||||
<param name="continueOnCapturedContext">The value to pass to ConfigureAwait.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.IsCompleted">
|
||||
<summary>Gets whether the <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> has completed.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult">
|
||||
<summary>Gets the result of the ValueTask.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.OnCompleted(System.Action)">
|
||||
<summary>Schedules the continuation action for the <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/>.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.UnsafeOnCompleted(System.Action)">
|
||||
<summary>Schedules the continuation action for the <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/>.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ValueTaskAwaiter`1">
|
||||
<summary>Provides an awaiter for a <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.CompilerServices.ValueTaskAwaiter`1._value">
|
||||
<summary>The value being awaited.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.#ctor(System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Initializes the awaiter.</summary>
|
||||
<param name="value">The value to be awaited.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.ValueTaskAwaiter`1.IsCompleted">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> has completed.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult">
|
||||
<summary>Gets the result of the ValueTask.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.OnCompleted(System.Action)">
|
||||
<summary>Schedules the continuation action for this ValueTask.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.UnsafeOnCompleted(System.Action)">
|
||||
<summary>Schedules the continuation action for this ValueTask.</summary>
|
||||
</member>
|
||||
<member name="T:System.Threading.Tasks.ValueTask`1">
|
||||
<summary>
|
||||
Provides a value type that wraps a <see cref="T:System.Threading.Tasks.Task`1"/> and a <typeparamref name="TResult"/>,
|
||||
only one of which is used.
|
||||
</summary>
|
||||
<typeparam name="TResult">The type of the result.</typeparam>
|
||||
<remarks>
|
||||
<para>
|
||||
Methods may return an instance of this value type when it's likely that the result of their
|
||||
operations will be available synchronously and when the method is expected to be invoked so
|
||||
frequently that the cost of allocating a new <see cref="T:System.Threading.Tasks.Task`1"/> for each call will
|
||||
be prohibitive.
|
||||
</para>
|
||||
<para>
|
||||
There are tradeoffs to using a <see cref="T:System.Threading.Tasks.ValueTask`1"/> instead of a <see cref="T:System.Threading.Tasks.Task`1"/>.
|
||||
For example, while a <see cref="T:System.Threading.Tasks.ValueTask`1"/> can help avoid an allocation in the case where the
|
||||
successful result is available synchronously, it also contains two fields whereas a <see cref="T:System.Threading.Tasks.Task`1"/>
|
||||
as a reference type is a single field. This means that a method call ends up returning two fields worth of
|
||||
data instead of one, which is more data to copy. It also means that if a method that returns one of these
|
||||
is awaited within an async method, the state machine for that async method will be larger due to needing
|
||||
to store the struct that's two fields instead of a single reference.
|
||||
</para>
|
||||
<para>
|
||||
Further, for uses other than consuming the result of an asynchronous operation via await,
|
||||
<see cref="T:System.Threading.Tasks.ValueTask`1"/> can lead to a more convoluted programming model, which can in turn actually
|
||||
lead to more allocations. For example, consider a method that could return either a <see cref="T:System.Threading.Tasks.Task`1"/>
|
||||
with a cached task as a common result or a <see cref="T:System.Threading.Tasks.ValueTask`1"/>. If the consumer of the result
|
||||
wants to use it as a <see cref="T:System.Threading.Tasks.Task`1"/>, such as to use with in methods like Task.WhenAll and Task.WhenAny,
|
||||
the <see cref="T:System.Threading.Tasks.ValueTask`1"/> would first need to be converted into a <see cref="T:System.Threading.Tasks.Task`1"/> using
|
||||
<see cref="M:System.Threading.Tasks.ValueTask`1.AsTask"/>, which leads to an allocation that would have been avoided if a cached
|
||||
<see cref="T:System.Threading.Tasks.Task`1"/> had been used in the first place.
|
||||
</para>
|
||||
<para>
|
||||
As such, the default choice for any asynchronous method should be to return a <see cref="T:System.Threading.Tasks.Task"/> or
|
||||
<see cref="T:System.Threading.Tasks.Task`1"/>. Only if performance analysis proves it worthwhile should a <see cref="T:System.Threading.Tasks.ValueTask`1"/>
|
||||
be used instead of <see cref="T:System.Threading.Tasks.Task`1"/>. There is no non-generic version of <see cref="T:System.Threading.Tasks.ValueTask`1"/>
|
||||
as the Task.CompletedTask property may be used to hand back a successfully completed singleton in the case where
|
||||
a <see cref="T:System.Threading.Tasks.Task"/>-returning method completes synchronously and successfully.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.ValueTask`1._task">
|
||||
<summary>The task to be used if the operation completed asynchronously or if it completed synchronously but non-successfully.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.ValueTask`1._result">
|
||||
<summary>The result to be used if the operation completed successfully synchronously.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(`0)">
|
||||
<summary>Initialize the <see cref="T:System.Threading.Tasks.ValueTask`1"/> with the result of the successful operation.</summary>
|
||||
<param name="result">The result.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(System.Threading.Tasks.Task{`0})">
|
||||
<summary>
|
||||
Initialize the <see cref="T:System.Threading.Tasks.ValueTask`1"/> with a <see cref="T:System.Threading.Tasks.Task`1"/> that represents the operation.
|
||||
</summary>
|
||||
<param name="task">The task.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.GetHashCode">
|
||||
<summary>Returns the hash code for this instance.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Object)">
|
||||
<summary>Returns a value indicating whether this value is equal to a specified <see cref="T:System.Object"/>.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Returns a value indicating whether this value is equal to a specified <see cref="T:System.Threading.Tasks.ValueTask`1"/> value.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.op_Equality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Returns a value indicating whether two <see cref="T:System.Threading.Tasks.ValueTask`1"/> values are equal.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.op_Inequality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Returns a value indicating whether two <see cref="T:System.Threading.Tasks.ValueTask`1"/> values are not equal.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.AsTask">
|
||||
<summary>
|
||||
Gets a <see cref="T:System.Threading.Tasks.Task`1"/> object to represent this ValueTask. It will
|
||||
either return the wrapped task object if one exists, or it'll manufacture a new
|
||||
task object to represent the result.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompleted">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> represents a completed operation.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompletedSuccessfully">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> represents a successfully completed operation.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsFaulted">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> represents a failed operation.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsCanceled">
|
||||
<summary>Gets whether the <see cref="T:System.Threading.Tasks.ValueTask`1"/> represents a canceled operation.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.Result">
|
||||
<summary>Gets the result.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.GetAwaiter">
|
||||
<summary>Gets an awaiter for this value.</summary>
|
||||
</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>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.ToString">
|
||||
<summary>Gets a string-representation of this <see cref="T:System.Threading.Tasks.ValueTask`1"/>.</summary>
|
||||
</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>
|
||||
</members>
|
||||
</doc>
|
Загрузка…
Ссылка в новой задаче