Пример #1
0
 public void Detatch(VideoEffect effect)
 {
     if (effect != null && effects.Contains(effect))
         effects.Remove(effect);
     else
         Log.Write(this, "Unable to remove effect!", LogLevels.Error);
 }
Пример #2
0
        public void Attach(VideoEffect effect)
        {
            if (effect != null)
            {

                effects.Add(effect);
            }
            else
                Log.Write(this, "Unable to add NULL effect!", LogLevels.Error);
        }