DyAttributeBuilders 1.1.1.5

dotnet add package DyAttributeBuilders --version 1.1.1.5
                    
NuGet\Install-Package DyAttributeBuilders -Version 1.1.1.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DyAttributeBuilders" Version="1.1.1.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DyAttributeBuilders" Version="1.1.1.5" />
                    
Directory.Packages.props
<PackageReference Include="DyAttributeBuilders" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DyAttributeBuilders --version 1.1.1.5
                    
#r "nuget: DyAttributeBuilders, 1.1.1.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DyAttributeBuilders@1.1.1.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DyAttributeBuilders&version=1.1.1.5
                    
Install as a Cake Addin
#tool nuget:?package=DyAttributeBuilders&version=1.1.1.5
                    
Install as a Cake Tool

DyAttributeBuilders

NuGet Version .NET License

1688 商品数据转换为 MercadoLibre(美客多)变体商品数据

安装

dotnet add package DyAttributeBuilders

快速开始

using DyAttributeBuilders;

var builder = serviceProvider.GetRequiredService<IDyVariationBuilder>();

var request = new DyVariationBuilderRequest
{
    AliProduct = aliProduct,
    CategoryId = "MLM1000",
    SplitMode = SpecificationSplitMode.MergeAll,
    CategorySupportedVariationIds = new HashSet<string> { "COLOR", "SIZE" }
};

var response = await builder.BuildAsync(request);

核心功能

  • 动态属性匹配(1688 → MercadoLibre 标准)
  • 自动构建变体(颜色、尺寸等)
  • 三种拆分模式:MergeAll / SplitBySpecification / SplitAll
  • 价格计算(多站点配置)
  • AI 尺寸优化(DeepSeek)

依赖注入

services.AddLogging();
services.AddHttpClient();
services.DyAttributerBuilderService(new ServiceCollectionBuilderRequest
{
    EnableLogging = false,  // 默认禁用日志
    DeepSeekChatClientRequest = new DeepSeekChatClientRequest
    {
        DeepSeekApiKey = "your-api-key"
    }
});

版本历史

  • 1.0.3 AI 尺寸优化缓存、修复变体属性 value_struct
  • 1.0.2 动态属性匹配、变体构建、价格计算

许可证

MIT

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.1.5 100 6/2/2026
1.1.1.4 79 6/2/2026
1.1.1.3 113 5/28/2026
1.1.1.2 105 5/27/2026
1.1.1.1 103 5/27/2026
1.1.1 104 5/27/2026
1.1.0.9 94 5/27/2026
1.1.0.8 97 5/26/2026
1.1.0.7 102 5/25/2026
1.1.0.6 94 5/21/2026
1.1.0.5 123 5/14/2026
1.1.0.4 156 5/9/2026
1.1.0.3 127 5/8/2026
Loading failed