Exemplo n.º 1
0
 public AnalysisBoxCase(
     Packable packable,
     BoxProperties caseProperties,
     ConstraintSetBoxCase constraintSet)
     : base(packable.ParentDocument, packable, caseProperties, constraintSet)
 {
 }
Exemplo n.º 2
0
 public AnalysisBoxCase(
     Document doc,
     Packable packable,
     BoxProperties caseProperties,
     ConstraintSetBoxCase constraintSet)
     : base(doc, packable, caseProperties, constraintSet)
 {
 }
Exemplo n.º 3
0
        public AnalysisBoxCase(
            Packable packable,
            BoxProperties caseProperties,
            ConstraintSetBoxCase constraintSet)
            : base(packable.ParentDocument, packable)
        {
            // sanity checks
            if (caseProperties.ParentDocument != ParentDocument)
            {
                throw new Exception("box & case do not belong to the same document");
            }

            _caseProperties = caseProperties;
            _constraintSet  = constraintSet;
        }