C# Класс Google.Protobuf.SampleMessages

Helper methods to create sample instances of types generated from unit test messages.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateFullTestAllTypes ( ) : TestAllTypes

Creates a new sample TestAllTypes message with all fields populated. The "oneof" field is populated with the string property (OneofString).

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

CreateFullTestAllTypes() публичный статический Метод

Creates a new sample TestAllTypes message with all fields populated. The "oneof" field is populated with the string property (OneofString).
public static CreateFullTestAllTypes ( ) : TestAllTypes
Результат TestAllTypes