コード例 #1
0
        public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("TDDITerminologyGroup(");
            bool          __first = true;

            if (Gid != null && __isset.Gid)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Gid: ");
                __sb.Append(Gid);
            }
            if (__isset.IsCitation)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("IsCitation: ");
                __sb.Append(IsCitation);
            }
            if (__isset.IsAbstract)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("IsAbstract: ");
                __sb.Append(IsAbstract);
            }
            if (CitedElement != null && __isset.CitedElement)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("CitedElement: ");
                __sb.Append(CitedElement == null ? "<null>" : CitedElement.ToString());
            }
            if (AbstractForm != null && __isset.AbstractForm)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("AbstractForm: ");
                __sb.Append(AbstractForm == null ? "<null>" : AbstractForm.ToString());
            }
            if (Name != null && __isset.Name)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Name: ");
                __sb.Append(Name == null ? "<null>" : Name.ToString());
            }
            if (Description != null && __isset.Description)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Description: ");
                __sb.Append(Description == null ? "<null>" : Description.ToString());
            }
            if (ImplementationConstraint != null && __isset.ImplementationConstraint)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("ImplementationConstraint: ");
                __sb.Append(ImplementationConstraint);
            }
            if (Note != null && __isset.Note)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Note: ");
                __sb.Append(Note);
            }
            if (TaggedValue != null && __isset.TaggedValue)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("TaggedValue: ");
                __sb.Append(TaggedValue);
            }
            if (TerminologyElement != null && __isset.TerminologyElement)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("TerminologyElement: ");
                __sb.Append(TerminologyElement);
            }
            __sb.Append(")");
            return(__sb.ToString());
        }
コード例 #2
0
        public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("TDDITerm(");
            bool          __first = true;

            if (Gid != null && __isset.Gid)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Gid: ");
                __sb.Append(Gid);
            }
            if (__isset.IsCitation)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("IsCitation: ");
                __sb.Append(IsCitation);
            }
            if (__isset.IsAbstract)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("IsAbstract: ");
                __sb.Append(IsAbstract);
            }
            if (CitedElement != null && __isset.CitedElement)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("CitedElement: ");
                __sb.Append(CitedElement == null ? "<null>" : CitedElement.ToString());
            }
            if (AbstractForm != null && __isset.AbstractForm)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("AbstractForm: ");
                __sb.Append(AbstractForm == null ? "<null>" : AbstractForm.ToString());
            }
            if (Name != null && __isset.Name)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Name: ");
                __sb.Append(Name == null ? "<null>" : Name.ToString());
            }
            if (Description != null && __isset.Description)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Description: ");
                __sb.Append(Description == null ? "<null>" : Description.ToString());
            }
            if (ImplementationConstraint != null && __isset.ImplementationConstraint)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("ImplementationConstraint: ");
                __sb.Append(ImplementationConstraint);
            }
            if (Note != null && __isset.Note)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Note: ");
                __sb.Append(Note);
            }
            if (TaggedValue != null && __isset.TaggedValue)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("TaggedValue: ");
                __sb.Append(TaggedValue);
            }
            if (Value != null && __isset.@Value)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Value: ");
                __sb.Append(Value);
            }
            if (Category != null && __isset.Category)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Category: ");
                __sb.Append(Category == null ? "<null>" : Category.ToString());
            }
            if (ExternalReference != null && __isset.ExternalReference)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("ExternalReference: ");
                __sb.Append(ExternalReference);
            }
            if (Origin != null && __isset.Origin)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Origin: ");
                __sb.Append(Origin == null ? "<null>" : Origin.ToString());
            }
            __sb.Append(")");
            return(__sb.ToString());
        }