Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / ConfigXmlWhitespace.cs / 1 / ConfigXmlWhitespace.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, doc ) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, doc ) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // 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
- DigestComparer.cs
- DataPagerField.cs
- SEHException.cs
- ProfileBuildProvider.cs
- DesignColumnCollection.cs
- List.cs
- ReverseInheritProperty.cs
- OleDbDataAdapter.cs
- Int32CollectionValueSerializer.cs
- NumericUpDown.cs
- TabItemAutomationPeer.cs
- x509store.cs
- PartialClassGenerationTaskInternal.cs
- dtdvalidator.cs
- LineServicesRun.cs
- RequestQueue.cs
- Model3DCollection.cs
- Polyline.cs
- MessageUtil.cs
- ConfigurationManager.cs
- MembershipPasswordException.cs
- ScriptingScriptResourceHandlerSection.cs
- FileDialogCustomPlace.cs
- ZoneButton.cs
- UniqueEventHelper.cs
- ConstraintManager.cs
- LoadRetryConstantStrategy.cs
- RuleSettings.cs
- LicenseContext.cs
- PreservationFileReader.cs
- HTTPRemotingHandler.cs
- HtmlFormWrapper.cs
- SimpleRecyclingCache.cs
- QilTargetType.cs
- TransactionScope.cs
- GuidTagList.cs
- MatrixStack.cs
- InheritanceRules.cs
- ITextView.cs
- AvTrace.cs
- WebPartTracker.cs
- DBConnection.cs
- XmlSchemaSet.cs
- ToolStripSettings.cs
- OperationBehaviorAttribute.cs
- DependencyPropertyAttribute.cs
- ProcessManager.cs
- BitmapEffectInput.cs
- ZipIOExtraFieldElement.cs
- RuleSettingsCollection.cs
- PartManifestEntry.cs
- FontStyles.cs
- CornerRadiusConverter.cs
- WorkflowItemPresenter.cs
- SqlWriter.cs
- DiffuseMaterial.cs
- PerformanceCounterPermissionAttribute.cs
- MetaModel.cs
- XPathNavigator.cs
- ClockController.cs
- HitTestParameters.cs
- Interop.cs
- EntityTypeBase.cs
- MenuBase.cs
- URLAttribute.cs
- ThemeableAttribute.cs
- QueueProcessor.cs
- IdnMapping.cs
- DataTableMapping.cs
- TabItemWrapperAutomationPeer.cs
- TemplateAction.cs
- ConfigurationElement.cs
- XAMLParseException.cs
- ItemMap.cs
- _HelperAsyncResults.cs
- ComponentEditorPage.cs
- SafeRightsManagementSessionHandle.cs
- BindToObject.cs
- PropertyManager.cs
- Pair.cs
- Selection.cs
- TextTreeFixupNode.cs
- Html32TextWriter.cs
- SmtpNtlmAuthenticationModule.cs
- Part.cs
- MemoryPressure.cs
- DataGridViewLinkColumn.cs
- IApplicationTrustManager.cs
- ParenthesizePropertyNameAttribute.cs
- BuilderInfo.cs
- ItemCollection.cs
- DetailsViewUpdatedEventArgs.cs
- PrtCap_Base.cs
- Exception.cs
- BuildProviderAppliesToAttribute.cs
- XhtmlStyleClass.cs
- InstanceCreationEditor.cs
- AccessedThroughPropertyAttribute.cs
- MetafileHeaderWmf.cs
- WebPart.cs