示例#1
0
                public OnDockOperationBase(BlockManagerBase <TBlock> owner, Action onDisposed)
                {
                    _owner      = owner;
                    _onDisposed = onDisposed;

                    Reset();
                }
 public EnableOperation(BlockManagerBase <IMyFunctionalBlock> owner, Action onDisposed)
     : base(owner, onDisposed)
 {
 }
 internal protected override OnDockOperationBase CreateOnUndockingOperation(BlockManagerBase <IMyFunctionalBlock> owner, Action onDisposed)
 => new EnableOperation(owner, onDisposed);
 public DispenseOperation(BlockManagerBase <IMyGasTank> owner, Action onDisposed)
     : base(owner, onDisposed)
 {
 }
示例#5
0
 internal protected abstract OnDockOperationBase CreateOnUndockingOperation(BlockManagerBase <TBlock> owner, Action onDisposed);
示例#6
0
 public DisconnectOperation(BlockManagerBase <IMyShipConnector> owner, Action onDisposed)
     : base(owner, onDisposed)
 {
 }
 internal protected override OnDockOperationBase CreateOnUndockingOperation(BlockManagerBase <IMyGasTank> owner, Action onDisposed)
 => new DispenseOperation(owner, onDisposed);
示例#8
0
 internal protected override OnDockOperationBase CreateOnUndockingOperation(BlockManagerBase <IMyShipConnector> owner, Action onDisposed)
 => new DisconnectOperation(owner, onDisposed);
示例#9
0
 public UnlockOperation(BlockManagerBase <IMyLandingGear> owner, Action onDisposed)
     : base(owner, onDisposed)
 {
 }
示例#10
0
 internal protected override OnDockOperationBase CreateOnUndockingOperation(BlockManagerBase <IMyLandingGear> owner, Action onDisposed)
 => new UnlockOperation(owner, onDisposed);
 public DischargeOperation(BlockManagerBase <IMyBatteryBlock> owner, Action onDisposed)
     : base(owner, onDisposed)
 {
 }
 internal protected override OnDockOperationBase CreateOnUndockingOperation(BlockManagerBase <IMyBatteryBlock> owner, Action onDisposed)
 => new DischargeOperation(owner, onDisposed);