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
- SqlPersonalizationProvider.cs
- TemplatedControlDesigner.cs
- MessageQueueEnumerator.cs
- CodeGeneratorOptions.cs
- EmptyCollection.cs
- CheckBoxStandardAdapter.cs
- AnnotationAdorner.cs
- CodeTypeDelegate.cs
- RestHandler.cs
- XslAst.cs
- FactoryId.cs
- ComponentRenameEvent.cs
- CrossContextChannel.cs
- CultureSpecificCharacterBufferRange.cs
- WpfKnownType.cs
- X509SubjectKeyIdentifierClause.cs
- XmlUtil.cs
- externdll.cs
- ObjectHelper.cs
- BitmapPalette.cs
- DataBinding.cs
- PointIndependentAnimationStorage.cs
- SoapFault.cs
- CommandEventArgs.cs
- CatalogZone.cs
- CaseStatementSlot.cs
- TimerEventSubscriptionCollection.cs
- CfgParser.cs
- FlowLayoutPanel.cs
- UnmanagedMemoryStreamWrapper.cs
- WebAdminConfigurationHelper.cs
- XmlSchemaGroupRef.cs
- Label.cs
- ValidationHelpers.cs
- XmlName.cs
- MatchingStyle.cs
- CompositeClientFormatter.cs
- ComponentTray.cs
- PrinterUnitConvert.cs
- XslCompiledTransform.cs
- View.cs
- PageThemeParser.cs
- URL.cs
- ResourceCategoryAttribute.cs
- WS2007HttpBindingElement.cs
- OperationValidationEventArgs.cs
- XmlUtil.cs
- MemoryPressure.cs
- KerberosReceiverSecurityToken.cs
- RsaKeyIdentifierClause.cs
- ContentControl.cs
- TemplatedWizardStep.cs
- XPathNavigatorKeyComparer.cs
- AssemblyBuilder.cs
- TabPanel.cs
- CustomAssemblyResolver.cs
- Timeline.cs
- CombinedTcpChannel.cs
- GetMemberBinder.cs
- ButtonBaseAutomationPeer.cs
- ModuleBuilderData.cs
- RTLAwareMessageBox.cs
- XmlWriterSettings.cs
- SQLSingleStorage.cs
- ASCIIEncoding.cs
- Icon.cs
- DataBoundControlHelper.cs
- FontUnitConverter.cs
- EntityDataSourceEntitySetNameItem.cs
- BinaryObjectReader.cs
- X509SecurityTokenAuthenticator.cs
- _FtpControlStream.cs
- ProfileProvider.cs
- TemplateBuilder.cs
- Point3D.cs
- EpmTargetPathSegment.cs
- ButtonColumn.cs
- TextBoxLine.cs
- CallContext.cs
- GrabHandleGlyph.cs
- BookmarkEventArgs.cs
- SQLGuidStorage.cs
- EventListener.cs
- XmlDataSourceView.cs
- JapaneseLunisolarCalendar.cs
- RecipientInfo.cs
- SqlProfileProvider.cs
- SignatureHelper.cs
- LowerCaseStringConverter.cs
- TdsParserStaticMethods.cs
- ValidatorCollection.cs
- Item.cs
- OdbcException.cs
- DocumentEventArgs.cs
- PrivateFontCollection.cs
- TextTreeUndoUnit.cs
- SolidColorBrush.cs
- CacheVirtualItemsEvent.cs
- TreeNodeEventArgs.cs
- ADMembershipProvider.cs