예제 #1
0
 /// <summary>
 /// Overrides. Creates a new <see cref="Microsoft.ApplicationBlocks.UIProcess.State"/> for OpenNavigation.
 /// </summary>
 /// <returns></returns>
 protected override State CreateState()
 {
     return(StateFactory.Create());
 }
예제 #2
0
 /// <summary>
 /// Creates a State object using the type specified in the configuration file for this navigator.
 /// Navigators can override this if they need to create state in a different way.
 /// </summary>
 /// <returns>The state that was created.</returns>
 protected virtual State CreateState()
 {
     return(StateFactory.Create(Name));
 }
예제 #3
0
 /// <summary>
 /// Creates a graph navigator.
 /// </summary>
 /// <param name="name">The name of the graph navigator in the configuration file.</param>
 public GraphNavigator(string name)
 {
     Initialize(name);
     SetState(StateFactory.Create(name));
 }