Пример #1
0
        public HerculesValue(TValue value)
        {
            if (type == null)
            {
                HerculesValueTypesMapping.ThrowNotSupportedException(typeof(TValue));
            }

            TypedValue = value;
        }
        public HerculesVector([NotNull] IReadOnlyList <TValue> elements)
        {
            if (type == null)
            {
                HerculesValueTypesMapping.ThrowNotSupportedException(typeof(TValue));
            }

            TypedElements = elements ?? throw new ArgumentNullException(nameof(elements));
        }