Encode() защищенный абстрактный Метод

Encodes the BodyPart into the System.Text.StringBuilder.
Encodes the BodyPart into the System.Text.StringBuilder.
protected abstract Encode ( StringBuilder builder ) : void
builder StringBuilder The string builder.
Результат void
Пример #1
0
        internal static void Encode(StringBuilder builder, BodyPart body)
        {
            if (body == null)
            {
                builder.Append("NIL");
                return;
            }

            builder.Append('(');
            body.Encode(builder);
            builder.Append(')');
        }
Пример #2
0
		internal static void Encode (StringBuilder builder, BodyPart body)
		{
			if (body == null) {
				builder.Append ("NIL");
				return;
			}

			builder.Append ('(');
			body.Encode (builder);
			builder.Append (')');
		}