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
- MeshGeometry3D.cs
- X509CertificateTokenFactoryCredential.cs
- DateTimeConverter2.cs
- IndexOutOfRangeException.cs
- CallbackBehaviorAttribute.cs
- StorageAssociationSetMapping.cs
- CodeAttachEventStatement.cs
- _TLSstream.cs
- WmlTextViewAdapter.cs
- SiteMap.cs
- DefaultTextStore.cs
- TypeBrowserDialog.cs
- LayoutManager.cs
- FileUtil.cs
- UnauthorizedAccessException.cs
- SoapTypeAttribute.cs
- Variable.cs
- HtmlShim.cs
- _SslState.cs
- CodeDOMProvider.cs
- FontSource.cs
- RichTextBox.cs
- PerformanceCounterPermissionEntryCollection.cs
- X509CertificateChain.cs
- DataGridViewRowEventArgs.cs
- XmlTextReaderImpl.cs
- DefaultMemberAttribute.cs
- SequenceQuery.cs
- EventDrivenDesigner.cs
- TreeViewAutomationPeer.cs
- ByteStreamGeometryContext.cs
- ResourceSetExpression.cs
- HyperLinkField.cs
- RadioButtonBaseAdapter.cs
- XPathSelectionIterator.cs
- DataGridTableCollection.cs
- AutomationPropertyInfo.cs
- DetailsViewRow.cs
- DefaultBinder.cs
- InputScope.cs
- DesignerCategoryAttribute.cs
- SecurityCapabilities.cs
- PropertyItem.cs
- PrincipalPermission.cs
- WebServiceAttribute.cs
- LineUtil.cs
- FontDifferentiator.cs
- UnsettableComboBox.cs
- FusionWrap.cs
- XDeferredAxisSource.cs
- ControlAdapter.cs
- DateTimeOffsetStorage.cs
- TaiwanCalendar.cs
- DirtyTextRange.cs
- baseaxisquery.cs
- XmlMemberMapping.cs
- UdpChannelListener.cs
- DataGridViewIntLinkedList.cs
- OdbcParameterCollection.cs
- xml.cs
- DataBindingList.cs
- EarlyBoundInfo.cs
- SerializationException.cs
- DataGridLinkButton.cs
- VariantWrapper.cs
- PolygonHotSpot.cs
- OracleEncoding.cs
- ColorAnimationUsingKeyFrames.cs
- WorkflowInstance.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- SocketElement.cs
- FontFaceLayoutInfo.cs
- SelectionWordBreaker.cs
- TypeUnloadedException.cs
- EncryptedData.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- LocatorPartList.cs
- Underline.cs
- RuleSettings.cs
- HttpCapabilitiesEvaluator.cs
- VersionConverter.cs
- EditorPartCollection.cs
- RelationshipEnd.cs
- TraceContextEventArgs.cs
- HwndSubclass.cs
- UnmanagedBitmapWrapper.cs
- BamlResourceSerializer.cs
- DocumentViewerConstants.cs
- ExtenderControl.cs
- ShaperBuffers.cs
- SchemaType.cs
- CodeConditionStatement.cs
- SecurityElement.cs
- MDIClient.cs
- InputElement.cs
- RemotingSurrogateSelector.cs
- CollectionBuilder.cs
- Set.cs
- FrameworkElementFactoryMarkupObject.cs
- PropertyChangedEventManager.cs