Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaObject.cs / 2 / 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
- DirectionalLight.cs
- MobileComponentEditorPage.cs
- PointCollection.cs
- GlyphTypeface.cs
- ObjectDataSourceMethodEditor.cs
- SqlDataReader.cs
- HeaderPanel.cs
- Events.cs
- XmlRawWriterWrapper.cs
- StackSpiller.cs
- DbQueryCommandTree.cs
- BaseProcessor.cs
- DragEvent.cs
- BevelBitmapEffect.cs
- PassportAuthenticationModule.cs
- EdmError.cs
- GeometryCollection.cs
- CallbackHandler.cs
- GridViewRow.cs
- UIElementIsland.cs
- SchemaMapping.cs
- SqlDataSourceRefreshSchemaForm.cs
- Inline.cs
- GenericXmlSecurityTokenAuthenticator.cs
- CodeTypeMember.cs
- ExtentKey.cs
- ManagementOptions.cs
- MaskedTextBox.cs
- EqualityComparer.cs
- WebPartConnectionsConfigureVerb.cs
- PartialToken.cs
- EntityDesignerBuildProvider.cs
- DependencyPropertyKey.cs
- ICspAsymmetricAlgorithm.cs
- SourceChangedEventArgs.cs
- DefaultEventAttribute.cs
- MemoryFailPoint.cs
- TreeNodeStyleCollection.cs
- ContentType.cs
- WebPartDisplayModeCancelEventArgs.cs
- QueryInterceptorAttribute.cs
- XmlDomTextWriter.cs
- ExpressionBuilder.cs
- UnsafeNativeMethods.cs
- XmlDataProvider.cs
- PrintingPermissionAttribute.cs
- WebConfigurationHost.cs
- DataSourceView.cs
- RadioButton.cs
- IdentityHolder.cs
- DbDataSourceEnumerator.cs
- SkipStoryboardToFill.cs
- BooleanSwitch.cs
- MobileControl.cs
- RealProxy.cs
- ExtensionSimplifierMarkupObject.cs
- UIElementParagraph.cs
- RuleSettings.cs
- SmtpException.cs
- AsyncResult.cs
- PropertyCollection.cs
- CallContext.cs
- HtmlTable.cs
- LayoutEditorPart.cs
- AppDomainProtocolHandler.cs
- UIElementAutomationPeer.cs
- Win32PrintDialog.cs
- PermissionSetEnumerator.cs
- TextBreakpoint.cs
- DecoderFallbackWithFailureFlag.cs
- RangeBase.cs
- SafeNativeMethodsMilCoreApi.cs
- AtomPub10CategoriesDocumentFormatter.cs
- DetailsViewDeleteEventArgs.cs
- SubpageParaClient.cs
- ColorMap.cs
- NullExtension.cs
- SelectorItemAutomationPeer.cs
- Imaging.cs
- BindingExpressionBase.cs
- BridgeDataRecord.cs
- DynamicFilter.cs
- XmlTextReaderImplHelpers.cs
- SiteMapNodeItem.cs
- HttpAsyncResult.cs
- SessionParameter.cs
- DataObjectMethodAttribute.cs
- ActivitySurrogate.cs
- UrlSyndicationContent.cs
- CultureInfo.cs
- SqlDataReader.cs
- Tokenizer.cs
- EntityPropertyMappingAttribute.cs
- CodeGeneratorOptions.cs
- Sql8ExpressionRewriter.cs
- sortedlist.cs
- TemplateFactory.cs
- UrlPath.cs
- ClonableStack.cs
- SecurityValidationBehavior.cs