| 1 |
<ProjectSchemaDefinitions xmlns="http://schemas.microsoft.com/build/2009/properties"> |
| 2 |
<Rule Name="Protobuf" |
| 3 |
DisplayName="File Properties" |
| 4 |
PageTemplate="generic" |
| 5 |
Description="File Properties" |
| 6 |
OverrideMode="Extend"> |
| 7 |
<Rule.DataSource> |
| 8 |
<DataSource Persistence="ProjectFile" Label="Configuration" ItemType="Protobuf" |
| 9 |
HasConfigurationCondition="false" SourceOfDefaultValue="AfterContext" /> |
| 10 |
</Rule.DataSource> |
| 11 |
|
| 12 |
<Rule.Categories> |
| 13 |
<Category Name="gRPC" DisplayName="gRPC" /> |
| 14 |
</Rule.Categories> |
| 15 |
|
| 16 |
<EnumProperty Name="GrpcServices" DisplayName="gRPC Stub Classes" |
| 17 |
Category="gRPC" Default="Both" |
| 18 |
Description="Generate gRPC server and client stub classes."> |
| 19 |
<EnumValue Name="Both" DisplayName="Client and Server" IsDefault="true" /> |
| 20 |
<EnumValue Name="Client" DisplayName="Client only" /> |
| 21 |
<EnumValue Name="Server" DisplayName="Server only" /> |
| 22 |
<EnumValue Name="None" DisplayName="Do not generate" /> |
| 23 |
<EnumProperty.DataSource> |
| 24 |
<DataSource ItemType="Protobuf" SourceOfDefaultValue="AfterContext" |
| 25 |
PersistenceStyle="Attribute" HasConfigurationCondition="false" /> |
| 26 |
</EnumProperty.DataSource> |
| 27 |
</EnumProperty> |
| 28 |
|
| 29 |
</Rule> |
| 30 |
</ProjectSchemaDefinitions> |