﻿//
// Copyright 2011 Patrik Svensson
//
// This file is part of BlackBox.
//
// BlackBox is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// BlackBox is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser Public License for more details.
//
// You should have received a copy of the GNU Lesser Public License
// along with BlackBox. If not, see <http://www.gnu.org/licenses/>.
//

namespace BlackBox.Formatting
{
	internal sealed class FormatTransformerNode : FormatRendererNode
	{
		private readonly FormatRendererNode _renderer;

		internal FormatRendererNode Renderer
		{
			get { return _renderer; }
		}

		public FormatTransformerNode(string name, FormatRendererNode renderer)
			: base(name)
		{
			_renderer = renderer;
		}
	}
}
