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
- Focus.cs
- ModelTreeManager.cs
- DrawingCollection.cs
- Convert.cs
- WebPartDisplayModeCancelEventArgs.cs
- counter.cs
- PerspectiveCamera.cs
- SynchronizationHandlesCodeDomSerializer.cs
- ExpressionBuilder.cs
- StoreAnnotationsMap.cs
- CustomAttributeBuilder.cs
- StatusStrip.cs
- BinaryConverter.cs
- CompiledQueryCacheEntry.cs
- CollectionViewGroupRoot.cs
- GeneralTransform3DTo2D.cs
- OracleConnectionStringBuilder.cs
- Util.cs
- Propagator.cs
- WebRequestModuleElementCollection.cs
- DataGridRow.cs
- WebEventCodes.cs
- DataSourceExpressionCollection.cs
- MobileContainerDesigner.cs
- NativeMethods.cs
- HwndHostAutomationPeer.cs
- PlainXmlSerializer.cs
- MailHeaderInfo.cs
- _LocalDataStore.cs
- DynamicRenderer.cs
- RuntimeHandles.cs
- PrintEvent.cs
- SQLBoolean.cs
- PathFigureCollectionConverter.cs
- FixedPageAutomationPeer.cs
- XamlPointCollectionSerializer.cs
- RouteData.cs
- GlyphManager.cs
- PathSegment.cs
- AttributeData.cs
- ResourceReferenceExpression.cs
- WebBrowserContainer.cs
- Command.cs
- UxThemeWrapper.cs
- XmlSchemaExternal.cs
- CopyNamespacesAction.cs
- GroupQuery.cs
- MemoryFailPoint.cs
- TreeNodeStyle.cs
- DataSourceCache.cs
- FrameworkContextData.cs
- LicenseException.cs
- DataGridAddNewRow.cs
- TrackBarRenderer.cs
- COM2PropertyDescriptor.cs
- PointValueSerializer.cs
- SqlFileStream.cs
- EncryptedXml.cs
- DynamicILGenerator.cs
- SequentialOutput.cs
- KeyTimeConverter.cs
- Bitmap.cs
- OpenTypeLayoutCache.cs
- ProxyHelper.cs
- DataGridViewButtonCell.cs
- CssClassPropertyAttribute.cs
- ByteFacetDescriptionElement.cs
- FirewallWrapper.cs
- HttpProfileBase.cs
- SqlExpressionNullability.cs
- Not.cs
- XmlAutoDetectWriter.cs
- HttpHandlerActionCollection.cs
- DataComponentNameHandler.cs
- TransformedBitmap.cs
- XmlExtensionFunction.cs
- LocatorPart.cs
- DocumentScope.cs
- BaseParaClient.cs
- infer.cs
- CfgArc.cs
- SourceFileInfo.cs
- LinearKeyFrames.cs
- DataSourceView.cs
- SecurityManager.cs
- TemplateAction.cs
- IPEndPointCollection.cs
- DataViewSetting.cs
- ActiveDesignSurfaceEvent.cs
- ChannelHandler.cs
- AssemblyAssociatedContentFileAttribute.cs
- ReaderWriterLockSlim.cs
- UpdateProgress.cs
- WorkflowViewStateService.cs
- MsmqAppDomainProtocolHandler.cs
- TextPointer.cs
- DataServiceQuery.cs
- LockedHandleGlyph.cs
- ViewManagerAttribute.cs
- SBCSCodePageEncoding.cs