C# Class Google.Protobuf.SampleMessages

Helper methods to create sample instances of types generated from unit test messages.
Afficher le fichier Open project: dropbox/protobuf Class Usage Examples

Méthodes publiques

Méthode Description
CreateFullTestAllTypes ( ) : TestAllTypes

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

Method Details

CreateFullTestAllTypes() public static méthode

Creates a new sample TestAllTypes message with all fields populated. The "oneof" field is populated with the string property (OneofString).
public static CreateFullTestAllTypes ( ) : TestAllTypes
Résultat TestAllTypes