Ejemplo n.º 1
0
 /// <summary>
 /// Attempts to find a screen via its name.
 /// </summary>
 /// <param name="name">The name of the screen to lookup.</param>
 /// <param name="screen">The variable to store the screen result in.</param>
 /// <returns>Returns true if the screen was found, false otherwise.</returns>
 public virtual bool LookupScreen(string name, out Screen screen)
 {
     return(_Screens.TryGetValue(name, out screen));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Attempts to find the binding for the given binding name.
 /// </summary>
 /// <param name="name">The name of the binding to lookup.</param>
 /// <param name="bind">The binding where the result will be stored if it finds the bind.</param>
 /// <returns>True if the binding was found and false otherwise.</returns>
 public virtual bool LookupBind(String name, out Bind bind)
 {
     return(_Binds.TryGetValue(name, out bind));
 }