Class FieldInfo
SBE template field description.
Namespace: OnixS.SimpleBinaryEncoding.Templates
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class FieldInfo : object
  Constructors
FieldInfo(String, UInt16)
Constructor.
Declaration
public FieldInfo(string name, ushort id)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | Field name.  | 
      
| System.UInt16 | id | Field id.  | 
      
Properties
Description
Gets or sets field description.
Declaration
public string Description { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Id
Gets field id.
Declaration
public ushort Id { get; }
  Property Value
| Type | Description | 
|---|---|
| System.UInt16 | 
Name
Gets field name.
Declaration
public string Name { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
ToString()
Returns the string representation of an object.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | The string representation of an object.  |