Add() public method

public Add ( ) : void
return void
コード例 #1
0
ファイル: ObjectComparer.cs プロジェクト: paralect/prototype
        public static IgnoreList Create(params string[] names)
        {
            var ignore = new IgnoreList();
            ignore.Add(names);

            return ignore;
        }
コード例 #2
0
ファイル: ObjectComparer.cs プロジェクト: paralect/prototype
        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;
        }