Black.Beard.ComponentModel 1.0.118

There is a newer version of this package available.
See the version list below for details.
dotnet add package Black.Beard.ComponentModel --version 1.0.118                
NuGet\Install-Package Black.Beard.ComponentModel -Version 1.0.118                
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" Version="1.0.118" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Black.Beard.ComponentModel --version 1.0.118                
#r "nuget: Black.Beard.ComponentModel, 1.0.118"                
#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 as a Cake Addin
#addin nuget:?package=Black.Beard.ComponentModel&version=1.0.118

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

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 net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Black.Beard.ComponentModel:

Package Downloads
Black.Beard.Jslt

Implementation of jslt language in DOTNET. Use a template for transform Json document to another json document.

Black.Beard.Roslyn

Helper for compile Csharp at runtime

Black.Beard.Web.Server

Provide a service base for just concentrate your services

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.135 72 12/22/2024
1.0.134 62 12/22/2024
1.0.133 69 12/22/2024
1.0.132 70 12/22/2024
1.0.131 88 12/21/2024
1.0.130 68 12/21/2024
1.0.129 82 12/20/2024
1.0.128 78 12/20/2024
1.0.127 71 12/20/2024
1.0.124 138 12/7/2024
1.0.123 219 11/17/2024
1.0.122 93 11/17/2024
1.0.121 97 11/17/2024
1.0.120 98 11/17/2024
1.0.119 103 11/17/2024
1.0.118 99 11/17/2024
1.0.117 401 10/28/2024
1.0.116 191 10/18/2024
1.0.115 88 10/16/2024
1.0.114 120 9/10/2024
1.0.113 108 9/10/2024
1.0.112 106 9/10/2024
1.0.111 101 9/10/2024
1.0.110 111 9/3/2024
1.0.109 116 8/28/2024
1.0.108 109 8/27/2024
1.0.107 127 8/13/2024
1.0.106 114 7/17/2024
1.0.105 98 7/6/2024
1.0.104 97 7/6/2024
1.0.103 108 7/6/2024
1.0.102 94 7/5/2024
1.0.101 108 7/5/2024
1.0.100 113 7/3/2024
1.0.99 101 7/3/2024
1.0.98 102 7/3/2024
1.0.97 87 7/3/2024
1.0.96 116 7/2/2024
1.0.95 142 5/5/2024
1.0.94 146 5/4/2024
1.0.93 89 5/3/2024
1.0.92 106 5/3/2024
1.0.91 275 5/2/2024
1.0.90 110 5/1/2024
1.0.89 142 4/24/2024
1.0.88 137 4/24/2024
1.0.87 123 4/24/2024
1.0.86 158 4/22/2024
1.0.85 138 4/22/2024
1.0.84 120 4/21/2024
1.0.83 108 4/21/2024
1.0.82 121 4/21/2024
1.0.81 120 4/21/2024
1.0.80 118 4/21/2024
1.0.79 119 4/18/2024
1.0.78 113 4/18/2024
1.0.77 123 4/18/2024
1.0.76 123 4/18/2024
1.0.75 125 4/15/2024
1.0.74 151 4/14/2024
1.0.73 128 4/14/2024
1.0.72 118 4/14/2024
1.0.71 124 4/14/2024
1.0.70 152 4/13/2024
1.0.69 123 4/13/2024
1.0.68 129 4/13/2024
1.0.67 124 4/13/2024
1.0.66 121 4/13/2024
1.0.65 125 4/13/2024
1.0.64 125 4/12/2024
1.0.63 124 4/12/2024
1.0.62 118 4/11/2024
1.0.61 121 4/10/2024
1.0.60 131 4/8/2024
1.0.58 252 4/6/2024
1.0.57 1,338 3/9/2024
1.0.56 130 3/5/2024
1.0.55 150 3/5/2024
1.0.54 150 3/4/2024
1.0.53 193 3/4/2024
1.0.52 354 3/3/2024
1.0.51 133 3/3/2024
1.0.50 124 3/3/2024
1.0.49 120 3/2/2024
1.0.48 883 2/4/2024
1.0.47 120 1/27/2024
1.0.46 176 1/6/2024
1.0.45 142 1/6/2024
1.0.44 156 1/6/2024
1.0.41 1,741 6/17/2023
1.0.40 286 6/17/2023
1.0.37 6,482 3/19/2022
1.0.36 4,269 3/15/2022
1.0.35 473 3/6/2022
1.0.34 455 2/11/2022
1.0.33 438 2/11/2022
1.0.32 438 2/11/2022
1.0.30 446 2/11/2022
1.0.29 478 2/9/2022
1.0.28 439 2/8/2022
1.0.27 440 2/8/2022
1.0.26 443 2/8/2022
1.0.25 447 2/6/2022
1.0.24 510 2/4/2022
1.0.23 486 2/2/2022
1.0.22 458 2/1/2022
1.0.21 454 1/27/2022
1.0.20 466 1/27/2022
1.0.19 466 1/26/2022
1.0.18 469 1/26/2022
1.0.17 464 1/20/2022
1.0.16 452 1/15/2022
1.0.15 468 1/15/2022
1.0.14 460 1/12/2022
1.0.13 320 1/12/2022
1.0.12 468 1/12/2022
1.0.9 305 1/9/2022
1.0.8 311 1/9/2022
1.0.7 279 1/9/2022
1.0.6 298 1/8/2022
1.0.5 11,638 12/19/2021
1.0.4 324 12/19/2021
1.0.3 343 12/19/2021