AssistantFramework.Constants
1.0.0
See the version list below for details.
dotnet add package AssistantFramework.Constants --version 1.0.0
NuGet\Install-Package AssistantFramework.Constants -Version 1.0.0
<PackageReference Include="AssistantFramework.Constants" Version="1.0.0" />
paket add AssistantFramework.Constants --version 1.0.0
#r "nuget: AssistantFramework.Constants, 1.0.0"
// Install AssistantFramework.Constants as a Cake Addin #addin nuget:?package=AssistantFramework.Constants&version=1.0.0 // Install AssistantFramework.Constants as a Cake Tool #tool nuget:?package=AssistantFramework.Constants&version=1.0.0
Assistant Framework Constants
Description
This project contains categorized constant values that can be used frequently for your applications.
Goal
It provides better integrity of the application by reducing errors. The use of constants also improves performance over regular variables. It improves the readability of the code and provides better maintainability because it is easier to update the constant in one place before recompiling the software
Dependencies
- This project has been developing in NET 6
Getting Started
This project is divided into the following categories.
AppSettingConstants
CacheConstants
ContentTypeConstants
ExceptionConstants
ExtensionConstants
PunctuationCharConstants
PunctuationStringConstants
RegularExpressionConstants
SortingConstants
WebConstants
How to use:
@using AssistantFramework.Constants
CacheConstants.Key
PunctuationCharConstants.LeftCurlyBracketChar
class LocalizationManager
{
public const string Module = "Grid";
public const string Category = "Button";
public static Save = $"{Module}{PunctuationStringConstants.DotString}{Category}{PunctuationStringConstants.DotString}{nameof(Save)}";
public static Edit = $"{Module}{PunctuationStringConstants.DotString}{Category}{PunctuationStringConstants.DotString}{nameof(Edit)}";
public static Delete = $"{Module}{PunctuationStringConstants.DotString}{Category}{PunctuationStringConstants.DotString}{nameof(Delete)}";
}
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. |
-
net6.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AssistantFramework.Constants:
Package | Downloads |
---|---|
AssistantFramework.Extensions
This project includes categorized extension methods to avoid repetitive code that can be used frequently for your applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Added constant values for the following categories;
. AppSettingConstants
. CacheConstants
. ContentTypeConstants
. ExceptionConstants
. ExtensionConstants
. PunctuationCharConstants
. PunctuationStringConstants
. RegularExpressionConstants
. SortingConstants
. WebConstants