C# Класс Google.Protobuf.JsonFormatter.Settings

Settings controlling JSON formatting.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Settings ( bool formatDefaultValues ) : System

Creates a new Settings object with the specified formatting of default values and an empty type registry.

Settings ( bool formatDefaultValues, Google.Protobuf.Reflection.TypeRegistry typeRegistry ) : System

Creates a new Settings object with the specified formatting of default values and type registry.

Приватные методы

Метод Описание
Settings ( ) : System

Описание методов

Settings() публичный Метод

Creates a new Settings object with the specified formatting of default values and an empty type registry.
public Settings ( bool formatDefaultValues ) : System
formatDefaultValues bool true if default values (0, empty strings etc) should be formatted; false otherwise.
Результат System

Settings() публичный Метод

Creates a new Settings object with the specified formatting of default values and type registry.
public Settings ( bool formatDefaultValues, Google.Protobuf.Reflection.TypeRegistry typeRegistry ) : System
formatDefaultValues bool true if default values (0, empty strings etc) should be formatted; false otherwise.
typeRegistry Google.Protobuf.Reflection.TypeRegistry The to use when formatting messages.
Результат System