private void HandleScaleElement(XmlReader reader) { ByteFacetDescriptionElement descriptionElement = new ByteFacetDescriptionElement(this, "Scale"); descriptionElement.Parse(reader); this._facetDescriptions.Add((FacetDescriptionElement)descriptionElement); }
// <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); }
///////////////////////////////////////////////////////////////////// // 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); }