Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / EntityModel / SchemaObjectModel / TextElement.cs / 1305376 / TextElement.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Xml; namespace System.Data.EntityModel.SchemaObjectModel { ////// Summary description for Documentation. /// internal sealed class TextElement : SchemaElement { #region Instance Fields private string _value = null; #endregion #region Public Methods ////// /// /// public TextElement(SchemaElement parentElement) : base(parentElement) { } #endregion #region Public Properties ////// /// public string Value { get { return _value; } private set { _value = value; } } #endregion #region Protected Properties protected override bool HandleText(XmlReader reader) { TextElementTextHandler(reader); return true; } #endregion #region Private Methods ////// /// /// private void TextElementTextHandler(XmlReader reader) { string text = reader.Value; if ( string.IsNullOrEmpty(text) ) return; if ( string.IsNullOrEmpty(Value) ) Value = text; else Value += text; } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HierarchicalDataBoundControlAdapter.cs
- MetadataFile.cs
- SymLanguageVendor.cs
- StoreContentChangedEventArgs.cs
- CharUnicodeInfo.cs
- CoreChannel.cs
- SimpleType.cs
- DataListGeneralPage.cs
- DataGridViewLinkColumn.cs
- CookieHandler.cs
- XmlDocumentFragment.cs
- WebServiceEnumData.cs
- SelectedDatesCollection.cs
- VarRefManager.cs
- SqlDataReaderSmi.cs
- DataSourceSelectArguments.cs
- PassportAuthentication.cs
- FontDifferentiator.cs
- DataGridViewTextBoxColumn.cs
- MetadataFile.cs
- ControlCollection.cs
- InlineObject.cs
- HighContrastHelper.cs
- CollectionContainer.cs
- MessageQueue.cs
- Message.cs
- UIElementParaClient.cs
- WindowsImpersonationContext.cs
- TextMarkerSource.cs
- PageParser.cs
- MimeReflector.cs
- MemberCollection.cs
- TableProviderWrapper.cs
- NavigationCommands.cs
- PEFileEvidenceFactory.cs
- ZoneIdentityPermission.cs
- NameValueConfigurationCollection.cs
- HistoryEventArgs.cs
- StringPropertyBuilder.cs
- AppDomainAttributes.cs
- IIS7UserPrincipal.cs
- ShapeTypeface.cs
- ParsedAttributeCollection.cs
- SQLRoleProvider.cs
- FileStream.cs
- WebBrowser.cs
- SynthesizerStateChangedEventArgs.cs
- XmlCDATASection.cs
- XmlFormatExtensionPointAttribute.cs
- remotingproxy.cs
- SqlBuilder.cs
- CmsInterop.cs
- TableParaClient.cs
- StaticSiteMapProvider.cs
- ClientCultureInfo.cs
- WebEventTraceProvider.cs
- ToolStripDropDown.cs
- Frame.cs
- RadioButtonStandardAdapter.cs
- SequenceFullException.cs
- NullableConverter.cs
- TransportChannelListener.cs
- XPathDocument.cs
- DPAPIProtectedConfigurationProvider.cs
- DrawingGroup.cs
- ExpressionTextBox.xaml.cs
- Paragraph.cs
- initElementDictionary.cs
- CheckBoxList.cs
- CodeThrowExceptionStatement.cs
- StoreContentChangedEventArgs.cs
- ZipIOLocalFileHeader.cs
- ProfileEventArgs.cs
- AnchoredBlock.cs
- OleDbPermission.cs
- SelectionProcessor.cs
- DataGridItem.cs
- DecoderNLS.cs
- HtmlUtf8RawTextWriter.cs
- RequestQueryProcessor.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- Missing.cs
- CompositeScriptReferenceEventArgs.cs
- SubclassTypeValidator.cs
- CodeArrayCreateExpression.cs
- EdmTypeAttribute.cs
- TextEffect.cs
- xsdvalidator.cs
- ServiceParser.cs
- BindingCollection.cs
- NameValueSectionHandler.cs
- ImageInfo.cs
- OperatorExpressions.cs
- connectionpool.cs
- StateMachineExecutionState.cs
- ListViewGroupItemCollection.cs
- RC2.cs
- EventHandlerList.cs
- ObjectContextServiceProvider.cs
- _PooledStream.cs