Exemplo n.º 1
0
 public RestTypeConfiguration(IRestConvention convention)
 {
     _defaultConvention = convention;
     _route             = convention.DefaultRoute(typeof(T));
     _key = convention.DefaultKey(typeof(T));
 }
Exemplo n.º 2
0
 public ModelBuilder(IRestConvention convention)
 {
     _types      = new List <IRestTypeDefinition>();
     _convention = convention;
 }