public FieldValue()

in src-csharp/TextractExtensions.cs [370:397]


		public FieldValue(Block block, List<string> children, List<Block> blocks) {
			this.Block = block;
			this.Confidence = block.Confidence;
			this.Geometry = block.Geometry;
			this.Id = block.Id;
			this.Text = string.Empty;
			this.Content = new List<dynamic>();

			var words = new List<string>();
			if(children != null && children.Count > 0) {
				children.ForEach(c => {
					var wordBlock = blocks.Find(b => b.Id == c);
					if(wordBlock.BlockType == "WORD") {
						var w = new Word(wordBlock, blocks);
						this.Content.Add(w);
						words.Add(w.Text);
					} else if(wordBlock.BlockType == "SELECTION_ELEMENT") {
						var selection = new SelectionElement(wordBlock, blocks);
						this.Content.Add(selection);
						words.Add(selection.SelectionStatus);
					}
				});
			}

			if(words.Count > 0) {
				this.Text = string.Join(" ", words);
			}
		}