Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaObject.cs / 1 / XmlSchemaObject.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Diagnostics; using System.Xml.Serialization; using System.Security.Permissions; ////// /// [PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")] public abstract class XmlSchemaObject { int lineNum = 0; int linePos = 0; string sourceUri; XmlSerializerNamespaces namespaces; XmlSchemaObject parent; //internal bool isProcessing; //Indicates whether this object is currently being processed ///[To be supplied.] ////// /// [XmlIgnore] public int LineNumber { get { return lineNum;} set { lineNum = value;} } ///[To be supplied.] ////// /// [XmlIgnore] public int LinePosition { get { return linePos;} set { linePos = value;} } ///[To be supplied.] ////// /// [XmlIgnore] public string SourceUri { get { return sourceUri;} set { sourceUri = value;} } ///[To be supplied.] ///[XmlIgnore] public XmlSchemaObject Parent { get { return parent;} set { parent = value;} } /// [XmlNamespaceDeclarations] public XmlSerializerNamespaces Namespaces { get { if (namespaces == null) namespaces = new XmlSerializerNamespaces(); return namespaces; } set { namespaces = value; } } internal virtual void OnAdd(XmlSchemaObjectCollection container, object item) {} internal virtual void OnRemove(XmlSchemaObjectCollection container, object item) {} internal virtual void OnClear(XmlSchemaObjectCollection container) {} [XmlIgnore] internal virtual string IdAttribute { get { Debug.Assert(false); return null; } set { Debug.Assert(false); } } internal virtual void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {} internal virtual void AddAnnotation(XmlSchemaAnnotation annotation) {} [XmlIgnore] internal virtual string NameAttribute { get { Debug.Assert(false); return null; } set { Debug.Assert(false); } } [XmlIgnore] internal bool IsProcessing { get { return isProcessing; } set { isProcessing = value; } } internal virtual XmlSchemaObject Clone() { return (XmlSchemaObject)MemberwiseClone(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Diagnostics; using System.Xml.Serialization; using System.Security.Permissions; ////// /// [PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")] public abstract class XmlSchemaObject { int lineNum = 0; int linePos = 0; string sourceUri; XmlSerializerNamespaces namespaces; XmlSchemaObject parent; //internal bool isProcessing; //Indicates whether this object is currently being processed ///[To be supplied.] ////// /// [XmlIgnore] public int LineNumber { get { return lineNum;} set { lineNum = value;} } ///[To be supplied.] ////// /// [XmlIgnore] public int LinePosition { get { return linePos;} set { linePos = value;} } ///[To be supplied.] ////// /// [XmlIgnore] public string SourceUri { get { return sourceUri;} set { sourceUri = value;} } ///[To be supplied.] ///[XmlIgnore] public XmlSchemaObject Parent { get { return parent;} set { parent = value;} } /// [XmlNamespaceDeclarations] public XmlSerializerNamespaces Namespaces { get { if (namespaces == null) namespaces = new XmlSerializerNamespaces(); return namespaces; } set { namespaces = value; } } internal virtual void OnAdd(XmlSchemaObjectCollection container, object item) {} internal virtual void OnRemove(XmlSchemaObjectCollection container, object item) {} internal virtual void OnClear(XmlSchemaObjectCollection container) {} [XmlIgnore] internal virtual string IdAttribute { get { Debug.Assert(false); return null; } set { Debug.Assert(false); } } internal virtual void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {} internal virtual void AddAnnotation(XmlSchemaAnnotation annotation) {} [XmlIgnore] internal virtual string NameAttribute { get { Debug.Assert(false); return null; } set { Debug.Assert(false); } } [XmlIgnore] internal bool IsProcessing { get { return isProcessing; } set { isProcessing = value; } } internal virtual XmlSchemaObject Clone() { return (XmlSchemaObject)MemberwiseClone(); } } } // 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
- TrustSection.cs
- FileNotFoundException.cs
- RawContentTypeMapper.cs
- DataGridCaption.cs
- TreeNodeCollection.cs
- LeaseManager.cs
- DoubleAnimationUsingPath.cs
- Visual3D.cs
- HMACMD5.cs
- ListView.cs
- DbgUtil.cs
- StringResourceManager.cs
- TrackingValidationObjectDictionary.cs
- ApplicationFileParser.cs
- PolicyManager.cs
- KeyEvent.cs
- TrackingStringDictionary.cs
- InvokeMethod.cs
- SQLInt64Storage.cs
- VersionedStreamOwner.cs
- CodeDelegateInvokeExpression.cs
- AsymmetricKeyExchangeDeformatter.cs
- CodeGotoStatement.cs
- AccessibilityHelperForVista.cs
- cookie.cs
- ApplicationTrust.cs
- CollectionBuilder.cs
- FieldTemplateFactory.cs
- XPathChildIterator.cs
- DbParameterHelper.cs
- DbCommandTree.cs
- OleDbReferenceCollection.cs
- IdentifierElement.cs
- InkCanvasAutomationPeer.cs
- ScrollProviderWrapper.cs
- FreezableOperations.cs
- LoadRetryStrategyFactory.cs
- Encoder.cs
- RoleService.cs
- BitmapMetadataEnumerator.cs
- IndentedWriter.cs
- SecurityUtils.cs
- WindowsRegion.cs
- ListBoxItemWrapperAutomationPeer.cs
- Clipboard.cs
- KeyManager.cs
- CodeDomConfigurationHandler.cs
- TreeViewImageIndexConverter.cs
- IncrementalCompileAnalyzer.cs
- StylusPlugin.cs
- safesecurityhelperavalon.cs
- MultipleCopiesCollection.cs
- DateTime.cs
- RemoveStoryboard.cs
- MetadataPropertyAttribute.cs
- TransactionInformation.cs
- GatewayDefinition.cs
- ObjectDataSourceView.cs
- RightsManagementEncryptedStream.cs
- Decimal.cs
- PathSegmentCollection.cs
- WsatConfiguration.cs
- OdbcParameterCollection.cs
- AsymmetricKeyExchangeDeformatter.cs
- ExpressionConverter.cs
- SrgsGrammar.cs
- oledbmetadatacollectionnames.cs
- CacheChildrenQuery.cs
- HuffModule.cs
- sqlpipe.cs
- WrappedReader.cs
- SerTrace.cs
- TypeForwardedToAttribute.cs
- StateChangeEvent.cs
- IgnoreDeviceFilterElement.cs
- ReverseInheritProperty.cs
- SoapCodeExporter.cs
- AnnouncementInnerClient11.cs
- BindableAttribute.cs
- SQLInt32Storage.cs
- FormParameter.cs
- AlternateView.cs
- SimpleMailWebEventProvider.cs
- BigInt.cs
- SqlUserDefinedAggregateAttribute.cs
- LocationSectionRecord.cs
- ToolboxBitmapAttribute.cs
- SpecularMaterial.cs
- WaitingCursor.cs
- Int16Converter.cs
- GlobalizationAssembly.cs
- RoutingEndpointTrait.cs
- Collection.cs
- XmlWrappingReader.cs
- OleDbMetaDataFactory.cs
- DataServiceConfiguration.cs
- AuthorizationSection.cs
- PassportAuthenticationModule.cs
- AliasGenerator.cs
- DecoderFallbackWithFailureFlag.cs