public override void Run(params string[] arguments) { MyInit(arguments); if (string.IsNullOrEmpty(Identity) || Identity.Length > 120) { throw new ArgumentException("Length of Identity should between 1 and 120."); } if (!string.IsNullOrEmpty(ConnectString) && !Pipelines.Any()) { AddPipeline(new MySqlEntityPipeline(ConnectString)); } InsertRunningState(); base.Run(arguments); if (IsComplete && OnExited != null) { Verifier.ProcessVerifidation(Identity, OnExited); } RemoveRunningState(); }