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
- KeyInterop.cs
- NameTable.cs
- Point.cs
- TdsParserSafeHandles.cs
- XmlnsCompatibleWithAttribute.cs
- DefaultBinder.cs
- CheckoutException.cs
- RecognizerInfo.cs
- DataTemplateKey.cs
- MultiSelectRootGridEntry.cs
- IFlowDocumentViewer.cs
- TextAdaptor.cs
- GuidelineCollection.cs
- CookieParameter.cs
- NegotiationTokenAuthenticator.cs
- ClickablePoint.cs
- ButtonColumn.cs
- CommandBindingCollection.cs
- HttpModuleCollection.cs
- ObjectPersistData.cs
- CancelEventArgs.cs
- SessionStateSection.cs
- SystemBrushes.cs
- InvalidAsynchronousStateException.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- HatchBrush.cs
- FieldValue.cs
- ToolStripGripRenderEventArgs.cs
- IImplicitResourceProvider.cs
- CoreChannel.cs
- SingleObjectCollection.cs
- HttpResponseHeader.cs
- CryptoApi.cs
- ListBoxItemAutomationPeer.cs
- BamlRecordReader.cs
- StorageAssociationTypeMapping.cs
- ConfigurationConverterBase.cs
- WebPartVerbsEventArgs.cs
- FeatureSupport.cs
- MsmqInputMessage.cs
- BuildProvidersCompiler.cs
- ApplicationFileParser.cs
- EdgeModeValidation.cs
- HotSpotCollectionEditor.cs
- ConfigXmlComment.cs
- oledbconnectionstring.cs
- TypeInformation.cs
- ExtenderProviderService.cs
- CutCopyPasteHelper.cs
- _TLSstream.cs
- LayoutEngine.cs
- SafeNativeMethodsMilCoreApi.cs
- StylusPointDescription.cs
- ChtmlTextWriter.cs
- LinqDataSourceSelectEventArgs.cs
- LiteralControl.cs
- DataTemplateSelector.cs
- CodeArrayCreateExpression.cs
- infer.cs
- TreeViewHitTestInfo.cs
- IndependentlyAnimatedPropertyMetadata.cs
- UnsafeNativeMethodsPenimc.cs
- SqlUnionizer.cs
- ContactManager.cs
- EntityChangedParams.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- Brushes.cs
- RangeValuePatternIdentifiers.cs
- Visual.cs
- VirtualDirectoryMappingCollection.cs
- XmlSchemaNotation.cs
- figurelength.cs
- LineUtil.cs
- MD5CryptoServiceProvider.cs
- ExitEventArgs.cs
- ControlBindingsCollection.cs
- MetadataFile.cs
- CopyOfAction.cs
- GenericWebPart.cs
- SafeWaitHandle.cs
- ViewManager.cs
- RegexWriter.cs
- BinaryObjectReader.cs
- SqlDataSourceCommandEventArgs.cs
- StorageEntitySetMapping.cs
- RegionIterator.cs
- Helper.cs
- OutputWindow.cs
- DataTablePropertyDescriptor.cs
- ScaleTransform.cs
- WorkflowInstanceExtensionCollection.cs
- LayoutEngine.cs
- FrameworkElement.cs
- CroppedBitmap.cs
- Fonts.cs
- DataGridViewCell.cs
- EdmComplexPropertyAttribute.cs
- grammarelement.cs
- Input.cs
- BreakRecordTable.cs