ToString() public method

public ToString ( ) : string
return string
Esempio n. 1
0
        public override string ToString()
        {
            string        sep = Platform.NewLine;
            StringBuilder buf = new StringBuilder();

            buf.Append("IssuingDistributionPoint: [");
            buf.Append(sep);
            if (_distributionPoint != null)
            {
                appendObject(buf, sep, "distributionPoint", _distributionPoint.ToString());
            }
            if (_onlyContainsUserCerts)
            {
                appendObject(buf, sep, "onlyContainsUserCerts", _onlyContainsUserCerts.ToString());
            }
            if (_onlyContainsCACerts)
            {
                appendObject(buf, sep, "onlyContainsCACerts", _onlyContainsCACerts.ToString());
            }
            if (_onlySomeReasons != null)
            {
                appendObject(buf, sep, "onlySomeReasons", _onlySomeReasons.ToString());
            }
            if (_onlyContainsAttributeCerts)
            {
                appendObject(buf, sep, "onlyContainsAttributeCerts", _onlyContainsAttributeCerts.ToString());
            }
            if (_indirectCRL)
            {
                appendObject(buf, sep, "indirectCRL", _indirectCRL.ToString());
            }
            buf.Append("]");
            buf.Append(sep);
            return(buf.ToString());
        }
        public override string ToString()
        {
            string        newLine       = Platform.NewLine;
            StringBuilder stringBuilder = new StringBuilder();

            stringBuilder.Append("IssuingDistributionPoint: [");
            stringBuilder.Append(newLine);
            if (_distributionPoint != null)
            {
                appendObject(stringBuilder, newLine, "distributionPoint", _distributionPoint.ToString());
            }
            if (_onlyContainsUserCerts)
            {
                appendObject(stringBuilder, newLine, "onlyContainsUserCerts", _onlyContainsUserCerts.ToString());
            }
            if (_onlyContainsCACerts)
            {
                appendObject(stringBuilder, newLine, "onlyContainsCACerts", _onlyContainsCACerts.ToString());
            }
            if (_onlySomeReasons != null)
            {
                appendObject(stringBuilder, newLine, "onlySomeReasons", _onlySomeReasons.ToString());
            }
            if (_onlyContainsAttributeCerts)
            {
                appendObject(stringBuilder, newLine, "onlyContainsAttributeCerts", _onlyContainsAttributeCerts.ToString());
            }
            if (_indirectCRL)
            {
                appendObject(stringBuilder, newLine, "indirectCRL", _indirectCRL.ToString());
            }
            stringBuilder.Append("]");
            stringBuilder.Append(newLine);
            return(stringBuilder.ToString());
        }
Esempio n. 3
0
        public override string ToString()
        {
            //IL_0006: Unknown result type (might be due to invalid IL or missing references)
            //IL_000c: Expected O, but got Unknown
            string        newLine = Platform.NewLine;
            StringBuilder val     = new StringBuilder();

            val.Append("DistributionPoint: [");
            val.Append(newLine);
            if (distributionPoint != null)
            {
                appendObject(val, newLine, "distributionPoint", distributionPoint.ToString());
            }
            if (reasons != null)
            {
                appendObject(val, newLine, "reasons", reasons.ToString());
            }
            if (cRLIssuer != null)
            {
                appendObject(val, newLine, "cRLIssuer", cRLIssuer.ToString());
            }
            val.Append("]");
            val.Append(newLine);
            return(val.ToString());
        }
Esempio n. 4
0
		public override string ToString()
		{
			string newLine = Platform.NewLine;
			StringBuilder stringBuilder = new StringBuilder();
			stringBuilder.Append("DistributionPoint: [");
			stringBuilder.Append(newLine);
			if (distributionPoint != null)
			{
				appendObject(stringBuilder, newLine, "distributionPoint", distributionPoint.ToString());
			}
			if (reasons != null)
			{
				appendObject(stringBuilder, newLine, "reasons", reasons.ToString());
			}
			if (cRLIssuer != null)
			{
				appendObject(stringBuilder, newLine, "cRLIssuer", cRLIssuer.ToString());
			}
			stringBuilder.Append("]");
			stringBuilder.Append(newLine);
			return stringBuilder.ToString();
		}
Esempio n. 5
0
        public override string ToString()
        {
            string        sep = Platform.NewLine;
            StringBuilder buf = new StringBuilder();

            buf.Append("DistributionPoint: [");
            buf.Append(sep);
            if (distributionPoint != null)
            {
                appendObject(buf, sep, "distributionPoint", distributionPoint.ToString());
            }
            if (reasons != null)
            {
                appendObject(buf, sep, "reasons", reasons.ToString());
            }
            if (cRLIssuer != null)
            {
                appendObject(buf, sep, "cRLIssuer", cRLIssuer.ToString());
            }
            buf.Append("]");
            buf.Append(sep);
            return(buf.ToString());
        }
		public override string ToString()
		{
			//IL_0006: Unknown result type (might be due to invalid IL or missing references)
			//IL_000c: Expected O, but got Unknown
			string newLine = Platform.NewLine;
			StringBuilder val = new StringBuilder();
			val.Append("IssuingDistributionPoint: [");
			val.Append(newLine);
			if (_distributionPoint != null)
			{
				appendObject(val, newLine, "distributionPoint", _distributionPoint.ToString());
			}
			if (_onlyContainsUserCerts)
			{
				appendObject(val, newLine, "onlyContainsUserCerts", _onlyContainsUserCerts.ToString());
			}
			if (_onlyContainsCACerts)
			{
				appendObject(val, newLine, "onlyContainsCACerts", _onlyContainsCACerts.ToString());
			}
			if (_onlySomeReasons != null)
			{
				appendObject(val, newLine, "onlySomeReasons", _onlySomeReasons.ToString());
			}
			if (_onlyContainsAttributeCerts)
			{
				appendObject(val, newLine, "onlyContainsAttributeCerts", _onlyContainsAttributeCerts.ToString());
			}
			if (_indirectCRL)
			{
				appendObject(val, newLine, "indirectCRL", _indirectCRL.ToString());
			}
			val.Append("]");
			val.Append(newLine);
			return val.ToString();
		}