Пример #1
0
        internal ElementProperty(
            byte namespaceId,
            string name,
            int order,
            ElementPropertyAccessor <T> accessor)
        {
            _accessor = accessor;

            Order       = order;
            Name        = name;
            NamespaceId = namespaceId;
        }
Пример #2
0
        internal ElementProperty(
            byte namespaceId,
            string name,
            int order,
            ValidatorCollection validators,
            ElementPropertyAccessor <T> accessor)
        {
            _accessor = accessor;

            Order       = order;
            Name        = name;
            NamespaceId = namespaceId;
            Validators  = validators;
        }