public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("TDDIHARAPackageUnion(");
            bool          __first = true;

            if (HARAPackage != null && __isset.HARAPackage)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("HARAPackage: ");
                __sb.Append(HARAPackage == null ? "<null>" : HARAPackage.ToString());
            }
            if (HARAPackageInterface != null && __isset.HARAPackageInterface)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("HARAPackageInterface: ");
                __sb.Append(HARAPackageInterface == null ? "<null>" : HARAPackageInterface.ToString());
            }
            if (HARAPackageBinding != null && __isset.HARAPackageBinding)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("HARAPackageBinding: ");
                __sb.Append(HARAPackageBinding == null ? "<null>" : HARAPackageBinding.ToString());
            }
            __sb.Append(")");
            return(__sb.ToString());
        }
Ejemplo n.º 2
0
        public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("TDDIODEProductPackageUnion(");
            bool          __first = true;

            if (DesignPackage != null && __isset.DesignPackage)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("DesignPackage: ");
                __sb.Append(DesignPackage == null ? "<null>" : DesignPackage.ToString());
            }
            if (FailureLogicPackage != null && __isset.FailureLogicPackage)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("FailureLogicPackage: ");
                __sb.Append(FailureLogicPackage == null ? "<null>" : FailureLogicPackage.ToString());
            }
            if (RequirementPackage != null && __isset.RequirementPackage)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("RequirementPackage: ");
                __sb.Append(RequirementPackage);
            }
            if (HARAPackage != null && __isset.HARAPackage)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("HARAPackage: ");
                __sb.Append(HARAPackage == null ? "<null>" : HARAPackage.ToString());
            }
            if (DependabilityPackage != null && __isset.DependabilityPackage)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("DependabilityPackage: ");
                __sb.Append(DependabilityPackage == null ? "<null>" : DependabilityPackage.ToString());
            }
            if (TARAPackage != null && __isset.TARAPackage)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("TARAPackage: ");
                __sb.Append(TARAPackage);
            }
            if (DomainPackage != null && __isset.DomainPackage)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("DomainPackage: ");
                __sb.Append(DomainPackage == null ? "<null>" : DomainPackage.ToString());
            }
            __sb.Append(")");
            return(__sb.ToString());
        }