Black.Beard.ComponentModel.Attributes 1.0.87

There is a newer version of this package available.
See the version list below for details.
dotnet add package Black.Beard.ComponentModel.Attributes --version 1.0.87
                    
NuGet\Install-Package Black.Beard.ComponentModel.Attributes -Version 1.0.87
                    
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.87" />
                    
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.87" />
                    
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.87
                    
#r "nuget: Black.Beard.ComponentModel.Attributes, 1.0.87"
                    
#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.87
                    
#: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.87
                    
Install as a Cake Addin
#tool nuget:?package=Black.Beard.ComponentModel.Attributes&version=1.0.87
                    
Install as a Cake Tool

Black.Beard.ComponentModel

Build status

PropertyDescriptors

Method helper for resolve types and methods.

PropertyDescriptor.md

Auto discovering

Method helper for resolve types and methods.

Exposing class for auto discovering.md

factory for create fast activator & fast method calling

Factory.md

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 Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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.
  • 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.Configurations.ConfigurationProvider.SqlServer

Package Description

Black.Beard.Web.Server

Provide a service base for just concentrate your services

Black.Beard.Sql

Package Description

Black.Beard.Configurations

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.196 528 4/14/2025
1.0.195 299 4/14/2025
1.0.194 303 4/14/2025
1.0.193 288 4/14/2025
1.0.192 302 4/14/2025
1.0.191 300 4/14/2025
1.0.190 263 4/10/2025
1.0.189 268 4/10/2025
1.0.188 264 4/10/2025
1.0.187 199 4/5/2025
1.0.186 263 4/3/2025
1.0.185 280 4/3/2025
1.0.184 275 4/3/2025
1.0.183 278 4/2/2025
1.0.182 267 4/2/2025
1.0.181 256 4/2/2025
1.0.180 257 4/2/2025
1.0.179 352 4/1/2025
1.0.178 261 3/29/2025
1.0.177 201 3/29/2025
1.0.176 557 3/26/2025
1.0.175 568 3/26/2025
1.0.174 576 3/26/2025
1.0.173 576 3/26/2025
1.0.172 305 3/13/2025
1.0.171 263 3/12/2025
1.0.170 283 3/12/2025
1.0.169 295 3/10/2025
1.0.168 289 3/10/2025
1.0.167 290 3/10/2025
1.0.166 291 3/9/2025
1.0.165 381 3/6/2025
1.0.164 307 3/6/2025
1.0.163 325 3/6/2025
1.0.162 227 2/26/2025
1.0.161 211 2/26/2025
1.0.160 217 2/25/2025
1.0.159 200 2/25/2025
1.0.158 204 2/22/2025
1.0.157 218 2/21/2025
1.0.156 213 2/21/2025
1.0.155 218 2/20/2025
1.0.154 205 2/20/2025
1.0.153 207 2/20/2025
1.0.152 218 2/20/2025
1.0.151 207 2/19/2025
1.0.149 218 2/17/2025
1.0.148 224 2/15/2025
1.0.147 213 2/15/2025
1.0.146 437 1/22/2025
1.0.145 217 1/15/2025
1.0.144 198 1/15/2025
1.0.143 198 1/15/2025
1.0.142 175 1/15/2025
1.0.141 193 1/13/2025
1.0.140 190 1/13/2025
1.0.139 212 1/13/2025
1.0.138 203 1/9/2025
1.0.137 201 1/9/2025
1.0.136 212 1/7/2025
1.0.135 221 12/22/2024
1.0.134 212 12/22/2024
1.0.133 211 12/22/2024
1.0.132 215 12/22/2024
1.0.131 253 12/21/2024
1.0.130 205 12/21/2024
1.0.129 218 12/20/2024
1.0.128 207 12/20/2024
1.0.127 209 12/20/2024
1.0.124 306 12/7/2024
1.0.123 398 11/17/2024
1.0.122 234 11/17/2024
1.0.121 239 11/17/2024
1.0.120 239 11/17/2024
1.0.119 246 11/17/2024
1.0.118 244 11/17/2024
1.0.117 693 10/28/2024
1.0.116 330 10/18/2024
1.0.115 201 10/16/2024
1.0.114 243 9/10/2024
1.0.113 252 9/10/2024
1.0.112 247 9/10/2024
1.0.111 254 9/10/2024
1.0.110 236 9/3/2024
1.0.109 240 8/28/2024
1.0.108 244 8/27/2024
1.0.107 259 8/13/2024
1.0.106 234 7/17/2024
1.0.105 231 7/6/2024
1.0.104 236 7/6/2024
1.0.103 238 7/6/2024
1.0.102 228 7/5/2024
1.0.101 244 7/5/2024
1.0.100 242 7/3/2024
1.0.99 244 7/3/2024
1.0.98 252 7/3/2024
1.0.97 233 7/3/2024
1.0.96 252 7/2/2024
1.0.95 295 5/5/2024
1.0.94 275 5/4/2024
1.0.93 222 5/3/2024
1.0.92 252 5/3/2024
1.0.91 457 5/2/2024
1.0.90 242 5/1/2024
1.0.89 271 4/24/2024
1.0.88 259 4/24/2024
1.0.87 252 4/24/2024
1.0.86 304 4/22/2024
1.0.85 255 4/22/2024
1.0.84 257 4/21/2024
1.0.83 256 4/21/2024
1.0.82 251 4/21/2024
1.0.81 240 4/21/2024
1.0.80 257 4/21/2024
1.0.79 256 4/18/2024
1.0.78 231 4/18/2024
1.0.77 264 4/18/2024
1.0.76 237 4/18/2024
1.0.75 250 4/15/2024
1.0.74 270 4/14/2024
1.0.73 265 4/14/2024
1.0.72 255 4/14/2024
1.0.71 242 4/14/2024
1.0.70 278 4/13/2024
1.0.69 243 4/13/2024
1.0.68 261 4/13/2024
1.0.67 237 4/13/2024
1.0.66 238 4/13/2024
1.0.65 256 4/13/2024
1.0.64 267 4/12/2024
1.0.63 240 4/12/2024
1.0.62 237 4/11/2024
1.0.61 252 4/10/2024
1.0.60 262 4/8/2024
1.0.58 392 4/6/2024
1.0.57 2,076 3/9/2024
1.0.56 281 3/5/2024
1.0.55 302 3/5/2024
1.0.54 271 3/4/2024
1.0.53 354 3/4/2024
1.0.52 545 3/3/2024
1.0.51 249 3/3/2024
1.0.50 263 3/3/2024
1.0.49 267 3/2/2024
1.0.48 1,316 2/4/2024
1.0.47 245 1/27/2024
1.0.46 299 1/6/2024
1.0.45 260 1/6/2024
1.0.44 292 1/6/2024
1.0.43 254 1/6/2024
1.0.41 2,548 6/17/2023
1.0.40 431 6/17/2023
1.0.37 7,460 3/19/2022
1.0.36 4,848 3/15/2022
1.0.35 742 3/6/2022
1.0.34 2,752 2/11/2022
1.0.33 838 2/11/2022
1.0.32 749 2/11/2022
1.0.30 714 2/11/2022
1.0.29 730 2/9/2022
1.0.28 709 2/8/2022
1.0.27 703 2/8/2022
1.0.26 694 2/8/2022
1.0.25 729 2/6/2022
1.0.24 782 2/4/2022
1.0.23 738 2/2/2022
1.0.22 728 2/1/2022
1.0.21 739 1/27/2022
1.0.20 745 1/27/2022
1.0.19 752 1/26/2022
1.0.18 756 1/26/2022
1.0.17 735 1/20/2022
1.0.16 734 1/15/2022
1.0.15 750 1/15/2022
1.0.14 740 1/12/2022
1.0.13 657 1/12/2022
1.0.12 743 1/12/2022
1.0.9 490 1/9/2022
1.0.8 502 1/9/2022
1.0.7 493 1/9/2022
1.0.6 504 1/8/2022
1.0.5 13,874 12/19/2021
1.0.4 520 12/19/2021
1.0.3 563 12/19/2021