Table of Contents

Class EnumExtensionAttribute

Namespace
TechnologySolutions.Rfid.AsciiProtocol
Assembly
TechnologySolutions.Rfid.AsciiProtocol.Core.dll

An attribute to extend an Enum value to have a parameter and description

[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class EnumExtensionAttribute : Attribute
Inheritance
EnumExtensionAttribute
Inherited Members

Constructors

EnumExtensionAttribute(string, string)

Initializes a new instance of the EnumExtensionAttribute class

public EnumExtensionAttribute(string parameter, string description)

Parameters

parameter string

The parameter equivalent for the value

description string

The description of the value

Properties

Description

Gets the description for the value

public string Description { get; }

Property Value

string

Parameter

Gets the parameter for the value

public string Parameter { get; }

Property Value

string