コード例 #1
0
 public FieldExpression(
     [NotNull] string name,
     [NotNull] IProperty property,
     [NotNull] CollectionExpression collectionExpression)
     : this(name, Check.NotNull(property, nameof(property)).ClrType, collectionExpression)
 {
     _property = property;
 }
コード例 #2
0
        public FieldExpression(
            [NotNull] string name,
            [NotNull] Type type,
            [NotNull] CollectionExpression collectionExpression)
        {
            Check.NotEmpty(name, nameof(name));
            Check.NotNull(type, nameof(type));
            Check.NotNull(collectionExpression, nameof(collectionExpression));

            Name = name;
            Type = type;
            _collectionExpression = collectionExpression;
        }
コード例 #3
0
        public virtual void SetCollectionExpression([NotNull] CollectionExpression expression)
        {
            Check.NotNull(expression, nameof(expression));

            _collection = expression;
        }