public static void StartSplitting(string sentence, PassMainViewModel pvm)
        {
            // Start the dispatcher to main UI (DisplayActor)
            var props      = Props.Create(() => new DisplayActor(pvm));
            var dispatcher = _system.ActorOf(props);

            // Subscribe to events that carry a newly generated password
            _system.EventStream.Subscribe(dispatcher, typeof(GeneratedPassword));
            // Tell SplitterActor to begin operations on user sentence
            _splitter.Tell(new Sentence(sentence));
        }
        public MainPage()
        {
            InitializeComponent();
            ViewModel = new PassMainViewModel();

            // Notify user that text has been successfully copied in Clipboard
            MessagingCenter.Subscribe <PassMainViewModel, string>(this,
                                                                  "textCopiedToClipboard",
                                                                  (sender, info) => {
                DisplayAlert("Info", "Copied to clipboard", "OK");
            });
        }
 // Actor that transmits the generated passwords to the ViewModel
 public DisplayActor(PassMainViewModel pvm) =>