示例#1
0
        /// <summary>
        /// Creates a new instance of an <see cref="ODataEdmCollectionValue"/>.
        /// </summary>
        /// <param name="collectionValue">The <see cref="ODataCollectionValue"/> to create the collection value for.</param>
        internal ODataEdmCollectionValue(ODataCollectionValue collectionValue)
            : base(collectionValue.GetEdmType())
        {
            Debug.Assert(collectionValue != null, "collectionValue != null");

            this.collectionValue = collectionValue;
        }
        /// <summary>
        /// Creates a new instance of an <see cref="ODataEdmCollectionValue"/>.
        /// </summary>
        /// <param name="collectionValue">The <see cref="ODataCollectionValue"/> to create the collection value for.</param>
        internal ODataEdmCollectionValue(ODataCollectionValue collectionValue)
            : base(collectionValue.GetEdmType())
        {
            Debug.Assert(collectionValue != null, "collectionValue != null");

            this.collectionValue = collectionValue;
        }
示例#3
0
        /// <summary>
        /// Creates a new instance of an <see cref="ODataEdmCollectionValue"/>.
        /// </summary>
        /// <param name="collectionValue">The <see cref="ODataCollectionValue"/> to create the collection value for.</param>
        internal ODataEdmCollectionValue(ODataCollectionValue collectionValue)
            : base(collectionValue.GetEdmType())
        {
            DebugUtils.CheckNoExternalCallers();
            Debug.Assert(collectionValue != null, "collectionValue != null");

            this.collectionValue = collectionValue;
        }