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
- XmlStringTable.cs
- TemplateControlBuildProvider.cs
- EncoderParameter.cs
- ControlPropertyNameConverter.cs
- ColorComboBox.cs
- CompositeActivityMarkupSerializer.cs
- UserNameSecurityTokenParameters.cs
- XamlDesignerSerializationManager.cs
- NetSectionGroup.cs
- ReflectPropertyDescriptor.cs
- MetadataPropertyvalue.cs
- RoutingChannelExtension.cs
- MSAAWinEventWrap.cs
- RIPEMD160.cs
- SpecialFolderEnumConverter.cs
- OpCellTreeNode.cs
- ReaderWriterLockWrapper.cs
- HttpChannelBindingToken.cs
- PackageProperties.cs
- SoapMessage.cs
- TextViewBase.cs
- QueryableFilterUserControl.cs
- ActiveXHost.cs
- WindowsFormsHostAutomationPeer.cs
- ImageButton.cs
- TextRangeBase.cs
- DataTableMapping.cs
- Version.cs
- TemplateBaseAction.cs
- FrameworkContentElement.cs
- XmlHierarchyData.cs
- ZoomPercentageConverter.cs
- UpdateTranslator.cs
- AspCompat.cs
- SoapAttributes.cs
- DesignerVerbCollection.cs
- DetailsViewModeEventArgs.cs
- BufferBuilder.cs
- PassportPrincipal.cs
- Span.cs
- DataGridViewCellPaintingEventArgs.cs
- DataServiceSaveChangesEventArgs.cs
- BitmapEffectOutputConnector.cs
- MarshalDirectiveException.cs
- CancellationTokenSource.cs
- ButtonBase.cs
- SystemIcons.cs
- GenericTypeParameterBuilder.cs
- StringValueSerializer.cs
- ButtonBaseAdapter.cs
- ExpressionBindingCollection.cs
- IDataContractSurrogate.cs
- ExtenderProviderService.cs
- DataRelationCollection.cs
- OptimizerPatterns.cs
- StreamMarshaler.cs
- SimpleLine.cs
- OutputScopeManager.cs
- IgnoreFlushAndCloseStream.cs
- HtmlTextBoxAdapter.cs
- HTTPNotFoundHandler.cs
- TypedDataSetSchemaImporterExtension.cs
- Serializer.cs
- CacheHelper.cs
- KeyInfo.cs
- JsonFaultDetail.cs
- DataTableNewRowEvent.cs
- BlurBitmapEffect.cs
- SqlBulkCopy.cs
- CompositeFontParser.cs
- FontCacheUtil.cs
- CellCreator.cs
- WebExceptionStatus.cs
- ReceiveCompletedEventArgs.cs
- smtppermission.cs
- StylusPointProperties.cs
- UIPropertyMetadata.cs
- MetabaseServerConfig.cs
- SplineKeyFrames.cs
- ColumnResult.cs
- PathGeometry.cs
- InvalidCastException.cs
- Timer.cs
- TearOffProxy.cs
- FixedSOMTableRow.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- CachedCompositeFamily.cs
- RadioButtonStandardAdapter.cs
- AuthenticatingEventArgs.cs
- EntityDataSourceColumn.cs
- IApplicationTrustManager.cs
- XmlAggregates.cs
- StringSorter.cs
- XmlC14NWriter.cs
- PersistStreamTypeWrapper.cs
- WebHostedComPlusServiceHost.cs
- HttpCacheVary.cs
- XmlAttribute.cs
- ClientBuildManagerCallback.cs
- TagPrefixInfo.cs