Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlAttribute.cs / 1305376 / ConfigXmlAttribute.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 ConfigXmlAttribute : XmlAttribute, IConfigErrorInfo { int _line; string _filename; public ConfigXmlAttribute( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlAttribute clone = cloneNode as ConfigXmlAttribute; 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 ConfigXmlAttribute : XmlAttribute, IConfigErrorInfo { int _line; string _filename; public ConfigXmlAttribute( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlAttribute clone = cloneNode as ConfigXmlAttribute; 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
- EntityDataSourceConfigureObjectContextPanel.cs
- CqlQuery.cs
- Point3DAnimation.cs
- DecoderExceptionFallback.cs
- InlinedLocationReference.cs
- SessionState.cs
- PolicyStatement.cs
- TextBreakpoint.cs
- VisualStyleTypesAndProperties.cs
- Dynamic.cs
- UpdateRecord.cs
- RuntimeTransactionHandle.cs
- DocumentSchemaValidator.cs
- SuppressMessageAttribute.cs
- CompModSwitches.cs
- GetUserPreferenceRequest.cs
- Primitive.cs
- ExeContext.cs
- LogicalExpr.cs
- TextElementCollectionHelper.cs
- VirtualDirectoryMapping.cs
- Rfc2898DeriveBytes.cs
- BinaryMethodMessage.cs
- MapPathBasedVirtualPathProvider.cs
- DataSourceView.cs
- EntitySqlQueryCacheEntry.cs
- UpdatableWrapper.cs
- HMACSHA384.cs
- Helpers.cs
- ConfigurationSectionGroupCollection.cs
- AssertHelper.cs
- RemotingConfiguration.cs
- EnumValidator.cs
- Substitution.cs
- QilLiteral.cs
- ProgressBarRenderer.cs
- DataBoundLiteralControl.cs
- DataListCommandEventArgs.cs
- BasicCellRelation.cs
- DerivedKeySecurityToken.cs
- WindowsComboBox.cs
- Vector3DCollectionConverter.cs
- ReachPageContentCollectionSerializer.cs
- COM2ExtendedBrowsingHandler.cs
- EditorZone.cs
- InitializationEventAttribute.cs
- XmlReader.cs
- Registry.cs
- AssemblyUtil.cs
- EntityClientCacheKey.cs
- DataSourceCache.cs
- ArraySortHelper.cs
- ValueQuery.cs
- StreamWriter.cs
- ToolStripRenderer.cs
- UnsignedPublishLicense.cs
- MappingException.cs
- DataPager.cs
- HttpCapabilitiesEvaluator.cs
- MimeParameter.cs
- XmlWrappingReader.cs
- XMLSchema.cs
- EntityClassGenerator.cs
- SocketException.cs
- QueryOutputWriter.cs
- ScrollBarRenderer.cs
- InternalControlCollection.cs
- AbsoluteQuery.cs
- ColumnTypeConverter.cs
- SystemWebSectionGroup.cs
- MenuTracker.cs
- SrgsNameValueTag.cs
- GroupBoxAutomationPeer.cs
- NameService.cs
- XmlnsCompatibleWithAttribute.cs
- LoadGrammarCompletedEventArgs.cs
- ConnectionStringsExpressionBuilder.cs
- FormsAuthenticationConfiguration.cs
- StateWorkerRequest.cs
- InstanceHandleReference.cs
- MatrixTransform3D.cs
- IdentifierCreationService.cs
- EditingMode.cs
- CodeDOMProvider.cs
- SettingsSection.cs
- Baml2006KeyRecord.cs
- FactoryId.cs
- GridItemPattern.cs
- FlowNode.cs
- ImmutablePropertyDescriptorGridEntry.cs
- FocusChangedEventArgs.cs
- HtmlElementCollection.cs
- TransformFinalBlockRequest.cs
- XmlEncodedRawTextWriter.cs
- PassportIdentity.cs
- SelectiveScrollingGrid.cs
- FloatAverageAggregationOperator.cs
- DesignerSerializerAttribute.cs
- EncryptedReference.cs
- xmlglyphRunInfo.cs