예제 #1
0
 /// <summary>
 /// Initialize the descriptor using the values from for instance a previous Get Template Mapping call.
 /// </summary>
 public PutTemplateDescriptor InitializeUsing(TemplateMapping templateMapping)
 {
     this._TemplateMapping = templateMapping;
     return(this);
 }
예제 #2
0
 public PutTemplateDescriptor(IConnectionSettingsValues connectionSettings)
 {
     _connectionSettings   = connectionSettings;
     this._TemplateMapping = new TemplateMapping();
 }
예제 #3
0
 public TemplateMappingDescriptor(JsonSerializerSettings SerializationSettings)
 {
     this._TemplateMapping       = new TemplateMapping();
     this._serializationSettings = SerializationSettings;
 }
 public TemplateMappingDescriptor(IConnectionSettings connectionSettings)
 {
     this._TemplateMapping    = new TemplateMapping();
     this._connectionSettings = connectionSettings;
     this._serializer         = new ElasticSerializer(this._connectionSettings);
 }
예제 #5
0
 public TemplateMappingDescriptor(IConnectionSettings connectionSettings)
 {
     this._TemplateMapping    = new TemplateMapping();
     this._connectionSettings = connectionSettings;
 }