Exemplo n.º 1
0
        static void Print(Federation federation, TopicName topic)
        {
            string formattedBody = federation.GetTopicFormattedContent(new QualifiedTopicRevision(topic), null);

            // Now calculate the borders
            string leftBorder = federation.GetTopicFormattedBorder(topic, Border.Left);
            string rightBorder =federation.GetTopicFormattedBorder(topic, Border.Right);
            string topBorder = federation.GetTopicFormattedBorder(topic, Border.Top);
            string bottomBorder = federation.GetTopicFormattedBorder(topic, Border.Bottom);

            //			Console.Out.WriteLine(formattedBody);
        }
Exemplo n.º 2
0
		static void Print(Federation federation, AbsoluteTopicName topic)
		{
			bool diffs = false;

			string formattedBody = federation.GetTopicFormattedContent(topic, diffs);

			// Now calculate the borders
			string leftBorder = federation.GetTopicFormattedBorder(topic, Border.Left);
			string rightBorder =federation.GetTopicFormattedBorder(topic, Border.Right);
			string topBorder = federation.GetTopicFormattedBorder(topic, Border.Top);
			string bottomBorder = federation.GetTopicFormattedBorder(topic, Border.Bottom);

//			Console.Out.WriteLine(formattedBody);
		}