Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Configuration / System / Configuration / LocationSectionRecord.cs / 1 / LocationSectionRecord.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Configuration {
using System.Configuration.Internal;
using System.Collections;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Threading;
using System.Reflection;
using System.Xml;
[System.Diagnostics.DebuggerDisplay("LocationSectionRecord {ConfigKey}")]
internal class LocationSectionRecord {
SectionXmlInfo _sectionXmlInfo; // sectionXmlInfo
List _errors; // errors
internal LocationSectionRecord(SectionXmlInfo sectionXmlInfo, List errors) {
_sectionXmlInfo = sectionXmlInfo;
_errors = errors;
}
internal string ConfigKey {
get {return _sectionXmlInfo.ConfigKey;}
}
internal SectionXmlInfo SectionXmlInfo {
get {return _sectionXmlInfo;}
}
//
// Errors associated with the parse of a location section.
//
internal ICollection Errors {
get {
return _errors;
}
}
internal List ErrorsList {
get {
return _errors;
}
}
internal bool HasErrors {
get {
return ErrorsHelper.GetHasErrors(_errors);
}
}
internal void AddError(ConfigurationException e) {
ErrorsHelper.AddError(ref _errors, e);
}
}
}
// 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.Collections;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Threading;
using System.Reflection;
using System.Xml;
[System.Diagnostics.DebuggerDisplay("LocationSectionRecord {ConfigKey}")]
internal class LocationSectionRecord {
SectionXmlInfo _sectionXmlInfo; // sectionXmlInfo
List _errors; // errors
internal LocationSectionRecord(SectionXmlInfo sectionXmlInfo, List errors) {
_sectionXmlInfo = sectionXmlInfo;
_errors = errors;
}
internal string ConfigKey {
get {return _sectionXmlInfo.ConfigKey;}
}
internal SectionXmlInfo SectionXmlInfo {
get {return _sectionXmlInfo;}
}
//
// Errors associated with the parse of a location section.
//
internal ICollection Errors {
get {
return _errors;
}
}
internal List ErrorsList {
get {
return _errors;
}
}
internal bool HasErrors {
get {
return ErrorsHelper.GetHasErrors(_errors);
}
}
internal void AddError(ConfigurationException e) {
ErrorsHelper.AddError(ref _errors, e);
}
}
}
// 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
- storepermissionattribute.cs
- XmlResolver.cs
- InOutArgumentConverter.cs
- HtmlTextArea.cs
- DateTimeOffsetAdapter.cs
- PagedDataSource.cs
- ListenerChannelContext.cs
- HttpApplication.cs
- HasActivatableWorkflowEvent.cs
- MarkupObject.cs
- HostDesigntimeLicenseContext.cs
- RawStylusInputCustomData.cs
- InfiniteIntConverter.cs
- BufferedWebEventProvider.cs
- ScalarConstant.cs
- RetrieveVirtualItemEventArgs.cs
- BufferedGraphics.cs
- UnsafeNativeMethods.cs
- RegexNode.cs
- PackageStore.cs
- StylusTip.cs
- DataGridViewSortCompareEventArgs.cs
- PageParser.cs
- WindowsTitleBar.cs
- OperationCanceledException.cs
- XsltCompileContext.cs
- GradientBrush.cs
- MetadataArtifactLoaderCompositeResource.cs
- ProfessionalColorTable.cs
- CalculatedColumn.cs
- CSharpCodeProvider.cs
- ViewManager.cs
- MemoryFailPoint.cs
- StrongNameSignatureInformation.cs
- DecimalConverter.cs
- MatrixAnimationUsingKeyFrames.cs
- InheritanceAttribute.cs
- DebuggerService.cs
- ProcessModelInfo.cs
- Line.cs
- EventLogPermission.cs
- WebPartCatalogAddVerb.cs
- CatalogPart.cs
- Evidence.cs
- PageContentAsyncResult.cs
- EventLogPermission.cs
- WorkflowServiceOperationListItem.cs
- ThreadExceptionDialog.cs
- cookieexception.cs
- SqlUdtInfo.cs
- ProgressBarBrushConverter.cs
- LineInfo.cs
- CompilerState.cs
- DocumentXPathNavigator.cs
- DataGridViewCellCancelEventArgs.cs
- Permission.cs
- WebPartsPersonalizationAuthorization.cs
- EditorZone.cs
- ReaderWriterLockWrapper.cs
- ZeroOpNode.cs
- Automation.cs
- LassoHelper.cs
- NameSpaceEvent.cs
- MediaPlayerState.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- PersistenceTypeAttribute.cs
- odbcmetadatacolumnnames.cs
- CommandField.cs
- HostedNamedPipeTransportManager.cs
- IndentedTextWriter.cs
- NavigatingCancelEventArgs.cs
- VisualBrush.cs
- unsafenativemethodsother.cs
- ExtendedProtectionPolicy.cs
- VisemeEventArgs.cs
- XmlSchemaAttribute.cs
- ChangeTracker.cs
- InfoCardSymmetricAlgorithm.cs
- TextRunCache.cs
- DataBoundControlHelper.cs
- SymLanguageVendor.cs
- SqlNodeTypeOperators.cs
- CodeDirectoryCompiler.cs
- FontWeightConverter.cs
- HttpDictionary.cs
- ConfigurationManagerInternalFactory.cs
- DbParameterHelper.cs
- ConsumerConnectionPointCollection.cs
- AdornedElementPlaceholder.cs
- KnownIds.cs
- ByteStream.cs
- ClassHandlersStore.cs
- PointAnimationBase.cs
- OleServicesContext.cs
- OutputCacheSection.cs
- ActivityCollectionMarkupSerializer.cs
- WindowsListViewGroupHelper.cs
- RenderTargetBitmap.cs
- Memoizer.cs
- XmlParserContext.cs