aboutsummaryrefslogtreecommitdiff
path: root/protos
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2012-10-10 17:41:28 -0500
committerrogerk <devnull@localhost>2012-10-10 17:41:28 -0500
commit0e152e438622b4faa34a8eb50369f3bc51986eac (patch)
tree4c809a751f5d6122e0f2845a37b171d777f190a9 /protos
parent9c73660d559290c7a41d537df3f25210103ab000 (diff)
downloadprotobuf-0e152e438622b4faa34a8eb50369f3bc51986eac.tar.gz
protobuf-0e152e438622b4faa34a8eb50369f3bc51986eac.tar.bz2
protobuf-0e152e438622b4faa34a8eb50369f3bc51986eac.zip
addressbook.proto - Imported the options and set the expected namespace and umbrella class
Diffstat (limited to 'protos')
-rw-r--r--protos/tutorial/addressbook.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/protos/tutorial/addressbook.proto b/protos/tutorial/addressbook.proto
index da019424..5abe35ce 100644
--- a/protos/tutorial/addressbook.proto
+++ b/protos/tutorial/addressbook.proto
@@ -1,5 +1,9 @@
package tutorial;
+import "google/protobuf/csharp_options.proto";
+option (google.protobuf.csharp_file_options).namespace = "Google.ProtocolBuffers.Examples.AddressBook";
+option (google.protobuf.csharp_file_options).umbrella_classname = "AddressBookProtos";
+
option optimize_for = SPEED;
message Person {