Black.Beard.ComponentModel 1.0.196

dotnet add package Black.Beard.ComponentModel --version 1.0.196
                    
NuGet\Install-Package Black.Beard.ComponentModel -Version 1.0.196
                    
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.196" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Black.Beard.ComponentModel" Version="1.0.196" />
                    
Directory.Packages.props
<PackageReference Include="Black.Beard.ComponentModel" />
                    
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 --version 1.0.196
                    
#r "nuget: Black.Beard.ComponentModel, 1.0.196"
                    
#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@1.0.196
                    
#: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&version=1.0.196
                    
Install as a Cake Addin
#tool nuget:?package=Black.Beard.ComponentModel&version=1.0.196
                    
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 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.  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.

NuGet packages (5)

Showing the top 5 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.Analysis

Helper for manage code analysis.

Black.Beard.Web.Server

Provide a service base for just concentrate your services

Black.Beard.Policies

The Black.Beard.Policies library is designed to help developers manage and evaluate authorization policies in .NET applications. It provides a flexible syntax for defining rules based on user claims, roles, and other contextual data. With this library, you can easily create, organize, and enforce complex access control policies, making it suitable for scenarios where fine-grained security and dynamic rule evaluation are required. It also integrates with web applications and supports external identity providers like Keycloak for authentication testing.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.196 546 4/14/2025
1.0.195 327 4/14/2025
1.0.194 314 4/14/2025
1.0.193 315 4/14/2025
1.0.192 332 4/14/2025
1.0.191 326 4/14/2025
1.0.190 293 4/10/2025
1.0.189 301 4/10/2025
1.0.188 289 4/10/2025
1.0.187 233 4/5/2025
1.0.186 310 4/3/2025
1.0.185 302 4/3/2025
1.0.184 311 4/3/2025
1.0.183 281 4/2/2025
1.0.182 320 4/2/2025
1.0.181 293 4/2/2025
1.0.180 295 4/2/2025
1.0.179 382 4/1/2025
1.0.178 278 3/29/2025
1.0.177 220 3/29/2025
Loading failed