Exemplo n.º 1
0
 /// <inheritdoc cref="IScript.Lang" />
 public TDescriptor Lang(ScriptLang lang) => Assign(lang.GetStringValue(), (a, v) => a.Lang = v);
Exemplo n.º 2
0
 /// <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());
Exemplo n.º 3
0
 /// <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());
Exemplo n.º 6
0
 public CustomScoreQueryDescriptor <T> Lang(ScriptLang lang)
 {
     ((ICustomScoreQuery)this).Lang = lang.GetStringValue();
     return(this);
 }
Exemplo n.º 7
0
 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;
		}