Changeset 4068 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/0.9.1/ProtobufCS/src/ProtocolBuffers/ExtensionRegistry.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/0.9.1/ProtobufCS/src/ProtocolBuffers/ExtensionRegistry.cs
r3857 r4068 33 33 #endregion 34 34 35 using System; 35 36 using System.Collections.Generic; 36 37 using Google.ProtocolBuffers.Descriptors; 37 using System;38 38 39 39 namespace Google.ProtocolBuffers { … … 156 156 /// Add an extension from a generated file to the registry. 157 157 /// </summary> 158 public void Add<TExtension> 158 public void Add<TExtension>(GeneratedExtensionBase<TExtension> extension) { 159 159 if (extension.Descriptor.MappedType == MappedType.Message) { 160 160 Add(new ExtensionInfo(extension.Descriptor, extension.MessageDefaultInstance));
Note: See TracChangeset
for help on using the changeset viewer.