Exemplo n.º 1
0
        public PftFormatter
        (
            PftAbstractionLayer abstractionLayer,
            PftContext context
        )
        {
            if (ReferenceEquals(abstractionLayer, null))
            {
                throw new ArgumentNullException("abstractionLayer");
            }
            if (ReferenceEquals(context, null))
            {
                throw new ArgumentNullException("context");
            }

            _abstractionLayer = abstractionLayer;
            Context           = context;
            Context._SetFormatter(this);
        }