PSC.Blazor.Components.Common 6.0.4

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

// Install PSC.Blazor.Components.Common as a Cake Tool
#tool nuget:?package=PSC.Blazor.Components.Common&version=6.0.4

Common functions for Blazor components

This library contains some useful classes for other Blazor components

ClassBuilder

Generates a CSS class based on the requirements

protected string GetModalCss() => new ClassBuilder()
        .Add("modal-dialog")
        .AddIf("modal-sm", ModalModel.Options.Size == ModalSize.Small)
        .ToString();

Functions

  • Add
  • AddIf
  • AddCompare (+2)
  • Remove
  • RemoveAll
  • ToString

RenderComponent

This function helps to add Razor component in other Razor components.

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 (4)

Showing the top 4 NuGet packages that depend on PSC.Blazor.Components.Common:

Package Downloads
PSC.Blazor.Components.MarkdownEditor

Another Markdown editor for Blazor

PSC.Blazor.Components.Icons

SVG Icon for Blazor

PSC.Blazor.Components.Modals

Modal popup windows for Blazor

PSC.Blazor.Components.Toast

Toast notification for Blazor

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.4 63,300 12/1/2021
6.0.3 722 12/1/2021
6.0.2 738 12/1/2021