コード例 #1
0
        internal CollectionAnyAllToken(QueryToken parent, CollectionAnyAllType type)
        {
            elementType = parent.Type.ElementType() !;
            if (elementType == null)
            {
                throw new InvalidOperationException("not a collection");
            }

            this.parent = parent ?? throw new ArgumentNullException(nameof(parent));
            this.CollectionAnyAllType = type;
        }
コード例 #2
0
        internal CollectionAnyAllToken(QueryToken parent, CollectionAnyAllType type)
            : base(parent)
        {
            elementType = parent.Type.ElementType();
            if (elementType == null)
            {
                throw new InvalidOperationException("not a collection");
            }

            this.CollectionAnyAllType = type;
        }
コード例 #3
0
 public override string ToString()
 {
     return(CollectionAnyAllType.NiceToString());
 }