Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / LocationUpdates.cs / 1305376 / 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
- ListMarkerSourceInfo.cs
- AssemblyCache.cs
- XmlKeywords.cs
- DiagnosticsConfiguration.cs
- SafeViewOfFileHandle.cs
- ConnectionStringsExpressionBuilder.cs
- AppDomainAttributes.cs
- LiteralTextContainerControlBuilder.cs
- LabelAutomationPeer.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- DataGridViewCellPaintingEventArgs.cs
- InvokeCompletedEventArgs.cs
- KoreanCalendar.cs
- SchemaTableOptionalColumn.cs
- Missing.cs
- Converter.cs
- WindowShowOrOpenTracker.cs
- MatrixTransform3D.cs
- PeerCustomResolverSettings.cs
- SoapClientMessage.cs
- SpoolingTask.cs
- RegexStringValidatorAttribute.cs
- SecurityKeyIdentifierClause.cs
- WorkflowViewService.cs
- AssemblyLoader.cs
- RelationshipConstraintValidator.cs
- SHA256.cs
- TextBoxAutomationPeer.cs
- BamlRecordWriter.cs
- CriticalFinalizerObject.cs
- DeploymentSection.cs
- ThrowHelper.cs
- SectionRecord.cs
- AutomationElement.cs
- CharacterHit.cs
- MetadataItemCollectionFactory.cs
- BypassElementCollection.cs
- Int32CollectionValueSerializer.cs
- DataGridViewColumnConverter.cs
- TableHeaderCell.cs
- ExpandCollapseProviderWrapper.cs
- WriterOutput.cs
- MultitargetUtil.cs
- StoragePropertyMapping.cs
- ExpressionEditorAttribute.cs
- HttpFormatExtensions.cs
- SimpleType.cs
- ItemContainerPattern.cs
- AppSettingsReader.cs
- OdbcConnectionString.cs
- SystemThemeKey.cs
- JapaneseLunisolarCalendar.cs
- EntityTypeEmitter.cs
- SqlEnums.cs
- RecognizedAudio.cs
- ParameterRetriever.cs
- AuthenticationManager.cs
- ObjectDataSourceDisposingEventArgs.cs
- PeerReferralPolicy.cs
- Bidi.cs
- DeflateEmulationStream.cs
- Image.cs
- ScrollChrome.cs
- ByteAnimationBase.cs
- GeometryGroup.cs
- EditingCoordinator.cs
- BinHexEncoder.cs
- DisplayInformation.cs
- TabletDevice.cs
- RequestQueryProcessor.cs
- HMACSHA384.cs
- WebPartDisplayModeCancelEventArgs.cs
- PopupControlService.cs
- MultiplexingDispatchMessageFormatter.cs
- FontWeightConverter.cs
- Int16AnimationBase.cs
- WriteStateInfoBase.cs
- DNS.cs
- PerformanceCounterManager.cs
- WebUtility.cs
- AnonymousIdentificationModule.cs
- HttpResponseMessageProperty.cs
- JsonWriter.cs
- Itemizer.cs
- Util.cs
- ValuePattern.cs
- BamlRecordReader.cs
- ServerProtocol.cs
- safelink.cs
- DbModificationClause.cs
- Root.cs
- Events.cs
- AuthStoreRoleProvider.cs
- ListBindableAttribute.cs
- TranslateTransform3D.cs
- ImageAttributes.cs
- CfgParser.cs
- Exception.cs
- XmlDataSource.cs
- DataGridSortCommandEventArgs.cs