public EqpToolPoolItemsPanel CreateEqpToolPoolItemsPanel(out IEquipToolPanelConstArg arg)
    {
        IEquipToolPanelConstArg thisArg = Substitute.For <IEquipToolPanelConstArg>();

        thisArg.uim.Returns(Substitute.For <IUIManager>());
        thisArg.uia.Returns(Substitute.For <IUIAdaptor>());
        thisArg.image.Returns(Substitute.For <IUIImage>());
        thisArg.eqpIITAM.Returns(Substitute.For <IEquippableIITAManager>());
        thisArg.eqpTool.Returns(Substitute.For <IEquipTool>());
        thisArg.panelTransactionStateEngine.Returns(Substitute.For <IPanelTransactionStateEngine>());
        EqpToolPoolItemsPanel panel = new EqpToolPoolItemsPanel(thisArg);

        arg = thisArg;
        return(panel);
    }
    /*  */
    public EquipToolEquippedItemsPanel CreateEqpToolEqpItemsPanel(out IEquipToolPanelConstArg arg)
    {
        IUIManager uim = Substitute.For <IUIManager>();
        IPickUpSystemProcessFactory pickUpSystemProcessFactory = Substitute.For <IPickUpSystemProcessFactory>();
        IEquipToolUIEFactory        equipToolUIEFactory        = Substitute.For <IEquipToolUIEFactory>();
        IUIAdaptor                   uia           = Substitute.For <IUIAdaptor>();
        IUIImage                     image         = Substitute.For <IUIImage>();
        IEquippableIITAManager       eqpIITAM      = Substitute.For <IEquippableIITAManager>();
        IEquipTool                   eqpTool       = Substitute.For <IEquipTool>();
        IPanelTransactionStateEngine engine        = Substitute.For <IPanelTransactionStateEngine>();
        IEquipToolPanelConstArg      thisArg       = new EquipToolPanelConstArg(uim, pickUpSystemProcessFactory, equipToolUIEFactory, uia, image, eqpTool, eqpIITAM, engine);
        EquipToolEquippedItemsPanel  eqpItemsPanel = new EquipToolEquippedItemsPanel(thisArg);

        arg = thisArg;
        return(eqpItemsPanel);
    }
Exemplo n.º 3
0
 public EquipToolEquippedItemsPanel(IEquipToolPanelConstArg arg) : base(arg)
 {
 }
Exemplo n.º 4
0
 public EqpToolPoolItemsPanel(IEquipToolPanelConstArg arg) : base(arg)
 {
 }
Exemplo n.º 5
0
 public AbsEquipToolPanel(IEquipToolPanelConstArg arg) : base(arg)
 {
     thisEqpIITAM = arg.eqpIITAM;
     thisEqpTool  = arg.eqpTool;
     thisPanelTransactionStateEngine = arg.panelTransactionStateEngine;
 }