Black.Beard.ComponentModel.Attributes 1.0.177

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.177
                    
NuGet\Install-Package Black.Beard.ComponentModel.Attributes -Version 1.0.177
                    
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.177" />
                    
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.177" />
                    
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.177
                    
#r "nuget: Black.Beard.ComponentModel.Attributes, 1.0.177"
                    
#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.177
                    
#: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.177
                    
Install as a Cake Addin
#tool nuget:?package=Black.Beard.ComponentModel.Attributes&version=1.0.177
                    
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 380 4/14/2025
1.0.195 251 4/14/2025
1.0.194 247 4/14/2025
1.0.193 240 4/14/2025
1.0.192 246 4/14/2025
1.0.191 249 4/14/2025
1.0.190 212 4/10/2025
1.0.189 217 4/10/2025
1.0.188 216 4/10/2025
1.0.187 158 4/5/2025
1.0.186 218 4/3/2025
1.0.185 232 4/3/2025
1.0.184 221 4/3/2025
1.0.183 226 4/2/2025
1.0.182 211 4/2/2025
1.0.181 206 4/2/2025
1.0.180 217 4/2/2025
1.0.179 266 4/1/2025
1.0.178 187 3/29/2025
1.0.177 160 3/29/2025
1.0.176 516 3/26/2025
1.0.175 513 3/26/2025
1.0.174 523 3/26/2025
1.0.173 521 3/26/2025
1.0.172 227 3/13/2025
1.0.171 220 3/12/2025
1.0.170 226 3/12/2025
1.0.169 235 3/10/2025
1.0.168 238 3/10/2025
1.0.167 233 3/10/2025
1.0.166 238 3/9/2025
1.0.165 332 3/6/2025
1.0.164 265 3/6/2025
1.0.163 275 3/6/2025
1.0.162 175 2/26/2025
1.0.161 161 2/26/2025
1.0.160 164 2/25/2025
1.0.159 149 2/25/2025
1.0.158 159 2/22/2025
1.0.157 164 2/21/2025
1.0.156 170 2/21/2025
1.0.155 167 2/20/2025
1.0.154 152 2/20/2025
1.0.153 160 2/20/2025
1.0.152 168 2/20/2025
1.0.151 161 2/19/2025
1.0.149 165 2/17/2025
1.0.148 169 2/15/2025
1.0.147 175 2/15/2025
1.0.146 296 1/22/2025
1.0.145 164 1/15/2025
1.0.144 145 1/15/2025
1.0.143 138 1/15/2025
1.0.142 130 1/15/2025
1.0.141 141 1/13/2025
1.0.140 137 1/13/2025
1.0.139 154 1/13/2025
1.0.138 157 1/9/2025
1.0.137 149 1/9/2025
1.0.136 164 1/7/2025
1.0.135 166 12/22/2024
1.0.134 156 12/22/2024
1.0.133 157 12/22/2024
1.0.132 160 12/22/2024
1.0.131 193 12/21/2024
1.0.130 156 12/21/2024
1.0.129 164 12/20/2024
1.0.128 156 12/20/2024
1.0.127 158 12/20/2024
1.0.124 229 12/7/2024
1.0.123 285 11/17/2024
1.0.122 174 11/17/2024
1.0.121 174 11/17/2024
1.0.120 178 11/17/2024
1.0.119 180 11/17/2024
1.0.118 181 11/17/2024
1.0.117 472 10/28/2024
1.0.116 261 10/18/2024
1.0.115 152 10/16/2024
1.0.114 186 9/10/2024
1.0.113 199 9/10/2024
1.0.112 194 9/10/2024
1.0.111 198 9/10/2024
1.0.110 187 9/3/2024
1.0.109 187 8/28/2024
1.0.108 190 8/27/2024
1.0.107 206 8/13/2024
1.0.106 176 7/17/2024
1.0.105 179 7/6/2024
1.0.104 182 7/6/2024
1.0.103 188 7/6/2024
1.0.102 176 7/5/2024
1.0.101 190 7/5/2024
1.0.100 190 7/3/2024
1.0.99 188 7/3/2024
1.0.98 203 7/3/2024
1.0.97 178 7/3/2024
1.0.96 196 7/2/2024
1.0.95 228 5/5/2024
1.0.94 219 5/4/2024
1.0.93 168 5/3/2024
1.0.92 186 5/3/2024
1.0.91 326 5/2/2024
1.0.90 194 5/1/2024
1.0.89 213 4/24/2024
1.0.88 195 4/24/2024
1.0.87 202 4/24/2024
1.0.86 230 4/22/2024
1.0.85 200 4/22/2024
1.0.84 200 4/21/2024
1.0.83 203 4/21/2024
1.0.82 195 4/21/2024
1.0.81 193 4/21/2024
1.0.80 204 4/21/2024
1.0.79 202 4/18/2024
1.0.78 181 4/18/2024
1.0.77 200 4/18/2024
1.0.76 188 4/18/2024
1.0.75 197 4/15/2024
1.0.74 210 4/14/2024
1.0.73 202 4/14/2024
1.0.72 201 4/14/2024
1.0.71 192 4/14/2024
1.0.70 214 4/13/2024
1.0.69 191 4/13/2024
1.0.68 207 4/13/2024
1.0.67 186 4/13/2024
1.0.66 188 4/13/2024
1.0.65 204 4/13/2024
1.0.64 204 4/12/2024
1.0.63 189 4/12/2024
1.0.62 191 4/11/2024
1.0.61 196 4/10/2024
1.0.60 207 4/8/2024
1.0.58 292 4/6/2024
1.0.57 1,353 3/9/2024
1.0.56 228 3/5/2024
1.0.55 223 3/5/2024
1.0.54 218 3/4/2024
1.0.53 267 3/4/2024
1.0.52 399 3/3/2024
1.0.51 207 3/3/2024
1.0.50 209 3/3/2024
1.0.49 210 3/2/2024
1.0.48 893 2/4/2024
1.0.47 191 1/27/2024
1.0.46 255 1/6/2024
1.0.45 213 1/6/2024
1.0.44 234 1/6/2024
1.0.43 208 1/6/2024
1.0.41 1,830 6/17/2023
1.0.40 358 6/17/2023
1.0.37 6,714 3/19/2022
1.0.36 4,478 3/15/2022
1.0.35 680 3/6/2022
1.0.34 2,534 2/11/2022
1.0.33 773 2/11/2022
1.0.32 683 2/11/2022
1.0.30 658 2/11/2022
1.0.29 686 2/9/2022
1.0.28 653 2/8/2022
1.0.27 644 2/8/2022
1.0.26 641 2/8/2022
1.0.25 667 2/6/2022
1.0.24 716 2/4/2022
1.0.23 682 2/2/2022
1.0.22 678 2/1/2022
1.0.21 673 1/27/2022
1.0.20 685 1/27/2022
1.0.19 695 1/26/2022
1.0.18 694 1/26/2022
1.0.17 672 1/20/2022
1.0.16 677 1/15/2022
1.0.15 688 1/15/2022
1.0.14 679 1/12/2022
1.0.13 589 1/12/2022
1.0.12 687 1/12/2022
1.0.9 440 1/9/2022
1.0.8 440 1/9/2022
1.0.7 429 1/9/2022
1.0.6 450 1/8/2022
1.0.5 12,583 12/19/2021
1.0.4 461 12/19/2021
1.0.3 502 12/19/2021