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
- Application.cs
- SmtpLoginAuthenticationModule.cs
- ComplexPropertyEntry.cs
- ECDiffieHellman.cs
- CodeCastExpression.cs
- MiniParameterInfo.cs
- TriggerCollection.cs
- wgx_commands.cs
- MarkedHighlightComponent.cs
- WebContext.cs
- SecurityKeyType.cs
- ImageSourceConverter.cs
- TabletCollection.cs
- TableLayoutStyleCollection.cs
- XmlCompatibilityReader.cs
- FileFormatException.cs
- TypeUtil.cs
- Type.cs
- AccessControlEntry.cs
- CategoryAttribute.cs
- EntityDesignerBuildProvider.cs
- FixedSOMTable.cs
- ToolstripProfessionalRenderer.cs
- ChineseLunisolarCalendar.cs
- QilNode.cs
- LexicalChunk.cs
- HttpConfigurationSystem.cs
- SchemaTypeEmitter.cs
- DelegateHelpers.cs
- FixedPageProcessor.cs
- RewritingProcessor.cs
- ColorAnimationUsingKeyFrames.cs
- XPathSelfQuery.cs
- NativeMethods.cs
- ProtectedProviderSettings.cs
- ValidationEventArgs.cs
- Signature.cs
- ExpressionCopier.cs
- StrokeNodeOperations2.cs
- TreeViewItem.cs
- NetTcpBindingElement.cs
- NativeWindow.cs
- VirtualPathProvider.cs
- SqlRowUpdatingEvent.cs
- WriteableBitmap.cs
- ConfigurationPropertyCollection.cs
- StandardOleMarshalObject.cs
- Script.cs
- ResetableIterator.cs
- ComplexBindingPropertiesAttribute.cs
- AuthenticatingEventArgs.cs
- PersistenceProviderElement.cs
- StrongName.cs
- Transform3DCollection.cs
- X509Certificate2.cs
- Compiler.cs
- EntityDesignerBuildProvider.cs
- AsyncOperation.cs
- MimeTypePropertyAttribute.cs
- CompositionAdorner.cs
- ConnectionsZone.cs
- IfElseDesigner.xaml.cs
- ToolStripContentPanelDesigner.cs
- DbFunctionCommandTree.cs
- ContextDataSourceContextData.cs
- XsltInput.cs
- JournalEntry.cs
- mediaeventshelper.cs
- OutputCacheProfile.cs
- GroupBoxAutomationPeer.cs
- DeploymentSectionCache.cs
- GeneratedContractType.cs
- Expressions.cs
- EventSetter.cs
- WebPartZoneCollection.cs
- TemplateBindingExtension.cs
- CatalogPart.cs
- GlyphingCache.cs
- MemberCollection.cs
- ObjectItemAttributeAssemblyLoader.cs
- CodeParameterDeclarationExpressionCollection.cs
- OleDbInfoMessageEvent.cs
- BrowserCapabilitiesCodeGenerator.cs
- CommonRemoteMemoryBlock.cs
- PrimitiveOperationFormatter.cs
- Application.cs
- basemetadatamappingvisitor.cs
- Region.cs
- PackageController.cs
- SystemIcons.cs
- PointF.cs
- ObjectDataSourceMethodEventArgs.cs
- DbProviderConfigurationHandler.cs
- AttachmentCollection.cs
- SubpageParaClient.cs
- ToolStripContainer.cs
- DataGridBoolColumn.cs
- MasterPage.cs
- ImageAnimator.cs
- ZipIOExtraField.cs