protected override bool RecoverState(object state)
        {
            if (state.CanHandle<AccountState>(x =>
            {
                x.Events = this;
                _state = x;
            }))
                return true;

            return false;
        }
 public AccountActor(IAggregateRootCreationParameters parameters)
     : base(parameters)
 {
     _log = Context.GetLogger();
     _state = new AccountState(parameters.Id,this);
 }