internal void AddTransition(string key, FluentState to) { _Transitions.Add(new FluentTransition(key, to)); }
/// <summary> /// Initializes a new instance of the <see cref="FluentDialog"/> class /// </summary> /// <param name="key">The unique dialog key</param> /// <param name="states">The <see cref="FluentState"/> children</param> /// <param name="initial">The state to navigate to</param> protected FluentDialog(string key, IEnumerable<FluentState> states, FluentState initial) { Key = key; States = states; Initial = initial; }