示例#1
0
		internal void AddTransition(string key, FluentState to)
		{
			_Transitions.Add(new FluentTransition(key, to));
		}
示例#2
0
		/// <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;
		}