VOOZH about

URL: https://www.nuget.org/packages/Black.Beard.ComponentModel.Attributes/

⇱ NuGet Gallery | Black.Beard.ComponentModel.Attributes 1.0.196




Black.Beard.ComponentModel.Attributes 1.0.196

dotnet add package Black.Beard.ComponentModel.Attributes --version 1.0.196
 
 
NuGet\Install-Package Black.Beard.ComponentModel.Attributes -Version 1.0.196
 
 
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="Black.Beard.ComponentModel.Attributes" Version="1.0.196" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Black.Beard.ComponentModel.Attributes" Version="1.0.196" />
 
Directory.Packages.props
<PackageReference Include="Black.Beard.ComponentModel.Attributes" />
 
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 Black.Beard.ComponentModel.Attributes --version 1.0.196
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Black.Beard.ComponentModel.Attributes, 1.0.196"
 
 
#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 Black.Beard.ComponentModel.Attributes@1.0.196
 
 
#: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=Black.Beard.ComponentModel.Attributes&version=1.0.196
 
Install as a Cake Addin
#tool nuget:?package=Black.Beard.ComponentModel.Attributes&version=1.0.196
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Black.Beard.ComponentModel

👁 Build status

PropertyDescriptors

Method helper for resolve types and methods.

Auto discovering

Method helper for resolve types and methods.

factory for create fast activator & fast method calling

Provider List


 // the provider that provide the list of items
 public class TestProviderList : ProviderListBase<CultureInfo>
 {

 /// <summary>
 /// Get the list of items
 /// </summary>
 /// <returns></returns>
 public override IEnumerable<ListItem<CultureInfo>> GetItems()
 {

 List<ListItem<CultureInfo>> result = new List<ListItem<CultureInfo>>();

 var items = CultureInfo.GetCultures(CultureTypes.AllCultures);

 foreach (var item in items)
 {
 var tag = item;
 var display = item.EnglishName;
 var key = item.IetfLanguageTag;

 result.Add(CreateItem(tag, display, key, a =>
 {
 a.Name = item.Name;
 }));
 }
 return result;

 }

 }

 // a class that use the provider
 public class Class1
 {
 [ListProvider(typeof(TestProviderList))]
 public CultureInfo Culture { get; set; }
 }

 // code for call the list provider
 var class1 = new Class1()
 {
 Culture = CultureInfo.CurrentCulture,
 };

 var property = typeof(Class1).GetPropertyDescriptors("Culture").First();
 var attribute = property.GetAttribute<ListProviderAttribute>();
 var provider = attribute.GetProvider(property, class1);
 var items = provider.GetItems();

 var current = items.First(c => c.Selected);
 
Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 is compatible.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Black.Beard.ComponentModel.Attributes:

Package Downloads
Black.Beard.ComponentModel

Package Description

Black.Beard.Web.Server

Provide a service base for just concentrate your services

Black.Beard.Configurations.ConfigurationProvider.SqlServer

Package Description

Black.Beard.Configurations

Package Description

Black.Beard.Sql

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.196 632 4/14/2025
1.0.195 379 4/14/2025
1.0.194 389 4/14/2025
1.0.193 371 4/14/2025
1.0.192 386 4/14/2025
1.0.191 386 4/14/2025
1.0.190 353 4/10/2025
1.0.189 354 4/10/2025
1.0.188 360 4/10/2025
1.0.187 285 4/5/2025
1.0.186 346 4/3/2025
1.0.185 372 4/3/2025
1.0.184 363 4/3/2025
1.0.183 369 4/2/2025
1.0.182 355 4/2/2025
1.0.181 341 4/2/2025
1.0.180 342 4/2/2025
1.0.179 433 4/1/2025
1.0.178 345 3/29/2025
1.0.177 294 3/29/2025
Loading failed