Add() публичный Метод

public Add ( ) : void
Результат void
Пример #1
0
        public static IgnoreList Create(params string[] names)
        {
            var ignore = new IgnoreList();
            ignore.Add(names);

            return ignore;
        }
Пример #2
0
        public static IgnoreList Create(Dictionary<Type, string[]> ignoreList)
        {
            var ignore = new IgnoreList();

            foreach (var map in ignoreList)
            {
                ignore.Add(map.Key, map.Value);
            }
            return ignore;
        }