Exemplo n.º 1
0
        public override List <string> GetChannels()
        {
            List <string> channels = FirstProcess.GetChannels();

            Common.Classes.Ultility.Ultility.AddList <string>(channels, SecondProcess.GetChannels());
            return(channels);
        }
Exemplo n.º 2
0
        /// <summary>
        /// To Perform the static analysis on a single definition first.
        /// </summary>
        public void StaticAnalysis()
        {
            MustAbstract = Process.MustBeAbstracted();

            Channels = Process.GetChannels();

            GlobalVars = Process.GetGlobalVariables();

            if (AlphabetEvents != null)
            {
                if (AlphabetEvents.ContainsVariable())
                {
                    AlphabetsCalculable = false;
                    Alphabets           = null;
                }
                else
                {
                    Alphabets           = new HashSet <string>(new EventCollection(AlphabetEvents).EventNames);
                    AlphabetsCalculable = true;
                }
            }
            else
            {
                if (AlphabetsCalculable)
                {
                    //to check why is null here? forget the reason le.
                    Alphabets = Process.GetAlphabets(null);
                }
            }
        }
Exemplo n.º 3
0
        public override List <string> GetChannels()
        {
            List <string> toReturn = Process.GetChannels();

            if (!toReturn.Contains(ChannelName))
            {
                toReturn.Add(ChannelName);
            }

            return(toReturn);
        }
Exemplo n.º 4
0
 public override List <string> GetChannels()
 {
     return(Process.GetChannels());
 }