OSS NAS Tools for C# for 5G for 3GPP Release 15.6.0
Oss.Nas.FormattingOptions Class Reference

Defines common formatting options. These options are used when the binary data or C# object that represents a NAS message is converted to JSON, XML, or ASN.1 value notation format. More...

Inheritance diagram for Oss.Nas.FormattingOptions:
Oss.Nas.JSONOptions Oss.Nas.TextOptions Oss.Nas.XMLOptions

Public Member Functions

 FormattingOptions ()
 The default constructor. More...
 

Properties

bool Compact [get, set]
 Disables extraneous whitespace and indentation that is added by default for better readability. More...
 
int IndentWidth [get, set]
 Specifies the width of an indentation level. The default is 2. More...
 
string NewLine [get, set]
 Specifies the newline characters. By default, a string returned by Environment.NewLine is used to terminate the line. More...
 
bool UseSymbolicNames [get, set]
 Enables printing of meaningful names for numeric values whenever possible. By default, values of INTEGER components are printed as numbers. More...
 

Detailed Description

Defines common formatting options. These options are used when the binary data or C# object that represents a NAS message is converted to JSON, XML, or ASN.1 value notation format.

Constructor & Destructor Documentation

◆ FormattingOptions()

Oss.Nas.FormattingOptions.FormattingOptions ( )
inline

The default constructor.

Property Documentation

◆ Compact

bool Oss.Nas.FormattingOptions.Compact
getset

Disables extraneous whitespace and indentation that is added by default for better readability.

◆ IndentWidth

int Oss.Nas.FormattingOptions.IndentWidth
getset

Specifies the width of an indentation level. The default is 2.

◆ NewLine

string Oss.Nas.FormattingOptions.NewLine
getset

Specifies the newline characters. By default, a string returned by Environment.NewLine is used to terminate the line.

◆ UseSymbolicNames

bool Oss.Nas.FormattingOptions.UseSymbolicNames
getset

Enables printing of meaningful names for numeric values whenever possible. By default, values of INTEGER components are printed as numbers.