Пример #1
0
        internal SettingProperty(PropertyInfo property, SettingPath path)
        {
            Property = property;
            Path     = path;

            // an itemzed setting must be an enumerable
            if (IsItemized && !IsEnumerable)
            {
                throw new ItemizedSettingException(path);
            }
        }
Пример #2
0
 public static bool IsLike(this SettingPath x, SettingPath y)
 {
     return(WeakSettingPathComparer.Equals(x, y));
 }
Пример #3
0
 public SettingPath(SettingPath path) : this(path.Names)
 {
     Key = path.Key;
 }