diff options
author | Jon Skeet <skeet@pobox.com> | 2008-08-14 20:35:32 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2008-08-14 20:35:32 +0100 |
commit | 48ce28bf2fed8edde98f14c79807b4f4411cca6c (patch) | |
tree | eb68459cdde93fa1be14517650e7c0d0bba3a6c3 /csharp/ProtocolBuffers/DescriptorProtos | |
parent | 5923b37223a013139ff0b01558eb37a206c33fd1 (diff) | |
download | protobuf-48ce28bf2fed8edde98f14c79807b4f4411cca6c.tar.gz protobuf-48ce28bf2fed8edde98f14c79807b4f4411cca6c.tar.bz2 protobuf-48ce28bf2fed8edde98f14c79807b4f4411cca6c.zip |
Copyright fixes, a bit of documentation, and removed unnecessary using directives.
Diffstat (limited to 'csharp/ProtocolBuffers/DescriptorProtos')
-rw-r--r-- | csharp/ProtocolBuffers/DescriptorProtos/IDescriptorProto.cs | 20 | ||||
-rw-r--r-- | csharp/ProtocolBuffers/DescriptorProtos/PartialClasses.cs | 20 |
2 files changed, 35 insertions, 5 deletions
diff --git a/csharp/ProtocolBuffers/DescriptorProtos/IDescriptorProto.cs b/csharp/ProtocolBuffers/DescriptorProtos/IDescriptorProto.cs index 34b27576..1b9f1dc3 100644 --- a/csharp/ProtocolBuffers/DescriptorProtos/IDescriptorProto.cs +++ b/csharp/ProtocolBuffers/DescriptorProtos/IDescriptorProto.cs @@ -1,4 +1,19 @@ -namespace Google.ProtocolBuffers.DescriptorProtos { +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. +// http://code.google.com/p/protobuf/ +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +namespace Google.ProtocolBuffers.DescriptorProtos { /// <summary> /// Interface implemented by all DescriptorProtos. The generator doesn't @@ -13,6 +28,9 @@ /// </summary> string Name { get; } + /// <summary> + /// The options for this descriptor. + /// </summary> TOptions Options { get; } } } diff --git a/csharp/ProtocolBuffers/DescriptorProtos/PartialClasses.cs b/csharp/ProtocolBuffers/DescriptorProtos/PartialClasses.cs index 46edb7b1..66501374 100644 --- a/csharp/ProtocolBuffers/DescriptorProtos/PartialClasses.cs +++ b/csharp/ProtocolBuffers/DescriptorProtos/PartialClasses.cs @@ -1,8 +1,20 @@ -using System; -using System.Collections.Generic; -using System.Text; +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. +// http://code.google.com/p/protobuf/ +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. -// This class just contains partial classes for each of the +// This file just contains partial classes for each of the // autogenerated classes, so that they implement // IDescriptorProto namespace Google.ProtocolBuffers.DescriptorProtos { |