aboutsummaryrefslogtreecommitdiff
path: root/csharp/ProtocolBuffers/DescriptorProtos/IDescriptorProto.cs
blob: 34b275767fd9bd861afbf4e227251b2b6397e840 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Google.ProtocolBuffers.DescriptorProtos {

  /// <summary>
  /// Interface implemented by all DescriptorProtos. The generator doesn't
  /// emit the interface implementation claim, so PartialClasses.cs contains
  /// partial class declarations for each of them.
  /// </summary>
  /// <typeparam name="TOptions">The associated options protocol buffer type</typeparam>
  public interface IDescriptorProto<TOptions> {

    /// <summary>
    /// The brief name of the descriptor's target.
    /// </summary>
    string Name { get; }

    TOptions Options { get; }
  }
}