Пример #1
0
        public virtual CmetBinding GetCmetBinding(string name)
        {
            CmetBinding result = null;

            foreach (CmetBinding cmetBinding in this.cmetBindings)
            {
                if (cmetBinding.CmetName.Equals(name))
                {
                    result = cmetBinding;
                }
            }
            return(result);
        }
Пример #2
0
 public override bool Equals(object obj)
 {
     if (obj == null)
     {
         return(false);
     }
     if (!typeof(Ca.Infoway.Messagebuilder.Xml.CmetBinding).IsAssignableFrom(obj.GetType()))
     {
         return(false);
     }
     Ca.Infoway.Messagebuilder.Xml.CmetBinding that = (Ca.Infoway.Messagebuilder.Xml.CmetBinding)obj;
     return(new EqualsBuilder().Append(this.cmetName, that.cmetName).Append(this.attributionLevel, that.attributionLevel).Append
                (this.code, that.code).Append(this.codeSystemOid, that.codeSystemOid).Append(this.documentation, that.documentation).IsEquals
                ());
 }
Пример #3
0
 public virtual void AddCmetBinding(CmetBinding cmetbinding)
 {
     this.cmetBindings.Add(cmetbinding);
 }