Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / LocationUpdates.cs / 1 / LocationUpdates.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Configuration {
//
// LocationUpdates contains all the updates that share the same location characteristics.
//
internal class LocationUpdates {
OverrideModeSetting _overrideMode;
bool _inheritInChildApps;
SectionUpdates _sectionUpdates; // root of section
internal LocationUpdates(OverrideModeSetting overrideMode, bool inheritInChildApps) {
_overrideMode = overrideMode;
_inheritInChildApps = inheritInChildApps;
_sectionUpdates = new SectionUpdates(string.Empty);
}
internal OverrideModeSetting OverrideMode {
get {return _overrideMode;}
}
internal bool InheritInChildApps {
get {return _inheritInChildApps;}
}
internal SectionUpdates SectionUpdates {
get {return _sectionUpdates;}
}
internal bool IsDefault {
get {
return _overrideMode.IsDefaultForLocationTag && _inheritInChildApps == true;
}
}
internal void CompleteUpdates() {
_sectionUpdates.CompleteUpdates();
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Configuration {
//
// LocationUpdates contains all the updates that share the same location characteristics.
//
internal class LocationUpdates {
OverrideModeSetting _overrideMode;
bool _inheritInChildApps;
SectionUpdates _sectionUpdates; // root of section
internal LocationUpdates(OverrideModeSetting overrideMode, bool inheritInChildApps) {
_overrideMode = overrideMode;
_inheritInChildApps = inheritInChildApps;
_sectionUpdates = new SectionUpdates(string.Empty);
}
internal OverrideModeSetting OverrideMode {
get {return _overrideMode;}
}
internal bool InheritInChildApps {
get {return _inheritInChildApps;}
}
internal SectionUpdates SectionUpdates {
get {return _sectionUpdates;}
}
internal bool IsDefault {
get {
return _overrideMode.IsDefaultForLocationTag && _inheritInChildApps == true;
}
}
internal void CompleteUpdates() {
_sectionUpdates.CompleteUpdates();
}
}
}
// 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
- HttpFileCollection.cs
- LicenseContext.cs
- RepeatBehaviorConverter.cs
- ConfigXmlCDataSection.cs
- RepeaterItemCollection.cs
- CriticalExceptions.cs
- FormView.cs
- ISFTagAndGuidCache.cs
- NamedPermissionSet.cs
- DiffuseMaterial.cs
- ItemCollection.cs
- NullNotAllowedCollection.cs
- DateTime.cs
- FrameworkContentElement.cs
- MailMessageEventArgs.cs
- CollectionDataContract.cs
- MaterialGroup.cs
- IRCollection.cs
- TextStore.cs
- DbTransaction.cs
- XPathDocument.cs
- CalendarTable.cs
- ToolStripItemRenderEventArgs.cs
- Composition.cs
- ConvertersCollection.cs
- ConfigXmlWhitespace.cs
- BrowserCapabilitiesCompiler.cs
- ReflectEventDescriptor.cs
- IndexerNameAttribute.cs
- ApplicationServiceManager.cs
- NativeMethods.cs
- XmlQueryContext.cs
- DatagridviewDisplayedBandsData.cs
- Metadata.cs
- DataSourceUtil.cs
- TranslateTransform.cs
- ProgressBarBrushConverter.cs
- Typeface.cs
- DataGridRowAutomationPeer.cs
- RegularExpressionValidator.cs
- SharedPerformanceCounter.cs
- WinInet.cs
- BaseTemplateBuildProvider.cs
- BinaryFormatter.cs
- ToolStripHighContrastRenderer.cs
- DataGridView.cs
- ArrayHelper.cs
- SimpleType.cs
- SiteMembershipCondition.cs
- HwndSourceKeyboardInputSite.cs
- ResourcesBuildProvider.cs
- ObsoleteAttribute.cs
- CodeLinePragma.cs
- CodeTryCatchFinallyStatement.cs
- __TransparentProxy.cs
- storepermission.cs
- ListItemCollection.cs
- CodeAttributeDeclarationCollection.cs
- EnumerationRangeValidationUtil.cs
- EncodingNLS.cs
- URLEditor.cs
- TableRow.cs
- RawUIStateInputReport.cs
- FontSource.cs
- StylusPointDescription.cs
- WrappedIUnknown.cs
- PropagatorResult.cs
- WithParamAction.cs
- WorkflowPrinting.cs
- SqlCharStream.cs
- TCPClient.cs
- PromptEventArgs.cs
- RayMeshGeometry3DHitTestResult.cs
- StatusBarPanel.cs
- MatrixAnimationUsingPath.cs
- BlurEffect.cs
- ToolboxItemFilterAttribute.cs
- WebBrowserUriTypeConverter.cs
- Size.cs
- CompoundFileStreamReference.cs
- PagedControl.cs
- IncrementalHitTester.cs
- DelegateSerializationHolder.cs
- MatrixTransform.cs
- SafeEventHandle.cs
- FtpRequestCacheValidator.cs
- Math.cs
- TimelineGroup.cs
- XmlSchemaSimpleTypeUnion.cs
- RevocationPoint.cs
- Point3DAnimationUsingKeyFrames.cs
- ActivityExecutionContextCollection.cs
- WebDescriptionAttribute.cs
- FixedSOMSemanticBox.cs
- WebControl.cs
- UnsafeNativeMethods.cs
- HttpFormatExtensions.cs
- TypeConverterHelper.cs
- WebPartVerb.cs
- HwndSourceKeyboardInputSite.cs