Class BaseDecodeType
Base class for barcode decode types, used to specify which symbologies a reader should attempt to recognize.
Inherited Members
Namespace: DRIT.Barcode.Recognition
Assembly: DRIT.Barcode.dll
Syntax
public abstract class BaseDecodeType
Constructors
BaseDecodeType(string, string)
Initializes a new instance of the BaseDecodeType class.
Declaration
protected BaseDecodeType(string type, string typeName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | type | The symbology type identifier string. |
| string | typeName | The human-readable type name. |
Properties
Type
Gets the symbology type identifier string.
Declaration
public string Type { get; }
Property Value
| Type | Description |
|---|---|
| string |
TypeName
Gets the human-readable type name.
Declaration
public string TypeName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Contains(SingleDecodeType)
Determines whether this decode type contains the specified single decode type.
Declaration
public abstract bool Contains(SingleDecodeType singleDecodeType)
Parameters
| Type | Name | Description |
|---|---|---|
| SingleDecodeType | singleDecodeType | The single decode type to check for. |
Returns
| Type | Description |
|---|---|
| bool |
|
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |