AssistantFramework.Constants 1.0.1

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

// Install AssistantFramework.Constants as a Cake Tool
#tool nuget:?package=AssistantFramework.Constants&version=1.0.1                

Assistant Framework Constants

NuGet

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 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

    • 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.

Version Downloads Last updated
1.0.1 337 10/20/2022
1.0.0 219 10/19/2022

Added constant values for the following categories;
. AppSettingConstants
. CacheConstants
. ContentTypeConstants
. ExceptionConstants
. ExtensionConstants
. PunctuationCharConstants
. PunctuationStringConstants
. RegularExpressionConstants
. SortingConstants
. WebConstants