private static CodedText Map(this DV_CODED_TEXT model) { var codedText = new CodedText(model.value) { DefiningCode = model.defining_code.Map(), Formatting = model.formatting }; if (model.language != null) { codedText.Language = model.language.Map(); } if (model.encoding != null) { codedText.Encoding = model.encoding.Map(); } if (model.hyperlink != null) { codedText.Hyperlink = new Uri(model.hyperlink.value.ToString()); } foreach (TERM_MAPPING mapping in model.mappings) { codedText.Mappings.Add(mapping.Map()); } return(codedText); }
public override void Dispose() { if (!base._isDisposed) { _value = null; GC.SuppressFinalize(this); base._isDisposed = !base._isDisposed; } }
public IORDBulder AddSymbol(CodedText symbol) { _value.Symbol = symbol; return(this); }
public void DefaultPropertiesShouldWork() { var text = new CodedText(""); }
public ICodedTextBuilder Clear() { _value = base.ResetValue <CodedText>(); return(this); }