Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / AtomContentProperty.cs / 1305376 / AtomContentProperty.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a class that represents an ATOM entry property, with // details on how it was parsed and interpreted. // //--------------------------------------------------------------------- namespace System.Data.Services.Client { #region Namespaces. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Xml; using System.Xml.Linq; using System.Text; #endregion Namespaces. ////// Use this class to represent a property for an ATOM entry. /// [DebuggerDisplay("AtomContentProperty {TypeName} {Name}")] internal class AtomContentProperty { ///Whether the property was marked as null. ///This value will be assigned during XML parsing. public bool IsNull { get; set; } ///Property name. ////// This value will be assigned during XML parsing. /// May be null if reading a top-level complex instance. /// public string Name { get; set; } ///Type name for the property as found during serialization. ///This value will be assigned during XML parsing. May be null. public string TypeName { get; set; } ///Text value of property, as found during serialization. public string Text { get; set; } ///Sub-properties for this property; typically found for complex types. ////// This value will be assigned during XML parsing, but may be modified /// when Entity Property Mapping information is applied. /// /// Note that for expanded entities, sub-properties will be found /// in the public Listvalue. /// Properties { get; set; } /// Value for nested collection of entries found during parsing. public AtomFeed Feed { get; set; } ///Value for a nested ATOM entry as found during parsing. public AtomEntry Entry { get; set; } ///Materialized value for this property; null until materialization. ////// This property will be null after parsing, and is assigned a value /// during materialization (when type information is available/resolved). /// /// This property will be set for primitive types only in the current /// materialization pipeline. /// /// public object MaterializedValue { get; set; } /// Ensures that the public void EnsureProperties() { if (this.Properties == null) { this.Properties = new Listproperty is not null. (); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a class that represents an ATOM entry property, with // details on how it was parsed and interpreted. // //--------------------------------------------------------------------- namespace System.Data.Services.Client { #region Namespaces. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Xml; using System.Xml.Linq; using System.Text; #endregion Namespaces. ////// Use this class to represent a property for an ATOM entry. /// [DebuggerDisplay("AtomContentProperty {TypeName} {Name}")] internal class AtomContentProperty { ///Whether the property was marked as null. ///This value will be assigned during XML parsing. public bool IsNull { get; set; } ///Property name. ////// This value will be assigned during XML parsing. /// May be null if reading a top-level complex instance. /// public string Name { get; set; } ///Type name for the property as found during serialization. ///This value will be assigned during XML parsing. May be null. public string TypeName { get; set; } ///Text value of property, as found during serialization. public string Text { get; set; } ///Sub-properties for this property; typically found for complex types. ////// This value will be assigned during XML parsing, but may be modified /// when Entity Property Mapping information is applied. /// /// Note that for expanded entities, sub-properties will be found /// in the public Listvalue. /// Properties { get; set; } /// Value for nested collection of entries found during parsing. public AtomFeed Feed { get; set; } ///Value for a nested ATOM entry as found during parsing. public AtomEntry Entry { get; set; } ///Materialized value for this property; null until materialization. ////// This property will be null after parsing, and is assigned a value /// during materialization (when type information is available/resolved). /// /// This property will be set for primitive types only in the current /// materialization pipeline. /// /// public object MaterializedValue { get; set; } /// Ensures that the public void EnsureProperties() { if (this.Properties == null) { this.Properties = new Listproperty is not null. (); } } } } // 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
- PropertyNames.cs
- RegexParser.cs
- OrderedDictionary.cs
- PropertyInformation.cs
- MsmqEncryptionAlgorithm.cs
- ProfileEventArgs.cs
- DefaultAssemblyResolver.cs
- SafeFileMappingHandle.cs
- FastEncoderStatics.cs
- DataGridViewRow.cs
- DbConnectionPoolGroup.cs
- Deflater.cs
- ParameterBinding.cs
- ValueOfAction.cs
- ObjectQueryProvider.cs
- Renderer.cs
- IdentityHolder.cs
- PictureBox.cs
- ClientFormsIdentity.cs
- EntityDataSourceContextCreatedEventArgs.cs
- Peer.cs
- HtmlAnchor.cs
- GlobalizationAssembly.cs
- clipboard.cs
- NativeMethods.cs
- DataGridViewCellStyleConverter.cs
- XmlHierarchicalDataSourceView.cs
- HandlerMappingMemo.cs
- HitTestWithPointDrawingContextWalker.cs
- QuaternionRotation3D.cs
- SingleAnimationUsingKeyFrames.cs
- DesignerVerb.cs
- GiveFeedbackEventArgs.cs
- InvalidFilterCriteriaException.cs
- PipelineModuleStepContainer.cs
- PrintEvent.cs
- ChannelManager.cs
- CodeMemberProperty.cs
- Events.cs
- MouseButtonEventArgs.cs
- OleDbInfoMessageEvent.cs
- ReflectTypeDescriptionProvider.cs
- UnauthorizedWebPart.cs
- FlowPosition.cs
- SpellerStatusTable.cs
- BindingRestrictions.cs
- DataGridViewSortCompareEventArgs.cs
- _DigestClient.cs
- VisualTreeUtils.cs
- TemplateNameScope.cs
- XmlCharCheckingWriter.cs
- PointAnimationUsingPath.cs
- TableLayoutSettings.cs
- DatagridviewDisplayedBandsData.cs
- Cursor.cs
- NodeFunctions.cs
- versioninfo.cs
- ReadOnlyDataSourceView.cs
- TemplateBamlTreeBuilder.cs
- ResXResourceSet.cs
- ImmComposition.cs
- WCFModelStrings.Designer.cs
- EndpointAddressAugust2004.cs
- SoapMessage.cs
- PatternMatcher.cs
- RelOps.cs
- LambdaCompiler.cs
- TextBoxView.cs
- WebEventTraceProvider.cs
- ScriptResourceHandler.cs
- InternalPolicyElement.cs
- ModelTreeEnumerator.cs
- CompiledRegexRunner.cs
- CommandHelpers.cs
- FormsAuthenticationCredentials.cs
- Context.cs
- ContentFileHelper.cs
- XamlSerializationHelper.cs
- FontFamilyIdentifier.cs
- SplashScreenNativeMethods.cs
- ToolboxDataAttribute.cs
- ReflectionUtil.cs
- DbParameterCollectionHelper.cs
- DataServiceStreamResponse.cs
- CapabilitiesUse.cs
- WmpBitmapEncoder.cs
- DBBindings.cs
- XmlUTF8TextWriter.cs
- ListViewInsertEventArgs.cs
- ToolTipService.cs
- WpfKnownTypeInvoker.cs
- DocumentXmlWriter.cs
- SchemaTableOptionalColumn.cs
- PlaceHolder.cs
- ClientSession.cs
- RoleManagerModule.cs
- XamlBrushSerializer.cs
- CodeExpressionStatement.cs
- StatusBarPanel.cs
- TextTreeInsertElementUndoUnit.cs