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
- HeaderPanel.cs
- ControlDesigner.cs
- SystemFonts.cs
- StrongNameIdentityPermission.cs
- DataGridCellClipboardEventArgs.cs
- EncodingInfo.cs
- KeyGesture.cs
- BinaryNegotiation.cs
- SamlSubjectStatement.cs
- X509SubjectKeyIdentifierClause.cs
- TemplatePropertyEntry.cs
- EntitySetDataBindingList.cs
- DecimalAverageAggregationOperator.cs
- FileSystemInfo.cs
- ThicknessConverter.cs
- ProxyGenerator.cs
- GetPageNumberCompletedEventArgs.cs
- AutoResizedEvent.cs
- SemanticValue.cs
- Control.cs
- AssemblyGen.cs
- TripleDES.cs
- QuadraticBezierSegment.cs
- SmiSettersStream.cs
- RetrieveVirtualItemEventArgs.cs
- UserControlBuildProvider.cs
- DayRenderEvent.cs
- SelectorItemAutomationPeer.cs
- StatusBarPanelClickEvent.cs
- StorageMappingItemCollection.cs
- LayoutInformation.cs
- RegistryHandle.cs
- ToolbarAUtomationPeer.cs
- VirtualizingPanel.cs
- DataViewManager.cs
- ResolveCriteria.cs
- Attachment.cs
- controlskin.cs
- SQLByteStorage.cs
- CursorConverter.cs
- SemanticResolver.cs
- WebControlAdapter.cs
- ToolboxComponentsCreatingEventArgs.cs
- ConvertBinder.cs
- DefaultAutoFieldGenerator.cs
- _UriSyntax.cs
- AssociatedControlConverter.cs
- HMACSHA512.cs
- StaticContext.cs
- HotSpotCollection.cs
- HelpKeywordAttribute.cs
- SoapReflector.cs
- AdapterUtil.cs
- XsltSettings.cs
- MultipleViewPattern.cs
- NavigationHelper.cs
- BufferModesCollection.cs
- XmlCharCheckingReader.cs
- BaseCollection.cs
- ScrollData.cs
- XPathScanner.cs
- EditableTreeList.cs
- Item.cs
- NativeMethods.cs
- documentsequencetextcontainer.cs
- PeerNameResolver.cs
- ScriptReferenceEventArgs.cs
- EmptyCollection.cs
- StaticDataManager.cs
- ConnectionManagementSection.cs
- DataError.cs
- DetailsViewCommandEventArgs.cs
- ColumnTypeConverter.cs
- PrimitiveCodeDomSerializer.cs
- ProtocolsConfigurationEntry.cs
- BamlCollectionHolder.cs
- InputLanguageSource.cs
- BridgeDataRecord.cs
- EncryptedType.cs
- KeyboardNavigation.cs
- TreeIterator.cs
- ListBoxAutomationPeer.cs
- FileLogRecordStream.cs
- OneOfTypeConst.cs
- COMException.cs
- ChunkedMemoryStream.cs
- ContentPlaceHolder.cs
- XmlDocumentSurrogate.cs
- SerialReceived.cs
- GlobalEventManager.cs
- Bits.cs
- DateRangeEvent.cs
- CodeBlockBuilder.cs
- ScrollData.cs
- RegexGroupCollection.cs
- TailCallAnalyzer.cs
- TreeNodeClickEventArgs.cs
- FontInfo.cs
- DesignerOptionService.cs
- MexBindingElement.cs