Пример #1
0
        public void Load(string filename)
        {
            FilterContainer newContainer = XmlHelper <FilterContainer> .ReadFromFile(filename);

            this.Filters.Clear();
            foreach (var filter in newContainer.Filters)
            {
                this.Filters.Add(filter);
            }
        }
Пример #2
0
 public ReplacementEngine()
 {
     this.FilterContainer = new FilterContainer();
 }