Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- LineSegment.cs
- SuppressMessageAttribute.cs
- WinEventHandler.cs
- streamingZipPartStream.cs
- OpacityConverter.cs
- TypeGeneratedEventArgs.cs
- TabControlDesigner.cs
- PathFigure.cs
- XPathConvert.cs
- PointAnimation.cs
- FixedDocumentSequencePaginator.cs
- ToolStripPanelRenderEventArgs.cs
- LineInfo.cs
- Formatter.cs
- sortedlist.cs
- GZipDecoder.cs
- SystemColors.cs
- LocalIdKeyIdentifierClause.cs
- RestClientProxyHandler.cs
- PlatformCulture.cs
- ObjectSet.cs
- DataGridViewCellParsingEventArgs.cs
- DataGridColumnsPage.cs
- HttpContext.cs
- StateManagedCollection.cs
- IndexOutOfRangeException.cs
- Button.cs
- EdmError.cs
- Enum.cs
- DateTimeEditor.cs
- ContextMenuStrip.cs
- WindowsFormsDesignerOptionService.cs
- FileLoadException.cs
- LoaderAllocator.cs
- HandlerBase.cs
- AvTraceDetails.cs
- GridPatternIdentifiers.cs
- DataColumn.cs
- ChildTable.cs
- TagPrefixCollection.cs
- SmiGettersStream.cs
- StorageFunctionMapping.cs
- ParameterModifier.cs
- SetState.cs
- BaseComponentEditor.cs
- RecognizerBase.cs
- XmlQueryTypeFactory.cs
- DbDataAdapter.cs
- ValidatingPropertiesEventArgs.cs
- PrimitiveXmlSerializers.cs
- RegexCharClass.cs
- SafeRightsManagementHandle.cs
- ActivityMarkupSerializer.cs
- SQLInt16.cs
- MsmqOutputSessionChannel.cs
- WebPartAuthorizationEventArgs.cs
- HwndStylusInputProvider.cs
- AsyncInvokeOperation.cs
- RepeatButton.cs
- PropertyNames.cs
- SystemUdpStatistics.cs
- EntityContainerEmitter.cs
- PerformanceCounterPermission.cs
- FormatConvertedBitmap.cs
- DbConnectionHelper.cs
- FolderBrowserDialog.cs
- Literal.cs
- DSASignatureDeformatter.cs
- MultipartContentParser.cs
- BinaryReader.cs
- SafeFindHandle.cs
- SerializationEventsCache.cs
- HMACSHA1.cs
- MachineKeySection.cs
- ConfigurationPropertyAttribute.cs
- ListViewItemSelectionChangedEvent.cs
- FlowDocumentReaderAutomationPeer.cs
- wgx_exports.cs
- OciLobLocator.cs
- MetricEntry.cs
- DataList.cs
- RefExpr.cs
- WindowsGraphicsWrapper.cs
- SQLInt32Storage.cs
- BuiltInPermissionSets.cs
- TrackBarRenderer.cs
- HttpHandlerActionCollection.cs
- Utils.cs
- DiagnosticStrings.cs
- ConstraintConverter.cs
- RequestTimeoutManager.cs
- ArraySubsetEnumerator.cs
- TypeInitializationException.cs
- TCEAdapterGenerator.cs
- XmlDocumentType.cs
- PrefixQName.cs
- Matrix3DStack.cs
- ConfigurationValidatorAttribute.cs
- FontNamesConverter.cs
- ObjectItemAttributeAssemblyLoader.cs