first commit
This commit is contained in:
commit
115d294e2b
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.vs/Dem2/v17/.suo
Normal file
BIN
.vs/Dem2/v17/.suo
Normal file
Binary file not shown.
18
App.config
Normal file
18
App.config
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<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.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
26
CalculationHelper.cs
Normal file
26
CalculationHelper.cs
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Dem2
|
||||||
|
{
|
||||||
|
internal class CalculationHelper
|
||||||
|
{
|
||||||
|
public static decimal CalculateMinOrderCost(
|
||||||
|
int materialId,
|
||||||
|
decimal currentStock,
|
||||||
|
decimal minStock,
|
||||||
|
decimal packSize,
|
||||||
|
decimal pricePerUnit)
|
||||||
|
{
|
||||||
|
if (currentStock >= minStock) return 0;
|
||||||
|
|
||||||
|
decimal needed = minStock - currentStock;
|
||||||
|
decimal packsNeeded = Math.Ceiling(needed / packSize);
|
||||||
|
decimal totalUnits = packsNeeded * packSize;
|
||||||
|
return totalUnits * pricePerUnit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
19
DataBase.cs
Normal file
19
DataBase.cs
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Dem2
|
||||||
|
{
|
||||||
|
internal class DataBase
|
||||||
|
{
|
||||||
|
private static string ConnectionString = "Server=192.168.201.207;Database=ISP41_Gusarov_Dem;Uid=ISP41_Gusarov;Pwd=ISP41_Gusarov;";
|
||||||
|
|
||||||
|
public static MySqlConnection GetConnection()
|
||||||
|
{
|
||||||
|
return new MySqlConnection(ConnectionString);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
153
Dem2.csproj
Normal file
153
Dem2.csproj
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{C07AE3A2-C175-4CAF-828C-CF55CFE6EAA7}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>Dem2</RootNamespace>
|
||||||
|
<AssemblyName>Dem2</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\BouncyCastle.Cryptography.2.6.2\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Google.Protobuf, Version=3.32.0.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\Google.Protobuf.3.32.0\lib\net45\Google.Protobuf.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="K4os.Compression.LZ4, Version=1.3.8.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\K4os.Compression.LZ4.1.3.8\lib\net462\K4os.Compression.LZ4.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.3.8.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\K4os.Compression.LZ4.Streams.1.3.8\lib\net462\K4os.Compression.LZ4.Streams.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="K4os.Hash.xxHash, Version=1.0.8.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\K4os.Hash.xxHash.1.0.8\lib\net462\K4os.Hash.xxHash.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="MySql.Data, Version=9.5.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\MySql.Data.9.5.0\lib\net48\MySql.Data.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.Configuration" />
|
||||||
|
<Reference Include="System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\System.Configuration.ConfigurationManager.8.0.0\lib\net462\System.Configuration.ConfigurationManager.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.IO.Pipelines, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\System.IO.Pipelines.5.0.2\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Management" />
|
||||||
|
<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.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.Transactions" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="ZstdSharp, Version=0.8.6.0, Culture=neutral, PublicKeyToken=8d151af33a4ad5cf, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\ZstdSharp.Port.0.8.6\lib\net462\ZstdSharp.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="CalculationHelper.cs" />
|
||||||
|
<Compile Include="DataBase.cs" />
|
||||||
|
<Compile Include="MainForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="MainForm.Designer.cs">
|
||||||
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="MaterialEditForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="MaterialEditForm.Designer.cs">
|
||||||
|
<DependentUpon>MaterialEditForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="SupplierListForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="SupplierListForm.Designer.cs">
|
||||||
|
<DependentUpon>SupplierListForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<EmbeddedResource Include="MainForm.resx">
|
||||||
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="MaterialEditForm.resx">
|
||||||
|
<DependentUpon>MaterialEditForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<EmbeddedResource Include="SupplierListForm.resx">
|
||||||
|
<DependentUpon>SupplierListForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
25
Dem2.sln
Normal file
25
Dem2.sln
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.8.34511.84
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dem2", "Dem2.csproj", "{C07AE3A2-C175-4CAF-828C-CF55CFE6EAA7}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{C07AE3A2-C175-4CAF-828C-CF55CFE6EAA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{C07AE3A2-C175-4CAF-828C-CF55CFE6EAA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{C07AE3A2-C175-4CAF-828C-CF55CFE6EAA7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{C07AE3A2-C175-4CAF-828C-CF55CFE6EAA7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {1F162E92-D1F3-4C8C-A240-EA806DA70F60}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
164
MainForm.Designer.cs
generated
Normal file
164
MainForm.Designer.cs
generated
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
namespace Dem2
|
||||||
|
{
|
||||||
|
partial class MainForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.dataGridViewMaterials = new System.Windows.Forms.DataGridView();
|
||||||
|
this.Button1 = new System.Windows.Forms.Button();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
|
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.material_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.type_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.current_stock = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.pack_size = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.min_stock = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.price_per_unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewMaterials)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// dataGridViewMaterials
|
||||||
|
//
|
||||||
|
this.dataGridViewMaterials.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.dataGridViewMaterials.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.id,
|
||||||
|
this.material_name,
|
||||||
|
this.type_name,
|
||||||
|
this.current_stock,
|
||||||
|
this.unit,
|
||||||
|
this.pack_size,
|
||||||
|
this.min_stock,
|
||||||
|
this.price_per_unit});
|
||||||
|
this.dataGridViewMaterials.Location = new System.Drawing.Point(-6, 27);
|
||||||
|
this.dataGridViewMaterials.Name = "dataGridViewMaterials";
|
||||||
|
this.dataGridViewMaterials.Size = new System.Drawing.Size(807, 225);
|
||||||
|
this.dataGridViewMaterials.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// Button1
|
||||||
|
//
|
||||||
|
this.Button1.Location = new System.Drawing.Point(33, 296);
|
||||||
|
this.Button1.Name = "Button1";
|
||||||
|
this.Button1.Size = new System.Drawing.Size(131, 23);
|
||||||
|
this.Button1.TabIndex = 1;
|
||||||
|
this.Button1.Text = "Добавить";
|
||||||
|
this.Button1.UseVisualStyleBackColor = true;
|
||||||
|
this.Button1.Click += new System.EventHandler(this.Button1_Click);
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Location = new System.Drawing.Point(33, 335);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(131, 23);
|
||||||
|
this.button2.TabIndex = 2;
|
||||||
|
this.button2.Text = "Редактировать";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// button3
|
||||||
|
//
|
||||||
|
this.button3.Location = new System.Drawing.Point(33, 388);
|
||||||
|
this.button3.Name = "button3";
|
||||||
|
this.button3.Size = new System.Drawing.Size(131, 23);
|
||||||
|
this.button3.TabIndex = 3;
|
||||||
|
this.button3.Text = "Поставщики";
|
||||||
|
this.button3.UseVisualStyleBackColor = true;
|
||||||
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||||
|
//
|
||||||
|
// id
|
||||||
|
//
|
||||||
|
this.id.HeaderText = "заголовок: \"ID\"";
|
||||||
|
this.id.Name = "id";
|
||||||
|
//
|
||||||
|
// material_name
|
||||||
|
//
|
||||||
|
this.material_name.HeaderText = "заголовок: \"Наименование\"";
|
||||||
|
this.material_name.Name = "material_name";
|
||||||
|
//
|
||||||
|
// type_name
|
||||||
|
//
|
||||||
|
this.type_name.HeaderText = "заголовок: \"Тип\"";
|
||||||
|
this.type_name.Name = "type_name";
|
||||||
|
//
|
||||||
|
// current_stock
|
||||||
|
//
|
||||||
|
this.current_stock.HeaderText = "заголовок: \"Кол-во на складе\"";
|
||||||
|
this.current_stock.Name = "current_stock";
|
||||||
|
//
|
||||||
|
// unit
|
||||||
|
//
|
||||||
|
this.unit.HeaderText = "заголовок: \"Ед. изм.\"";
|
||||||
|
this.unit.Name = "unit";
|
||||||
|
//
|
||||||
|
// pack_size
|
||||||
|
//
|
||||||
|
this.pack_size.HeaderText = "заголовок: \"Кол-во в упаковке\"";
|
||||||
|
this.pack_size.Name = "pack_size";
|
||||||
|
//
|
||||||
|
// min_stock
|
||||||
|
//
|
||||||
|
this.min_stock.HeaderText = "заголовок: \"Мин. кол-во\"";
|
||||||
|
this.min_stock.Name = "min_stock";
|
||||||
|
//
|
||||||
|
// price_per_unit
|
||||||
|
//
|
||||||
|
this.price_per_unit.HeaderText = "заголовок: \"Цена за ед.\"";
|
||||||
|
this.price_per_unit.Name = "price_per_unit";
|
||||||
|
//
|
||||||
|
// MainForm
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.button3);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.Button1);
|
||||||
|
this.Controls.Add(this.dataGridViewMaterials);
|
||||||
|
this.Name = "MainForm";
|
||||||
|
this.Text = "MainForm";
|
||||||
|
this.Load += new System.EventHandler(this.MainForm_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewMaterials)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.DataGridView dataGridViewMaterials;
|
||||||
|
private System.Windows.Forms.Button Button1;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
private System.Windows.Forms.Button button3;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn material_name;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn type_name;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn current_stock;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn unit;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn pack_size;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn min_stock;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn price_per_unit;
|
||||||
|
}
|
||||||
|
}
|
||||||
127
MainForm.cs
Normal file
127
MainForm.cs
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Dem2
|
||||||
|
{
|
||||||
|
public partial class MainForm : Form
|
||||||
|
{
|
||||||
|
public MainForm()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
LoadMaterials();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void MainForm_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
using (var conn = DataBase.GetConnection())
|
||||||
|
{
|
||||||
|
conn.Open();
|
||||||
|
string sql = @"
|
||||||
|
SELECT id, material_name FROM materials
|
||||||
|
";
|
||||||
|
MySqlDataAdapter adapter = new MySqlDataAdapter(sql, conn);
|
||||||
|
DataTable dt = new DataTable();
|
||||||
|
adapter.Fill(dt);
|
||||||
|
dataGridViewMaterials.DataSource = dt;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LoadMaterials()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// Очисти DataGridView перед загрузкой
|
||||||
|
dataGridViewMaterials.Rows.Clear();
|
||||||
|
|
||||||
|
using (var conn = DataBase.GetConnection())
|
||||||
|
{
|
||||||
|
conn.Open();
|
||||||
|
|
||||||
|
// Запрос: выбрать все материалы с типом (JOIN с material_types)
|
||||||
|
string sql = @"
|
||||||
|
SELECT
|
||||||
|
m.id,
|
||||||
|
m.material_name,
|
||||||
|
COALESCE(mt.type_name, 'Не указан') AS type_name,
|
||||||
|
m.current_stock,
|
||||||
|
m.unit,
|
||||||
|
m.pack_size,
|
||||||
|
m.min_stock,
|
||||||
|
m.price_per_unit
|
||||||
|
FROM materials m
|
||||||
|
LEFT JOIN material_types mt ON m.material_type_id = mt.id
|
||||||
|
ORDER BY m.material_name";
|
||||||
|
|
||||||
|
using (var cmd = new MySqlCommand(sql, conn))
|
||||||
|
{
|
||||||
|
using (var reader = cmd.ExecuteReader())
|
||||||
|
{
|
||||||
|
while (reader.Read())
|
||||||
|
{
|
||||||
|
// Добавь строку в DataGridView
|
||||||
|
int id = Convert.ToInt32(reader["id"]);
|
||||||
|
string name = reader["material_name"].ToString();
|
||||||
|
string type = reader["type_name"].ToString();
|
||||||
|
decimal currentStock = reader["current_stock"] != DBNull.Value ? Convert.ToDecimal(reader["current_stock"]) : 0;
|
||||||
|
string unit = reader["unit"].ToString();
|
||||||
|
decimal packSize = reader["pack_size"] != DBNull.Value ? Convert.ToDecimal(reader["pack_size"]) : 0;
|
||||||
|
decimal minStock = reader["min_stock"] != DBNull.Value ? Convert.ToDecimal(reader["min_stock"]) : 0;
|
||||||
|
decimal pricePerUnit = reader["price_per_unit"] != DBNull.Value ? Convert.ToDecimal(reader["price_per_unit"]) : 0;
|
||||||
|
|
||||||
|
// Добавляем строку
|
||||||
|
dataGridViewMaterials.Rows.Add(id, name, type, currentStock, unit, packSize, minStock, pricePerUnit);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Ошибка загрузки материалов: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
var form = new MaterialEditForm();
|
||||||
|
if (form.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
|
||||||
|
LoadMaterials();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button3_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// Проверим, выбрана ли строка в DataGridView
|
||||||
|
if (dataGridViewMaterials.SelectedRows.Count == 0)
|
||||||
|
{
|
||||||
|
// Если строка не выбрана, покажем сообщение
|
||||||
|
MessageBox.Show("Пожалуйста, выберите материал, для которого нужно посмотреть поставщиков.", "Информация", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
return; // Прерываем выполнение метода
|
||||||
|
}
|
||||||
|
|
||||||
|
// Получим ID выбранного материала из первой (и единственной) выбранной строки
|
||||||
|
// Предполагается, что первый столбец - ID (ColumnId)
|
||||||
|
int selectedMaterialId = (int)dataGridViewMaterials.SelectedRows[0].Cells["id"].Value; // Убедись, что имя столбца правильное
|
||||||
|
|
||||||
|
// Создаём новую форму SupplierListForm, передав ID материала в конструктор
|
||||||
|
var supplierForm = new SupplierListForm(selectedMaterialId);
|
||||||
|
|
||||||
|
// Открываем форму как модальное окно (пользователь не может взаимодействовать с MainForm, пока открыта SupplierListForm)
|
||||||
|
supplierForm.ShowDialog();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
168
MainForm.resx
Normal file
168
MainForm.resx
Normal file
@ -0,0 +1,168 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="material_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="type_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="current_stock.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="unit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="pack_size.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="min_stock.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="price_per_unit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="material_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="type_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="current_stock.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="unit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="pack_size.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="min_stock.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="price_per_unit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
236
MaterialEditForm.Designer.cs
generated
Normal file
236
MaterialEditForm.Designer.cs
generated
Normal file
@ -0,0 +1,236 @@
|
|||||||
|
namespace Dem2
|
||||||
|
{
|
||||||
|
partial class MaterialEditForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.comboBoxMaterialType = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.numericUpDownCurrentStock = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.textBoxUnit = new System.Windows.Forms.TextBox();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.numericUpDownPackSize = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
|
this.numericUpDownMinStock = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
|
this.numericUpDownPricePerUnit = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownCurrentStock)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownPackSize)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMinStock)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownPricePerUnit)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(56, 43);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(83, 13);
|
||||||
|
this.label1.TabIndex = 0;
|
||||||
|
this.label1.Text = "Наименование";
|
||||||
|
//
|
||||||
|
// textBoxName
|
||||||
|
//
|
||||||
|
this.textBoxName.Location = new System.Drawing.Point(59, 101);
|
||||||
|
this.textBoxName.Name = "textBoxName";
|
||||||
|
this.textBoxName.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.textBoxName.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(59, 156);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(84, 13);
|
||||||
|
this.label2.TabIndex = 2;
|
||||||
|
this.label2.Text = "Тип материала";
|
||||||
|
//
|
||||||
|
// comboBoxMaterialType
|
||||||
|
//
|
||||||
|
this.comboBoxMaterialType.FormattingEnabled = true;
|
||||||
|
this.comboBoxMaterialType.Location = new System.Drawing.Point(59, 196);
|
||||||
|
this.comboBoxMaterialType.Name = "comboBoxMaterialType";
|
||||||
|
this.comboBoxMaterialType.Size = new System.Drawing.Size(121, 21);
|
||||||
|
this.comboBoxMaterialType.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(59, 240);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(120, 13);
|
||||||
|
this.label3.TabIndex = 4;
|
||||||
|
this.label3.Text = "Количество на складе";
|
||||||
|
//
|
||||||
|
// numericUpDownCurrentStock
|
||||||
|
//
|
||||||
|
this.numericUpDownCurrentStock.Location = new System.Drawing.Point(59, 290);
|
||||||
|
this.numericUpDownCurrentStock.Name = "numericUpDownCurrentStock";
|
||||||
|
this.numericUpDownCurrentStock.Size = new System.Drawing.Size(120, 20);
|
||||||
|
this.numericUpDownCurrentStock.TabIndex = 5;
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.Location = new System.Drawing.Point(372, 27);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(109, 13);
|
||||||
|
this.label4.TabIndex = 6;
|
||||||
|
this.label4.Text = "Единица измерения";
|
||||||
|
//
|
||||||
|
// textBoxUnit
|
||||||
|
//
|
||||||
|
this.textBoxUnit.Location = new System.Drawing.Point(375, 43);
|
||||||
|
this.textBoxUnit.Name = "textBoxUnit";
|
||||||
|
this.textBoxUnit.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.textBoxUnit.TabIndex = 7;
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.Location = new System.Drawing.Point(375, 101);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(125, 13);
|
||||||
|
this.label5.TabIndex = 8;
|
||||||
|
this.label5.Text = "Количество в упаковке";
|
||||||
|
//
|
||||||
|
// numericUpDownPackSize
|
||||||
|
//
|
||||||
|
this.numericUpDownPackSize.Location = new System.Drawing.Point(378, 126);
|
||||||
|
this.numericUpDownPackSize.Name = "numericUpDownPackSize";
|
||||||
|
this.numericUpDownPackSize.Size = new System.Drawing.Size(120, 20);
|
||||||
|
this.numericUpDownPackSize.TabIndex = 9;
|
||||||
|
//
|
||||||
|
// label6
|
||||||
|
//
|
||||||
|
this.label6.AutoSize = true;
|
||||||
|
this.label6.Location = new System.Drawing.Point(378, 176);
|
||||||
|
this.label6.Name = "label6";
|
||||||
|
this.label6.Size = new System.Drawing.Size(139, 13);
|
||||||
|
this.label6.TabIndex = 10;
|
||||||
|
this.label6.Text = "Минимальное количество";
|
||||||
|
//
|
||||||
|
// numericUpDownMinStock
|
||||||
|
//
|
||||||
|
this.numericUpDownMinStock.Location = new System.Drawing.Point(378, 196);
|
||||||
|
this.numericUpDownMinStock.Name = "numericUpDownMinStock";
|
||||||
|
this.numericUpDownMinStock.Size = new System.Drawing.Size(120, 20);
|
||||||
|
this.numericUpDownMinStock.TabIndex = 11;
|
||||||
|
//
|
||||||
|
// label7
|
||||||
|
//
|
||||||
|
this.label7.AutoSize = true;
|
||||||
|
this.label7.Location = new System.Drawing.Point(375, 250);
|
||||||
|
this.label7.Name = "label7";
|
||||||
|
this.label7.Size = new System.Drawing.Size(92, 13);
|
||||||
|
this.label7.TabIndex = 12;
|
||||||
|
this.label7.Text = "Цена за единицу";
|
||||||
|
//
|
||||||
|
// numericUpDownPricePerUnit
|
||||||
|
//
|
||||||
|
this.numericUpDownPricePerUnit.Location = new System.Drawing.Point(378, 279);
|
||||||
|
this.numericUpDownPricePerUnit.Name = "numericUpDownPricePerUnit";
|
||||||
|
this.numericUpDownPricePerUnit.Size = new System.Drawing.Size(120, 20);
|
||||||
|
this.numericUpDownPricePerUnit.TabIndex = 13;
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(378, 325);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button1.TabIndex = 14;
|
||||||
|
this.button1.Text = "Сохранить";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Location = new System.Drawing.Point(378, 370);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button2.TabIndex = 15;
|
||||||
|
this.button2.Text = "Отмена";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// MaterialEditForm
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.numericUpDownPricePerUnit);
|
||||||
|
this.Controls.Add(this.label7);
|
||||||
|
this.Controls.Add(this.numericUpDownMinStock);
|
||||||
|
this.Controls.Add(this.label6);
|
||||||
|
this.Controls.Add(this.numericUpDownPackSize);
|
||||||
|
this.Controls.Add(this.label5);
|
||||||
|
this.Controls.Add(this.textBoxUnit);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.numericUpDownCurrentStock);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.comboBoxMaterialType);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.textBoxName);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Name = "MaterialEditForm";
|
||||||
|
this.Text = "MaterialEditForm";
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownCurrentStock)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownPackSize)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMinStock)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownPricePerUnit)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.TextBox textBoxName;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.ComboBox comboBoxMaterialType;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.NumericUpDown numericUpDownCurrentStock;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.TextBox textBoxUnit;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.NumericUpDown numericUpDownPackSize;
|
||||||
|
private System.Windows.Forms.Label label6;
|
||||||
|
private System.Windows.Forms.NumericUpDown numericUpDownMinStock;
|
||||||
|
private System.Windows.Forms.Label label7;
|
||||||
|
private System.Windows.Forms.NumericUpDown numericUpDownPricePerUnit;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
}
|
||||||
|
}
|
||||||
240
MaterialEditForm.cs
Normal file
240
MaterialEditForm.cs
Normal file
@ -0,0 +1,240 @@
|
|||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Dem2
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Data;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using MySql.Data.MySqlClient; // Убедись, что установлен пакет MySql.Data
|
||||||
|
|
||||||
|
public partial class MaterialEditForm : Form
|
||||||
|
{
|
||||||
|
private int? materialIdToEdit = null;
|
||||||
|
|
||||||
|
public MaterialEditForm()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
LoadMaterialTypes(); // Загрузка типов при открытии формы
|
||||||
|
button1.Click += buttonSave_Click;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Конструктор для редактирования
|
||||||
|
public MaterialEditForm(int materialId) : this()
|
||||||
|
{
|
||||||
|
materialIdToEdit = materialId;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void MaterialEditForm_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (materialIdToEdit.HasValue)
|
||||||
|
{
|
||||||
|
LoadMaterialData(); // Загрузка данных для редактирования
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LoadMaterialTypes()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using (var conn = DataBase.GetConnection())
|
||||||
|
{
|
||||||
|
conn.Open();
|
||||||
|
string sql = "SELECT id, type_name FROM material_types ORDER BY type_name";
|
||||||
|
MySqlDataAdapter adapter = new MySqlDataAdapter(sql, conn);
|
||||||
|
DataTable dt = new DataTable();
|
||||||
|
adapter.Fill(dt);
|
||||||
|
|
||||||
|
comboBoxMaterialType.DataSource = dt;
|
||||||
|
comboBoxMaterialType.DisplayMember = "type_name";
|
||||||
|
comboBoxMaterialType.ValueMember = "id";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Ошибка загрузки типов материалов: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
// Лучше не закрывать форму, если типы не загрузились, но можно и Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LoadMaterialData()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using (var conn = DataBase.GetConnection())
|
||||||
|
{
|
||||||
|
conn.Open();
|
||||||
|
string sql = @"
|
||||||
|
SELECT material_name, material_type_id, current_stock, unit, pack_size, min_stock, price_per_unit
|
||||||
|
FROM materials
|
||||||
|
WHERE id = @id";
|
||||||
|
|
||||||
|
using (var cmd = new MySqlCommand(sql, conn))
|
||||||
|
{
|
||||||
|
cmd.Parameters.AddWithValue("@id", materialIdToEdit);
|
||||||
|
using (var reader = cmd.ExecuteReader())
|
||||||
|
{
|
||||||
|
if (reader.Read())
|
||||||
|
{
|
||||||
|
textBoxName.Text = reader["material_name"].ToString();
|
||||||
|
// Обработка возможного NULL в material_type_id
|
||||||
|
if (reader["material_type_id"] != DBNull.Value)
|
||||||
|
{
|
||||||
|
comboBoxMaterialType.SelectedValue = Convert.ToInt32(reader["material_type_id"]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
comboBoxMaterialType.SelectedIndex = -1; // или установить первый элемент
|
||||||
|
}
|
||||||
|
|
||||||
|
numericUpDownCurrentStock.Value = reader["current_stock"] != DBNull.Value ? Convert.ToDecimal(reader["current_stock"]) : 0;
|
||||||
|
textBoxUnit.Text = reader["unit"].ToString(); // может быть NULL -> ""
|
||||||
|
numericUpDownPackSize.Value = reader["pack_size"] != DBNull.Value ? Convert.ToDecimal(reader["pack_size"]) : 1; // по умолчанию 1
|
||||||
|
numericUpDownMinStock.Value = reader["min_stock"] != DBNull.Value ? Convert.ToDecimal(reader["min_stock"]) : 0;
|
||||||
|
numericUpDownPricePerUnit.Value = reader["price_per_unit"] != DBNull.Value ? Convert.ToDecimal(reader["price_per_unit"]) : 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBox.Show("Материал с указанным ID не найден.", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
|
this.DialogResult = DialogResult.Abort;
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Ошибка загрузки данных материала: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buttonSave_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// 1. Валидация
|
||||||
|
if (string.IsNullOrWhiteSpace(textBoxName.Text))
|
||||||
|
{
|
||||||
|
MessageBox.Show("Введите наименование материала.", "Ошибка ввода", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
|
textBoxName.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (numericUpDownPricePerUnit.Value < 0)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Цена не может быть отрицательной.", "Ошибка ввода", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
|
numericUpDownPricePerUnit.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (numericUpDownMinStock.Value < 0)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Минимальное количество не может быть отрицательным.", "Ошибка ввода", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
|
numericUpDownMinStock.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 2. Подготовка данных
|
||||||
|
string name = textBoxName.Text.Trim();
|
||||||
|
int? typeId = null;
|
||||||
|
if (comboBoxMaterialType.SelectedValue != null && comboBoxMaterialType.SelectedValue != DBNull.Value)
|
||||||
|
{
|
||||||
|
typeId = Convert.ToInt32(comboBoxMaterialType.SelectedValue);
|
||||||
|
}
|
||||||
|
decimal currentStock = numericUpDownCurrentStock.Value;
|
||||||
|
string unit = textBoxUnit.Text.Trim();
|
||||||
|
decimal packSize = numericUpDownPackSize.Value;
|
||||||
|
decimal minStock = numericUpDownMinStock.Value;
|
||||||
|
decimal price = numericUpDownPricePerUnit.Value;
|
||||||
|
|
||||||
|
// 3. SQL
|
||||||
|
string sql;
|
||||||
|
if (materialIdToEdit.HasValue)
|
||||||
|
{
|
||||||
|
sql = @"
|
||||||
|
UPDATE materials
|
||||||
|
SET material_name = @name,
|
||||||
|
material_type_id = @typeId,
|
||||||
|
current_stock = @currentStock,
|
||||||
|
unit = @unit,
|
||||||
|
pack_size = @packSize,
|
||||||
|
min_stock = @minStock,
|
||||||
|
price_per_unit = @price
|
||||||
|
WHERE id = @id";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sql = @"
|
||||||
|
INSERT INTO materials (material_name, material_type_id, current_stock, unit, pack_size, min_stock, price_per_unit)
|
||||||
|
VALUES (@name, @typeId, @currentStock, @unit, @packSize, @minStock, @price)";
|
||||||
|
}
|
||||||
|
|
||||||
|
// 4. Выполнение
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using (var conn = DataBase.GetConnection())
|
||||||
|
{
|
||||||
|
conn.Open();
|
||||||
|
using (var cmd = new MySqlCommand(sql, conn))
|
||||||
|
{
|
||||||
|
// Обязательно проверяй на DBNull.Value для nullable полей
|
||||||
|
cmd.Parameters.AddWithValue("@name", name);
|
||||||
|
cmd.Parameters.AddWithValue("@typeId", typeId.HasValue ? (object)typeId.Value : DBNull.Value);
|
||||||
|
cmd.Parameters.AddWithValue("@currentStock", currentStock);
|
||||||
|
cmd.Parameters.AddWithValue("@unit", string.IsNullOrEmpty(unit) ? (object)DBNull.Value : unit);
|
||||||
|
cmd.Parameters.AddWithValue("@packSize", packSize);
|
||||||
|
cmd.Parameters.AddWithValue("@minStock", minStock);
|
||||||
|
cmd.Parameters.AddWithValue("@price", price);
|
||||||
|
|
||||||
|
if (materialIdToEdit.HasValue)
|
||||||
|
{
|
||||||
|
cmd.Parameters.AddWithValue("@id", materialIdToEdit.Value);
|
||||||
|
}
|
||||||
|
|
||||||
|
int rowsAffected = cmd.ExecuteNonQuery();
|
||||||
|
|
||||||
|
if (rowsAffected > 0)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Материал успешно сохранён.", "Информация", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
this.DialogResult = DialogResult.OK;
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBox.Show("Не удалось сохранить материал. Проверьте данные.", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (MySqlException sqlEx)
|
||||||
|
{
|
||||||
|
// Конкретная ошибка MySQL (например, нарушение уникальности, тип данных)
|
||||||
|
MessageBox.Show("Ошибка базы данных: " + sqlEx.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
// Любая другая ошибка
|
||||||
|
MessageBox.Show("Ошибка сохранения: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buttonCancel_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.DialogResult = DialogResult.Cancel;
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
120
MaterialEditForm.resx
Normal file
120
MaterialEditForm.resx
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
22
Program.cs
Normal file
22
Program.cs
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Dem2
|
||||||
|
{
|
||||||
|
internal static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Главная точка входа для приложения.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
Application.Run(new MainForm());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
Properties/AssemblyInfo.cs
Normal file
36
Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// Общие сведения об этой сборке предоставляются следующим набором
|
||||||
|
// набора атрибутов. Измените значения этих атрибутов для изменения сведений,
|
||||||
|
// связанных со сборкой.
|
||||||
|
[assembly: AssemblyTitle("Dem2")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("Dem2")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2025")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
|
||||||
|
// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
|
||||||
|
// COM, следует установить атрибут ComVisible в TRUE для этого типа.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
|
||||||
|
[assembly: Guid("c07ae3a2-c175-4caf-828c-cf55cfe6eaa7")]
|
||||||
|
|
||||||
|
// Сведения о версии сборки состоят из указанных ниже четырех значений:
|
||||||
|
//
|
||||||
|
// Основной номер версии
|
||||||
|
// Дополнительный номер версии
|
||||||
|
// Номер сборки
|
||||||
|
// Редакция
|
||||||
|
//
|
||||||
|
// Можно задать все значения или принять номера сборки и редакции по умолчанию
|
||||||
|
// используя "*", как показано ниже:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
71
Properties/Resources.Designer.cs
generated
Normal file
71
Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Этот код создан программным средством.
|
||||||
|
// Версия среды выполнения: 4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
|
||||||
|
// код создан повторно.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Dem2.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Класс ресурсов со строгим типом для поиска локализованных строк и пр.
|
||||||
|
/// </summary>
|
||||||
|
// Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder
|
||||||
|
// класс с помощью таких средств, как ResGen или Visual Studio.
|
||||||
|
// Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen
|
||||||
|
// с параметром /str или заново постройте свой VS-проект.
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
internal class Resources
|
||||||
|
{
|
||||||
|
|
||||||
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
|
internal Resources()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Resources.ResourceManager ResourceManager
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if ((resourceMan == null))
|
||||||
|
{
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Dem2.Properties.Resources", typeof(Resources).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Переопределяет свойство CurrentUICulture текущего потока для всех
|
||||||
|
/// подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Globalization.CultureInfo Culture
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
117
Properties/Resources.resx
Normal file
117
Properties/Resources.resx
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
30
Properties/Settings.Designer.cs
generated
Normal file
30
Properties/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Dem2.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||||
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||||
|
{
|
||||||
|
|
||||||
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
|
public static Settings Default
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return defaultInstance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
7
Properties/Settings.settings
Normal file
7
Properties/Settings.settings
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
||||||
86
SupplierListForm.Designer.cs
generated
Normal file
86
SupplierListForm.Designer.cs
generated
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
namespace Dem2
|
||||||
|
{
|
||||||
|
partial class SupplierListForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.dataGridViewSuppliers = new System.Windows.Forms.DataGridView();
|
||||||
|
this.ColumnSupplierName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.ColumnRating = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.ColumnStartDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewSuppliers)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// dataGridViewSuppliers
|
||||||
|
//
|
||||||
|
this.dataGridViewSuppliers.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.dataGridViewSuppliers.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.ColumnSupplierName,
|
||||||
|
this.ColumnRating,
|
||||||
|
this.ColumnStartDate});
|
||||||
|
this.dataGridViewSuppliers.Location = new System.Drawing.Point(24, 13);
|
||||||
|
this.dataGridViewSuppliers.Name = "dataGridViewSuppliers";
|
||||||
|
this.dataGridViewSuppliers.Size = new System.Drawing.Size(764, 323);
|
||||||
|
this.dataGridViewSuppliers.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// ColumnSupplierName
|
||||||
|
//
|
||||||
|
this.ColumnSupplierName.HeaderText = "Наименование поставщика";
|
||||||
|
this.ColumnSupplierName.Name = "ColumnSupplierName";
|
||||||
|
//
|
||||||
|
// ColumnRating
|
||||||
|
//
|
||||||
|
this.ColumnRating.HeaderText = "Рейтинг";
|
||||||
|
this.ColumnRating.Name = "ColumnRating";
|
||||||
|
//
|
||||||
|
// ColumnStartDate
|
||||||
|
//
|
||||||
|
this.ColumnStartDate.HeaderText = "Дата начала сотрудничества";
|
||||||
|
this.ColumnStartDate.Name = "ColumnStartDate";
|
||||||
|
//
|
||||||
|
// SupplierListForm
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.dataGridViewSuppliers);
|
||||||
|
this.Name = "SupplierListForm";
|
||||||
|
this.Text = "SupplierListForm";
|
||||||
|
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewSuppliers)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.DataGridView dataGridViewSuppliers;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnSupplierName;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnRating;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnStartDate;
|
||||||
|
}
|
||||||
|
}
|
||||||
86
SupplierListForm.cs
Normal file
86
SupplierListForm.cs
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Dem2
|
||||||
|
{
|
||||||
|
public partial class SupplierListForm : Form
|
||||||
|
{
|
||||||
|
public SupplierListForm()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Поле для хранения ID материала, для которого смотрим поставщиков
|
||||||
|
private int materialId;
|
||||||
|
|
||||||
|
// Конструктор, который принимает ID материала
|
||||||
|
public SupplierListForm(int materialId)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
this.materialId = materialId;
|
||||||
|
LoadSuppliers(); // Загрузить поставщиков при открытии формы
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LoadSuppliers()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// Очистим старые строки
|
||||||
|
dataGridViewSuppliers.Rows.Clear();
|
||||||
|
|
||||||
|
using (var conn = DataBase.GetConnection()) // Убедись, что имя класса подключения правильное!
|
||||||
|
{
|
||||||
|
conn.Open();
|
||||||
|
|
||||||
|
// SQL-запрос: получить поставщиков для конкретного материала
|
||||||
|
// JOIN между suppliers, material_suppliers, supplier_ratings, supplier_contract_start
|
||||||
|
string sql = @"
|
||||||
|
SELECT
|
||||||
|
s.name AS supplier_name,
|
||||||
|
COALESCE(sr.rating_value, 0) AS rating_value, -- Если нет рейтинга, показываем 0
|
||||||
|
COALESCE(scs.start_date, '1900-01-01') AS start_date -- Если нет даты, показываем 1900-01-01
|
||||||
|
FROM suppliers s
|
||||||
|
INNER JOIN material_suppliers ms ON s.id = ms.supplier_id
|
||||||
|
LEFT JOIN supplier_ratings sr ON s.id = sr.supplier_id
|
||||||
|
LEFT JOIN supplier_contract_start scs ON s.id = scs.supplier_id
|
||||||
|
WHERE ms.material_id = @materialId
|
||||||
|
ORDER BY s.name"; // Сортировка по имени поставщика
|
||||||
|
|
||||||
|
using (var cmd = new MySqlCommand(sql, conn))
|
||||||
|
{
|
||||||
|
cmd.Parameters.AddWithValue("@materialId", materialId);
|
||||||
|
|
||||||
|
using (var reader = cmd.ExecuteReader())
|
||||||
|
{
|
||||||
|
while (reader.Read())
|
||||||
|
{
|
||||||
|
string supplierName = reader["supplier_name"].ToString();
|
||||||
|
// Проверка на NULL для rating_value
|
||||||
|
int rating = reader["rating_value"] != DBNull.Value ? Convert.ToInt32(reader["rating_value"]) : 0;
|
||||||
|
DateTime startDate = Convert.ToDateTime(reader["start_date"]);
|
||||||
|
|
||||||
|
// Добавляем строку в DataGridView
|
||||||
|
dataGridViewSuppliers.Rows.Add(supplierName, rating, startDate.ToString("yyyy-MM-dd")); // Формат даты
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Ошибка загрузки поставщиков: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
138
SupplierListForm.resx
Normal file
138
SupplierListForm.resx
Normal file
@ -0,0 +1,138 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="ColumnSupplierName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ColumnRating.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ColumnStartDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ColumnSupplierName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ColumnRating.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ColumnStartDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
BIN
bin/Debug/BouncyCastle.Cryptography.dll
Normal file
BIN
bin/Debug/BouncyCastle.Cryptography.dll
Normal file
Binary file not shown.
30299
bin/Debug/BouncyCastle.Cryptography.xml
Normal file
30299
bin/Debug/BouncyCastle.Cryptography.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/Dem2.exe
Normal file
BIN
bin/Debug/Dem2.exe
Normal file
Binary file not shown.
18
bin/Debug/Dem2.exe.config
Normal file
18
bin/Debug/Dem2.exe.config
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<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.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
BIN
bin/Debug/Dem2.pdb
Normal file
BIN
bin/Debug/Dem2.pdb
Normal file
Binary file not shown.
BIN
bin/Debug/Google.Protobuf.dll
Normal file
BIN
bin/Debug/Google.Protobuf.dll
Normal file
Binary file not shown.
BIN
bin/Debug/Google.Protobuf.pdb
Normal file
BIN
bin/Debug/Google.Protobuf.pdb
Normal file
Binary file not shown.
12045
bin/Debug/Google.Protobuf.xml
Normal file
12045
bin/Debug/Google.Protobuf.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/K4os.Compression.LZ4.Streams.dll
Normal file
BIN
bin/Debug/K4os.Compression.LZ4.Streams.dll
Normal file
Binary file not shown.
2072
bin/Debug/K4os.Compression.LZ4.Streams.xml
Normal file
2072
bin/Debug/K4os.Compression.LZ4.Streams.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/K4os.Compression.LZ4.dll
Normal file
BIN
bin/Debug/K4os.Compression.LZ4.dll
Normal file
Binary file not shown.
1673
bin/Debug/K4os.Compression.LZ4.xml
Normal file
1673
bin/Debug/K4os.Compression.LZ4.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/K4os.Hash.xxHash.dll
Normal file
BIN
bin/Debug/K4os.Hash.xxHash.dll
Normal file
Binary file not shown.
245
bin/Debug/K4os.Hash.xxHash.xml
Normal file
245
bin/Debug/K4os.Hash.xxHash.xml
Normal file
@ -0,0 +1,245 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>K4os.Hash.xxHash</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:K4os.Hash.xxHash.HashAlgorithmAdapter">
|
||||||
|
<summary>
|
||||||
|
Adapter implementing <see cref="T:System.Security.Cryptography.HashAlgorithm"/>
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.#ctor(System.Int32,System.Action,System.Action{System.Byte[],System.Int32,System.Int32},System.Func{System.Byte[]})">
|
||||||
|
<summary>
|
||||||
|
Creates new <see cref="T:K4os.Hash.xxHash.HashAlgorithmAdapter"/>.
|
||||||
|
</summary>
|
||||||
|
<param name="hashSize">Hash size (in bytes)</param>
|
||||||
|
<param name="reset">Reset function.</param>
|
||||||
|
<param name="update">Update function.</param>
|
||||||
|
<param name="digest">Digest function.</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:K4os.Hash.xxHash.HashAlgorithmAdapter.HashSize">
|
||||||
|
<inheritdoc />
|
||||||
|
</member>
|
||||||
|
<member name="P:K4os.Hash.xxHash.HashAlgorithmAdapter.Hash">
|
||||||
|
<inheritdoc />
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.HashCore(System.Byte[],System.Int32,System.Int32)">
|
||||||
|
<inheritdoc />
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.HashFinal">
|
||||||
|
<inheritdoc />
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.Initialize">
|
||||||
|
<inheritdoc />
|
||||||
|
</member>
|
||||||
|
<member name="T:K4os.Hash.xxHash.XXH">
|
||||||
|
<summary>
|
||||||
|
Base class for both <see cref="T:K4os.Hash.xxHash.XXH32"/> and <see cref="T:K4os.Hash.xxHash.XXH64"/>. Do not use directly.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH.#ctor">
|
||||||
|
<summary>Protected constructor to prevent instantiation.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:K4os.Hash.xxHash.XXH32">
|
||||||
|
<summary>
|
||||||
|
xxHash 32-bit.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:K4os.Hash.xxHash.XXH32.State">
|
||||||
|
<summary>Internal state of the algorithm.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:K4os.Hash.xxHash.XXH32.EmptyHash">
|
||||||
|
<summary>Hash of empty buffer.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Void*,System.Int32)">
|
||||||
|
<summary>Hash of provided buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
<returns>Digest.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Void*,System.Int32,System.UInt32)">
|
||||||
|
<summary>Hash of provided buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
<param name="seed">Seed.</param>
|
||||||
|
<returns>Digest.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.ReadOnlySpan{System.Byte})">
|
||||||
|
<summary>Hash of provided buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<returns>Digest.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Byte[],System.Int32,System.Int32)">
|
||||||
|
<summary>Hash of provided buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="offset">Starting offset.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
<returns>Digest.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.#ctor">
|
||||||
|
<summary>Creates xxHash instance.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.#ctor(System.UInt32)">
|
||||||
|
<summary>Creates xxHash instance.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Reset">
|
||||||
|
<summary>Resets hash calculation.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Reset(System.UInt32)">
|
||||||
|
<summary>Resets hash calculation.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Void*,System.Int32)">
|
||||||
|
<summary>Updates the hash using given buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Byte*,System.Int32)">
|
||||||
|
<summary>Updates the hash using given buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.ReadOnlySpan{System.Byte})">
|
||||||
|
<summary>Updates the has using given buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Byte[],System.Int32,System.Int32)">
|
||||||
|
<summary>Updates the has using given buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="offset">Starting offset.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Digest">
|
||||||
|
<summary>Hash so far.</summary>
|
||||||
|
<returns>Hash so far.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.DigestBytes">
|
||||||
|
<summary>Hash so far, as byte array.</summary>
|
||||||
|
<returns>Hash so far.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.AsHashAlgorithm">
|
||||||
|
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
|
||||||
|
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Reset(K4os.Hash.xxHash.XXH32.State@,System.UInt32)">
|
||||||
|
<summary>Resets hash calculation.</summary>
|
||||||
|
<param name="state">Hash state.</param>
|
||||||
|
<param name="seed">Hash seed.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Update(K4os.Hash.xxHash.XXH32.State@,System.Void*,System.Int32)">
|
||||||
|
<summary>Updates the has using given buffer.</summary>
|
||||||
|
<param name="state">Hash state.</param>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Update(K4os.Hash.xxHash.XXH32.State@,System.ReadOnlySpan{System.Byte})">
|
||||||
|
<summary>Updates the has using given buffer.</summary>
|
||||||
|
<param name="state">Hash state.</param>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH32.Digest(K4os.Hash.xxHash.XXH32.State@)">
|
||||||
|
<summary>Hash so far.</summary>
|
||||||
|
<returns>Hash so far.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:K4os.Hash.xxHash.XXH64">
|
||||||
|
<summary>
|
||||||
|
xxHash 64-bit.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:K4os.Hash.xxHash.XXH64.State">
|
||||||
|
<summary>Internal state of the algorithm.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:K4os.Hash.xxHash.XXH64.EmptyHash">
|
||||||
|
<summary>Hash of empty buffer.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Void*,System.Int32)">
|
||||||
|
<summary>Hash of provided buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
<returns>Digest.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Void*,System.Int32,System.UInt64)">
|
||||||
|
<summary>Hash of provided buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
<param name="seed">Seed.</param>
|
||||||
|
<returns>Digest.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.ReadOnlySpan{System.Byte})">
|
||||||
|
<summary>Hash of provided buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<returns>Digest.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Byte[],System.Int32,System.Int32)">
|
||||||
|
<summary>Hash of provided buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="offset">Starting offset.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
<returns>Digest.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.#ctor">
|
||||||
|
<summary>Creates xxHash instance.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.#ctor(System.UInt64)">
|
||||||
|
<summary>Creates xxHash instance.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Reset">
|
||||||
|
<summary>Resets hash calculation.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Reset(System.UInt64)">
|
||||||
|
<summary>Resets hash calculation.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Void*,System.Int32)">
|
||||||
|
<summary>Updates the hash using given buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Byte*,System.Int32)">
|
||||||
|
<summary>Updates the hash using given buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.ReadOnlySpan{System.Byte})">
|
||||||
|
<summary>Updates the has using given buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Byte[],System.Int32,System.Int32)">
|
||||||
|
<summary>Updates the has using given buffer.</summary>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="offset">Starting offset.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Digest">
|
||||||
|
<summary>Hash so far.</summary>
|
||||||
|
<returns>Hash so far.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.DigestBytes">
|
||||||
|
<summary>Hash so far, as byte array.</summary>
|
||||||
|
<returns>Hash so far.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.AsHashAlgorithm">
|
||||||
|
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
|
||||||
|
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Reset(K4os.Hash.xxHash.XXH64.State@,System.UInt64)">
|
||||||
|
<summary>Resets hash calculation.</summary>
|
||||||
|
<param name="state">Hash state.</param>
|
||||||
|
<param name="seed">Hash seed.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Update(K4os.Hash.xxHash.XXH64.State@,System.Void*,System.Int32)">
|
||||||
|
<summary>Updates the has using given buffer.</summary>
|
||||||
|
<param name="state">Hash state.</param>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
<param name="length">Length of buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Update(K4os.Hash.xxHash.XXH64.State@,System.ReadOnlySpan{System.Byte})">
|
||||||
|
<summary>Updates the has using given buffer.</summary>
|
||||||
|
<param name="state">Hash state.</param>
|
||||||
|
<param name="bytes">Buffer.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:K4os.Hash.xxHash.XXH64.Digest(K4os.Hash.xxHash.XXH64.State@)">
|
||||||
|
<summary>Hash so far.</summary>
|
||||||
|
<returns>Hash so far.</returns>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
||||||
BIN
bin/Debug/Microsoft.Bcl.AsyncInterfaces.dll
Normal file
BIN
bin/Debug/Microsoft.Bcl.AsyncInterfaces.dll
Normal file
Binary file not shown.
223
bin/Debug/Microsoft.Bcl.AsyncInterfaces.xml
Normal file
223
bin/Debug/Microsoft.Bcl.AsyncInterfaces.xml
Normal file
@ -0,0 +1,223 @@
|
|||||||
|
<?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="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="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.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>
|
||||||
|
</members>
|
||||||
|
</doc>
|
||||||
BIN
bin/Debug/MySql.Data.dll
Normal file
BIN
bin/Debug/MySql.Data.dll
Normal file
Binary file not shown.
18590
bin/Debug/MySql.Data.xml
Normal file
18590
bin/Debug/MySql.Data.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/System.Buffers.dll
Normal file
BIN
bin/Debug/System.Buffers.dll
Normal file
Binary file not shown.
38
bin/Debug/System.Buffers.xml
Normal file
38
bin/Debug/System.Buffers.xml
Normal 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&#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
bin/Debug/System.Configuration.ConfigurationManager.dll
Normal file
BIN
bin/Debug/System.Configuration.ConfigurationManager.dll
Normal file
Binary file not shown.
5265
bin/Debug/System.Configuration.ConfigurationManager.xml
Normal file
5265
bin/Debug/System.Configuration.ConfigurationManager.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/System.IO.Pipelines.dll
Normal file
BIN
bin/Debug/System.IO.Pipelines.dll
Normal file
Binary file not shown.
341
bin/Debug/System.IO.Pipelines.xml
Normal file
341
bin/Debug/System.IO.Pipelines.xml
Normal file
@ -0,0 +1,341 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>System.IO.Pipelines</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:System.IO.Pipelines.FlushResult">
|
||||||
|
<summary>Result returned by <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> call.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.FlushResult.#ctor(System.Boolean,System.Boolean)">
|
||||||
|
<summary>Initializes a new instance of <see cref="T:System.IO.Pipelines.FlushResult" /> struct setting the <see cref="P:System.IO.Pipelines.FlushResult.IsCanceled" /> and <see cref="P:System.IO.Pipelines.FlushResult.IsCompleted" /> flags.</summary>
|
||||||
|
<param name="isCanceled">
|
||||||
|
<see langword="true" /> to indicate the current <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.FlushResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeWriter.CancelPendingFlush" />; otherwise, <see langword="false" />.</param>
|
||||||
|
<param name="isCompleted">
|
||||||
|
<see langword="true" /> to indicate the reader is no longer reading data written to the <see cref="T:System.IO.Pipelines.PipeWriter" />.</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.FlushResult.IsCanceled">
|
||||||
|
<summary>Gets a value that indicates whether the current <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation was canceled.</summary>
|
||||||
|
<returns>
|
||||||
|
<see langword="true" /> if the current <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation was canceled; otherwise, <see langword="false" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.FlushResult.IsCompleted">
|
||||||
|
<summary>Gets a value that indicates the reader is no longer reading data written to the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||||
|
<returns>
|
||||||
|
<see langword="true" /> if the reader is no longer reading data written to the <see cref="T:System.IO.Pipelines.PipeWriter" />; otherwise, <see langword="false" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.IDuplexPipe">
|
||||||
|
<summary>Defines a class that provides a duplex pipe from which data can be read from and written to.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.IDuplexPipe.Input">
|
||||||
|
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeReader" /> half of the duplex pipe.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.IDuplexPipe.Output">
|
||||||
|
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeWriter" /> half of the duplex pipe.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.Pipe">
|
||||||
|
<summary>The default <see cref="T:System.IO.Pipelines.PipeWriter" /> and <see cref="T:System.IO.Pipelines.PipeReader" /> implementation.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.Pipe.#ctor">
|
||||||
|
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.Pipe" /> class using <see cref="P:System.IO.Pipelines.PipeOptions.Default" /> as options.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.Pipe.#ctor(System.IO.Pipelines.PipeOptions)">
|
||||||
|
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.Pipe" /> class with the specified options.</summary>
|
||||||
|
<param name="options">The set of options for this pipe.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.Pipe.Reset">
|
||||||
|
<summary>Resets the pipe.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.Pipe.Reader">
|
||||||
|
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeReader" /> for this pipe.</summary>
|
||||||
|
<returns>A <see cref="T:System.IO.Pipelines.PipeReader" /> instance for this pipe.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.Pipe.Writer">
|
||||||
|
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeWriter" /> for this pipe.</summary>
|
||||||
|
<returns>A <see cref="T:System.IO.Pipelines.PipeWriter" /> instance for this pipe.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.PipeOptions">
|
||||||
|
<summary>Represents a set of <see cref="T:System.IO.Pipelines.Pipe" /> options.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeOptions.#ctor(System.Buffers.MemoryPool{System.Byte},System.IO.Pipelines.PipeScheduler,System.IO.Pipelines.PipeScheduler,System.Int64,System.Int64,System.Int32,System.Boolean)">
|
||||||
|
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.PipeOptions" /> class with the specified parameters.</summary>
|
||||||
|
<param name="pool">The pool of memory blocks to be used for buffer management.</param>
|
||||||
|
<param name="readerScheduler">The <see cref="T:System.IO.Pipelines.PipeScheduler" /> to be used to execute <see cref="T:System.IO.Pipelines.PipeReader" /> callbacks and async continuations.</param>
|
||||||
|
<param name="writerScheduler">The <see cref="T:System.IO.Pipelines.PipeScheduler" /> used to execute <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and async continuations.</param>
|
||||||
|
<param name="pauseWriterThreshold">The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> before <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> starts blocking. A value of zero prevents <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> from ever blocking, effectively making the number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> unlimited.</param>
|
||||||
|
<param name="resumeWriterThreshold">The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> stops blocking.</param>
|
||||||
|
<param name="minimumSegmentSize">The minimum size of the segment requested from <paramref name="pool" />.</param>
|
||||||
|
<param name="useSynchronizationContext">
|
||||||
|
<see langword="true" /> if asynchronous continuations should be executed on the <see cref="T:System.Threading.SynchronizationContext" /> they were captured on; <see langword="false" /> otherwise. This takes precedence over the schedulers specified in <see cref="P:System.IO.Pipelines.PipeOptions.ReaderScheduler" /> and <see cref="P:System.IO.Pipelines.PipeOptions.WriterScheduler" />.</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeOptions.Default">
|
||||||
|
<summary>Gets the default instance of <see cref="T:System.IO.Pipelines.PipeOptions" />.</summary>
|
||||||
|
<returns>A <see cref="T:System.IO.Pipelines.PipeOptions" /> object initialized with default parameters.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeOptions.MinimumSegmentSize">
|
||||||
|
<summary>Gets the minimum size of the segment requested from the <see cref="P:System.IO.Pipelines.PipeOptions.Pool" />.</summary>
|
||||||
|
<returns>The minimum size of the segment requested from the <see cref="P:System.IO.Pipelines.PipeOptions.Pool" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeOptions.PauseWriterThreshold">
|
||||||
|
<summary>Gets the number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> starts blocking.</summary>
|
||||||
|
<returns>The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> starts blocking.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeOptions.Pool">
|
||||||
|
<summary>Gets the <see cref="T:System.Buffers.MemoryPool`1" /> object used for buffer management.</summary>
|
||||||
|
<returns>A pool of memory blocks used for buffer management.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeOptions.ReaderScheduler">
|
||||||
|
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeScheduler" /> used to execute <see cref="T:System.IO.Pipelines.PipeReader" /> callbacks and async continuations.</summary>
|
||||||
|
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> that is used to execute <see cref="T:System.IO.Pipelines.PipeReader" /> callbacks and async continuations.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeOptions.ResumeWriterThreshold">
|
||||||
|
<summary>Gets the number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> stops blocking.</summary>
|
||||||
|
<returns>The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> stops blocking.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeOptions.UseSynchronizationContext">
|
||||||
|
<summary>Gets a value that determines if asynchronous callbacks and continuations should be executed on the <see cref="T:System.Threading.SynchronizationContext" /> they were captured on. This takes precedence over the schedulers specified in <see cref="P:System.IO.Pipelines.PipeOptions.ReaderScheduler" /> and <see cref="P:System.IO.Pipelines.PipeOptions.WriterScheduler" />.</summary>
|
||||||
|
<returns>
|
||||||
|
<see langword="true" /> if asynchronous callbacks and continuations should be executed on the <see cref="T:System.Threading.SynchronizationContext" /> they were captured on; otherwise, <see langword="false" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeOptions.WriterScheduler">
|
||||||
|
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeScheduler" /> used to execute <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and async continuations.</summary>
|
||||||
|
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> object used to execute <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and async continuations.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.PipeReader">
|
||||||
|
<summary>Defines a class that provides access to a read side of pipe.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.#ctor">
|
||||||
|
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.PipeReader" /> class.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition)">
|
||||||
|
<summary>Moves forward the pipeline's read cursor to after the consumed data, marking the data as processed.</summary>
|
||||||
|
<param name="consumed">Marks the extent of the data that has been successfully processed.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition,System.SequencePosition)">
|
||||||
|
<summary>Moves forward the pipeline's read cursor to after the consumed data, marking the data as processed, read and examined.</summary>
|
||||||
|
<param name="consumed">Marks the extent of the data that has been successfully processed.</param>
|
||||||
|
<param name="examined">Marks the extent of the data that has been read and examined.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.AsStream(System.Boolean)">
|
||||||
|
<summary>Returns a <see cref="T:System.IO.Stream" /> representation of the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||||
|
<param name="leaveOpen">An optional flag that indicates whether disposing the returned <see cref="T:System.IO.Stream" /> leaves <see cref="T:System.IO.Pipelines.PipeReader" /> open (<see langword="true" />) or completes <see cref="T:System.IO.Pipelines.PipeReader" /> (<see langword="false" />).</param>
|
||||||
|
<returns>A stream that represents the <see cref="T:System.IO.Pipelines.PipeReader" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.CancelPendingRead">
|
||||||
|
<summary>Cancels to currently pending or if none is pending next call to <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" />, without completing the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.Complete(System.Exception)">
|
||||||
|
<summary>Signals to the producer that the consumer is done reading.</summary>
|
||||||
|
<param name="exception">Optional <see cref="T:System.Exception" /> indicating a failure that's causing the pipeline to complete.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.CompleteAsync(System.Exception)">
|
||||||
|
<summary>Marks the current pipe reader instance as being complete, meaning no more data will be read from it.</summary>
|
||||||
|
<param name="exception">An optional exception that indicates the failure that caused the reader to complete.</param>
|
||||||
|
<returns>A value task that represents the asynchronous complete operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.CopyToAsync(System.IO.Pipelines.PipeWriter,System.Threading.CancellationToken)">
|
||||||
|
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Pipelines.PipeReader" /> and writes them to the specified <see cref="T:System.IO.Pipelines.PipeWriter" />, using a specified buffer size and cancellation token.</summary>
|
||||||
|
<param name="destination">The pipe writer to which the contents of the current stream will be copied.</param>
|
||||||
|
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||||
|
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.CopyToAsync(System.IO.Stream,System.Threading.CancellationToken)">
|
||||||
|
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Pipelines.PipeReader" /> and writes them to the specified stream, using a specified cancellation token.</summary>
|
||||||
|
<param name="destination">The stream to which the contents of the current stream will be copied.</param>
|
||||||
|
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||||
|
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.Create(System.IO.Stream,System.IO.Pipelines.StreamPipeReaderOptions)">
|
||||||
|
<summary>Creates a <see cref="T:System.IO.Pipelines.PipeReader" /> wrapping the specified <see cref="T:System.IO.Stream" />.</summary>
|
||||||
|
<param name="stream">The stream that the pipe reader will wrap.</param>
|
||||||
|
<param name="readerOptions">The options to configure the pipe reader.</param>
|
||||||
|
<returns>A <see cref="T:System.IO.Pipelines.PipeReader" /> that wraps the <see cref="T:System.IO.Stream" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.OnWriterCompleted(System.Action{System.Exception,System.Object},System.Object)">
|
||||||
|
<summary>Registers a callback that executes when the <see cref="T:System.IO.Pipelines.PipeWriter" /> side of the pipe is completed.</summary>
|
||||||
|
<param name="callback">The callback to register.</param>
|
||||||
|
<param name="state">The state object to pass to <paramref name="callback" /> when it's invoked.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)">
|
||||||
|
<summary>Asynchronously reads a sequence of bytes from the current <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||||
|
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see langword="default" />.</param>
|
||||||
|
<returns>A <see cref="T:System.Threading.Tasks.ValueTask`1" /> representing the asynchronous read operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeReader.TryRead(System.IO.Pipelines.ReadResult@)">
|
||||||
|
<summary>Attempts to synchronously read data the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||||
|
<param name="result">When this method returns <see langword="true" />, this value is set to a <see cref="T:System.IO.Pipelines.ReadResult" /> instance that represents the result of the read call; otherwise, this value is set to <see langword="default" />.</param>
|
||||||
|
<returns>
|
||||||
|
<see langword="true" /> if data was available, or if the call was canceled or the writer was completed; otherwise, <see langword="false" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.PipeScheduler">
|
||||||
|
<summary>Abstraction for running <see cref="T:System.IO.Pipelines.PipeReader" /> and <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and continuations.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeScheduler.#ctor">
|
||||||
|
<summary>Initializes new a <see cref="T:System.IO.Pipelines.PipeScheduler" /> instance.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeScheduler.Schedule(System.Action{System.Object},System.Object)">
|
||||||
|
<summary>Requests <paramref name="action" /> to be run on scheduler with <paramref name="state" /> being passed in.</summary>
|
||||||
|
<param name="action">The single-parameter action delegate to schedule.</param>
|
||||||
|
<param name="state">The parameter to pass to the <paramref name="action" /> delegate.</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeScheduler.Inline">
|
||||||
|
<summary>The <see cref="T:System.IO.Pipelines.PipeScheduler" /> implementation that runs callbacks inline.</summary>
|
||||||
|
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> instance that runs callbacks inline.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.PipeScheduler.ThreadPool">
|
||||||
|
<summary>The <see cref="T:System.IO.Pipelines.PipeScheduler" /> implementation that queues callbacks to the thread pool.</summary>
|
||||||
|
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> instance that queues callbacks to the thread pool.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.PipeWriter">
|
||||||
|
<summary>Defines a class that provides a pipeline to which data can be written.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.#ctor">
|
||||||
|
<summary>Initializes a new instance of the class.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.Advance(System.Int32)">
|
||||||
|
<summary>Notifies the <see cref="T:System.IO.Pipelines.PipeWriter" /> that <paramref name="bytes" /> bytes were written to the output <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />. You must request a new buffer after calling <see cref="M:System.IO.Pipelines.PipeWriter.Advance(System.Int32)" /> to continue writing more data; you cannot write to a previously acquired buffer.</summary>
|
||||||
|
<param name="bytes">The number of bytes written to the <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.AsStream(System.Boolean)">
|
||||||
|
<summary>Returns a <see cref="T:System.IO.Stream" /> representation of the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||||
|
<param name="leaveOpen">An optional flag that indicates whether disposing the returned <see cref="T:System.IO.Stream" /> leaves <see cref="T:System.IO.Pipelines.PipeReader" /> open (<see langword="true" />) or completes <see cref="T:System.IO.Pipelines.PipeReader" /> (<see langword="false" />).</param>
|
||||||
|
<returns>A stream that represents the <see cref="T:System.IO.Pipelines.PipeWriter" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.CancelPendingFlush">
|
||||||
|
<summary>Cancels the pending <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation. If there is none, cancels next <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation, without completing the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.Complete(System.Exception)">
|
||||||
|
<summary>Marks the <see cref="T:System.IO.Pipelines.PipeWriter" /> as being complete, meaning no more items will be written to it.</summary>
|
||||||
|
<param name="exception">Optional <see cref="T:System.Exception" /> indicating a failure that's causing the pipeline to complete.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.CompleteAsync(System.Exception)">
|
||||||
|
<summary>Marks the current pipe writer instance as being complete, meaning no more data will be written to it.</summary>
|
||||||
|
<param name="exception">An optional exception that indicates the failure that caused the pipeline to complete.</param>
|
||||||
|
<returns>A value task that represents the asynchronous complete operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.CopyFromAsync(System.IO.Stream,System.Threading.CancellationToken)">
|
||||||
|
<summary>Asynchronously reads the bytes from the specified stream and writes them to the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||||
|
<param name="source">The stream from which the contents will be copied.</param>
|
||||||
|
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||||
|
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.Create(System.IO.Stream,System.IO.Pipelines.StreamPipeWriterOptions)">
|
||||||
|
<summary>Creates a <see cref="T:System.IO.Pipelines.PipeWriter" /> wrapping the specified <see cref="T:System.IO.Stream" />.</summary>
|
||||||
|
<param name="stream">The stream that the pipe writer will wrap.</param>
|
||||||
|
<param name="writerOptions">The options to configure the pipe writer.</param>
|
||||||
|
<returns>A <see cref="T:System.IO.Pipelines.PipeWriter" /> that wraps the <see cref="T:System.IO.Stream" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)">
|
||||||
|
<summary>Makes bytes written available to <see cref="T:System.IO.Pipelines.PipeReader" /> and runs <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> continuation.</summary>
|
||||||
|
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||||
|
<returns>A task that represents and wraps the asynchronous flush operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.GetMemory(System.Int32)">
|
||||||
|
<summary>Returns a <see cref="T:System.Memory`1" /> to write to that is at least the requested size, as specified by the <paramref name="sizeHint" /> parameter.</summary>
|
||||||
|
<param name="sizeHint">The minimum length of the returned <see cref="T:System.Memory`1" />. If 0, a non-empty memory buffer of arbitrary size is returned.</param>
|
||||||
|
<exception cref="T:System.OutOfMemoryException">The requested buffer size is not available.</exception>
|
||||||
|
<returns>A memory buffer of at least <paramref name="sizeHint" /> bytes. If <paramref name="sizeHint" /> is 0, returns a non-empty buffer of arbitrary size.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.GetSpan(System.Int32)">
|
||||||
|
<summary>Returns a <see cref="T:System.Span`1" /> to write to that is at least the requested size, as specified by the <paramref name="sizeHint" /> parameter.</summary>
|
||||||
|
<param name="sizeHint">The minimum length of the returned <see cref="T:System.Span`1" />. If 0, a non-empty buffer of arbitrary size is returned.</param>
|
||||||
|
<exception cref="T:System.OutOfMemoryException">The requested buffer size is not available.</exception>
|
||||||
|
<returns>A buffer of at least <paramref name="sizeHint" /> bytes. If <paramref name="sizeHint" /> is 0, returns a non-empty buffer of arbitrary size.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.OnReaderCompleted(System.Action{System.Exception,System.Object},System.Object)">
|
||||||
|
<summary>Registers a callback that executes when the <see cref="T:System.IO.Pipelines.PipeReader" /> side of the pipe is completed.</summary>
|
||||||
|
<param name="callback">The callback to register.</param>
|
||||||
|
<param name="state">The state object to pass to <paramref name="callback" /> when it's invoked.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.PipeWriter.WriteAsync(System.ReadOnlyMemory{System.Byte},System.Threading.CancellationToken)">
|
||||||
|
<summary>Writes the specified byte memory range to the pipe and makes data accessible to the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||||
|
<param name="source">The read-only byte memory region to write.</param>
|
||||||
|
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||||
|
<returns>A task that represents the asynchronous write operation, and wraps the flush asynchronous operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.ReadResult">
|
||||||
|
<summary>Represents the result of a <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.ReadResult.#ctor(System.Buffers.ReadOnlySequence{System.Byte},System.Boolean,System.Boolean)">
|
||||||
|
<summary>Creates a new instance of <see cref="T:System.IO.Pipelines.ReadResult" /> setting <see cref="P:System.IO.Pipelines.ReadResult.IsCanceled" /> and <see cref="P:System.IO.Pipelines.ReadResult.IsCompleted" /> flags.</summary>
|
||||||
|
<param name="buffer">The read-only sequence containing the bytes of data that were read in the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</param>
|
||||||
|
<param name="isCanceled">A flag that indicates if the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.ReadResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeReader.CancelPendingRead" />.</param>
|
||||||
|
<param name="isCompleted">A flag that indicates whether the end of the data stream has been reached.</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.ReadResult.Buffer">
|
||||||
|
<summary>Gets the <see cref="T:System.Buffers.ReadOnlySequence`1" /> that was read.</summary>
|
||||||
|
<returns>A read-only sequence containing the bytes of data that were read in the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.ReadResult.IsCanceled">
|
||||||
|
<summary>Gets a value that indicates whether the current <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation was canceled.</summary>
|
||||||
|
<returns>
|
||||||
|
<see langword="true" /> if the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.ReadResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeReader.CancelPendingRead" />; otherwise, <see langword="false" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.ReadResult.IsCompleted">
|
||||||
|
<summary>Gets a value that indicates whether the end of the data stream has been reached.</summary>
|
||||||
|
<returns>
|
||||||
|
<see langword="true" /> if the end of the data stream has been reached; otherwise, <see langword="false" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.StreamPipeExtensions">
|
||||||
|
<summary>Provides extension methods for <see cref="T:System.IO.Stream" /> that support read and write operations directly into pipes.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.StreamPipeExtensions.CopyToAsync(System.IO.Stream,System.IO.Pipelines.PipeWriter,System.Threading.CancellationToken)">
|
||||||
|
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Stream" /> and writes them to the specified <see cref="T:System.IO.Pipelines.PipeWriter" />, using a cancellation token.</summary>
|
||||||
|
<param name="source">The stream from which the contents of the current stream will be copied.</param>
|
||||||
|
<param name="destination">The writer to which the contents of the source stream will be copied.</param>
|
||||||
|
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||||
|
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.StreamPipeReaderOptions">
|
||||||
|
<summary>Represents a set of options for controlling the creation of the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.StreamPipeReaderOptions.#ctor(System.Buffers.MemoryPool{System.Byte},System.Int32,System.Int32,System.Boolean)">
|
||||||
|
<summary>Initializes a <see cref="T:System.IO.Pipelines.StreamPipeReaderOptions" /> instance, optionally specifying a memory pool, a minimum buffer size, a minimum read size, and whether the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes.</summary>
|
||||||
|
<param name="pool">The memory pool to use when allocating memory. The default value is <see langword="null" />.</param>
|
||||||
|
<param name="bufferSize">The minimum buffer size to use when renting memory from the <paramref name="pool" />. The default value is 4096.</param>
|
||||||
|
<param name="minimumReadSize">The threshold of remaining bytes in the buffer before a new buffer is allocated. The default value is 1024.</param>
|
||||||
|
<param name="leaveOpen">
|
||||||
|
<see langword="true" /> to leave the underlying stream open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes; <see langword="false" /> to close it. The default is <see langword="false" />.</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.BufferSize">
|
||||||
|
<summary>Gets the minimum buffer size to use when renting memory from the <see cref="P:System.IO.Pipelines.StreamPipeReaderOptions.Pool" />.</summary>
|
||||||
|
<returns>The buffer size.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.LeaveOpen">
|
||||||
|
<summary>Gets the value that indicates if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes.</summary>
|
||||||
|
<returns>
|
||||||
|
<see langword="true" /> if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes; otherwise, <see langword="false" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.MinimumReadSize">
|
||||||
|
<summary>Gets the threshold of remaining bytes in the buffer before a new buffer is allocated.</summary>
|
||||||
|
<returns>The minimum read size.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.Pool">
|
||||||
|
<summary>Gets the <see cref="T:System.Buffers.MemoryPool`1" /> to use when allocating memory.</summary>
|
||||||
|
<returns>A memory pool instance.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IO.Pipelines.StreamPipeWriterOptions">
|
||||||
|
<summary>Represents a set of options for controlling the creation of the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IO.Pipelines.StreamPipeWriterOptions.#ctor(System.Buffers.MemoryPool{System.Byte},System.Int32,System.Boolean)">
|
||||||
|
<summary>Initializes a <see cref="T:System.IO.Pipelines.StreamPipeWriterOptions" /> instance, optionally specifying a memory pool, a minimum buffer size, and whether the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes.</summary>
|
||||||
|
<param name="pool">The memory pool to use when allocating memory. The default value is <see langword="null" />.</param>
|
||||||
|
<param name="minimumBufferSize">The minimum buffer size to use when renting memory from the <paramref name="pool" />. The default value is 4096.</param>
|
||||||
|
<param name="leaveOpen">
|
||||||
|
<see langword="true" /> to leave the underlying stream open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes; <see langword="false" /> to close it. The default is <see langword="false" />.</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.StreamPipeWriterOptions.LeaveOpen">
|
||||||
|
<summary>Gets the value that indicates if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes.</summary>
|
||||||
|
<returns>
|
||||||
|
<see langword="true" /> if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes; otherwise, <see langword="false" />.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.StreamPipeWriterOptions.MinimumBufferSize">
|
||||||
|
<summary>Gets the minimum buffer size to use when renting memory from the <see cref="P:System.IO.Pipelines.StreamPipeWriterOptions.Pool" />.</summary>
|
||||||
|
<returns>An integer representing the minimum buffer size.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.IO.Pipelines.StreamPipeWriterOptions.Pool">
|
||||||
|
<summary>Gets the <see cref="T:System.Buffers.MemoryPool`1" /> to use when allocating memory.</summary>
|
||||||
|
<returns>A memory pool instance.</returns>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
||||||
BIN
bin/Debug/System.Memory.dll
Normal file
BIN
bin/Debug/System.Memory.dll
Normal file
Binary file not shown.
355
bin/Debug/System.Memory.xml
Normal file
355
bin/Debug/System.Memory.xml
Normal 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
bin/Debug/System.Numerics.Vectors.dll
Normal file
BIN
bin/Debug/System.Numerics.Vectors.dll
Normal file
Binary file not shown.
2621
bin/Debug/System.Numerics.Vectors.xml
Normal file
2621
bin/Debug/System.Numerics.Vectors.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/System.Runtime.CompilerServices.Unsafe.dll
Normal file
BIN
bin/Debug/System.Runtime.CompilerServices.Unsafe.dll
Normal file
Binary file not shown.
291
bin/Debug/System.Runtime.CompilerServices.Unsafe.xml
Normal file
291
bin/Debug/System.Runtime.CompilerServices.Unsafe.xml
Normal 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
bin/Debug/System.Threading.Tasks.Extensions.dll
Normal file
BIN
bin/Debug/System.Threading.Tasks.Extensions.dll
Normal file
Binary file not shown.
166
bin/Debug/System.Threading.Tasks.Extensions.xml
Normal file
166
bin/Debug/System.Threading.Tasks.Extensions.xml
Normal 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
bin/Debug/ZstdSharp.dll
Normal file
BIN
bin/Debug/ZstdSharp.dll
Normal file
Binary file not shown.
@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
||||||
BIN
obj/Debug/Dem2.MainForm.resources
Normal file
BIN
obj/Debug/Dem2.MainForm.resources
Normal file
Binary file not shown.
BIN
obj/Debug/Dem2.MaterialEditForm.resources
Normal file
BIN
obj/Debug/Dem2.MaterialEditForm.resources
Normal file
Binary file not shown.
BIN
obj/Debug/Dem2.Properties.Resources.resources
Normal file
BIN
obj/Debug/Dem2.Properties.Resources.resources
Normal file
Binary file not shown.
BIN
obj/Debug/Dem2.SupplierListForm.resources
Normal file
BIN
obj/Debug/Dem2.SupplierListForm.resources
Normal file
Binary file not shown.
BIN
obj/Debug/Dem2.csproj.AssemblyReference.cache
Normal file
BIN
obj/Debug/Dem2.csproj.AssemblyReference.cache
Normal file
Binary file not shown.
0
obj/Debug/Dem2.csproj.CopyComplete
Normal file
0
obj/Debug/Dem2.csproj.CopyComplete
Normal file
1
obj/Debug/Dem2.csproj.CoreCompileInputs.cache
Normal file
1
obj/Debug/Dem2.csproj.CoreCompileInputs.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
6b7d7c1d1176a6b58d3ea667d0b5221d2d076b835380f9703f6a510dbd66b977
|
||||||
43
obj/Debug/Dem2.csproj.FileListAbsolute.txt
Normal file
43
obj/Debug/Dem2.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\Dem2.exe.config
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\Dem2.exe
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\Dem2.pdb
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\BouncyCastle.Cryptography.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\Google.Protobuf.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\K4os.Compression.LZ4.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\K4os.Compression.LZ4.Streams.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\K4os.Hash.xxHash.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\MySql.Data.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Buffers.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Configuration.ConfigurationManager.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.IO.Pipelines.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Memory.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Numerics.Vectors.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Threading.Tasks.Extensions.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\ZstdSharp.dll
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\BouncyCastle.Cryptography.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\Google.Protobuf.pdb
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\Google.Protobuf.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\K4os.Compression.LZ4.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\K4os.Compression.LZ4.Streams.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\K4os.Hash.xxHash.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\MySql.Data.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Buffers.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Configuration.ConfigurationManager.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.IO.Pipelines.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Memory.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Numerics.Vectors.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Runtime.CompilerServices.Unsafe.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\bin\Debug\System.Threading.Tasks.Extensions.xml
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.MainForm.resources
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.MaterialEditForm.resources
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.Properties.Resources.resources
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.csproj.GenerateResource.cache
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.csproj.CopyComplete
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.exe
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.pdb
|
||||||
|
C:\Users\Student\source\repos\Dem2\obj\Debug\Dem2.SupplierListForm.resources
|
||||||
BIN
obj/Debug/Dem2.csproj.GenerateResource.cache
Normal file
BIN
obj/Debug/Dem2.csproj.GenerateResource.cache
Normal file
Binary file not shown.
BIN
obj/Debug/Dem2.exe
Normal file
BIN
obj/Debug/Dem2.exe
Normal file
Binary file not shown.
BIN
obj/Debug/Dem2.pdb
Normal file
BIN
obj/Debug/Dem2.pdb
Normal file
Binary file not shown.
BIN
obj/Debug/DesignTimeResolveAssemblyReferences.cache
Normal file
BIN
obj/Debug/DesignTimeResolveAssemblyReferences.cache
Normal file
Binary file not shown.
BIN
obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
BIN
obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
Binary file not shown.
18
packages.config
Normal file
18
packages.config
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="BouncyCastle.Cryptography" version="2.6.2" targetFramework="net48" />
|
||||||
|
<package id="Google.Protobuf" version="3.32.0" targetFramework="net48" />
|
||||||
|
<package id="K4os.Compression.LZ4" version="1.3.8" targetFramework="net48" />
|
||||||
|
<package id="K4os.Compression.LZ4.Streams" version="1.3.8" targetFramework="net48" />
|
||||||
|
<package id="K4os.Hash.xxHash" version="1.0.8" targetFramework="net48" />
|
||||||
|
<package id="Microsoft.Bcl.AsyncInterfaces" version="5.0.0" targetFramework="net48" />
|
||||||
|
<package id="MySql.Data" version="9.5.0" targetFramework="net48" />
|
||||||
|
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
|
||||||
|
<package id="System.Configuration.ConfigurationManager" version="8.0.0" targetFramework="net48" />
|
||||||
|
<package id="System.IO.Pipelines" version="5.0.2" 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.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
|
||||||
|
<package id="ZstdSharp.Port" version="0.8.6" targetFramework="net48" />
|
||||||
|
</packages>
|
||||||
BIN
packages/BouncyCastle.Cryptography.2.6.2/.signature.p7s
vendored
Normal file
BIN
packages/BouncyCastle.Cryptography.2.6.2/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/BouncyCastle.Cryptography.2.6.2/BouncyCastle.Cryptography.2.6.2.nupkg
vendored
Normal file
BIN
packages/BouncyCastle.Cryptography.2.6.2/BouncyCastle.Cryptography.2.6.2.nupkg
vendored
Normal file
Binary file not shown.
13
packages/BouncyCastle.Cryptography.2.6.2/LICENSE.md
vendored
Normal file
13
packages/BouncyCastle.Cryptography.2.6.2/LICENSE.md
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Copyright (c) 2000-2025 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org).
|
||||||
|
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,
|
||||||
|
sub license, 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.**
|
||||||
43
packages/BouncyCastle.Cryptography.2.6.2/README.md
vendored
Normal file
43
packages/BouncyCastle.Cryptography.2.6.2/README.md
vendored
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# The Bouncy Castle Cryptography Library For .NET
|
||||||
|
[](https://www.nuget.org/packages/BouncyCastle.Cryptography) [](https://www.nuget.org/packages/BouncyCastle.Cryptography)
|
||||||
|
|
||||||
|
The Bouncy Castle Cryptography library is a .NET implementation of cryptographic algorithms and protocols. It was developed by the Legion of the Bouncy Castle, a registered Australian Charity, with a little help! The Legion, and the latest goings on with this package, can be found at [https://www.bouncycastle.org](https://www.bouncycastle.org).
|
||||||
|
|
||||||
|
In addition to providing basic cryptography algorithms, the package also provides support for CMS, OpenPGP, (D)TLS, TSP, X.509 certificate generation and more. The package also includes implementations of the following NIST Post-Quantum Cryptography Standardization algorithms: ML-DSA, ML-KEM, SLH-DSA, Falcon, Classic McEliece, FrodoKEM, NTRU, NTRU Prime, Picnic, Saber, and BIKE. These should all be considered EXPERIMENTAL and subject to change or removal.
|
||||||
|
|
||||||
|
The Legion also gratefully acknowledges the contributions made to this package by others (see [here](https://www.bouncycastle.org/csharp/contributors.html) for the current list). If you would like to contribute to our efforts please feel free to get in touch with us or visit our [donations page](https://www.bouncycastle.org/donate), sponsor some specific work, or purchase a [support contract](https://www.keyfactor.com/platform/bouncy-castle-support/).
|
||||||
|
|
||||||
|
Except where otherwise stated, this software is distributed under a license based on the MIT X Consortium license. To view the license, [see here](https://www.bouncycastle.org/licence.html). This software includes a modified Bzip2 library, which is licensed under the [Apache Software License, Version 2.0](http://www.apache.org/licenses/).
|
||||||
|
|
||||||
|
**Note**: This source tree is not the FIPS version of the APIs - if you are interested in our FIPS version please visit us [here](https://www.bouncycastle.org/fips-csharp) or contact us directly at [office@bouncycastle.org](mailto:office@bouncycastle.org).
|
||||||
|
|
||||||
|
## Installing BouncyCastle
|
||||||
|
|
||||||
|
You should install [BouncyCastle with NuGet:](https://www.nuget.org/packages/BouncyCastle.Cryptography)
|
||||||
|
|
||||||
|
Install-Package BouncyCastle.Cryptography
|
||||||
|
|
||||||
|
Or via the .NET Core command line interface:
|
||||||
|
|
||||||
|
dotnet add package BouncyCastle.Cryptography
|
||||||
|
|
||||||
|
Either commands, from Package Manager Console or .NET Core CLI, will download and install BouncyCastle.Cryptography.
|
||||||
|
|
||||||
|
## Mailing Lists
|
||||||
|
|
||||||
|
To subscribe use the link below and include the word subscribe in the message body. (To unsubscribe, replace **subscribe** with **unsubscribe** in the message body).
|
||||||
|
|
||||||
|
* [announce-crypto-csharp-request@bouncycastle.org](mailto:announce-crypto-csharp-request@bouncycastle.org)
|
||||||
|
This mailing list is for new release announcements only, general subscribers cannot post to it.
|
||||||
|
|
||||||
|
Note that the former dev-crypto-csharp mailing list has been discontinued. Please use https://github.com/bcgit/bc-csharp/discussions instead for usage questions, enhancement requests, etc.
|
||||||
|
|
||||||
|
## Feedback
|
||||||
|
|
||||||
|
If you want to provide feedback directly to the members of **The Legion** then please use [feedback-crypto@bouncycastle.org](mailto:feedback-crypto@bouncycastle.org). If you want to help this project survive please consider [donating](https://www.bouncycastle.org/donate).
|
||||||
|
|
||||||
|
For bug reporting/requests you can report issues on [github](https://github.com/bcgit/bc-csharp), or via [feedback-crypto@bouncycastle.org](mailto:feedback-crypto@bouncycastle.org) if required. We will accept pull requests based on this repository as well, but only on the basis that any code included may be distributed under the [Bouncy Castle License](https://www.bouncycastle.org/licence.html).
|
||||||
|
|
||||||
|
## Finally
|
||||||
|
|
||||||
|
Enjoy!
|
||||||
BIN
packages/BouncyCastle.Cryptography.2.6.2/lib/net461/BouncyCastle.Cryptography.dll
vendored
Normal file
BIN
packages/BouncyCastle.Cryptography.2.6.2/lib/net461/BouncyCastle.Cryptography.dll
vendored
Normal file
Binary file not shown.
30299
packages/BouncyCastle.Cryptography.2.6.2/lib/net461/BouncyCastle.Cryptography.xml
vendored
Normal file
30299
packages/BouncyCastle.Cryptography.2.6.2/lib/net461/BouncyCastle.Cryptography.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/BouncyCastle.Cryptography.2.6.2/lib/net6.0/BouncyCastle.Cryptography.dll
vendored
Normal file
BIN
packages/BouncyCastle.Cryptography.2.6.2/lib/net6.0/BouncyCastle.Cryptography.dll
vendored
Normal file
Binary file not shown.
30474
packages/BouncyCastle.Cryptography.2.6.2/lib/net6.0/BouncyCastle.Cryptography.xml
vendored
Normal file
30474
packages/BouncyCastle.Cryptography.2.6.2/lib/net6.0/BouncyCastle.Cryptography.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/BouncyCastle.Cryptography.2.6.2/lib/netstandard2.0/BouncyCastle.Cryptography.dll
vendored
Normal file
BIN
packages/BouncyCastle.Cryptography.2.6.2/lib/netstandard2.0/BouncyCastle.Cryptography.dll
vendored
Normal file
Binary file not shown.
30299
packages/BouncyCastle.Cryptography.2.6.2/lib/netstandard2.0/BouncyCastle.Cryptography.xml
vendored
Normal file
30299
packages/BouncyCastle.Cryptography.2.6.2/lib/netstandard2.0/BouncyCastle.Cryptography.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/BouncyCastle.Cryptography.2.6.2/packageIcon.png
vendored
Normal file
BIN
packages/BouncyCastle.Cryptography.2.6.2/packageIcon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
BIN
packages/Google.Protobuf.3.32.0/.signature.p7s
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/Google.Protobuf.3.32.0/Google.Protobuf.3.32.0.nupkg
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/Google.Protobuf.3.32.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/Google.Protobuf.3.32.0/lib/net45/Google.Protobuf.dll
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/lib/net45/Google.Protobuf.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Google.Protobuf.3.32.0/lib/net45/Google.Protobuf.pdb
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/lib/net45/Google.Protobuf.pdb
vendored
Normal file
Binary file not shown.
12045
packages/Google.Protobuf.3.32.0/lib/net45/Google.Protobuf.xml
vendored
Normal file
12045
packages/Google.Protobuf.3.32.0/lib/net45/Google.Protobuf.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Google.Protobuf.3.32.0/lib/net5.0/Google.Protobuf.dll
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/lib/net5.0/Google.Protobuf.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Google.Protobuf.3.32.0/lib/net5.0/Google.Protobuf.pdb
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/lib/net5.0/Google.Protobuf.pdb
vendored
Normal file
Binary file not shown.
11832
packages/Google.Protobuf.3.32.0/lib/net5.0/Google.Protobuf.xml
vendored
Normal file
11832
packages/Google.Protobuf.3.32.0/lib/net5.0/Google.Protobuf.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Google.Protobuf.3.32.0/lib/netstandard1.1/Google.Protobuf.dll
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/lib/netstandard1.1/Google.Protobuf.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Google.Protobuf.3.32.0/lib/netstandard1.1/Google.Protobuf.pdb
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/lib/netstandard1.1/Google.Protobuf.pdb
vendored
Normal file
Binary file not shown.
12045
packages/Google.Protobuf.3.32.0/lib/netstandard1.1/Google.Protobuf.xml
vendored
Normal file
12045
packages/Google.Protobuf.3.32.0/lib/netstandard1.1/Google.Protobuf.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Google.Protobuf.3.32.0/lib/netstandard2.0/Google.Protobuf.dll
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/lib/netstandard2.0/Google.Protobuf.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Google.Protobuf.3.32.0/lib/netstandard2.0/Google.Protobuf.pdb
vendored
Normal file
BIN
packages/Google.Protobuf.3.32.0/lib/netstandard2.0/Google.Protobuf.pdb
vendored
Normal file
Binary file not shown.
12045
packages/Google.Protobuf.3.32.0/lib/netstandard2.0/Google.Protobuf.xml
vendored
Normal file
12045
packages/Google.Protobuf.3.32.0/lib/netstandard2.0/Google.Protobuf.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/K4os.Compression.LZ4.1.3.8/.signature.p7s
vendored
Normal file
BIN
packages/K4os.Compression.LZ4.1.3.8/.signature.p7s
vendored
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user