Black.Beard.ComponentModel.Attributes 1.0.175

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.175
                    
NuGet\Install-Package Black.Beard.ComponentModel.Attributes -Version 1.0.175
                    
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.175" />
                    
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.175" />
                    
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.175
                    
#r "nuget: Black.Beard.ComponentModel.Attributes, 1.0.175"
                    
#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.175
                    
#: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.175
                    
Install as a Cake Addin
#tool nuget:?package=Black.Beard.ComponentModel.Attributes&version=1.0.175
                    
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 337 4/14/2025
1.0.195 228 4/14/2025
1.0.194 225 4/14/2025
1.0.193 218 4/14/2025
1.0.192 222 4/14/2025
1.0.191 226 4/14/2025
1.0.190 190 4/10/2025
1.0.189 193 4/10/2025
1.0.188 193 4/10/2025
1.0.187 135 4/5/2025
1.0.186 193 4/3/2025
1.0.185 209 4/3/2025
1.0.184 196 4/3/2025
1.0.183 204 4/2/2025
1.0.182 188 4/2/2025
1.0.181 182 4/2/2025
1.0.180 194 4/2/2025
1.0.179 244 4/1/2025
1.0.178 165 3/29/2025
1.0.177 137 3/29/2025
1.0.176 494 3/26/2025
1.0.175 490 3/26/2025
1.0.174 500 3/26/2025
1.0.173 498 3/26/2025
1.0.172 204 3/13/2025
1.0.171 197 3/12/2025
1.0.170 204 3/12/2025
1.0.169 212 3/10/2025
1.0.168 216 3/10/2025
1.0.167 209 3/10/2025
1.0.166 214 3/9/2025
1.0.165 293 3/6/2025
1.0.164 243 3/6/2025
1.0.163 252 3/6/2025
1.0.162 151 2/26/2025
1.0.161 138 2/26/2025
1.0.160 143 2/25/2025
1.0.159 127 2/25/2025
1.0.158 137 2/22/2025
1.0.157 141 2/21/2025
1.0.156 149 2/21/2025
1.0.155 145 2/20/2025
1.0.154 128 2/20/2025
1.0.153 139 2/20/2025
1.0.152 145 2/20/2025
1.0.151 138 2/19/2025
1.0.149 143 2/17/2025
1.0.148 147 2/15/2025
1.0.147 154 2/15/2025
1.0.146 273 1/22/2025
1.0.145 142 1/15/2025
1.0.144 123 1/15/2025
1.0.143 116 1/15/2025
1.0.142 108 1/15/2025
1.0.141 119 1/13/2025
1.0.140 115 1/13/2025
1.0.139 129 1/13/2025
1.0.138 134 1/9/2025
1.0.137 127 1/9/2025
1.0.136 142 1/7/2025
1.0.135 144 12/22/2024
1.0.134 135 12/22/2024
1.0.133 135 12/22/2024
1.0.132 137 12/22/2024
1.0.131 171 12/21/2024
1.0.130 133 12/21/2024
1.0.129 143 12/20/2024
1.0.128 135 12/20/2024
1.0.127 135 12/20/2024
1.0.124 206 12/7/2024
1.0.123 263 11/17/2024
1.0.122 151 11/17/2024
1.0.121 152 11/17/2024
1.0.120 154 11/17/2024
1.0.119 159 11/17/2024
1.0.118 158 11/17/2024
1.0.117 449 10/28/2024
1.0.116 239 10/18/2024
1.0.115 131 10/16/2024
1.0.114 165 9/10/2024
1.0.113 174 9/10/2024
1.0.112 170 9/10/2024
1.0.111 172 9/10/2024
1.0.110 165 9/3/2024
1.0.109 164 8/28/2024
1.0.108 167 8/27/2024
1.0.107 184 8/13/2024
1.0.106 153 7/17/2024
1.0.105 157 7/6/2024
1.0.104 159 7/6/2024
1.0.103 166 7/6/2024
1.0.102 155 7/5/2024
1.0.101 167 7/5/2024
1.0.100 167 7/3/2024
1.0.99 166 7/3/2024
1.0.98 180 7/3/2024
1.0.97 156 7/3/2024
1.0.96 174 7/2/2024
1.0.95 203 5/5/2024
1.0.94 196 5/4/2024
1.0.93 145 5/3/2024
1.0.92 163 5/3/2024
1.0.91 303 5/2/2024
1.0.90 171 5/1/2024
1.0.89 189 4/24/2024
1.0.88 172 4/24/2024
1.0.87 180 4/24/2024
1.0.86 207 4/22/2024
1.0.85 176 4/22/2024
1.0.84 178 4/21/2024
1.0.83 181 4/21/2024
1.0.82 173 4/21/2024
1.0.81 171 4/21/2024
1.0.80 182 4/21/2024
1.0.79 180 4/18/2024
1.0.78 158 4/18/2024
1.0.77 176 4/18/2024
1.0.76 165 4/18/2024
1.0.75 175 4/15/2024
1.0.74 188 4/14/2024
1.0.73 181 4/14/2024
1.0.72 177 4/14/2024
1.0.71 171 4/14/2024
1.0.70 191 4/13/2024
1.0.69 168 4/13/2024
1.0.68 185 4/13/2024
1.0.67 164 4/13/2024
1.0.66 165 4/13/2024
1.0.65 182 4/13/2024
1.0.64 181 4/12/2024
1.0.63 164 4/12/2024
1.0.62 167 4/11/2024
1.0.61 172 4/10/2024
1.0.60 184 4/8/2024
1.0.58 270 4/6/2024
1.0.57 1,330 3/9/2024
1.0.56 206 3/5/2024
1.0.55 203 3/5/2024
1.0.54 193 3/4/2024
1.0.53 242 3/4/2024
1.0.52 375 3/3/2024
1.0.51 183 3/3/2024
1.0.50 186 3/3/2024
1.0.49 186 3/2/2024
1.0.48 871 2/4/2024
1.0.47 170 1/27/2024
1.0.46 233 1/6/2024
1.0.45 190 1/6/2024
1.0.44 211 1/6/2024
1.0.43 186 1/6/2024
1.0.41 1,805 6/17/2023
1.0.40 335 6/17/2023
1.0.37 6,688 3/19/2022
1.0.36 4,451 3/15/2022
1.0.35 652 3/6/2022
1.0.34 2,503 2/11/2022
1.0.33 745 2/11/2022
1.0.32 656 2/11/2022
1.0.30 631 2/11/2022
1.0.29 659 2/9/2022
1.0.28 625 2/8/2022
1.0.27 617 2/8/2022
1.0.26 612 2/8/2022
1.0.25 637 2/6/2022
1.0.24 689 2/4/2022
1.0.23 655 2/2/2022
1.0.22 649 2/1/2022
1.0.21 647 1/27/2022
1.0.20 657 1/27/2022
1.0.19 666 1/26/2022
1.0.18 665 1/26/2022
1.0.17 644 1/20/2022
1.0.16 649 1/15/2022
1.0.15 659 1/15/2022
1.0.14 652 1/12/2022
1.0.13 561 1/12/2022
1.0.12 658 1/12/2022
1.0.9 413 1/9/2022
1.0.8 413 1/9/2022
1.0.7 401 1/9/2022
1.0.6 421 1/8/2022
1.0.5 12,433 12/19/2021
1.0.4 433 12/19/2021
1.0.3 474 12/19/2021