Example #1
0
 public override void Clear()
 {
     if (Debug != null)
     {
         Debug.Clear();
     }
     if (Release != null)
     {
         Release.Clear();
     }
 }
Example #2
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);
        }
Example #3
0
 public override void Reset()
 {
     InitItem(Key, null, null, null, null);
     Debug?.Clear();
     Release?.Clear();
 }
Example #4
0
 public override void Clear()
 {
     Debug?.Clear();
     Release?.Clear();
 }