Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MSAAWinEventWrap.cs
- EntityClientCacheKey.cs
- DynamicUpdateCommand.cs
- ListViewSortEventArgs.cs
- ImageSourceValueSerializer.cs
- CommandValueSerializer.cs
- MapPathBasedVirtualPathProvider.cs
- Translator.cs
- ContentFileHelper.cs
- BaseProcessProtocolHandler.cs
- VisualStateManager.cs
- DuplexChannelFactory.cs
- DbgCompiler.cs
- NotifyParentPropertyAttribute.cs
- HttpModulesSection.cs
- ComponentDispatcherThread.cs
- GraphicsPath.cs
- MenuItemBindingCollection.cs
- Fonts.cs
- ValuePattern.cs
- ResourcesChangeInfo.cs
- __Filters.cs
- HttpWebResponse.cs
- XmlImplementation.cs
- TreeNodeCollection.cs
- XmlILStorageConverter.cs
- EUCJPEncoding.cs
- NativeCompoundFileAPIs.cs
- DbParameterCollection.cs
- OutputCacheProfileCollection.cs
- AutomationFocusChangedEventArgs.cs
- HostedElements.cs
- OleServicesContext.cs
- TextElementEnumerator.cs
- ExclusiveNamedPipeTransportManager.cs
- NameHandler.cs
- tooltip.cs
- Activator.cs
- FillBehavior.cs
- DBCSCodePageEncoding.cs
- Knowncolors.cs
- RectangleHotSpot.cs
- HttpCookiesSection.cs
- EdmScalarPropertyAttribute.cs
- ExpressionTextBoxAutomationPeer.cs
- MachineKeyConverter.cs
- HttpRequest.cs
- DocumentXmlWriter.cs
- CapabilitiesSection.cs
- InvalidComObjectException.cs
- FileLevelControlBuilderAttribute.cs
- HttpApplication.cs
- _ChunkParse.cs
- SubMenuStyleCollection.cs
- ProgressPage.cs
- UnknownBitmapDecoder.cs
- DiscoveryReferences.cs
- storepermissionattribute.cs
- WebPartUtil.cs
- BulletedListEventArgs.cs
- CodeConstructor.cs
- TopClause.cs
- Token.cs
- PauseStoryboard.cs
- MulticastDelegate.cs
- MenuItemCollection.cs
- PixelFormats.cs
- BinaryWriter.cs
- AssemblyName.cs
- CheckBoxDesigner.cs
- ConfigurationElement.cs
- WebUtil.cs
- ConnectionManagementSection.cs
- SoapIgnoreAttribute.cs
- ParseElement.cs
- InvokePatternIdentifiers.cs
- HttpTransportElement.cs
- TranslateTransform.cs
- RSAOAEPKeyExchangeFormatter.cs
- TextModifierScope.cs
- _BasicClient.cs
- BaseUriHelper.cs
- Matrix.cs
- XamlRtfConverter.cs
- ComponentDispatcherThread.cs
- SrgsNameValueTag.cs
- CoreChannel.cs
- RegexInterpreter.cs
- DisposableCollectionWrapper.cs
- FormatConvertedBitmap.cs
- _StreamFramer.cs
- ConfigurationPermission.cs
- IsolatedStorageFile.cs
- ScaleTransform.cs
- ImageMap.cs
- AlgoModule.cs
- BamlTreeMap.cs
- WithStatement.cs
- XamlUtilities.cs
- ReaderWriterLockWrapper.cs