コード例 #1
0
        private void HandleScaleElement(XmlReader reader)
        {
            ByteFacetDescriptionElement descriptionElement = new ByteFacetDescriptionElement(this, "Scale");

            descriptionElement.Parse(reader);
            this._facetDescriptions.Add((FacetDescriptionElement)descriptionElement);
        }
コード例 #2
0
        // <summary>
        // Handler for the Scale element
        // </summary>
        // <param name="reader"> xml reader currently positioned at Scale element </param>
        private void HandleScaleElement(XmlReader reader)
        {
            DebugCheck.NotNull(reader);
            var facetDescription = new ByteFacetDescriptionElement(this, DbProviderManifest.ScaleFacetName);

            facetDescription.Parse(reader);
            _facetDescriptions.Add(facetDescription);
        }
コード例 #3
0
        /////////////////////////////////////////////////////////////////////
        // Element Handlers

        // <summary>
        // Handler for the Precision element
        // </summary>
        // <param name="reader"> xml reader currently positioned at Precision element </param>
        private void HandlePrecisionElement(XmlReader reader)
        {
            DebugCheck.NotNull(reader);
            var facetDescription = new ByteFacetDescriptionElement(this, DbProviderManifest.PrecisionFacetName);
            facetDescription.Parse(reader);

            _facetDescriptions.Add(facetDescription);
        }