Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / LocationUpdates.cs / 4 / 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
- TempFiles.cs
- HostingMessageProperty.cs
- ModelItemImpl.cs
- HttpHandlerAction.cs
- DataControlFieldCell.cs
- PersonalizationEntry.cs
- SqlClientPermission.cs
- EventToken.cs
- ToolboxItem.cs
- ToolboxComponentsCreatedEventArgs.cs
- CacheAxisQuery.cs
- SqlDataSourceView.cs
- HtmlInputReset.cs
- UniqueContractNameValidationBehavior.cs
- LinkClickEvent.cs
- JapaneseLunisolarCalendar.cs
- SortQuery.cs
- Stack.cs
- DbExpressionRules.cs
- SnapshotChangeTrackingStrategy.cs
- PropertyToken.cs
- HttpConfigurationSystem.cs
- FrameworkContentElement.cs
- ParseNumbers.cs
- ScriptResourceAttribute.cs
- FuncCompletionCallbackWrapper.cs
- RowSpanVector.cs
- ConfigurationConverterBase.cs
- messageonlyhwndwrapper.cs
- SafeProcessHandle.cs
- UIElementAutomationPeer.cs
- AttachedAnnotation.cs
- sapiproxy.cs
- Baml6Assembly.cs
- DataList.cs
- CompilerErrorCollection.cs
- HelpInfo.cs
- InlineUIContainer.cs
- PrivacyNoticeBindingElementImporter.cs
- StringSorter.cs
- webeventbuffer.cs
- EnvironmentPermission.cs
- XamlRtfConverter.cs
- ThemeInfoAttribute.cs
- PersonalizationState.cs
- StringWriter.cs
- SkinBuilder.cs
- MD5CryptoServiceProvider.cs
- StateManagedCollection.cs
- oledbconnectionstring.cs
- GenericWebPart.cs
- DbModificationCommandTree.cs
- EntityAdapter.cs
- Underline.cs
- KeyTimeConverter.cs
- DefaultProxySection.cs
- DesignerProperties.cs
- ProfileBuildProvider.cs
- TransactionScope.cs
- DirectionalLight.cs
- FormsAuthenticationUser.cs
- WindowsAltTab.cs
- XmlSerializableServices.cs
- WebRequestModulesSection.cs
- PenThreadWorker.cs
- RootProfilePropertySettingsCollection.cs
- OdbcConnectionStringbuilder.cs
- PrePrepareMethodAttribute.cs
- WsatProxy.cs
- CachedCompositeFamily.cs
- CustomServiceCredentials.cs
- SkewTransform.cs
- Boolean.cs
- DataControlButton.cs
- ExecutorLocksHeldException.cs
- ObjectDataSourceDisposingEventArgs.cs
- TableCellAutomationPeer.cs
- DataGridTableCollection.cs
- CompareInfo.cs
- GrammarBuilderBase.cs
- TryCatchDesigner.xaml.cs
- cookieexception.cs
- DesigntimeLicenseContext.cs
- Binding.cs
- Delegate.cs
- ConstructorBuilder.cs
- InternalCompensate.cs
- ConfigurationErrorsException.cs
- PointKeyFrameCollection.cs
- MetadataUtil.cs
- SimpleHandlerFactory.cs
- ScrollProviderWrapper.cs
- CompilerInfo.cs
- BmpBitmapEncoder.cs
- SqlDataSourceSelectingEventArgs.cs
- DataIdProcessor.cs
- QueueProcessor.cs
- SqlInternalConnection.cs
- EventManager.cs
- QueryAccessibilityHelpEvent.cs