AgileCoding.Library.Enums 2.0.5

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

// Install AgileCoding.Library.Enums as a Cake Tool
#tool nuget:?package=AgileCoding.Library.Enums&version=2.0.5                

AgileCoding.Library.Enums NuGet Package

This NuGet package provides a standardized set of enumerations (Enums) across different domains, which can be beneficial in providing consistency throughout your .NET applications.

Enumerations

The package includes the following Enums:

  1. ServiceRequestTypeEnum - Represents the types of service requests.
  2. LogTypeEnum - Represents the type of log information.
  3. SystemEnvironmentEnum - Represents the type of system environment.
  4. TraceTypeEnum - Represents the type of trace.

Here's an overview of each:

ServiceRequestTypeEnum

Used to define the types of service requests.

namespace AgileCoding.Library.Enums.Integration
{
    public enum ServiceRequestTypeEnum
    {
        NA = 0,
        RESTAPI = 1,
        SOAP11 = 11,   //DataPower Call using Text Encoding
        SOAP12 = 12,   //Direct Call using WCF MTOM encoding
    }
}

LogTypeEnum

Defines the type of log information, ranging from tracing details to error logs.

namespace AgileCoding.Library.Enums.Logging
{
    public enum LogTypeEnum
    {
        Trace = 0,       // Used for tracing details
        Critical = 1,    // Used to raise critical Errors
        Error = 2,       // Used to raise Errors
        Warning = 4,     // Used to raise Warnings
        Information = 8, // For Trace Information
        Verbose = 16,    // For Debugging information
        Performance = 32,// For performance logs
        None = 999,      // Logging is disabled
    }
}

SystemEnvironmentEnum

Used to specify the type of system environment.

namespace AgileCoding.Library.Enums.SAS
{
    public enum SystemEnvironmentEnum
    {
        None,
        LOCAL,  // Local Dev Box
        DEV,    // Development Environment
        SIT,    // Software Integration Testing
        UAT,    // User Acceptance Testing
        PROD,   // Production Environment
        DR      // Disaster Recovery
    }
}

TraceTypeEnum

Defines the type of trace, particularly for transactions.

namespace AgileCoding.Library.Enums.Logging
{
    public enum TraceTypeEnum
    {
        Start = 256,     // Starting a local transaction
        Stop = 512,      // Stopping a local transaction
        Suspend = 1024,  // Suspension of a local transaction
        Resume = 2048,   // Continuation of a logical transaction
        Transfer = 4096, // Control of transaction is passed to a different section
        Retain = 8192,   // Control is received back again from the section it was given to
        SubStart = 16384,// Start of a sub transaction
        SubStop = 32768, // End of a sub transaction
    }
}

Installation

You can install this NuGet package through the following ways:

Package Manager

mathematicaCopy code

PM> Install-Package AgileCoding.Library.Enums

.NET CLI

csharpCopy code

dotnet add package AgileCoding.Library.Enums

Requirements

  • .NET 6.0 or later

Contribute

This is an open source project. We encourage you to contribute to it by submitting issues, or directly contributing code.

License

This project is licensed under the terms of the MIT license.

Contact

For questions or any other feedback, please open an issue in the GitHub repository.

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

Showing the top 3 NuGet packages that depend on AgileCoding.Library.Enums:

Package Downloads
AgileCoding.Library.Interfaces.UserInterfaces.Console

List of interfaces for Console interface building

AgileCoding.Extentions.Logger

Extentions to enhance logger beharvior

AgileCoding.Library.Interfaces

This is a standardized list of Interfaces to use across domains

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.5 439 7/29/2023
1.0.0.3 436 6/28/2021
1.0.0.1 319 5/24/2021

Moving to core