/// <inheritdoc cref="IScript.Lang" /> public TDescriptor Lang(ScriptLang lang) => Assign(lang.GetStringValue(), (a, v) => a.Lang = v);
/// <summary> /// Language of script. /// </summary> /// <param name="lang">language</param> /// <returns>this</returns> public ScriptQueryDescriptor <T> Lang(ScriptLang lang) => Assign(a => a.Lang = lang.GetStringValue());
/// <summary> /// Language of script. /// </summary> /// <param name="lang">language</param> /// <returns>this</returns> public TDescriptor Lang(ScriptLang lang) => Assign(a => a.Lang = lang.GetStringValue());
public PutScriptDescriptor Lang(ScriptLang lang) { this.Self.Lang = lang.GetStringValue(); return(this); }
public MappingTransformDescriptor Language(ScriptLang language) => Assign(a => a.Language = language.GetStringValue());
public CustomScoreQueryDescriptor <T> Lang(ScriptLang lang) { ((ICustomScoreQuery)this).Lang = lang.GetStringValue(); return(this); }
public MappingTransformDescriptor Language(ScriptLang language) { this._mappingTransform.Language = language.GetStringValue(); return(this); }
/// <summary> /// Language of script. /// </summary> /// <param name="lang">language</param> /// <returns>this</returns> public ScriptFilterDescriptor Lang(ScriptLang lang) { lang.ThrowIfNull("lang"); ((IScriptFilter)this).Lang = lang.GetStringValue(); return this; }
/// <summary> /// Language of script. /// </summary> /// <param name="lang">language</param> /// <returns>this</returns> public ScriptFilterDescriptor Lang(ScriptLang lang) { lang.ThrowIfNull("lang"); ((IScriptFilter)this).Lang = lang.GetStringValue(); return(this); }
public MappingTransformDescriptor Language(ScriptLang language) { this._mappingTransform.Language = language.GetStringValue(); return this; }