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
- HttpCookiesSection.cs
- XamlTypeMapper.cs
- XmlWellformedWriter.cs
- DictionaryKeyPropertyAttribute.cs
- CodeStatement.cs
- AnnotationResourceChangedEventArgs.cs
- GeneralTransform3DTo2DTo3D.cs
- IPEndPoint.cs
- FileVersionInfo.cs
- ColumnResizeAdorner.cs
- TableRowCollection.cs
- TimeSpan.cs
- ToolStripLabel.cs
- SmtpClient.cs
- TypeSystem.cs
- XsdBuildProvider.cs
- XmlObjectSerializerWriteContext.cs
- DataGridViewRowsRemovedEventArgs.cs
- MethodExpr.cs
- PolicyException.cs
- XsdCachingReader.cs
- unsafeIndexingFilterStream.cs
- RadioButtonList.cs
- ArithmeticException.cs
- RsaSecurityTokenAuthenticator.cs
- SqlTopReducer.cs
- MatrixCamera.cs
- Win32NamedPipes.cs
- Message.cs
- ExtendedProtectionPolicy.cs
- XmlCDATASection.cs
- FlowDocumentReader.cs
- MultiTrigger.cs
- AnimatedTypeHelpers.cs
- WinInet.cs
- WizardPanel.cs
- TableDetailsRow.cs
- SynchronizationLockException.cs
- ZoneLinkButton.cs
- infer.cs
- ContentPlaceHolder.cs
- BitmapMetadataEnumerator.cs
- WorkflowClientDeliverMessageWrapper.cs
- StateManagedCollection.cs
- SingleAnimationUsingKeyFrames.cs
- Context.cs
- ObjectDataSourceDisposingEventArgs.cs
- SqlConnectionFactory.cs
- FixedMaxHeap.cs
- TemplateLookupAction.cs
- DataObjectSettingDataEventArgs.cs
- ToolBar.cs
- SkipQueryOptionExpression.cs
- TypeDescriptionProviderAttribute.cs
- Touch.cs
- EnumerationRangeValidationUtil.cs
- NameValueCollection.cs
- documentsequencetextview.cs
- MultiBinding.cs
- RuntimeWrappedException.cs
- LassoHelper.cs
- RecommendedAsConfigurableAttribute.cs
- SerializerWriterEventHandlers.cs
- ServiceDocumentFormatter.cs
- ApplicationServiceManager.cs
- querybuilder.cs
- TextReader.cs
- HostingEnvironmentException.cs
- HttpWriter.cs
- SqlNodeTypeOperators.cs
- TextMarkerSource.cs
- StrokeRenderer.cs
- DateRangeEvent.cs
- SelectedCellsCollection.cs
- DesignerActionUI.cs
- PermissionRequestEvidence.cs
- InteropAutomationProvider.cs
- SamlAuthorityBinding.cs
- CodeAssignStatement.cs
- ContextMarshalException.cs
- DataGridCellInfo.cs
- SamlSecurityTokenAuthenticator.cs
- GorillaCodec.cs
- AppSecurityManager.cs
- ZipIORawDataFileBlock.cs
- FolderNameEditor.cs
- HasActivatableWorkflowEvent.cs
- XmlFormatExtensionPrefixAttribute.cs
- Membership.cs
- DesignerSerializationOptionsAttribute.cs
- MsmqChannelFactory.cs
- ContentDisposition.cs
- TypeLoader.cs
- ISAPIRuntime.cs
- PaintValueEventArgs.cs
- PersonalizationAdministration.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SR.cs
- MetadataException.cs
- WorkflowViewStateService.cs