Esempio n. 1
0
 public IconGroupConstArg(
     IUIManager uim,
     IPickUpSystemProcessFactory pickUpSystemProcessFactory,
     IPickUpSystemUIElementFactory pickUpSystemUIElementFactory,
     IPickUpSystemUIA pickUpSyatemUIA,
     IUIImage image,
     IUITool tool,
     IItemIconTransactionManager iiTAM,
     int minSize,
     int maxSize,
     IHoverPadsManager hoverPadsManager,
     List <IItemIcon> iis
     ) : base(
         uim,
         pickUpSystemProcessFactory,
         pickUpSystemUIElementFactory,
         image,
         pickUpSyatemUIA,
         ActivationMode.None
         )
 {
     thisIITAM            = iiTAM;
     thisMinSize          = minSize;
     thisMaxSize          = maxSize;
     thisHoverPadsManager = hoverPadsManager;
     thisIIs = iis;
 }
    public TestIG CreateTestIG(int minSize, int maxSize, out IIconGroupConstArg arg)
    {
        IUIManager uim = Substitute.For <IUIManager>();
        IPickUpSystemProcessFactory   pickUpSystemProcessFactory   = Substitute.For <IPickUpSystemProcessFactory>();
        IPickUpSystemUIElementFactory pickUpSystemUIElementFactory = Substitute.For <IPickUpSystemUIElementFactory>();
        IPickUpSystemUIA            pickUpSystemUIA  = Substitute.For <IPickUpSystemUIA>();
        IUIImage                    image            = Substitute.For <IUIImage>();
        IUITool                     tool             = Substitute.For <IUITool>();
        IItemIconTransactionManager iiTAM            = Substitute.For <IItemIconTransactionManager>();
        IHoverPadsManager           hoverPadsManager = Substitute.For <IHoverPadsManager>();
        List <IItemIcon>            iis = new List <IItemIcon>();

        IIconGroupConstArg thisArg = new IconGroupConstArg(uim, pickUpSystemProcessFactory, pickUpSystemUIElementFactory, pickUpSystemUIA, image, tool, iiTAM, minSize, maxSize, hoverPadsManager, iis);
        TestIG             testIG  = new TestIG(thisArg);

        arg = thisArg;
        return(testIG);
    }
        public PickUpSystemUIEConstArg(
            IUIManager uim,
            IPickUpSystemProcessFactory pickUpSystemProcessFactory,
            IPickUpSystemUIElementFactory pickUpSystemUIElementFactory,
            IUIImage image,
            IPickUpSystemUIA pickUpSystemUIA,
            ActivationMode activationMode
            ) : base(
                uim,
                pickUpSystemProcessFactory,
                pickUpSystemUIElementFactory,
                pickUpSystemUIA,
                image,
                activationMode

                )
        {
            thisPickUpSystemProcessFactory   = pickUpSystemProcessFactory;
            thisPickupSystemUIElementFactory = pickUpSystemUIElementFactory;
        }