IDescriptorProto.cs 580 B

123456789101112131415161718
  1. namespace Google.ProtocolBuffers.DescriptorProtos {
  2. /// <summary>
  3. /// Interface implemented by all DescriptorProtos. The generator doesn't
  4. /// emit the interface implementation claim, so PartialClasses.cs contains
  5. /// partial class declarations for each of them.
  6. /// </summary>
  7. /// <typeparam name="TOptions">The associated options protocol buffer type</typeparam>
  8. public interface IDescriptorProto<TOptions> {
  9. /// <summary>
  10. /// The brief name of the descriptor's target.
  11. /// </summary>
  12. string Name { get; }
  13. TOptions Options { get; }
  14. }
  15. }