Black.Beard.ComponentModel.Attributes 1.0.74

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.74
                    
NuGet\Install-Package Black.Beard.ComponentModel.Attributes -Version 1.0.74
                    
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.74" />
                    
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.74" />
                    
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.74
                    
#r "nuget: Black.Beard.ComponentModel.Attributes, 1.0.74"
                    
#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.74
                    
#: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.74
                    
Install as a Cake Addin
#tool nuget:?package=Black.Beard.ComponentModel.Attributes&version=1.0.74
                    
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 513 4/14/2025
1.0.195 288 4/14/2025
1.0.194 292 4/14/2025
1.0.193 277 4/14/2025
1.0.192 289 4/14/2025
1.0.191 289 4/14/2025
1.0.190 251 4/10/2025
1.0.189 254 4/10/2025
1.0.188 252 4/10/2025
1.0.187 188 4/5/2025
1.0.186 252 4/3/2025
1.0.185 268 4/3/2025
1.0.184 262 4/3/2025
1.0.183 268 4/2/2025
1.0.182 254 4/2/2025
1.0.181 244 4/2/2025
1.0.180 246 4/2/2025
1.0.179 339 4/1/2025
1.0.178 249 3/29/2025
1.0.177 191 3/29/2025
1.0.176 547 3/26/2025
1.0.175 556 3/26/2025
1.0.174 564 3/26/2025
1.0.173 564 3/26/2025
1.0.172 292 3/13/2025
1.0.171 254 3/12/2025
1.0.170 268 3/12/2025
1.0.169 282 3/10/2025
1.0.168 277 3/10/2025
1.0.167 280 3/10/2025
1.0.166 282 3/9/2025
1.0.165 369 3/6/2025
1.0.164 296 3/6/2025
1.0.163 312 3/6/2025
1.0.162 217 2/26/2025
1.0.161 198 2/26/2025
1.0.160 207 2/25/2025
1.0.159 191 2/25/2025
1.0.158 191 2/22/2025
1.0.157 206 2/21/2025
1.0.156 202 2/21/2025
1.0.155 204 2/20/2025
1.0.154 195 2/20/2025
1.0.153 191 2/20/2025
1.0.152 207 2/20/2025
1.0.151 196 2/19/2025
1.0.149 207 2/17/2025
1.0.148 212 2/15/2025
1.0.147 203 2/15/2025
1.0.146 426 1/22/2025
1.0.145 207 1/15/2025
1.0.144 188 1/15/2025
1.0.143 189 1/15/2025
1.0.142 163 1/15/2025
1.0.141 182 1/13/2025
1.0.140 178 1/13/2025
1.0.139 200 1/13/2025
1.0.138 190 1/9/2025
1.0.137 189 1/9/2025
1.0.136 201 1/7/2025
1.0.135 210 12/22/2024
1.0.134 198 12/22/2024
1.0.133 200 12/22/2024
1.0.132 202 12/22/2024
1.0.131 241 12/21/2024
1.0.130 193 12/21/2024
1.0.129 205 12/20/2024
1.0.128 194 12/20/2024
1.0.127 195 12/20/2024
1.0.124 292 12/7/2024
1.0.123 389 11/17/2024
1.0.122 224 11/17/2024
1.0.121 226 11/17/2024
1.0.120 228 11/17/2024
1.0.119 236 11/17/2024
1.0.118 234 11/17/2024
1.0.117 682 10/28/2024
1.0.116 315 10/18/2024
1.0.115 189 10/16/2024
1.0.114 227 9/10/2024
1.0.113 240 9/10/2024
1.0.112 236 9/10/2024
1.0.111 240 9/10/2024
1.0.110 225 9/3/2024
1.0.109 227 8/28/2024
1.0.108 231 8/27/2024
1.0.107 248 8/13/2024
1.0.106 222 7/17/2024
1.0.105 218 7/6/2024
1.0.104 224 7/6/2024
1.0.103 226 7/6/2024
1.0.102 218 7/5/2024
1.0.101 234 7/5/2024
1.0.100 232 7/3/2024
1.0.99 230 7/3/2024
1.0.98 240 7/3/2024
1.0.97 220 7/3/2024
1.0.96 241 7/2/2024
1.0.95 283 5/5/2024
1.0.94 265 5/4/2024
1.0.93 213 5/3/2024
1.0.92 241 5/3/2024
1.0.91 444 5/2/2024
1.0.90 230 5/1/2024
1.0.89 259 4/24/2024
1.0.88 245 4/24/2024
1.0.87 239 4/24/2024
1.0.86 291 4/22/2024
1.0.85 243 4/22/2024
1.0.84 243 4/21/2024
1.0.83 245 4/21/2024
1.0.82 238 4/21/2024
1.0.81 226 4/21/2024
1.0.80 243 4/21/2024
1.0.79 245 4/18/2024
1.0.78 221 4/18/2024
1.0.77 252 4/18/2024
1.0.76 224 4/18/2024
1.0.75 239 4/15/2024
1.0.74 257 4/14/2024
1.0.73 255 4/14/2024
1.0.72 243 4/14/2024
1.0.71 230 4/14/2024
1.0.70 265 4/13/2024
1.0.69 233 4/13/2024
1.0.68 251 4/13/2024
1.0.67 227 4/13/2024
1.0.66 227 4/13/2024
1.0.65 246 4/13/2024
1.0.64 255 4/12/2024
1.0.63 230 4/12/2024
1.0.62 224 4/11/2024
1.0.61 241 4/10/2024
1.0.60 251 4/8/2024
1.0.58 376 4/6/2024
1.0.57 2,061 3/9/2024
1.0.56 269 3/5/2024
1.0.55 288 3/5/2024
1.0.54 258 3/4/2024
1.0.53 340 3/4/2024
1.0.52 532 3/3/2024
1.0.51 238 3/3/2024
1.0.50 252 3/3/2024
1.0.49 255 3/2/2024
1.0.48 1,304 2/4/2024
1.0.47 234 1/27/2024
1.0.46 287 1/6/2024
1.0.45 248 1/6/2024
1.0.44 279 1/6/2024
1.0.43 241 1/6/2024
1.0.41 2,546 6/17/2023
1.0.40 425 6/17/2023
1.0.37 7,449 3/19/2022
1.0.36 4,839 3/15/2022
1.0.35 732 3/6/2022
1.0.34 2,737 2/11/2022
1.0.33 829 2/11/2022
1.0.32 735 2/11/2022
1.0.30 702 2/11/2022
1.0.29 720 2/9/2022
1.0.28 699 2/8/2022
1.0.27 691 2/8/2022
1.0.26 685 2/8/2022
1.0.25 720 2/6/2022
1.0.24 769 2/4/2022
1.0.23 727 2/2/2022
1.0.22 716 2/1/2022
1.0.21 726 1/27/2022
1.0.20 735 1/27/2022
1.0.19 741 1/26/2022
1.0.18 743 1/26/2022
1.0.17 724 1/20/2022
1.0.16 720 1/15/2022
1.0.15 739 1/15/2022
1.0.14 729 1/12/2022
1.0.13 645 1/12/2022
1.0.12 733 1/12/2022
1.0.9 475 1/9/2022
1.0.8 492 1/9/2022
1.0.7 479 1/9/2022
1.0.6 493 1/8/2022
1.0.5 13,798 12/19/2021
1.0.4 509 12/19/2021
1.0.3 553 12/19/2021