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
- CodeTypeReferenceCollection.cs
- Transform3D.cs
- GlobalItem.cs
- DoubleCollectionConverter.cs
- Light.cs
- KoreanCalendar.cs
- StylusButton.cs
- UnmanagedMarshal.cs
- ActivityMarkupSerializationProvider.cs
- LinqTreeNodeEvaluator.cs
- EncoderBestFitFallback.cs
- DelegatedStream.cs
- ValueType.cs
- ScrollViewerAutomationPeer.cs
- PrefixQName.cs
- GenericEnumerator.cs
- ExpressionPrefixAttribute.cs
- TcpServerChannel.cs
- LambdaCompiler.Expressions.cs
- GridItemPatternIdentifiers.cs
- DESCryptoServiceProvider.cs
- AuthorizationRuleCollection.cs
- SdlChannelSink.cs
- ResXFileRef.cs
- ObjectSecurity.cs
- ColumnCollectionEditor.cs
- VariableQuery.cs
- HwndAppCommandInputProvider.cs
- TypeAccessException.cs
- HttpFileCollectionWrapper.cs
- RowSpanVector.cs
- ThreadExceptionDialog.cs
- WebZone.cs
- SchemaCollectionPreprocessor.cs
- CheckedListBox.cs
- PrivilegeNotHeldException.cs
- EntityDataSourceChangingEventArgs.cs
- TableRow.cs
- WorkflowNamespace.cs
- SessionState.cs
- PropertyMapper.cs
- ProfilePropertyMetadata.cs
- safemediahandle.cs
- SecUtil.cs
- WaitHandle.cs
- documentsequencetextcontainer.cs
- RoleGroupCollectionEditor.cs
- XmlDataSource.cs
- PropertyChangingEventArgs.cs
- ErrorProvider.cs
- PackagePart.cs
- ErrorEventArgs.cs
- RegexGroup.cs
- OverrideMode.cs
- MultipleViewProviderWrapper.cs
- WebPartVerbCollection.cs
- WinEventTracker.cs
- VisualBasicReference.cs
- DisplayMemberTemplateSelector.cs
- BadImageFormatException.cs
- SeverityFilter.cs
- XsdDateTime.cs
- XPathItem.cs
- RotateTransform.cs
- SynchronizationLockException.cs
- RootNamespaceAttribute.cs
- WebSysDescriptionAttribute.cs
- InheritanceUI.cs
- BinaryFormatter.cs
- XmlObjectSerializer.cs
- ObjectItemNoOpAssemblyLoader.cs
- SqlAliasesReferenced.cs
- SecurityCredentialsManager.cs
- NullableDecimalAverageAggregationOperator.cs
- DSASignatureFormatter.cs
- VerificationAttribute.cs
- SiteOfOriginPart.cs
- SqlDataSource.cs
- CharacterString.cs
- NavigatorOutput.cs
- WebPartManager.cs
- BitmapSizeOptions.cs
- Bitmap.cs
- Rect.cs
- InternalSafeNativeMethods.cs
- PerformanceCounterLib.cs
- LogStore.cs
- Function.cs
- ViewLoader.cs
- PriorityQueue.cs
- MemoryFailPoint.cs
- Helpers.cs
- AnchoredBlock.cs
- ResourceType.cs
- KeyValuePairs.cs
- EntityDataSourceReferenceGroup.cs
- InfoCardKeyedHashAlgorithm.cs
- CLSCompliantAttribute.cs
- ScrollChrome.cs
- PnrpPermission.cs