Exemple #1
0
        protected override void InitItem(
            string iKey,
            List <string> iDebug, List <string> iRelease,
            List <string> iReleaseForProfiling, List <string> iReleaseForRunning)
        {
            if (Debug == null)
            {
                Debug = new List <string> ();
            }
            else
            {
                Debug.Clear();
            }
            Debug.AddRange(iDebug);

            if (Release == null)
            {
                Release = new List <string> ();
            }
            else
            {
                Release.Clear();
            }
            Release.AddRange(iRelease);

            if (ReleaseForProfiling == null)
            {
                ReleaseForProfiling = new List <string> ();
            }
            else
            {
                ReleaseForProfiling.Clear();
            }
            ReleaseForProfiling.AddRange(iReleaseForProfiling);

            if (ReleaseForRunning == null)
            {
                ReleaseForRunning = new List <string> ();
            }
            else
            {
                ReleaseForRunning.Clear();
            }
            ReleaseForRunning.AddRange(iReleaseForProfiling);
        }