Exemplo n.º 1
0
        public void Clone(ImageDisplayDef theSourceDef)
        {
            if (theSourceDef.TestSequence != mTestSequence)
            {
                throw new ArgumentException("3292289");
            }

            mImageDefinition = theSourceDef.ImageDefinition;

            roisToShow.Clear();
            roisToShow.AddRange(theSourceDef.roisToShow);

            decorationsToShow.Clear();
            decorationsToShow.AddRange(theSourceDef.decorationsToShow);

            mSizeMode = theSourceDef.SizeMode;

            if (ImageDisplayDefChange != null)
            {
                ImageDisplayDefChange();
            }
        }
Exemplo n.º 2
0
 public ImageInstance(ImageDefinition theDefinition, TestExecution testExecution) : base(theDefinition, testExecution)
 {
     testExecution.ImageRegistry.RegisterObject(this);
 }