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
- ConstraintStruct.cs
- ExtensionFile.cs
- Resources.Designer.cs
- CallbackValidatorAttribute.cs
- CompositeActivityTypeDescriptorProvider.cs
- Int16.cs
- BufferedReadStream.cs
- StringBuilder.cs
- XmlCharCheckingWriter.cs
- ProviderCollection.cs
- ErrorStyle.cs
- DocumentEventArgs.cs
- FamilyTypefaceCollection.cs
- SendParametersContent.cs
- XmlBufferedByteStreamReader.cs
- StylusDownEventArgs.cs
- XmlDesignerDataSourceView.cs
- Range.cs
- DependencyPropertyValueSerializer.cs
- hwndwrapper.cs
- RegexStringValidatorAttribute.cs
- TraceContextRecord.cs
- GradientBrush.cs
- DesignerWidgets.cs
- Keywords.cs
- RepeaterCommandEventArgs.cs
- SafeNativeMethods.cs
- TemplateControlParser.cs
- HostingEnvironmentSection.cs
- designeractionlistschangedeventargs.cs
- ObjectComplexPropertyMapping.cs
- TemplateBamlTreeBuilder.cs
- NotifyParentPropertyAttribute.cs
- ThreadExceptionEvent.cs
- AuthorizationSection.cs
- SimpleHandlerFactory.cs
- BitmapPalettes.cs
- UIElement.cs
- TimeStampChecker.cs
- VirtualDirectoryMapping.cs
- Internal.cs
- UIHelper.cs
- DaylightTime.cs
- VisualSerializer.cs
- Size3D.cs
- StringAnimationBase.cs
- MarkupProperty.cs
- TextEditorContextMenu.cs
- MultipleFilterMatchesException.cs
- XmlSerializationReader.cs
- XPathBinder.cs
- ListBindingConverter.cs
- FileCodeGroup.cs
- IntranetCredentialPolicy.cs
- UnicodeEncoding.cs
- DbConnectionOptions.cs
- _Connection.cs
- ResourcesBuildProvider.cs
- DataGridState.cs
- TransactionInterop.cs
- XmlDataLoader.cs
- DataGridViewUtilities.cs
- FixedSOMTableCell.cs
- ClientBuildManager.cs
- DynamicDataRouteHandler.cs
- xml.cs
- CodeNamespaceImportCollection.cs
- Int32Storage.cs
- SafeNativeMethods.cs
- NumberSubstitution.cs
- XmlSerializerVersionAttribute.cs
- ContainerFilterService.cs
- Directory.cs
- TextEditor.cs
- DbMetaDataFactory.cs
- SchemaCollectionCompiler.cs
- QuaternionConverter.cs
- BamlBinaryReader.cs
- Literal.cs
- ColumnCollection.cs
- RecordsAffectedEventArgs.cs
- MetaDataInfo.cs
- ControlBindingsCollection.cs
- ChannelReliableSession.cs
- Typeface.cs
- SystemDropShadowChrome.cs
- IResourceProvider.cs
- ProjectionPruner.cs
- SystemKeyConverter.cs
- Page.cs
- ProcessThreadDesigner.cs
- PropertyRecord.cs
- WebPartDisplayModeCancelEventArgs.cs
- FontFaceLayoutInfo.cs
- CalendarTable.cs
- FormView.cs
- RegexCapture.cs
- NTAccount.cs
- PolyLineSegment.cs
- PersistenceProviderElement.cs