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
- TextBoxAutoCompleteSourceConverter.cs
- ListItemCollection.cs
- Page.cs
- DataSourceView.cs
- DependencyPropertyAttribute.cs
- BookmarkScopeHandle.cs
- ItemsChangedEventArgs.cs
- UIntPtr.cs
- ModelToObjectValueConverter.cs
- WebPart.cs
- StringOutput.cs
- Evidence.cs
- DynamicDataExtensions.cs
- Double.cs
- ServicePointManagerElement.cs
- ModifiableIteratorCollection.cs
- OpenFileDialog.cs
- JsonGlobals.cs
- DataGridViewRowCollection.cs
- PathData.cs
- MaterialGroup.cs
- SoapException.cs
- ScrollableControl.cs
- QuadraticBezierSegment.cs
- Interlocked.cs
- DebugView.cs
- AuthorizationRule.cs
- InputBuffer.cs
- UIElement.cs
- GradientStopCollection.cs
- IsolatedStorage.cs
- ChannelDemuxer.cs
- ListBoxDesigner.cs
- DbLambda.cs
- TableColumnCollection.cs
- TripleDES.cs
- SecurityResources.cs
- EdmError.cs
- ModelFactory.cs
- SetIterators.cs
- FaultDescriptionCollection.cs
- ReceiveErrorHandling.cs
- PhysicalAddress.cs
- FixedFlowMap.cs
- EarlyBoundInfo.cs
- BoundField.cs
- OleDbParameter.cs
- TransformedBitmap.cs
- AbsoluteQuery.cs
- DataGridRowDetailsEventArgs.cs
- Rectangle.cs
- SafeTimerHandle.cs
- TraceContext.cs
- ConnectionConsumerAttribute.cs
- TwoPhaseCommit.cs
- EventData.cs
- TypedTableBaseExtensions.cs
- login.cs
- ScriptingSectionGroup.cs
- ManifestResourceInfo.cs
- ResourceDictionaryCollection.cs
- ProtectedConfiguration.cs
- ObjectDataSourceDesigner.cs
- AudioStateChangedEventArgs.cs
- XmlStringTable.cs
- PaintEvent.cs
- VirtualPathProvider.cs
- DetailsViewModeEventArgs.cs
- RootProfilePropertySettingsCollection.cs
- PointValueSerializer.cs
- Array.cs
- DataGridViewRowHeaderCell.cs
- RegexWriter.cs
- IDictionary.cs
- TextTreeInsertUndoUnit.cs
- AccessDataSource.cs
- shaperfactoryquerycacheentry.cs
- MissingSatelliteAssemblyException.cs
- SplineKeyFrames.cs
- TextRangeEditTables.cs
- UiaCoreTypesApi.cs
- Span.cs
- Rotation3D.cs
- CompoundFileStorageReference.cs
- WeakEventManager.cs
- CommonGetThemePartSize.cs
- PeerTransportListenAddressValidator.cs
- SmiRecordBuffer.cs
- CultureData.cs
- GraphicsContainer.cs
- NumberFunctions.cs
- DesignerCommandSet.cs
- PageAdapter.cs
- CompositeScriptReferenceEventArgs.cs
- DashStyle.cs
- AbsoluteQuery.cs
- MessageAction.cs
- RtfToXamlReader.cs
- SecurityTokenProviderContainer.cs
- QilSortKey.cs