Exemple #1
0
 internal override FSM CreateFSM(StateNameSource stateNames)  //Should have only one top-level grouping content info
 {
     foreach (ContentInfo content in Content)
     {
         GroupingInfo group = content as GroupingInfo;
         if (group != null)
         {
             FSM fsm = group.MakeFSM(stateNames);
             return(fsm);
         }
     }
     return(null);
 }
		internal override FSM CreateFSM(StateNameSource stateNames)
		{
			FSM fSM;
			foreach (ContentInfo content in this.Content)
			{
				GroupingInfo group = content as GroupingInfo;
				if (group != null)
				{
					fSM = group.MakeFSM(stateNames);
					return fSM;
				}
			}
			fSM = null;
			return fSM;
		}