Пример #1
0
 private void SetState([NotNull] StateInventoryBind state)
 {
     _stateClass = state;
     State       = state is BindState ? State.Bind : State.UnBind;
     ChangeState.Invoke(State);
 }
Пример #2
0
 protected void SetState(StateInventoryBind state) => InventoryBinding.SetState(state);
Пример #3
0
        public InventoryBinding(IInventoryStructureContainer inventoryStructureContainer, IEnumerable <DataEntity> dataEntitiesForLoad = null)
        {
            var inventoryStructure = inventoryStructureContainer.GetInventoryStructure().Clone();

            _stateClass = new NoInitState(this, inventoryStructure, dataEntitiesForLoad);
        }