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
- ProgressBarAutomationPeer.cs
- ProfilePropertyNameValidator.cs
- Filter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ProcessStartInfo.cs
- RecordManager.cs
- DockingAttribute.cs
- PriorityChain.cs
- UIElement.cs
- IgnoreSectionHandler.cs
- OdbcReferenceCollection.cs
- TagMapCollection.cs
- ListItemCollection.cs
- MsdtcWrapper.cs
- ProcessRequestArgs.cs
- RNGCryptoServiceProvider.cs
- CodeRemoveEventStatement.cs
- AnimatedTypeHelpers.cs
- ObjectPersistData.cs
- CuspData.cs
- ExceptionUtil.cs
- ContextQuery.cs
- DecimalAnimationBase.cs
- SrgsElementFactory.cs
- EpmContentDeSerializer.cs
- SqlGenerator.cs
- ConfigXmlCDataSection.cs
- WaitingCursor.cs
- FormViewRow.cs
- DataError.cs
- DataGridPageChangedEventArgs.cs
- SqlDuplicator.cs
- WebControl.cs
- MarkerProperties.cs
- PointConverter.cs
- TransformedBitmap.cs
- BoolExpressionVisitors.cs
- OdbcException.cs
- MethodBuilderInstantiation.cs
- SafeSecurityHelper.cs
- RayMeshGeometry3DHitTestResult.cs
- WindowsScrollBar.cs
- DecimalAnimation.cs
- NotificationContext.cs
- DispatcherFrame.cs
- SkewTransform.cs
- Number.cs
- NamespaceQuery.cs
- UnknownBitmapEncoder.cs
- AliasExpr.cs
- ColumnCollection.cs
- AssemblyBuilder.cs
- MessageSecurityOverMsmqElement.cs
- SemanticResultValue.cs
- X509DefaultServiceCertificateElement.cs
- ClientSponsor.cs
- SqlExpander.cs
- ServiceRoute.cs
- DesignerDataSchemaClass.cs
- LockedHandleGlyph.cs
- RowCache.cs
- FontFamily.cs
- TextTreeInsertUndoUnit.cs
- XamlBuildProvider.cs
- RegexCaptureCollection.cs
- NCryptSafeHandles.cs
- SpellerHighlightLayer.cs
- DataGridViewSelectedColumnCollection.cs
- OutOfProcStateClientManager.cs
- XmlImplementation.cs
- MyContact.cs
- NoneExcludedImageIndexConverter.cs
- HtmlUtf8RawTextWriter.cs
- TextServicesCompartmentEventSink.cs
- SapiAttributeParser.cs
- MailAddressCollection.cs
- InternalConfigHost.cs
- QilDataSource.cs
- precedingquery.cs
- TemplateKeyConverter.cs
- SapiInterop.cs
- SplineQuaternionKeyFrame.cs
- ScrollChrome.cs
- DesigntimeLicenseContext.cs
- NetworkInterface.cs
- ColumnMapTranslator.cs
- NGCSerializationManager.cs
- Executor.cs
- ScrollProviderWrapper.cs
- OdbcEnvironment.cs
- StackBuilderSink.cs
- IndicShape.cs
- ListView.cs
- StopRoutingHandler.cs
- Brushes.cs
- StorageEndPropertyMapping.cs
- UIAgentInitializationException.cs
- NumericExpr.cs
- Simplifier.cs
- ObjectStateEntry.cs