aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/ProtocolBuffers/FieldAccess/FieldAccessorTable.cs
blob: cf5220f6250b46d6653069f92dbe6bc4ff7138c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using Google.ProtocolBuffers.Descriptors;

namespace Google.ProtocolBuffers.FieldAccess {
  public class FieldAccessorTable<TMessage, TBuilder> 
      where TMessage : IMessage<TMessage> 
      where TBuilder : IBuilder<TMessage> {

    readonly MessageDescriptor descriptor;

    public MessageDescriptor Descriptor { 
      get { return descriptor; }
    }

    public FieldAccessorTable(MessageDescriptor descriptor, String[] pascalCaseNames) {
      this.descriptor = descriptor;
    }

    internal IFieldAccessor<TMessage, TBuilder> this[FieldDescriptor field] {
      get { return null; }
    }
  }
}