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;
///
///
/// [To be supplied.]
///
[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;}
}
///
[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
- InternalConfigEventArgs.cs
- ExecutionContext.cs
- DragDrop.cs
- RuntimeHelpers.cs
- DataGridColumn.cs
- LocationReference.cs
- Thread.cs
- XmlObjectSerializerContext.cs
- FontNamesConverter.cs
- Processor.cs
- SqlCommand.cs
- BindingGroup.cs
- PageEventArgs.cs
- SyndicationPerson.cs
- TranslateTransform.cs
- ProcessThread.cs
- PrintPreviewControl.cs
- CalloutQueueItem.cs
- TempFiles.cs
- ExpressionPrinter.cs
- Configuration.cs
- PathData.cs
- InputScopeNameConverter.cs
- AddingNewEventArgs.cs
- Int32Storage.cs
- TagMapInfo.cs
- TCEAdapterGenerator.cs
- ComponentDesigner.cs
- CompatibleComparer.cs
- FeatureSupport.cs
- RTLAwareMessageBox.cs
- XmlSchemaParticle.cs
- ArrayElementGridEntry.cs
- Parallel.cs
- ProfessionalColorTable.cs
- WebHttpBindingCollectionElement.cs
- MediaSystem.cs
- StrokeDescriptor.cs
- RC2.cs
- FirstMatchCodeGroup.cs
- TextEndOfLine.cs
- ExtenderControl.cs
- MouseButtonEventArgs.cs
- Schema.cs
- NamespaceList.cs
- SessionStateSection.cs
- MasterPageParser.cs
- ListView.cs
- PngBitmapDecoder.cs
- TextRangeEdit.cs
- MediaElement.cs
- HttpPostedFile.cs
- TypeExtensionConverter.cs
- MetadataHelper.cs
- RequestSecurityTokenResponseCollection.cs
- StackBuilderSink.cs
- Switch.cs
- TextureBrush.cs
- DataServices.cs
- CachedPathData.cs
- PnrpPermission.cs
- WebResourceAttribute.cs
- SchemaTableOptionalColumn.cs
- MimeObjectFactory.cs
- FilterElement.cs
- UserUseLicenseDictionaryLoader.cs
- Queue.cs
- GC.cs
- SHA256.cs
- ConfigurationSectionGroup.cs
- Camera.cs
- WebCategoryAttribute.cs
- XmlWrappingWriter.cs
- NativeMethods.cs
- CounterSample.cs
- ObjectRef.cs
- FormViewDesigner.cs
- XmlSerializerFaultFormatter.cs
- ColumnMapProcessor.cs
- VirtualPathUtility.cs
- TreeSet.cs
- PerformanceCountersElement.cs
- DbXmlEnabledProviderManifest.cs
- ControlCachePolicy.cs
- SystemIPGlobalProperties.cs
- TrustLevelCollection.cs
- SchemaEntity.cs
- ScalarOps.cs
- ObservableDictionary.cs
- NavigationService.cs
- SafeLocalMemHandle.cs
- RegexBoyerMoore.cs
- RNGCryptoServiceProvider.cs
- SqlUdtInfo.cs
- ForEach.cs
- ToolZone.cs
- HtmlInputImage.cs
- GridViewEditEventArgs.cs
- QuinticEase.cs
- DataSourceExpressionCollection.cs