Black.Beard.ComponentModel.Attributes 1.0.161

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.161                
NuGet\Install-Package Black.Beard.ComponentModel.Attributes -Version 1.0.161                
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.161" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Black.Beard.ComponentModel.Attributes --version 1.0.161                
#r "nuget: Black.Beard.ComponentModel.Attributes, 1.0.161"                
#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.
// Install Black.Beard.ComponentModel.Attributes as a Cake Addin
#addin nuget:?package=Black.Beard.ComponentModel.Attributes&version=1.0.161

// Install Black.Beard.ComponentModel.Attributes as a Cake Tool
#tool nuget:?package=Black.Beard.ComponentModel.Attributes&version=1.0.161                

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. 
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.171 43 20 hours ago
1.0.170 45 a day ago
1.0.169 71 2 days ago
1.0.168 71 3 days ago
1.0.167 76 3 days ago
1.0.166 77 4 days ago
1.0.165 194 7 days ago
1.0.164 179 7 days ago
1.0.163 186 7 days ago
1.0.162 108 14 days ago
1.0.161 92 15 days ago
1.0.160 101 16 days ago
1.0.159 87 16 days ago
1.0.158 96 19 days ago
1.0.157 100 19 days ago
1.0.156 102 20 days ago
1.0.155 101 20 days ago
1.0.154 86 20 days ago
1.0.153 97 21 days ago
1.0.152 102 21 days ago
1.0.151 98 22 days ago
1.0.149 103 24 days ago
1.0.148 107 25 days ago
1.0.147 109 a month ago
1.0.146 139 2 months ago
1.0.145 103 2 months ago
1.0.144 87 2 months ago
1.0.143 81 2 months ago
1.0.142 72 2 months ago
1.0.141 81 2 months ago
1.0.140 77 2 months ago
1.0.139 84 2 months ago
1.0.138 96 2 months ago
1.0.137 92 2 months ago
1.0.136 101 2 months ago
1.0.135 106 3 months ago
1.0.134 97 3 months ago
1.0.133 97 3 months ago
1.0.132 99 3 months ago
1.0.131 135 3 months ago
1.0.130 96 3 months ago
1.0.129 104 3 months ago
1.0.128 98 3 months ago
1.0.127 99 3 months ago
1.0.124 164 3 months ago
1.0.123 231 4 months ago
1.0.122 117 4 months ago
1.0.121 120 4 months ago
1.0.120 119 4 months ago
1.0.119 123 4 months ago
1.0.118 121 4 months ago
1.0.117 414 4 months ago
1.0.116 206 5 months ago
1.0.115 98 5 months ago
1.0.114 134 6 months ago
1.0.113 143 6 months ago
1.0.112 137 6 months ago
1.0.111 138 6 months ago
1.0.110 133 6 months ago
1.0.109 129 6 months ago
1.0.108 137 6 months ago
1.0.107 144 7 months ago
1.0.106 119 8 months ago
1.0.105 123 8 months ago
1.0.104 123 8 months ago
1.0.103 130 8 months ago
1.0.102 121 8 months ago
1.0.101 133 8 months ago
1.0.100 133 8 months ago
1.0.99 126 8 months ago
1.0.98 143 8 months ago
1.0.97 122 8 months ago
1.0.96 141 8 months ago
1.0.95 170 5/5/2024
1.0.94 160 5/4/2024
1.0.93 115 5/3/2024
1.0.92 129 5/3/2024
1.0.91 271 5/2/2024
1.0.90 137 5/1/2024
1.0.89 157 4/24/2024
1.0.88 141 4/24/2024
1.0.87 147 4/24/2024
1.0.86 176 4/22/2024
1.0.85 143 4/22/2024
1.0.84 144 4/21/2024
1.0.83 150 4/21/2024
1.0.82 138 4/21/2024
1.0.81 139 4/21/2024
1.0.80 148 4/21/2024
1.0.79 146 4/18/2024
1.0.78 126 4/18/2024
1.0.77 143 4/18/2024
1.0.76 132 4/18/2024
1.0.75 140 4/15/2024
1.0.74 156 4/14/2024
1.0.73 147 4/14/2024
1.0.72 148 4/14/2024
1.0.71 136 4/14/2024
1.0.70 157 4/13/2024
1.0.69 134 4/13/2024
1.0.68 154 4/13/2024
1.0.67 132 4/13/2024
1.0.66 135 4/13/2024
1.0.65 152 4/13/2024
1.0.64 147 4/12/2024
1.0.63 133 4/12/2024
1.0.62 136 4/11/2024
1.0.61 138 4/10/2024
1.0.60 154 4/8/2024
1.0.58 234 4/6/2024
1.0.57 1,299 3/9/2024
1.0.56 173 3/5/2024
1.0.55 172 3/5/2024
1.0.54 159 3/4/2024
1.0.53 212 3/4/2024
1.0.52 343 3/3/2024
1.0.51 151 3/3/2024
1.0.50 153 3/3/2024
1.0.49 153 3/2/2024
1.0.48 839 2/4/2024
1.0.47 137 1/27/2024
1.0.46 198 1/6/2024
1.0.45 156 1/6/2024
1.0.44 177 1/6/2024
1.0.43 154 1/6/2024
1.0.41 1,778 6/17/2023
1.0.40 299 6/17/2023
1.0.37 6,647 3/19/2022
1.0.36 4,412 3/15/2022
1.0.35 612 3/6/2022
1.0.34 2,453 2/11/2022
1.0.33 701 2/11/2022
1.0.32 613 2/11/2022
1.0.30 591 2/11/2022
1.0.29 617 2/9/2022
1.0.28 582 2/8/2022
1.0.27 576 2/8/2022
1.0.26 571 2/8/2022
1.0.25 593 2/6/2022
1.0.24 648 2/4/2022
1.0.23 613 2/2/2022
1.0.22 605 2/1/2022
1.0.21 606 1/27/2022
1.0.20 612 1/27/2022
1.0.19 623 1/26/2022
1.0.18 619 1/26/2022
1.0.17 603 1/20/2022
1.0.16 605 1/15/2022
1.0.15 614 1/15/2022
1.0.14 612 1/12/2022
1.0.13 519 1/12/2022
1.0.12 619 1/12/2022
1.0.9 370 1/9/2022
1.0.8 369 1/9/2022
1.0.7 354 1/9/2022
1.0.6 375 1/8/2022
1.0.5 11,958 12/19/2021
1.0.4 390 12/19/2021
1.0.3 430 12/19/2021