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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
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.