using System; namespace DTS.DASLib.Service.StateMachine { internal class Prepare : DASState { private void PrepareDASFactory() { OnEnterState(); if (null != DASFactory) { DASFactory.DetachAllDevices(); DASFactory.TDASHostNames = new string[0]; DASFactory.SliceDBHostNames = new string[0]; } } public override State State => State.Prepare; public override Action OnEntry { get => PrepareDASFactory; } } }