IDescriptorProto.cs 707 B

12345678910111213141516171819202122
  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 fully qualified name of the descriptor's target.
  11. /// </summary>
  12. string FullName { get; }
  13. /// <summary>
  14. /// The brief name of the descriptor's target.
  15. /// </summary>
  16. string Name { get; }
  17. TOptions Options { get; }
  18. }
  19. }