protected override void PreStart() { base.PreStart(); ActorsSystem.Add(Alias, Self); logger.Info($"Actor PreStart:{GetType()}"); ActorInitialize(); }
protected override void PostRestart(Exception reason) { base.PostRestart(reason); ActorsSystem.Add(Alias, Self); logger.Error($"Actor PostRestart:{reason} - {GetType()}"); //ActorInitialize(); }
protected override void PostRestart(Exception reason) { base.PostRestart(reason); ActorsSystem.Add(Alias, Self); logger.Error(string.Format("Actor PostRestart:{0} - {1}", reason.ToString(), GetType())); //ActorInitialize(); }
protected override void PostStop() { base.PostStop(); ActorsSystem.Remove(Alias, Self); logger.Info($"Actor PostStop::{GetType()}"); }