private GetHandlerScript ( ITreeNode structure ) : String | ||
structure | ITreeNode | |
return | String |
private String GetHandlerScript(ITreeNode structure)
{
return (structure.Children.Count == 0 ? handler.GetScript(String.Format("'select|{0}'", GetKey(structure))) : handler.GetScript(String.Format("'navigate|{0}'", GetKey(structure))));
}