Beispiel #1
0
 public PftFormatter
 (
     PftAbstractionLayer abstractionLayer,
     ManagedClient64 client
 )
     : this
     (
         abstractionLayer,
         new PftContext(null, null) { Client = client }
     )
 {
 }
Beispiel #2
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);
        }